/* ==========================================================================
   🏆 منصة البطل امين محمد - ثيم سيارات كرة القدم ودوري الأبطال ⚽🏎️
   ROCKET LEAGUE / CAR SOCCER CHAMPIONS THEME
   ========================================================================== */

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

:root {
    /* ألوان الملعب وسيارات السباق */
    --stadium-dark: #070d1e;
    --stadium-navy: #0f172a;
    --stadium-blue: #1e3a8a;
    --speed-cyan: #06b6d4;
    --speed-blue: #0284c7;
    --turf-green: #10b981;
    --turf-green-dark: #047857;
    --turbo-red: #ef4444;
    --turbo-orange: #f97316;
    --trophy-gold: #fbbf24;
    --trophy-gold-dark: #d97706;
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --card-bg: rgba(15, 23, 42, 0.85);
    --card-border: rgba(56, 189, 248, 0.4);
}

body {
    font-family: 'Baloo Bhaijaan 2', 'Tajawal', cursive, sans-serif;
    /* خلفية حلبة كرة القدم وسيارات السباق الليلية مع أضواء الكشافات */
    background: 
        radial-gradient(circle at 50% 10%, rgba(14, 165, 233, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 10% 90%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(239, 68, 68, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, #070d1e 0%, #0b1536 50%, #030712 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    overflow-x: hidden;
    padding: 2rem 1rem;
    position: relative;
}

/* خطوط أرضية الملعب وسرعة السيارات في الخلفية */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* عناصر سيارات كرة القدم الطافية في الخلفية (SVG بدقة فائقة) */
.kuromi-floating-bg,
.stadium-floating-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-sticker,
.floating-svg {
    position: absolute;
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 16px rgba(6, 182, 212, 0.45));
    opacity: 0.95;
    transition: transform 0.3s;
    pointer-events: none;
}

.svg-car {
    width: 155px;
    height: auto;
}
.svg-ball {
    width: 95px;
    height: auto;
}
.svg-turbo-ball {
    width: 125px;
    height: auto;
}
.svg-trophy {
    width: 105px;
    height: auto;
}

.sticker-1 { top: 6%; right: 4%; animation: carDrift1 6s ease-in-out infinite alternate; }
.sticker-2 { top: 10%; left: 4%; animation: carDrift2 7s ease-in-out infinite alternate; }
.sticker-3 { bottom: 8%; right: 5%; animation: carDrift2 6.5s ease-in-out infinite alternate; }
.sticker-4 { bottom: 9%; left: 4%; animation: carDrift1 7.5s ease-in-out infinite alternate; }
.sticker-5 { top: 48%; right: 2%; animation: carDrift1 8s ease-in-out infinite alternate; opacity: 0.88; }
.sticker-6 { top: 50%; left: 2%; animation: carDrift2 7.5s ease-in-out infinite alternate; opacity: 0.88; }

.sparkle {
    position: absolute;
    font-size: 2.2rem;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.8));
    animation: sparklePulse 2.5s infinite alternate;
}
.sparkle-1 { top: 20%; right: 18%; font-size: 2.4rem; }
.sparkle-2 { top: 26%; left: 18%; font-size: 2.6rem; animation-delay: 0.4s; }
.sparkle-3 { bottom: 24%; right: 20%; font-size: 2.4rem; animation-delay: 0.8s; }
.sparkle-4 { bottom: 22%; left: 20%; font-size: 2.3rem; animation-delay: 1.2s; }
.sparkle-5 { top: 8%; left: 50%; font-size: 2rem; animation-delay: 1.6s; }

@keyframes carDrift1 {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-20px) rotate(-6deg) scale(1.05); }
    100% { transform: translateY(-35px) rotate(6deg) scale(1.02); }
}

@keyframes carDrift2 {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(20px) rotate(6deg) scale(1.04); }
    100% { transform: translateY(35px) rotate(-6deg) scale(0.98); }
}

@keyframes sparklePulse {
    0% { transform: scale(0.85); opacity: 0.6; filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5)); }
    100% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.9)); }
}

/* حاوية الصفحة الرئيسية */
.container {
    width: 100%;
    max-width: 960px;
    text-align: center;
    transition: all 0.4s ease;
    z-index: 10;
    position: relative;
    margin: auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* شارة التوجيه المتحركة */
.pointing-hand-container {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.pointing-hand {
    font-size: 3.2rem;
    animation: turboBounce 1.2s infinite alternate cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 6px 12px rgba(245, 158, 11, 0.6));
}

@keyframes turboBounce {
    from { transform: translateY(-8px) scale(0.95); }
    to { transform: translateY(10px) scale(1.15); }
}

/* ==========================================================================
   🏎️ صـورة بـروفـايـل البـطـل امـيـن مـع مـحـدد الـصـور (1، 2، 3)
   ========================================================================== */
.racer-avatar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.racer-avatar {
    display: inline-block;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.racer-avatar:hover {
    transform: scale(1.08) rotate(-2deg);
}

.avatar-ring {
    width: 175px;
    height: 175px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 6px solid #38bdf8;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 0 0 5px rgba(14, 165, 233, 0.3),
        0 0 35px rgba(56, 189, 248, 0.6),
        0 14px 28px rgba(0, 0, 0, 0.6);
    animation: stadiumGlow 2.5s infinite alternate;
    position: relative;
    padding: 5px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    border: 3px solid rgba(255, 255, 255, 0.6);
}

.avatar-badge {
    position: absolute;
    bottom: -6px;
    right: -10px;
    font-size: 2.4rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
    animation: badgeBob 2s ease-in-out infinite alternate;
    user-select: none;
}

.sound-hint-pill {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(14, 165, 233, 0.2);
    border: 1.5px solid #38bdf8;
    color: #38bdf8;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.sound-hint-pill:hover {
    background: #0284c7;
    color: white;
    transform: scale(1.05);
}

@keyframes stadiumGlow {
    from { 
        box-shadow: 
            0 0 0 4px rgba(14, 165, 233, 0.3),
            0 0 25px rgba(56, 189, 248, 0.5),
            0 12px 24px rgba(0, 0, 0, 0.5);
    }
    to { 
        box-shadow: 
            0 0 0 7px rgba(251, 191, 36, 0.4),
            0 0 45px rgba(251, 191, 36, 0.7),
            0 16px 32px rgba(0, 0, 0, 0.7);
    }
}

@keyframes badgeBob {
    from { transform: rotate(-8deg) scale(0.95); }
    to { transform: rotate(8deg) scale(1.15); }
}

/* شريط تبديل صور امين (امين1، امين2، امين3) */
.avatar-switcher-box {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.75);
    border: 2px solid rgba(56, 189, 248, 0.35);
    border-radius: 25px;
    padding: 8px 18px;
    backdrop-filter: blur(8px);
}

.switcher-label {
    font-size: 0.95rem;
    color: #94a3b8;
    font-weight: 700;
}

.avatar-thumbnails {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.thumb-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #64748b;
    background: #0f172a;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-btn:hover {
    transform: scale(1.18);
    border-color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.8);
}

.thumb-btn.active {
    border-color: #fbbf24;
    transform: scale(1.22);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.9);
}

/* ==========================================================================
   النصوص والعناوين الرياضية
   ========================================================================== */
.text-with-audio {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 0.8rem;
}

.subtitle-audio {
    margin-bottom: 2rem;
}

.title {
    font-size: 3.4rem;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 60%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 18px rgba(14, 165, 233, 0.6));
    margin: 0;
    letter-spacing: 0.5px;
}

.subtitle {
    font-size: 2.1rem;
    color: #38bdf8;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(14, 165, 233, 0.5);
    margin: 0;
}

/* أزرار الصوت الرياضية */
.speak-btn {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    border: 2.5px solid #38bdf8;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    padding: 0;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.5);
}

.speak-btn:hover {
    transform: scale(1.2) rotate(10deg);
    background: linear-gradient(135deg, #06b6d4, #0284c7);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.8);
}

.speak-btn:active {
    transform: scale(0.95);
}

/* حقول الإدخال */
.input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin-bottom: 1.5rem;
}

.input-audio-wrapper {
    position: relative;
    width: 88%;
    max-width: 500px;
}

input {
    width: 100%;
    padding: 18px 55px 18px 25px;
    font-size: 1.6rem;
    border: 3.5px solid #0284c7;
    border-radius: 50px;
    outline: none;
    background: rgba(15, 23, 42, 0.92);
    color: #ffffff;
    transition: all 0.3s;
    font-family: 'Baloo Bhaijaan 2', cursive;
    text-align: center;
    font-weight: 800;
    box-shadow: 
        inset 0 2px 6px rgba(0, 0, 0, 0.5),
        0 8px 25px rgba(2, 132, 199, 0.3);
}

input::placeholder {
    color: #64748b;
    font-size: 1.35rem;
}

input:focus {
    border-color: #38bdf8;
    box-shadow: 
        0 0 30px rgba(56, 189, 248, 0.6),
        inset 0 2px 4px rgba(0, 0, 0, 0.4);
    transform: scale(1.02);
    background: rgba(15, 23, 42, 0.98);
}

.input-speak {
    position: absolute;
    left: 10px; 
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
}

.input-speak:hover {
    transform: translateY(-50%) scale(1.15);
}

/* زر الدخول الرياضي التوربو (Rocket League Turbo Button) */
.magic-btn,
.kuromi-btn,
.turbo-login-btn {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #1e3a8a 100%) !important;
    color: #ffffff !important;
    border: 3.5px solid #38bdf8 !important;
    border-bottom: 8px solid #075985 !important;
    padding: 14px 34px !important;
    max-width: 92% !important;
    border-radius: 50px !important;
    font-size: clamp(1.2rem, 4vw, 1.85rem) !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    font-family: 'Baloo Bhaijaan 2', cursive !important;
    box-shadow: 
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        0 10px 25px rgba(2, 132, 199, 0.5),
        0 4px 0 #075985 !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.magic-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 100%;
}

.btn-car-img,
.btn-turbo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.magic-btn:hover .btn-car-img,
.turbo-login-btn:hover .btn-car-img,
.magic-btn:hover .btn-turbo-icon,
.turbo-login-btn:hover .btn-turbo-icon {
    transform: scale(1.15) translateX(-3px);
}

.magic-btn-content .btn-text {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    word-break: break-word;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.btn-speak {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: white;
}

.magic-btn:hover,
.kuromi-btn:hover,
.turbo-login-btn:hover {
    transform: scale(1.06) translateY(-4px) !important;
    box-shadow: 
        0 18px 35px rgba(14, 165, 233, 0.6),
        0 8px 0 #075985 !important;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #1e40af 100%) !important;
    border-color: #bae6fd !important;
}

.magic-btn:active,
.kuromi-btn:active,
.turbo-login-btn:active {
    transform: scale(0.96) translateY(4px) !important;
    box-shadow: 
        0 4px 10px rgba(2, 132, 199, 0.4),
        0 2px 0 #075985 !important;
}

.error-message {
    color: #fca5a5;
    font-weight: 800;
    font-size: 1.35rem;
    min-height: 40px;
    opacity: 0;
    transition: opacity 0.3s;
    background: rgba(15, 23, 42, 0.95);
    padding: 12px 26px;
    border-radius: 25px;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    border: 2.5px solid #ef4444;
    box-shadow: 0 6px 22px rgba(239, 68, 68, 0.3);
    max-width: 90%;
    text-align: center;
}

.error-message.show {
    opacity: 1;
}

.expired-msg-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    width: 100%;
}

.contact-us-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 8px 26px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    transition: all 0.25s ease;
    border: 2px solid #ffffff;
    cursor: pointer;
    font-family: inherit;
}

.contact-us-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   🎮 3D ARCADE BUTTONS - أزرار المواد ثلاثية الأبعاد (ثيم السيارات وكرة القدم)
   ========================================================================== */
.cards-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.kuromi-image-button,
.speed-image-button {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-decoration: none !important;
    cursor: pointer !important;
    position: relative !important;
    box-sizing: border-box !important;
    user-select: none !important;

    width: 250px !important;
    max-width: 100% !important;
    min-height: 260px !important;
    padding: 18px 14px 14px !important;
    border-radius: 32px !important;
    
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 60%, #020617 100%) !important;
    border: 3.5px solid #38bdf8 !important;
    border-bottom: 9px solid #0284c7 !important;
    
    box-shadow: 
        inset 0 3px 0 rgba(255, 255, 255, 0.15),
        0 8px 0 #0369a1,
        0 16px 30px rgba(0, 0, 0, 0.6) !important;
        
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* تنويعات الألوان للأزرار الرياضية */
/* 1. القراءة - أزرق وسايان */
.arcade-pink,
.arcade-blue {
    border-color: #38bdf8 !important;
    border-bottom-color: #0284c7 !important;
    box-shadow: 
        inset 0 3px 0 rgba(255, 255, 255, 0.2),
        0 8px 0 #0369a1,
        0 16px 30px rgba(2, 132, 199, 0.4) !important;
}

/* 2. الرياضيات - أخضر وذهبي (أرضية الملعب) */
.arcade-purple,
.arcade-green {
    border-color: #34d399 !important;
    border-bottom-color: #059669 !important;
    box-shadow: 
        inset 0 3px 0 rgba(255, 255, 255, 0.2),
        0 8px 0 #047857,
        0 16px 30px rgba(16, 185, 129, 0.4) !important;
}

/* 3. الإنكليزي - أحمر ناري وبرتقالي سباق */
.arcade-rose,
.arcade-red {
    border-color: #f87171 !important;
    border-bottom-color: #dc2626 !important;
    box-shadow: 
        inset 0 3px 0 rgba(255, 255, 255, 0.2),
        0 8px 0 #b91c1c,
        0 16px 30px rgba(239, 68, 68, 0.4) !important;
}

/* 4. دوري الألعاب - ذهب البطولة والنيترو */
.arcade-gold {
    border-color: #fbbf24 !important;
    border-bottom-color: #d97706 !important;
    box-shadow: 
        inset 0 3px 0 rgba(255, 255, 255, 0.25),
        0 8px 0 #b45309,
        0 16px 30px rgba(245, 158, 11, 0.4) !important;
}

/* إطار عرض سيارة كرة القدم داخل الزر - نافذة عرض متناسقة واحترافية */
.char-halo {
    position: relative !important;
    width: 100% !important;
    max-width: 220px !important;
    height: 140px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #09122a !important;
    border: 2.5px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 
        inset 0 0 18px rgba(0, 0, 0, 0.7),
        0 8px 18px rgba(0, 0, 0, 0.45) !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* طبقة اندماج زجاجية ناعمة لدمج الصورة بانسيابية داخل الزر */
.char-halo::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 40%, rgba(7, 13, 30, 0.75) 100%) !important;
    pointer-events: none !important;
    border-radius: 18px !important;
    z-index: 2 !important;
}

.arcade-green .char-halo,
.arcade-purple .char-halo {
    border-color: rgba(52, 211, 153, 0.5) !important;
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.7), 0 8px 18px rgba(16, 185, 129, 0.3) !important;
}

.arcade-red .char-halo,
.arcade-rose .char-halo {
    border-color: rgba(248, 113, 113, 0.5) !important;
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.7), 0 8px 18px rgba(239, 68, 68, 0.3) !important;
}

.arcade-gold .char-halo {
    border-color: rgba(251, 191, 36, 0.5) !important;
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.7), 0 8px 18px rgba(245, 158, 11, 0.3) !important;
}

/* صورة سيارة كرة القدم المدمجة داخل الزر - أبعاد موحدة واحترافية بدون بروز للحواف */
.kuromi-btn-img,
.speed-btn-img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    filter: brightness(0.96) contrast(1.05) !important;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

/* الشارة العلوية الملتصقة بإطار الصورة */
.figure-badge-pill {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    background: linear-gradient(135deg, #0284c7, #06b6d4) !important;
    color: white !important;
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    padding: 4px 12px !important;
    border-radius: 16px !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4) !important;
    z-index: 4 !important;
}

/* شريط العنوان التفاعلي داخل الزر */
.btn-pedestal-ribbon {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    color: #ffffff !important;
    padding: 8px 12px !important;
    border-radius: 20px !important;
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
    border-bottom: 4px solid #075985 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    font-weight: 900 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 44px !important;
    z-index: 3 !important;
    transition: all 0.2s ease !important;
}

.arcade-green .btn-pedestal-ribbon,
.arcade-purple .btn-pedestal-ribbon {
    background: linear-gradient(135deg, #059669, #047857) !important;
    border-bottom-color: #064e3b !important;
}

.arcade-red .btn-pedestal-ribbon,
.arcade-rose .btn-pedestal-ribbon {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    border-bottom-color: #7f1d1d !important;
}

.arcade-gold .btn-pedestal-ribbon {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    border-bottom-color: #78350f !important;
}

.ribbon-title {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    font-weight: 900 !important;
    font-size: clamp(1.05rem, 2.8vw, 1.35rem) !important;
    line-height: 1.25 !important;
    text-align: center !important;
    flex: 1 1 auto !important;
}

/* تأثير التحويم للأزرار المجسمة */
.kuromi-image-button:hover,
.speed-image-button:hover {
    transform: translateY(-8px) scale(1.03) !important;
    border-bottom-width: 12px !important;
}

.kuromi-image-button:hover .speed-btn-img,
.speed-image-button:hover .speed-btn-img,
.kuromi-image-button:hover .kuromi-btn-img {
    transform: scale(1.08) !important;
}

.kuromi-image-button:hover .char-halo,
.speed-image-button:hover .char-halo {
    border-color: #38bdf8 !important;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.45), inset 0 0 15px rgba(56, 189, 248, 0.25) !important;
}

/* تأثير الضغط الحقيقي */
.kuromi-image-button:active,
.speed-image-button:active {
    transform: translateY(6px) scale(0.98) !important;
    border-bottom-width: 4px !important;
}

/* زر الصوت الصغير داخل الزر */
.mini-speak-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 0.95rem !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border: 1.5px solid #ffffff !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.2s, background 0.2s !important;
}

.mini-speak-btn:hover {
    background: rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.18) !important;
}

/* ==========================================================================
   الفوتر الرسمي الرياضي
   ========================================================================== */
.platform-footer {
    text-align: center;
    padding: 30px 15px 40px;
    margin-top: 40px;
    width: 100%;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

.platform-footer .platform-footer-link {
    color: #38bdf8;
    text-decoration: none;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 800;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border: 2px solid #0284c7;
    padding: 10px 26px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: inherit;
    max-width: 90%;
    word-break: break-word;
}

.platform-footer .platform-footer-link:hover {
    color: #ffffff;
    border-color: #38bdf8;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.6);
    background: rgba(2, 132, 199, 0.3);
}

/* ==========================================================================
   التجاوب مع الشاشات الصغيرة
   ========================================================================== */
@media screen and (max-width: 768px) {
    .floating-sticker,
    .floating-svg {
        opacity: 0.7;
    }
    .svg-car { width: 95px; }
    .svg-ball { width: 65px; }
    .svg-turbo-ball { width: 85px; }
    .svg-trophy { width: 75px; }
    .sticker-1 { width: 95px; }
    .sticker-2 { width: 90px; }
    .sticker-3 { width: 68px; }
    .sticker-4 { width: 85px; }
    .sticker-5, .sticker-6 { display: none; }

    .avatar-ring {
        width: 145px;
        height: 145px;
        border-width: 5px;
    }
    .avatar-badge {
        font-size: 2rem;
        bottom: -4px;
        right: -6px;
    }
    .thumb-btn {
        width: 42px;
        height: 42px;
    }
    .title { font-size: clamp(1.8rem, 6vw, 2.6rem) !important; line-height: 1.25; }
    .subtitle { font-size: clamp(1.15rem, 4vw, 1.6rem) !important; }
    input {
        font-size: 1.3rem;
        padding: 14px 45px 14px 15px;
    }
    .magic-btn, .turbo-login-btn {
        padding: 12px 28px !important;
        font-size: 1.35rem !important;
    }
    .cards-container {
        gap: 20px;
    }
}
