/* Global font settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.logo {
    margin-bottom: -10px;
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.glitch {
    font-size: 100px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    color: white;
    letter-spacing: 12px;
    font-style: italic;
    animation: appearAnimation 1.5s ease-out forwards, fontChange 24s steps(1) infinite 1.5s;
    transition: all 0.3s ease;
    line-height: 1;
    display: block;
    transform-origin: center center;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    opacity: 0;
}

@keyframes appearAnimation {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
        filter: blur(10px);
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
    60% {
        opacity: 1;
        filter: blur(0px);
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    }
}

@keyframes fontChange {
    0%, 6.25% {
        font-family: 'Playfair Display', serif;
        font-style: italic;
        letter-spacing: 10px;
        font-size: 82px;
    }
    6.26%, 12.5% {
        font-family: 'Roboto Slab', serif;
        font-style: normal;
        letter-spacing: 8px;
        font-size: 98px;
    }
    12.51%, 18.75% {
        font-family: 'Lobster', cursive;
        font-style: normal;
        letter-spacing: 5px;
        font-size: 100px;
    }
    18.76%, 25% {
        font-family: 'Pacifico', cursive;
        font-style: normal;
        letter-spacing: 5px;
        font-size: 95px;
    }
    25.01%, 31.25% {
        font-family: 'Permanent Marker', cursive;
        font-style: normal;
        letter-spacing: 8px;
        font-size: 96px;
    }
    31.26%, 37.5% {
        font-family: 'Audiowide', cursive;
        font-style: normal;
        letter-spacing: 5px;
        font-size: 90px;
    }
    37.51%, 43.75% {
        font-family: 'Bebas Neue', sans-serif;
        font-style: normal;
        letter-spacing: 5px;
        font-size: 110px;
    }
    43.76%, 50% {
        font-family: 'Dancing Script', cursive;
        font-style: normal;
        letter-spacing: 0px;
        font-size: 110px;
    }
    50.01%, 56.25% {
        font-family: 'Cinzel', serif;
        font-style: normal;
        letter-spacing: 10px;
        font-size: 90px;
    }
    56.26%, 62.5% {
        font-family: 'Orbitron', sans-serif;
        font-style: normal;
        letter-spacing: 5px;
        font-size: 90px;
    }
    62.51%, 68.75% {
        font-family: 'Satisfy', cursive;
        font-style: normal;
        letter-spacing: 5px;
        font-size: 105px;
    }
    68.76%, 75% {
        font-family: 'Russo One', sans-serif;
        font-style: normal;
        letter-spacing: 8px;
        font-size: 93px;
    }
    75.01%, 81.25% {
        font-family: 'Architects Daughter', cursive;
        font-style: normal;
        letter-spacing: 5px;
        font-size: 75px;
    }
    81.26%, 87.5% {
        font-family: 'Press Start 2P', cursive;
        font-style: normal;
        letter-spacing: 5px;
        font-size: 60px;
    }
    87.51%, 93.75% {
        font-family: 'Monoton', cursive;
        font-style: normal;
        letter-spacing: 5px;
        font-size: 85px;
    }
    93.76%, 100% {
        font-family: 'Rajdhani', serif;
        font-style: italic;
        letter-spacing: 10px;
        font-size: 100px;
    }
}

.glitch:hover {
    animation-play-state: paused;
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 10;
    opacity: 0;
    animation: iconsAppear 0.8s ease-out forwards 1.8s;
}

@keyframes iconsAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: #111;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    transform: skewX(-10deg);
}

.social-icon i {
    transform: skewX(-5deg);
}

.social-icon:hover {
    transform: translateY(-5px) skewX(-10deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.discord {
    position: relative;
}

.tooltip {
    position: absolute;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 12px;
    bottom: 55px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.discord:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 1000;
    font-style: italic;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Osu icon */
.osu-icon {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.osu-icon::before {
    content: '';
    position: absolute;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-sizing: border-box;
}

.osu-circle {
    width: 19px;
    height: 19px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.osu-inner {
    width: 18px;
    height: 18px;
    background-color: #111;
    border-radius: 50%;
}

/* Background particles */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: -15px -15px;
    z-index: -1;
    transform: skewX(-10deg);
    opacity: 0.3;
}

/* Animated particles */
@keyframes blinkDot {
    0% { opacity: 0; transform: scale(0.5) skewX(-15deg); }
    30% { opacity: 0.2; transform: scale(1) skewX(-15deg); }
    70% { opacity: 0.2; transform: scale(1) skewX(-15deg); }
    100% { opacity: 0; transform: scale(0.5) skewX(-15deg); }
}

.dot {
    position: fixed;
    width: 2px;
    height: 3px;
    background-color: white;
    border-radius: 30%;
    opacity: 0;
    z-index: -1;
    transform: skewX(-15deg);
    animation-play-state: paused;
}

.dot:nth-child(1) { top: 10%; left: 10%; animation: blinkDot 8s linear infinite 2.5s, fadeInDot 0.5s forwards 2.5s; }
.dot:nth-child(2) { top: 20%; left: 20%; animation: blinkDot 10s linear infinite 2.6s, fadeInDot 0.5s forwards 2.6s; }
.dot:nth-child(3) { top: 30%; left: 30%; animation: blinkDot 7s linear infinite 2.7s, fadeInDot 0.5s forwards 2.7s; }
.dot:nth-child(4) { top: 40%; left: 40%; animation: blinkDot 9s linear infinite 2.8s, fadeInDot 0.5s forwards 2.8s; }
.dot:nth-child(5) { top: 50%; left: 50%; animation: blinkDot 11s linear infinite 2.9s, fadeInDot 0.5s forwards 2.9s; }
.dot:nth-child(6) { top: 60%; left: 60%; animation: blinkDot 12s linear infinite 3.0s, fadeInDot 0.5s forwards 3.0s; }
.dot:nth-child(7) { top: 70%; left: 70%; animation: blinkDot 6s linear infinite 3.1s, fadeInDot 0.5s forwards 3.1s; }
.dot:nth-child(8) { top: 80%; left: 80%; animation: blinkDot 9s linear infinite 3.2s, fadeInDot 0.5s forwards 3.2s; }
.dot:nth-child(9) { top: 90%; left: 90%; animation: blinkDot 7s linear infinite 3.3s, fadeInDot 0.5s forwards 3.3s; }
.dot:nth-child(10) { top: 15%; left: 75%; animation: blinkDot 10s linear infinite 3.4s, fadeInDot 0.5s forwards 3.4s; }
.dot:nth-child(11) { top: 25%; left: 85%; animation: blinkDot 8s linear infinite 3.5s, fadeInDot 0.5s forwards 3.5s; }
.dot:nth-child(12) { top: 35%; left: 65%; animation: blinkDot 11s linear infinite 3.6s, fadeInDot 0.5s forwards 3.6s; }
.dot:nth-child(13) { top: 45%; left: 25%; animation: blinkDot 9s linear infinite 3.7s, fadeInDot 0.5s forwards 3.7s; }
.dot:nth-child(14) { top: 55%; left: 35%; animation: blinkDot 7s linear infinite 3.8s, fadeInDot 0.5s forwards 3.8s; }
.dot:nth-child(15) { top: 65%; left: 15%; animation: blinkDot 12s linear infinite 3.9s, fadeInDot 0.5s forwards 3.9s; }

@keyframes fadeInDot {
    from { opacity: 0; }
    to { opacity: 0.2; }
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background-color: #111;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transform: skewX(-10deg);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    animation: iconsAppear 0.5s ease-out forwards 2.3s;
}

.mobile-menu-btn:hover {
    transform: translateY(-5px) skewX(-10deg);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.mobile-menu-btn.active {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.mobile-menu-btn .dots {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.mobile-menu-btn .dot {
    width: 5px;
    height: 5px;
    background-color: white;
    border-radius: 50%;
    position: static;
    opacity: 1;
    transform: none;
    animation: none;
}

/* Mobile optimization */
@media screen and (max-width: 768px) {
    html, body {
        overflow: hidden;
        height: 100%;
        position: fixed;
        width: 100%;
    }
    
    .glitch {
        font-size: 60px !important;
        animation: appearAnimation 1.5s ease-out forwards, fontChangeMobile 24s steps(1) infinite 1.5s !important;
    }
    
    @keyframes fontChangeMobile {
        0%, 6.25% {
            font-family: 'Playfair Display', serif;
            font-style: italic;
            font-size: 60px;
        }
        6.26%, 12.5% {
            font-family: 'Roboto Slab', serif;
            font-style: normal;
            font-size: 58px;
        }
        12.51%, 18.75% {
            font-family: 'Lobster', cursive;
            font-style: normal;
            font-size: 60px;
        }
        18.76%, 25% {
            font-family: 'Pacifico', cursive;
            font-style: normal;
            font-size: 55px;
        }
        25.01%, 31.25% {
            font-family: 'Permanent Marker', cursive;
            font-style: normal;
            font-size: 56px;
        }
        31.26%, 37.5% {
            font-family: 'Audiowide', cursive;
            font-style: normal;
            font-size: 50px;
        }
        37.51%, 43.75% {
            font-family: 'Bebas Neue', sans-serif;
            font-style: normal;
            font-size: 65px;
        }
        43.76%, 50% {
            font-family: 'Dancing Script', cursive;
            font-style: normal;
            font-size: 65px;
        }
        50.01%, 56.25% {
            font-family: 'Cinzel', serif;
            font-style: normal;
            font-size: 50px;
        }
        56.26%, 62.5% {
            font-family: 'Orbitron', sans-serif;
            font-style: normal;
            font-size: 50px;
        }
        62.51%, 68.75% {
            font-family: 'Satisfy', cursive;
            font-style: normal;
            font-size: 60px;
        }
        68.76%, 75% {
            font-family: 'Russo One', sans-serif;
            font-style: normal;
            font-size: 53px;
        }
        75.01%, 81.25% {
            font-family: 'Architects Daughter', cursive;
            font-style: normal;
            font-size: 55px;
        }
        81.26%, 87.5% {
            font-family: 'Press Start 2P', cursive;
            font-style: normal;
            font-size: 35px;
        }
        87.51%, 93.75% {
            font-family: 'Monoton', cursive;
            font-style: normal;
            font-size: 45px;
        }
        93.76%, 100% {
            font-family: 'Rajdhani', serif;
            font-style: italic;
            font-size: 60px;
        }
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .social-icons {
        position: fixed;
        bottom: 80px;
        left: 20px;
        flex-direction: column;
        gap: 15px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        transform: translateY(20px);
    }
    
    .social-icons.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .logo {
        height: 45px;
        margin-bottom: 0;
    }
    
    .tooltip {
        left: 55px;
        bottom: auto;
        right: auto;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .container {
        height: 100vh;
        width: 100%;
        max-width: 100vw;
        padding: 0 20px;
        box-sizing: border-box;
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    animation: revealPage 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes revealPage {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
} 