/* Import a modern font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

/* Basic Reset & Body Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    color: #ffffff;
    overflow: hidden; /* Hide scrollbars */
    background: linear-gradient(-45deg, #0f0c29, #302b63, #24243e, #1c3d52);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* Keyframe animation for the background gradient */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Main content container */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding: 2rem;
    
    /* Fade-in animation for the whole container */
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Logo Styling */
.logo-text {
    font-size: clamp(2.5rem, 8vw, 5rem); /* Responsive font size */
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #b3ffab, #12fff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    animation: slideInDown 1s ease-out;
}

/* Tagline & Typing Animation Styling */
.tagline {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    height: 3rem; /* Reserve space to prevent layout shift */
    animation: slideInUp 1s ease-out;
}

.cursor {
    display: inline-block;
    background-color: #12fff7;
    width: 3px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { background-color: #12fff7; }
    50% { background-color: transparent; }
}

/* Social Links Styling */
.social-links {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.5rem;
    animation: slideInUp 1s ease-out 0.5s; /* Delayed start */
    animation-fill-mode: backwards; /* Start animation from invisible state */
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.8rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #12fff7;
    transform: translateY(-5px) scale(1.1);
}

/* Entrance Animations for Elements */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}