* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00fff2;
    --secondary-color: #ff00ea;
    --bg-dark: #0a0a0f;
    --text-color: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--text-color);
    overflow: hidden;
    height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animated Stars Background */
.stars,
.stars2,
.stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stars {
    background: transparent;
    box-shadow: 
        1000px 300px #fff, 1200px 400px #fff, 800px 100px #fff,
        1500px 500px #fff, 300px 600px #fff, 1800px 200px #fff,
        700px 700px #fff, 1600px 800px #fff, 400px 200px #fff,
        1900px 600px #fff, 500px 400px #fff, 1100px 900px #fff,
        200px 800px #fff, 1400px 100px #fff, 900px 500px #fff,
        1700px 700px #fff, 600px 300px #fff, 1300px 600px #fff,
        100px 400px #fff, 1000px 700px #fff;
    width: 1px;
    height: 1px;
    animation: animStar 50s linear infinite;
}

.stars2 {
    background: transparent;
    box-shadow: 
        800px 500px var(--primary-color), 1400px 300px var(--primary-color),
        200px 700px var(--primary-color), 1600px 600px var(--primary-color),
        1000px 200px var(--primary-color), 400px 400px var(--primary-color),
        1800px 800px var(--primary-color), 600px 100px var(--primary-color);
    width: 2px;
    height: 2px;
    animation: animStar 100s linear infinite;
}

.stars3 {
    background: transparent;
    box-shadow: 
        1100px 400px var(--secondary-color), 300px 300px var(--secondary-color),
        1500px 700px var(--secondary-color), 700px 600px var(--secondary-color),
        1700px 200px var(--secondary-color), 500px 500px var(--secondary-color);
    width: 3px;
    height: 3px;
    animation: animStar 150s linear infinite;
}

@keyframes animStar {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-2000px);
    }
}

.container {
    text-align: center;
    z-index: 10;
    animation: fadeIn 2s ease-in;
    position: relative;
    padding: 2rem;
    max-width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glitch Effect */
.glitch-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.glitch {
    font-size: clamp(3rem, 15vw, 10rem);
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glowPulse 3s ease-in-out infinite;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px var(--primary-color))
                drop-shadow(0 0 40px var(--primary-color));
    }
    50% {
        filter: drop-shadow(0 0 30px var(--secondary-color))
                drop-shadow(0 0 60px var(--secondary-color));
    }
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--secondary-color);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-1 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--primary-color);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(104px, 9999px, 69px, 0);
    }
    25% {
        clip: rect(87px, 9999px, 34px, 0);
    }
    50% {
        clip: rect(15px, 9999px, 143px, 0);
    }
    75% {
        clip: rect(129px, 9999px, 28px, 0);
    }
    100% {
        clip: rect(52px, 9999px, 98px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(65px, 9999px, 119px, 0);
    }
    25% {
        clip: rect(31px, 9999px, 101px, 0);
    }
    50% {
        clip: rect(144px, 9999px, 17px, 0);
    }
    75% {
        clip: rect(76px, 9999px, 89px, 0);
    }
    100% {
        clip: rect(23px, 9999px, 134px, 0);
    }
}

/* Tagline with Typing Effect */
.tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    min-height: 2rem;
    font-weight: 300;
    letter-spacing: 0.1rem;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--primary-color);
    font-weight: 700;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Social Links */
.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}

.social-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.social-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-icon svg {
    width: 30px;
    height: 30px;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-icon:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 255, 242, 0.5);
    border-color: var(--primary-color);
}

.social-icon:hover::before {
    opacity: 0.2;
}

.social-icon:hover svg {
    color: var(--primary-color);
    filter: drop-shadow(0 0 8px var(--primary-color));
}

.social-icon.github:hover {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.social-icon.instagram:hover {
    box-shadow: 0 10px 30px rgba(255, 0, 234, 0.5);
    border-color: var(--secondary-color);
}

.social-icon.instagram:hover svg {
    color: var(--secondary-color);
    filter: drop-shadow(0 0 8px var(--secondary-color));
}

/* Scroll indicator removed per user request */

/* Responsive Design */
@media (max-width: 1024px) {
    .glitch {
        font-size: clamp(2.8rem, 12vw, 8rem);
    }
    
    .container {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .glitch {
        font-size: clamp(2.5rem, 12vw, 6rem);
        letter-spacing: 0.3rem;
    }
    
    .tagline {
        font-size: clamp(0.9rem, 2.5vw, 1.2rem);
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .social-links {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-icon svg {
        width: 25px;
        height: 25px;
    }
    
    /* scroll indicator removed */
}

@media (max-width: 480px) {
    .glitch {
        font-size: clamp(2rem, 10vw, 4rem);
        letter-spacing: 0.2rem;
    }
    
    .tagline {
        font-size: clamp(0.8rem, 2vw, 1rem);
    }
    
    .social-links {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .container {
        padding: 1rem;
    }
}

@media (min-width: 1920px) {
    .glitch {
        font-size: clamp(8rem, 12vw, 12rem);
    }
    
    .tagline {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }
    
    .social-icon {
        width: 70px;
        height: 70px;
    }
    
    .social-icon svg {
        width: 35px;
        height: 35px;
    }
}

/* Landscape orientation fixes */
@media (max-height: 600px) and (orientation: landscape) {
    .glitch {
        font-size: clamp(2rem, 8vh, 4rem);
        margin-bottom: 0.5rem;
    }
    
    .tagline {
        font-size: clamp(0.8rem, 2vh, 1rem);
        margin-bottom: 1rem;
    }
    
    .social-links {
        margin-bottom: 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
    
    /* scroll indicator removed */
}

/* Additional glow effects */
.container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 242, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}