:root {
    --primary-gold: #FFD700;
    --gold-glow: #FFC000;
    --midnight: #0F0F1A;
    --deep-purple: #1A1A2E;
    --midnight-blue: #003366;
    --text-white: #FFFFFF;
    --text-dim: #A0A0A0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.2);
    --trans-speed: 0.4s ease;
    --site-pad: 2rem;
    --site-pad-mobile: 1.25rem;
}

/* 
   Brand Identity: Build your own Play4Fun Casino for your Friends
   Primary background: Midnight Purple (#1A1A2E)
*/

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--midnight);
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
    background-attachment: fixed;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    /* Better handling for iOS dynamic type */
    overflow-wrap: break-word;
    /* Prevent long words from breaking layout */
    hyphens: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--site-pad);
}

/* Typography Utilities */
h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.gold-text {
    background: linear-gradient(135deg, #FFF7AD 0%, #FFAA00 40%, #B8860B 70%, #8B6B00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

/* Glass UI Elements */
.glass {
    background: var(--glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav.scrolled {
    background: rgba(15, 15, 26, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    height: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 var(--site-pad);
}

/* Nav logo styles removed - using hero logo for primary branding */

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--trans-speed);
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.cta-nav {
    background: var(--primary-gold);
    color: var(--midnight) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/img/hero-bg.png') center/cover no-repeat;
    transform: scale(1.1) translateZ(0);
    animation: zoomOut 20s infinite alternate;
    will-change: transform;
}

@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 0%, var(--midnight) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.main-logo {
    max-width: 400px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.8));
}

.dazzle {
    position: relative;
    display: inline-block;
}

.dazzle::before {
    display: none;
}

.sparkle {
    position: absolute;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, #fff 10%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.sparkle::before,
.sparkle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #fff, 0 0 20px #fff;
    border-radius: 50%;
}

.sparkle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.s1 {
    top: 15%;
    left: 15%;
    animation: diamondSparkle 3s infinite 0.2s;
}

.s2 {
    top: 25%;
    left: 85%;
    animation: diamondSparkle 4s infinite 1.5s;
}

.s3 {
    top: 75%;
    left: 30%;
    animation: diamondSparkle 3.5s infinite 0.8s;
}

.s4 {
    top: 65%;
    left: 70%;
    animation: diamondSparkle 5s infinite 2.1s;
}

.s5 {
    top: 45%;
    left: 55%;
    animation: diamondSparkle 4.5s infinite 1.1s;
}

.s6 {
    top: 10%;
    left: 40%;
    animation: diamondSparkle 5.5s infinite 1.9s;
}

@keyframes diamondSparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0) rotate(0);
    }

    10% {
        opacity: 1;
        transform: scale(1) rotate(45deg);
    }

    20% {
        opacity: 0;
        transform: scale(0.2) rotate(90deg);
    }
}

@keyframes randomSparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0) rotate(0);
    }

    5%,
    15% {
        opacity: 1;
        transform: scale(1.2) rotate(45deg);
        top: 20%;
        left: 30%;
    }

    20% {
        opacity: 0;
    }

    25%,
    35% {
        opacity: 1;
        transform: scale(1) rotate(-45deg);
        top: 60%;
        left: 70%;
    }

    40% {
        opacity: 0;
    }

    45%,
    55% {
        opacity: 1;
        transform: scale(1.5) rotate(0);
        top: 40%;
        left: 10%;
    }

    60% {
        opacity: 0;
    }
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.legal-lite {
    display: block;
    font-size: 0.85rem;
    margin-top: 1rem;
    opacity: 0.8;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s;
}

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

.btn-primary {
    background: linear-gradient(to right, #FFD700, #FFA500);
    color: var(--midnight);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* Features */
section {
    padding: 25px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section-title p {
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Reduced from 300 to fit mobile better */
    gap: 1.5rem;
}

.feature-card {
    padding: 2.5rem;
    transition: var(--trans-speed);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.05);
}

.feature-card:hover::before {
    opacity: 1;
}

.card-icon {
    margin-bottom: 1.5rem;
    display: flex;
    height: 110px;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    border-radius: 16px;
}

.feature-symbol {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.6));
}

.pulse {
    animation: luxuryPulse 4s infinite ease-in-out;
}

@keyframes luxuryPulse {

    0%,
    100% {
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5)) brightness(1);
    }

    50% {
        transform: scale(1.1) translateY(-10px);
        filter: drop-shadow(0 20px 40px var(--gold-glow)) brightness(1.2);
    }
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Showcase */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.5rem;
}

.showcase-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mini Slot Machine */
.mini-slot-machine {
    position: relative;
    perspective: 1000px;
}

.slot-frame {
    background: linear-gradient(145deg, #2a2a4a, #1a1a2e);
    border: 4px solid var(--primary-gold);
    border-radius: 20px;
    padding: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 2px 10px rgba(255, 215, 0, 0.2),
        0 0 40px rgba(255, 215, 0, 0.15);
}

.slot-reel-container {
    display: flex;
    gap: 8px;
    background: linear-gradient(180deg, #0a0a15 0%, #151525 50%, #0a0a15 100%);
    padding: 15px;
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.slot-reel {
    width: 100px;
    height: 100px;
    overflow: hidden;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.8) 0%,
            transparent 15%,
            transparent 85%,
            rgba(0, 0, 0, 0.8) 100%);
    border-radius: 8px;
    position: relative;
}

.slot-reel::before,
.slot-reel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 25px;
    z-index: 10;
    pointer-events: none;
}

.slot-reel::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
}

.slot-reel::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.reel-strip {
    display: flex;
    flex-direction: column;
    animation: spin 3s ease-in-out infinite;
    will-change: transform;
}

.reel-strip img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.reel-1 .reel-strip {
    animation-delay: 0s;
}

.reel-2 .reel-strip {
    animation-delay: 0.2s;
}

.reel-3 .reel-strip {
    animation-delay: 0.4s;
}

@keyframes spin {
    0% {
        transform: translateY(0);
    }

    15% {
        transform: translateY(-400px);
    }

    30% {
        transform: translateY(-100px);
    }

    45% {
        transform: translateY(-100px);
    }

    100% {
        transform: translateY(0);
    }
}

.glow-sphere {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-gold) 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(30px);
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
}

.check-list li::before {
    content: '✓';
    color: var(--primary-gold);
    font-weight: 900;
}

/* Trust Section */
.trust-container {
    margin: 2rem auto;
    padding: 3rem;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid var(--glass-border);
}

.rng-card {
    padding: 2rem;
    text-align: center;
    font-family: monospace;
    color: var(--primary-gold);
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Reduced from 300 */
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    padding: 2rem;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

/* Download Section */
.download {
    position: relative;
}

.download-box {
    text-align: center;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(15, 15, 26, 0.95));
    position: relative;
    overflow: hidden;
}

.download-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.download-box h2 {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.download-box p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    position: relative;
}

.app-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #000;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #333;
    transition: var(--trans-speed);
}

.store-btn:hover {
    border-color: var(--primary-gold);
    transform: scale(1.05);
}

.store-btn.coming-soon {
    opacity: 0.7;
    cursor: default;
    filter: grayscale(0.5);
}

.store-btn.coming-soon:hover {
    transform: none;
    border-color: #333;
}

.store-btn.macos-download {
    background: linear-gradient(145deg, #1a1a2e, #2a2a4a);
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.store-btn.macos-download:hover {
    background: linear-gradient(145deg, #2a2a4a, #3a3a5a);
    border-color: var(--gold-glow);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    transform: scale(1.05);
}

.store-btn.macos-download:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.store-btn.macos-download svg {
    color: var(--primary-gold);
}

.store-btn.macos-download .btn-text strong {
    background: linear-gradient(135deg, #FFF7AD 0%, #FFAA00 40%, #B8860B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-text span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-text strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.store-btn.web-play {
    background: linear-gradient(145deg, #2e1a4a, #4a2a5a);
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.store-btn.web-play:hover {
    background: linear-gradient(145deg, #3a2a5a, #5a3a6a);
    border-color: var(--gold-glow);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    transform: scale(1.05);
}

.store-btn.web-play svg {
    color: var(--primary-gold);
}

.store-btn.web-play .btn-text strong {
    background: linear-gradient(135deg, #FFF7AD 0%, #FFAA00 40%, #B8860B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.legal-footer {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.social-links a {
    color: var(--text-dim);
    margin-left: 2rem;
    text-decoration: none;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1.5s 0.3s forwards;
}

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

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Scrolling Indicator */
.scroll-ind {
    position: absolute;
    bottom: 30px;
    width: 20px;
    height: 40px;
    border: 2px solid var(--glass-border);
    border-radius: 10px;
}

.scroll-ind::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    width: 2px;
    height: 8px;
    background: var(--primary-gold);
    transform: translateX(-50%);
    animation: scrollMove 2s infinite;
}

@keyframes scrollMove {
    to {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .glass-nav {
        display: none;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .container,
    .nav-container {
        padding: 0 var(--site-pad-mobile);
    }

    .hero {
        align-items: flex-start;
        padding-top: 20pt;
    }

    .hero-content {
        margin-top: 0;
    }

    .main-logo {
        max-width: 90%;
        height: auto;
        margin-bottom: 1.5rem;
    }

    h1 {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .download-box {
        padding: 2rem var(--site-pad-mobile);
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }

    .section-title h2 {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }

    .trust-container {
        padding: var(--site-pad-mobile);
        margin: 1.5rem var(--site-pad-mobile);
        width: calc(100% - (2 * var(--site-pad-mobile)));
    }

    .trust-badges {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .rng-card {
        padding: 1.25rem;
        font-size: 0.8rem;
        word-break: break-all;
        /* Prevent long hash strings from breaking layout */
    }

    /* Standardized card and faq item padding for alignment */
    .feature-card,
    .faq-item {
        padding: 1.25rem;
    }

    .feature-card img {
        max-width: 100%;
        height: auto;
    }

    /* Scale slot machine to fit mobile screens */
    .mini-slot-machine {
        transform: scale(0.85);
        transform-origin: center;
        max-width: 100%;
    }

    @media (max-width: 400px) {
        .mini-slot-machine {
            transform: scale(0.75);
        }
    }
}

/* Scroll Reveal Animation */
.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BINGO SHOWCASE SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */

.bingo-showcase {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(20, 20, 35, 0.9) 0%, rgba(10, 10, 20, 1) 100%);
    position: relative;
    overflow: hidden;
}

.bingo-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.bingo-content {
    margin-top: 40px;
    align-items: center;
}

.bingo-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Animated Bingo Ball */
.bingo-ball-container {
    position: relative;
    width: clamp(80px, 20vw, 120px);
    height: clamp(80px, 20vw, 120px);
}

.bingo-ball {
    width: 100%;
    height: 100%;
    position: relative;
    animation: ballBounce 2s ease-in-out infinite;
}

.bingo-ball img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(255, 215, 0, 0.4));
}

.ball-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: 900;
    color: #1a1a2e;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.ball-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(100px, 25vw, 150px);
    height: clamp(100px, 25vw, 150px);
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
    will-change: transform, opacity;
    z-index: -1;
}

@keyframes ballBounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(5deg);
    }

    50% {
        transform: translateY(0) rotate(0deg);
    }

    75% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Mini Bingo Card */
.mini-bingo-card {
    background: linear-gradient(145deg, #2a2a4a, #1a1a2e);
    border: 2px solid var(--primary-gold);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bingo-header {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.bingo-header span {
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.bingo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}

.bingo-cell {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
}

.bingo-cell.marked {
    background: linear-gradient(145deg, var(--primary-gold), #b8860b);
    color: #1a1a2e;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    animation: cellGlow 1.5s ease-in-out infinite alternate;
}

.bingo-cell.free {
    background: linear-gradient(145deg, #4a90d9, #2563eb);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

@keyframes cellGlow {
    from {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }

    to {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }
}

/* Bingo Info Section */
.bingo-info h3 {
    color: var(--primary-gold);
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.free-ball-rules {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(5px);
}

.rule-icon {
    font-size: 28px;
    min-width: 40px;
    text-align: center;
}

.rule-text strong {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.rule-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bingo-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bingo-visual {
        order: 1;
    }

    .bingo-info {
        order: 2;
    }

    .mini-bingo-card {
        padding: 10px;
    }

    .bingo-header span {
        font-size: 14px;
    }

    .ball-number {
        font-size: 20px;
    }

    .bingo-cell {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

/* Accessibility: Reduce Motion for Users with Motion Sensitivity */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-bg {
        animation: none !important;
        transform: scale(1) !important;
    }

    .reel-strip {
        animation: none !important;
        transform: translateY(0) !important;
    }

    .dazzle::before,
    .dazzle::after {
        animation: none !important;
        opacity: 0 !important;
    }

    .pulse {
        animation: none !important;
    }

    .download-box::before {
        animation: none !important;
    }

    .scroll-ind::after {
        animation: none !important;
    }
}