* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    width: 100vw;
    height: 100vh;
    background: #000;
    overflow: hidden;
    font-family: Arial, sans-serif;
    position: relative;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.container {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
}

h1 {
    color: #fff;
    font-size: 75px;
    margin: 0;
    text-shadow: 0 0 20px rgba(255,255,255,0.8);
    text-align: center;
    white-space: nowrap;
    contain: layout style paint;
}

.auto-type {
    color: #fff724;
    will-change: contents;
}

.typed-cursor {
    color: #fff724;
    will-change: opacity;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    pointer-events: all;
}

.social-icon {
    font-size: 35px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
    cursor: pointer;
    color: #fff;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 10px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    transform: translateZ(0);
}

.social-icon:hover {
    transform: scale(1.2) translateZ(0);
    opacity: 1;
    color: #fff724;
    background: rgba(255, 247, 36, 0.2);
    border-color: rgba(255, 247, 36, 0.6);
}

.social-icon:active {
    transform: scale(1.1) translateZ(0);
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    will-change: contents;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff724;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.astronaut-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.astronaut {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    pointer-events: all;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 20px rgba(255, 64, 64, 0.6));
    will-change: transform;
}

.astronaut:hover {
    transform: translate(-50%, -50%) scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 30px rgba(255, 64, 64, 0.9));
}

.floating-text {
    position: fixed;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 10px;
    border: 2px solid #ff4040;
    max-width: 300px;
    text-align: center;
    line-height: 1.3;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    transition: all 0.5s ease;
    will-change: transform, opacity;
    box-shadow: 0 0 15px rgba(255, 64, 64, 0.5);
}

.floating-text.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.explore-more-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 30;
    pointer-events: all;
}

.explore-more-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(255, 247, 36, 0.1);
    border: 2px solid rgba(255, 247, 36, 0.5);
    border-radius: 50px;
    color: #fff724;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 247, 36, 0.2);
    will-change: transform;
    transform: translateZ(0);
}

.explore-more-btn:hover {
    background: rgba(255, 247, 36, 0.2);
    border-color: rgba(255, 247, 36, 0.8);
    transform: translateY(-5px) scale(1.05) translateZ(0);
    box-shadow: 0 8px 25px rgba(255, 247, 36, 0.4);
    color: #fff;
}

.explore-more-btn:active {
    transform: translateY(-2px) scale(1.02) translateZ(0);
}

.explore-more-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.explore-more-btn:hover i {
    transform: translateX(5px);
}

.music-disc-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px 20px 10px 10px;
    border: 2px solid rgba(255, 247, 36, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-100%);
}

.music-disc-container.show {
    opacity: 1;
    transform: translateX(0);
}

.music-disc-container:hover {
    border-color: rgba(255, 247, 36, 0.6);
    box-shadow: 0 5px 20px rgba(255, 247, 36, 0.3);
}

.music-disc {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1a1a1a, #333, #1a1a1a);
    position: relative;
    border: 2px solid rgba(255, 247, 36, 0.4);
    transition: all 0.3s ease;
}

.music-disc.spinning {
    animation: discSpin 3s linear infinite;
}

@keyframes discSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.disc-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff724;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: #000;
    box-shadow: 0 0 5px rgba(255, 247, 36, 0.6);
}

.disc-grooves {
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 50%;
    border: 1px solid rgba(255, 247, 36, 0.2);
}

.disc-grooves::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border-radius: 50%;
    border: 1px solid rgba(255, 247, 36, 0.15);
}

.disc-grooves::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 247, 36, 0.1);
}

.music-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 150px;
}

.music-title {
    color: #fff724;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 247, 36, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Segoe UI', 'Arial Unicode MS', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.music-artist {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-control {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px 15px;
    border: 2px solid rgba(255, 247, 36, 0.3);
    transition: all 0.3s ease;
}

.music-control:hover {
    border-color: rgba(255, 247, 36, 0.6);
    box-shadow: 0 5px 20px rgba(255, 247, 36, 0.3);
}

.music-btn {
    background: rgba(255, 247, 36, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff724;
    font-size: 16px;
}

.music-btn:hover {
    background: rgba(255, 247, 36, 0.4);
    transform: scale(1.1);
    color: #fff;
}

.music-btn:active {
    transform: scale(0.95);
}

.music-btn.playing {
    background: rgba(255, 247, 36, 0.4);
    color: #fff;
    animation: musicPulse 2s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 247, 36, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 247, 36, 0.8);
    }
}

.volume-control {
    display: flex;
    align-items: center;
}

.volume-slider {
    width: 80px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff724;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 247, 36, 0.6);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff724;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-track {
    background: linear-gradient(to right, #fff724 0%, rgba(255, 247, 36, 0.3) 100%);
    height: 6px;
    border-radius: 3px;
}

.volume-slider::-moz-range-track {
    background: linear-gradient(to right, #fff724 0%, rgba(255, 247, 36, 0.3) 100%);
    height: 6px;
    border-radius: 3px;
    border: none;
}

.discord-section {
    margin-top: 40px;
    pointer-events: all;
}

.discord-title {
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255,255,255,0.6);
    text-align: center;
    font-weight: bold;
}

.discord-accounts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.discord-account {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 15px;
    border-radius: 15px;
    background: rgba(114, 137, 218, 0.1);
    border: 2px solid rgba(114, 137, 218, 0.3);
    will-change: transform;
    transform: translateZ(0);
}

.discord-account:hover {
    transform: translateY(-5px) scale(1.05) translateZ(0);
    background: rgba(114, 137, 218, 0.2);
    border-color: rgba(114, 137, 218, 0.6);
    box-shadow: 0 8px 25px rgba(114, 137, 218, 0.4);
}

.discord-pfp {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7289da, #5865f2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.discord-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.discord-account:hover .discord-pfp {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(114, 137, 218, 0.6);
}

.discord-account:hover .discord-avatar {
    transform: scale(1.1);
}

.discord-username {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    transition: color 0.3s ease;
}

.discord-account:hover .discord-username {
    color: #7289da;
    text-shadow: 0 0 15px rgba(114, 137, 218, 0.8);
}

.discord-server {
    position: relative;
}

.discord-server::before {
    content: '🏠';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 14px;
    background: rgba(114, 137, 218, 0.9);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.discord-server:hover::before {
    background: rgba(114, 137, 218, 1);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(114, 137, 218, 0.6);
}

.discord-server-pfp {
    border: 3px solid rgba(255, 215, 0, 0.5) !important;
}

.discord-server:hover .discord-server-pfp {
    border-color: rgba(255, 215, 0, 0.8) !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    body {
        -webkit-overflow-scrolling: touch;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        touch-action: pan-x pan-y;
    }
    
    .container {
        padding: 20px;
        min-height: 100vh;
        justify-content: flex-start;
        padding-top: 12vh;
    }
    
    h1 {
        font-size: 36px;
        line-height: 1.2;
        text-align: center;
        margin-bottom: 20px;
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
    }
    
    .social-links {
        margin-top: 30px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-icon {
        width: 55px;
        height: 55px;
        font-size: 28px;
        padding: 8px;
        border-radius: 12px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .social-icon:hover {
        transform: scale(1.1) translateZ(0);
    }
    
    .social-icon:active {
        transform: scale(0.95) translateZ(0);
        transition: transform 0.1s ease;
    }
    
    .discord-section {
        margin-top: 25px;
    }
    
    .discord-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .discord-accounts {
        gap: 15px;
        flex-direction: row;
        justify-content: center;
    }
    
    .discord-account {
        padding: 12px;
        gap: 8px;
        border-radius: 12px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-width: 80px;
    }
    
    .discord-account:active {
        transform: scale(0.95) translateZ(0);
        transition: transform 0.1s ease;
    }
    
    .discord-pfp {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }
    
    .discord-username {
        font-size: 13px;
    }
    
    /* Fixed explore more button positioning for mobile */
    .explore-more-container {
        position: fixed;
        bottom: 20px;
        right: 20px;
        left: auto;
        z-index: 40;
        pointer-events: all;
    }
    
    .explore-more-btn {
        padding: 14px 22px;
        font-size: 15px;
        border-radius: 25px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        background: rgba(255, 247, 36, 0.25) !important;
        border: 2px solid rgba(255, 247, 36, 0.8) !important;
        box-shadow: 0 6px 20px rgba(255, 247, 36, 0.5) !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .explore-more-btn:active {
        transform: scale(0.95) translateZ(0);
        transition: transform 0.1s ease;
    }
    
    .explore-more-btn i {
        font-size: 17px;
    }
    
    .astronaut {
        width: 70px;
        height: 70px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .floating-text {
        display: none !important;
    }
    
    .music-disc-container {
        top: 15px;
        left: 15px;
        padding: 8px 15px 8px 8px;
        gap: 10px;
        border-radius: 30px;
    }
    
    .music-disc {
        width: 40px;
        height: 40px;
    }
    
    .disc-center {
        width: 12px;
        height: 12px;
        font-size: 6px;
    }
    
    .music-info {
        min-width: 130px;
    }
    
    .music-title {
        font-size: 12px;
    }
    
    .music-artist {
        font-size: 10px;
    }
    
    .music-control {
        top: 20px;
        right: 20px;
        padding: 8px 12px;
        gap: 10px;
        border-radius: 30px;
    }
    
    .music-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .music-btn:active {
        transform: scale(0.9);
        transition: transform 0.1s ease;
    }
    
    .volume-slider {
        width: 60px;
        height: 5px;
    }
    
    .volume-slider::-webkit-slider-thumb {
        width: 14px;
        height: 14px;
    }
    
    .volume-slider::-moz-range-thumb {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
        padding-top: 10vh;
    }
    
    h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .social-links {
        margin-top: 20px;
        gap: 12px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        padding: 6px;
    }
    
    .discord-section {
        margin-top: 20px;
    }
    
    .discord-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .discord-accounts {
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }
    
    .discord-account {
        padding: 10px 15px;
        flex-direction: row;
        gap: 12px;
        width: 140px;
        justify-content: flex-start;
    }
    
    .discord-server::before {
        width: 16px;
        height: 16px;
        font-size: 10px;
        top: -3px;
        right: -3px;
    }
    
    .discord-pfp {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .discord-username {
        font-size: 12px;
        text-align: left;
    }
    
    /* Further improved explore more button for small screens */
    .explore-more-container {
        bottom: 15px;
        right: 15px;
        z-index: 50;
    }
    
    .explore-more-btn {
        padding: 12px 18px;
        font-size: 14px;
        gap: 8px;
        background: rgba(255, 247, 36, 0.3) !important;
        border: 2px solid rgba(255, 247, 36, 0.9) !important;
        box-shadow: 0 8px 25px rgba(255, 247, 36, 0.6) !important;
    }
    
    .explore-more-btn i {
        font-size: 15px;
    }
    
    .astronaut {
        width: 60px;
        height: 60px;
    }
    
    .music-disc-container {
        top: 10px;
        left: 10px;
        padding: 6px 12px 6px 6px;
        gap: 8px;
    }
    
    .music-disc {
        width: 35px;
        height: 35px;
    }
    
    .disc-center {
        width: 10px;
        height: 10px;
        font-size: 5px;
    }
    
    .music-info {
        min-width: 110px;
    }
    
    .music-title {
        font-size: 11px;
    }
    
    .music-artist {
        font-size: 9px;
    }
    
    .music-control {
        top: 15px;
        right: 15px;
        padding: 6px 10px;
        gap: 8px;
    }
    
    .music-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .volume-slider {
        width: 50px;
        height: 4px;
    }
    
    .volume-slider::-webkit-slider-thumb {
        width: 12px;
        height: 12px;
    }
    
    .volume-slider::-moz-range-thumb {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 768px) {
    * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .particle {
        will-change: transform;
        backface-visibility: hidden;
        perspective: 1000px;
    }
    
    .astronaut {
        will-change: transform;
        backface-visibility: hidden;
        perspective: 1000px;
    }
}