        * {
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        :root {
            --neon-blue: #00d2ff;
            --neon-pink: #ff0055;
            --neon-purple: #a200ff;
            --neon-green: #00ff99;
            --neon-yellow: #f1c40f;
            --neon-orange: #ff9900;
            --dark-bg: #050510;
        }

        html {
            height: 100%;
            background-color: var(--dark-bg);
        }

        body {
            margin: 0;
            padding: 0;
            min-height: 100vh;
            min-height: -webkit-fill-available;
            background-color: transparent;
            font-family: 'Segoe UI', sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow-x: hidden;
            overflow-y: auto;
        }

        .bg-layer {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            pointer-events: none;
        }

        .stadium-lights {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 0%, rgba(0, 210, 255, 0.2) 0%, transparent 50%), radial-gradient(circle at 80% 0%, rgba(255, 0, 85, 0.2) 0%, transparent 50%);
        }

        .grid-floor {
            position: absolute;
            bottom: -50%;
            left: -50%;
            width: 200%;
            height: 100%;
            background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            transform: perspective(500px) rotateX(60deg);
            animation: gridMove 20s linear infinite;
        }

        .particles span {
            position: absolute;
            bottom: -10px;
            width: 5px;
            height: 5px;
            background: var(--neon-blue);
            border-radius: 50%;
            box-shadow: 0 0 10px var(--neon-blue);
            animation: fly 10s linear infinite;
            opacity: 0;
        }

        .particles span:nth-child(even) {
            background: var(--neon-pink);
            box-shadow: 0 0 10px var(--neon-pink);
        }

        .particles span:nth-child(1) {
            left: 10%;
            animation-duration: 7s;
        }

        .particles span:nth-child(2) {
            left: 30%;
            animation-delay: 2s;
            animation-duration: 10s;
        }

        .particles span:nth-child(3) {
            left: 70%;
            animation-delay: 4s;
            animation-duration: 6s;
        }

        .particles span:nth-child(4) {
            left: 90%;
            animation-delay: 1s;
            animation-duration: 9s;
        }

        @keyframes gridMove {
            0% {
                transform: perspective(500px) rotateX(60deg) translateY(0);
            }

            100% {
                transform: perspective(500px) rotateX(60deg) translateY(50px);
            }
        }

        @keyframes fly {
            0% {
                bottom: -10px;
                opacity: 0;
            }

            50% {
                opacity: 1;
            }

            100% {
                bottom: 100vh;
                opacity: 0;
            }
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        .content-wrapper {
            z-index: 10;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            max-width: 400px;
            margin: auto;
            padding: 40px 20px;
        }

        .logo-container {
            text-align: center;
            margin-bottom: clamp(20px, 4vh, 35px);
            animation: float 4s ease-in-out infinite;
            width: 100%;
        }

        .main-logo {
            width: 100%;
            max-width: clamp(220px, 60vw, 300px);
            height: auto;
            filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.4));
        }

        .menu-grid {
            display: flex;
            flex-direction: column;
            gap: clamp(15px, 2.5vh, 20px);
            width: 100%;
            margin-bottom: 20px;
        }

        .menu-btn {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: clamp(15px, 3vh, 20px);
            border-radius: 15px;
            text-decoration: none;
            color: white;
            font-size: clamp(1rem, 4vw, 1.2rem);
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: 0.3s;
            backdrop-filter: blur(5px);
            position: relative;
            overflow: hidden;
        }

        .menu-btn i {
            font-size: clamp(1.4rem, 6vw, 1.6rem);
            transition: 0.3s;
            position: relative;
            z-index: 1;
        }

        .btn-single:hover {
            background: linear-gradient(90deg, rgba(0, 210, 255, 0.1), transparent);
            border-color: var(--neon-blue);
            box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
            transform: translateX(5px);
        }

        .btn-single:hover i {
            color: var(--neon-blue);
        }

        .btn-career:hover {
            background: linear-gradient(90deg, rgba(0, 255, 153, 0.1), transparent);
            border-color: var(--neon-green);
            box-shadow: 0 0 20px rgba(0, 255, 153, 0.3);
            transform: translateX(5px);
        }

        .btn-career:hover i {
            color: var(--neon-green);
        }

        .btn-online i {
            font-size: clamp(1.7rem, 7vw, 2.1rem) !important;
        }

        .btn-online:hover {
            background: linear-gradient(90deg, rgba(255, 0, 85, 0.1), transparent);
            border-color: var(--neon-pink);
            box-shadow: 0 0 20px rgba(255, 0, 85, 0.3);
            transform: translateX(5px);
        }

        .btn-online:hover i {
            color: var(--neon-pink);
        }



        .btn-fun:hover {
            background: linear-gradient(90deg, rgba(255, 170, 0, 0.1), transparent);
            border-color: var(--neon-gold);
            box-shadow: 0 0 20px rgba(255, 170, 0, 0.3);
            transform: translateX(5px);
        }

        .btn-fun:hover i {
            color: var(--neon-gold);
        }

        
        .ribbon-new {
            position: absolute;
            top: 10px;
            right: -25px;
            background: #ff003c;
            color: #fff;
            padding: 3px 25px;
            font-size: 0.65rem;
            font-weight: 900;
            letter-spacing: 1px;
            transform: rotate(45deg);
            box-shadow: 0 0 10px rgba(255, 0, 60, 0.6);
            z-index: 10;
            text-align: center;
        }

        .top-hud {
            position: fixed;
            top: 15px;
            right: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 100;
        }

        .points-hud {
            display: flex;
            align-items: center;
            gap: 6px;
            background: rgba(5, 5, 16, 0.8);
            border: 1px solid var(--neon-green);
            padding: 5px 12px;
            border-radius: 50px;
            backdrop-filter: blur(5px);
            box-shadow: 0 0 15px rgba(0, 255, 153, 0.1);
            color: var(--neon-green);
            font-weight: 900;
            font-size: 1rem;
        }

        .points-hud img {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: 1px solid var(--neon-yellow);
            box-shadow: 0 0 5px var(--neon-yellow);
            object-fit: cover;
        }

        .profile-badge {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(5, 5, 16, 0.8);
            border: 1px solid rgba(0, 240, 255, 0.3);
            padding: 5px 15px 5px 5px;
            border-radius: 50px;
            backdrop-filter: blur(5px);
            box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
            cursor: pointer;
            transition: 0.3s;
            position: relative;
        }

        .profile-badge:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: var(--neon-blue);
        }

        .profile-badge img {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 2px solid var(--neon-blue);
            object-fit: cover;
        }

        .profile-badge span {
            color: white;
            font-weight: 800;
            font-size: 0.9rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-family: 'Segoe UI', sans-serif;
        }

        @media (max-width: 400px) {
            .top-hud {
                top: 10px;
                right: 10px;
                gap: 6px;
            }

            .profile-badge {
                padding: 4px 10px 4px 4px;
            }

            .profile-badge img {
                width: 32px;
                height: 32px;
            }

            .profile-badge span {
                font-size: 0.75rem;
            }

            .points-hud {
                padding: 4px 10px;
                font-size: 0.85rem;
            }

            .points-hud img {
                width: 20px;
                height: 20px;
            }
        }

        .profile-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(5, 5, 16, 0.85);
            backdrop-filter: blur(10px);
            z-index: 9999;
            display: none;
            justify-content: center;
            align-items: flex-start;
            padding: 40px 15px 15px;
            animation: fadeIn 0.3s ease;
            overflow-y: auto;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .profile-modal {
            background: #0d0d1a;
            border: 2px solid var(--neon-blue);
            border-radius: 20px;
            padding: 25px;
            width: 100%;
            max-width: 380px;
            text-align: center;
            box-shadow: 0 0 40px rgba(0, 210, 255, 0.2);
            position: relative;
            max-height: none;
            margin: auto;
        }

        .profile-modal::-webkit-scrollbar {
            width: 4px;
        }

        .profile-modal::-webkit-scrollbar-thumb {
            background: var(--neon-blue);
            border-radius: 10px;
        }

        .profile-modal h2 {
            color: white;
            margin-top: 0;
            font-size: 1.6rem;
            text-shadow: 0 0 10px var(--neon-blue);
            letter-spacing: 1px;
            margin-bottom: 5px;
        }

        .profile-modal h3 {
            color: #aaa;
            font-size: 0.9rem;
            margin-bottom: 20px;
            letter-spacing: 1px;
            font-weight: normal;
        }

        .username-input {
            width: 100%;
            padding: 15px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: white;
            font-size: 16px;
            text-align: center;
            margin-bottom: 20px;
            outline: none;
            font-family: inherit;
            font-weight: bold;
            transition: 0.3s;
        }

        .username-input:focus {
            border-color: var(--neon-blue);
            box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
            background: rgba(255, 255, 255, 0.1);
        }

        .avatar-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-bottom: 15px;
        }

        .avatar-option {
            width: 100%;
            aspect-ratio: 1/1;
            border-radius: 50%;
            border: 3px solid transparent;
            cursor: pointer;
            transition: 0.3s;
            object-fit: cover;
            opacity: 0.4;
        }

        .avatar-option:hover {
            opacity: 1;
            transform: scale(1.05);
        }

        .avatar-option.selected {
            border-color: var(--neon-green);
            opacity: 1;
            transform: scale(1.1);
            box-shadow: 0 0 20px rgba(0, 255, 153, 0.4);
        }

        .trophies-section {
            margin-top: 10px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 25px;
        }

        .trophies-section h3 {
            color: var(--neon-yellow);
            font-size: 1.1rem;
            margin-bottom: 15px;
            text-shadow: 0 0 10px rgba(241, 196, 15, 0.3);
            font-weight: 900;
        }

        .trophies-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px 10px;
        }

        .trophy-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            transition: 0.3s;
        }

        .trophy-item i {
            font-size: 2.2rem;
            filter: drop-shadow(0 0 15px currentColor);
        }

        .trophy-item span {
            font-size: 0.65rem;
            color: #fff;
            font-weight: 900;
            text-align: center;
            line-height: 1.2;
            letter-spacing: 0.5px;
        }

        .trophy-item.locked {
            opacity: 0.7;
        }

        .trophy-item.locked i {
            color: transparent !important;
            -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.2);
            filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
        }

        .trophy-item.locked span {
            color: #555;
        }

        .save-profile-btn {
            background: linear-gradient(90deg, var(--neon-blue), #0088ff);
            color: #000;
            border: none;
            padding: 15px 20px;
            border-radius: 30px;
            font-weight: 800;
            font-size: 1.1rem;
            cursor: pointer;
            transition: 0.3s;
            width: 100%;
            font-family: inherit;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
        }

        .save-profile-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 0 30px rgba(0, 210, 255, 0.5);
        }

        .btn-group {
            display: flex;
            gap: 10px;
            width: 100%;
        }

        #rotate-warning {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #000;
            z-index: 99999;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            text-align: center;
        }

        #rotate-warning i {
            font-size: 50px;
            margin-bottom: 20px;
            animation: rotateIcon 2s infinite;
            color: var(--neon-blue);
        }

        @media only screen and (min-aspect-ratio: 13/9) and (max-height: 600px) {
            #rotate-warning {
                display: flex;
            }

            .content-wrapper,
            .bg-layer,
            .profile-overlay,
            .top-hud {
                display: none !important;
            }
        }

        
        .gold-hud {
            display: flex;
            align-items: center;
            gap: 6px;
            background: rgba(5, 5, 16, 0.8);
            border: 1px solid var(--neon-yellow);
            padding: 5px 12px;
            border-radius: 50px;
            backdrop-filter: blur(5px);
            box-shadow: 0 0 15px rgba(241, 196, 15, 0.2);
            color: var(--neon-yellow);
            font-weight: 900;
            font-size: 1rem;
            transition: 0.3s;
        }

        .gold-hud:hover {
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 20px rgba(241, 196, 15, 0.4);
        }

        .gold-hud i {
            font-size: 1.1rem;
            color: var(--neon-yellow);
            text-shadow: 0 0 8px rgba(241, 196, 15, 0.6);
        }



        #toastNotification {
            position: fixed;
            top: -100px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(5, 5, 16, 0.95);
            border: 2px solid var(--neon-yellow);
            color: var(--neon-yellow);
            padding: 15px 25px;
            border-radius: 30px;
            font-weight: 900;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 0 30px rgba(241, 196, 15, 0.4);
            z-index: 99998;
            transition: top 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            backdrop-filter: blur(10px);
            pointer-events: none;
            white-space: nowrap;
        }

        #toastNotification.show {
            top: 20px;
        }

        #toastNotification i {
            font-size: 1.5rem;
            color: var(--neon-yellow);
        }

        .guest-warning-dot {
            width: 12px;
            height: 12px;
            background-color: var(--neon-pink);
            border-radius: 50%;
            position: absolute;
            top: 0px;
            right: 0px;
            box-shadow: 0 0 10px var(--neon-pink);
            animation: pulseRed 1.5s infinite;
            z-index: 10;
        }

        @keyframes pulseRed {
            0% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.3); opacity: 0.7; }
            100% { transform: scale(1); opacity: 1; }
        }
