:root {
    /* Core BMA Brand Colors */
    --bma-green: #2E8B57;
    --bma-green-bright: #00E676;
    --bma-yellow: #FFD700;
    --bma-yellow-bright: #FFED4E;
    --bma-red: #DC143C;
    --bma-black: #000000;
    --bma-white: #FFFFFF;

    /* Dark Theme Backgrounds */
    --bma-dark-100: #0a0a0a;
    --bma-dark-200: #141414;
    --bma-dark-300: #1a1a1a;
    --bma-dark-400: #242424;
    --bma-dark-500: #2d2d2d;

    /* Grayscale */
    --bma-gray-50: #F9FAFB;
    --bma-gray-100: #F3F4F6;
    --bma-gray-200: #E5E7EB;
    --bma-gray-300: #D1D5DB;
    --bma-gray-400: #9CA3AF;
    --bma-gray-500: #6B7280;
    --bma-gray-600: #4B5563;
    --bma-gray-700: #374151;
    --bma-gray-800: #1F2937;
    --bma-gray-900: #111827;
}

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

html, body {
    overflow-x: clip;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--bma-white);
    background: rgb(20, 20, 20);
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 20, 20, 0.9);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--bma-yellow);
    border-radius: 10px;
    border: 2px solid rgba(20, 20, 20, 0.9);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bma-yellow-bright);
}

/* Firefox scrollbar styles */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--bma-yellow) rgba(20, 20, 20, 0.9);
}

/* Prevent text selection on interactive buttons / CTAs across the site —
   keeps clicks and taps working, just blocks the label text from being
   selected/highlighted (and on iOS, suppresses the long-press callout).
   Also covers decorative inline icons (check marks, capability icons, etc.)
   so they can't be accidentally selected when dragging over surrounding copy. */
button,
.btn-primary,
.btn-secondary,
.btn-demo,
.btn-join-tournament,
.bmt-hero-cta,
.fp-cta,
.tech-cta,
.form-submit,
.career-detail-apply,
.career-detail-back,
.career-apply-submit,
.career-apply-upload-link,
.career-apply-close,
.career-card-cta,
.careers-clear-filters,
.mobile-drawer-cta,
.tab-button,
.popup-close,
.ps-benefit-icon,
.capability-icon-modern,
.tech-pillar-icon {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Navigation */
.main-nav {
    background: linear-gradient(135deg,
        rgba(30, 30, 30, 0.75) 0%,
        rgba(18, 18, 18, 0.85) 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    box-shadow:
        0 4px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
}

.nav-logo {
    margin: -10px 0;
}

.nav-logo img {
    height: clamp(60px, 7.5vw, 88px);
    width: auto;
    max-width: 160px;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--bma-green-bright);
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--bma-green-bright);
    margin: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger-line:nth-child(1) {
    top: 11px;
}

.hamburger-line:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.hamburger-line:nth-child(3) {
    bottom: 11px;
    top: auto;
}

/* Hamburger Animation */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateX(-50%) rotate(45deg);
    top: 50%;
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateX(-50%) rotate(-45deg);
    top: 50%;
    bottom: auto;
}

/* Mobile overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ----- Mobile drawer (sibling of .main-nav). Fixed to viewport, slides
   in from the right, full height regardless of scroll position. ----- */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    z-index: 1010;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 5rem 1.5rem 2rem;
}

.mobile-drawer.active {
    transform: translateX(0);
}

.mobile-drawer-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mobile-drawer-close:hover {
    background: rgba(255, 215, 0, 0.12);
    color: var(--bma-yellow);
    transform: rotate(90deg);
}

.mobile-drawer-close .material-symbols-outlined {
    font-size: 22px;
    font-variation-settings: 'wght' 500, 'opsz' 24;
}

.mobile-drawer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-logo img {
    display: block;
    height: 60px;
    width: auto;
}

.mobile-drawer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* (5) Stagger fade-in for drawer items when drawer opens. */
.mobile-drawer-inner > * {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-drawer.active .mobile-drawer-inner > * {
    opacity: 1;
    transform: translateX(0);
}

.mobile-drawer.active .mobile-drawer-inner > *:nth-child(1) { transition-delay: 0.10s; }
.mobile-drawer.active .mobile-drawer-inner > *:nth-child(2) { transition-delay: 0.15s; }
.mobile-drawer.active .mobile-drawer-inner > *:nth-child(3) { transition-delay: 0.20s; }
.mobile-drawer.active .mobile-drawer-inner > *:nth-child(4) { transition-delay: 0.25s; }
.mobile-drawer.active .mobile-drawer-inner > *:nth-child(5) { transition-delay: 0.30s; }
.mobile-drawer.active .mobile-drawer-inner > *:nth-child(6) { transition-delay: 0.35s; }

.mobile-drawer-link {
    display: block;
    padding: 0.85rem 0.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* (4) Tap/focus state for touch devices, not hover */
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}

.mobile-drawer-link:active,
.mobile-drawer-link:focus-visible {
    color: var(--bma-yellow);
    background: rgba(255, 215, 0, 0.06);
    padding-left: 0.75rem;
    outline: none;
}

/* (2) Active page indicator */
.mobile-drawer-link-active {
    color: var(--bma-yellow);
    font-weight: 800;
    border-left: 3px solid var(--bma-yellow);
    padding-left: 0.75rem;
    background: rgba(255, 215, 0, 0.04);
}

.mobile-drawer-sublink {
    padding-left: 1.25rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.mobile-drawer-sublink:active,
.mobile-drawer-sublink:focus-visible {
    padding-left: 1.75rem;
}

.mobile-drawer-sublink.mobile-drawer-link-active {
    padding-left: 1.5rem;
}

.mobile-drawer-cta {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.mobile-drawer-kb {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
}

.mobile-drawer-kb-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--bma-yellow);
    margin: 0 0 0.75rem;
}

.mobile-drawer-kb-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.25rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-drawer-kb-item:active,
.mobile-drawer-kb-item:focus-visible {
    color: var(--bma-green-bright);
    background: rgba(0, 230, 118, 0.05);
    padding-left: 0.5rem;
    outline: none;
}

.mobile-drawer-kb-item.mobile-drawer-link-active {
    color: var(--bma-green-bright);
    background: rgba(0, 230, 118, 0.08);
    border-left: 3px solid var(--bma-green-bright);
    padding-left: 0.5rem;
    font-weight: 700;
}

.mobile-drawer-kb-item .material-symbols-outlined {
    font-size: 20px;
    color: var(--bma-green-bright);
    font-variation-settings: 'wght' 500, 'opsz' 24;
}

@media (max-width: 768px) {
    .mobile-drawer {
        display: block;
    }
}

/* (6) Full-width drawer on very small phones */
@media (max-width: 400px) {
    .mobile-drawer {
        width: 100%;
        max-width: none;
    }
}

/* (7) Bottom-fade scroll hint */
.mobile-drawer {
    -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 28px), transparent);
    mask-image: linear-gradient(to bottom, black calc(100% - 28px), transparent);
}

/* Mobile CTA - hidden on desktop */
.mobile-cta {
    display: none;
}

.desktop-only {
    display: inline-block;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--bma-yellow);
    padding-left: 2rem;
}

/* ===== Mega Menu (Knowledge Base) ===== */
.mega-menu {
    position: relative;
}

.mega-menu-trigger {
    cursor: pointer;
}

.mega-menu-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    width: min(720px, calc(100vw - 32px));
    margin-top: 0.5rem;
    padding: 24px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.96) 0%, rgba(15, 15, 15, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid var(--bma-green-bright);
    border-radius: 12px;
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1000;
    pointer-events: none;
}

.mega-menu:hover .mega-menu-panel,
.mega-menu.is-open .mega-menu-panel,
.mega-menu:focus-within .mega-menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* invisible bridge so the panel doesn't close when crossing the gap from trigger */
.mega-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.6rem;
}

.mega-menu-section-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--bma-yellow);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 14px 8px;
}

.mega-menu-col {
    display: flex;
    flex-direction: column;
}

.mega-menu-col-popular {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding-left: 24px;
}

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--bma-white);
    transition: background 0.2s ease;
}

.mega-menu-item:hover {
    background: rgba(46, 139, 87, 0.12);
}

.mega-menu-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bma-green) 0%, #1f6b40 100%);
    border-radius: 8px;
    color: var(--bma-white);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.35);
}

.mega-menu-icon .material-symbols-outlined {
    font-size: 20px;
}

.mega-menu-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mega-menu-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--bma-white);
    transition: color 0.2s;
}

.mega-menu-item:hover .mega-menu-title {
    color: var(--bma-green-bright);
}

.mega-menu-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

.mega-menu-popular-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--bma-white);
    transition: background 0.2s ease;
}

.mega-menu-popular-item:hover {
    background: rgba(255, 215, 0, 0.06);
}

.mega-menu-popular-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--bma-white);
    line-height: 1.3;
    transition: color 0.2s;
}

.mega-menu-popular-item:hover .mega-menu-popular-title {
    color: var(--bma-yellow);
}

.mega-menu-popular-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.45;
}

.mega-menu-popular-empty {
    padding: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
}

@media (max-width: 1024px) {
    .mega-menu-panel {
        width: 600px;
    }
}

@media (max-width: 900px) {
    .mega-menu-panel {
        position: static;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 8px;
        padding: 16px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 8px;
        pointer-events: auto;
    }

    .mega-menu.is-open .mega-menu-panel {
        display: grid;
    }

    .mega-menu:hover .mega-menu-panel:not(.is-open) {
        transform: none;
    }

    .mega-menu-col-popular {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding-left: 0;
        padding-top: 16px;
    }
}

.btn-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--bma-green) 0%, #1f6b40 100%);
    color: var(--bma-white);
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: none;
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.45);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: transform 0.2s ease, background 0.2s ease, gap 0.2s ease;
}

.btn-demo:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--bma-green-bright) 0%, var(--bma-green) 100%);
    gap: 0.7rem;
}

.btn-demo .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
    font-variation-settings: 'wght' 500, 'opsz' 24;
}

.btn-demo:hover {
    background: var(--bma-green-bright);
    color: var(--bma-white);
    transform: translateY(-1px);
}

/* Shared hero-curve (decorative transition between hero and content) */
.hero-curve {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: clamp(140px, 14vw, 240px);
    display: block;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 -4px 18px rgba(0, 230, 118, 0.32));
}

@media (max-width: 768px) {
    .hero-curve {
        height: clamp(100px, 18vw, 160px);
    }
}

/* Hero Section */
.hero {
    padding: 3rem 2rem 4rem;
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}


.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 2s ease-in-out;
    animation: backgroundSlide 20s infinite;
}

.hero-bg-image:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1762013315117-1c8005ad2b41?fm=jpg&q=80&w=3000&auto=format&fit=crop');
    animation-delay: 0s;
}

.hero-bg-image:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1766756467595-fd3f1f62d562?fm=jpg&q=80&w=3000&auto=format&fit=crop');
    animation-delay: 6.66s;
}

.hero-bg-image:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1759156207851-ff2c0a158797?fm=jpg&q=80&w=3000&auto=format&fit=crop');
    animation-delay: 13.33s;
}

@keyframes backgroundSlide {
    0% { 
        opacity: 1; 
        transform: scale(1);
    }
    25% { 
        opacity: 1; 
        transform: scale(1.08);
    }
    30% { 
        opacity: 1; 
        transform: scale(1.1);
    }
    33.33% { 
        opacity: 0; 
        transform: scale(1.15);
    }
    100% { 
        opacity: 0; 
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.015) 2px,
            rgba(255,255,255,0.015) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.015) 2px,
            rgba(255,255,255,0.015) 4px
        ),
        linear-gradient(135deg, rgba(0, 230, 118, 0.7) 0%, rgba(0, 0, 0, 0.85) 100%),
        linear-gradient(45deg, rgba(255, 215, 0, 0.15) 0%, rgba(220, 20, 60, 0.1) 100%);
    z-index: 1;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(46, 139, 87, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.2) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Centered single-column hero variant (no shield logo, headline + description + CTA stacked) */
.hero-centered .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 920px;
    gap: 0;
}

.hero-centered .hero-content {
    text-align: center;
    width: 100%;
}

.hero-centered .hero-rotator-wrap {
    justify-content: center;
}

.hero-centered .hero-actions {
    justify-content: center;
    margin-top: 0.5rem;
}

.hero-cta {
    font-size: 1rem;
    padding: 0.95rem 1.9rem;
}

.hero-cta .material-symbols-outlined {
    font-size: 20px;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(255, 215, 0, 0.3));
    animation: heroLogoFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--bma-red);
    text-align: center;
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    border: 3px solid var(--bma-red);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.5);
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Subpage Hero Styles */
.subpage-hero {
    background: linear-gradient(135deg, var(--bma-dark-100) 0%, var(--bma-dark-300) 100%);
    min-height: 30vh;
    padding: 4rem 2rem 3rem;
    border-bottom: 2px solid var(--bma-green);
    position: relative;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.02) 2px,
            rgba(255,255,255,0.02) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.02) 2px,
            rgba(255,255,255,0.02) 4px
        );
    opacity: 0.5;
    pointer-events: none;
}

.subpage-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.subpage-site-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--bma-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--bma-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.breadcrumb-link {
    color: var(--bma-yellow);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.breadcrumb-home {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.breadcrumb-home-icon {
    font-size: 1.1em;
    line-height: 1;
    font-variation-settings: 'wght' 500, 'opsz' 24, 'FILL' 1;
}

.breadcrumb-link:hover {
    opacity: 1;
}

.breadcrumb-separator {
    color: var(--bma-yellow);
    opacity: 0.4;
    font-weight: 400;
}

.breadcrumb-current {
    color: var(--bma-yellow);
    opacity: 1;
}

.subpage-hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--bma-white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

.subpage-hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    line-height: 1.7;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--bma-white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Block-level row with a FIXED height so the rotator's animation can
   never push surrounding lines up/down. Width is auto-sized but the
   wrap doesn't break out of its own line. Content (rotator + cursor)
   is left-aligned on desktop, matching the original look. */
.hero-rotator-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.08em;
    white-space: nowrap;
    height: 1.1em;
    min-height: 1.1em;
    line-height: 1.1;
}

@media (max-width: 900px) {
    .hero-rotator-wrap {
        justify-content: center;
        width: 100%;
    }

    /* Hide the long hero description on mobile to keep the hero compact. */
    .hero-description {
        display: none;
    }
}

.hero-rotator {
    display: inline-block;
    background: linear-gradient(135deg, var(--bma-green-bright) 0%, var(--bma-yellow) 70%, #FFA500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    transform: skewX(-6deg);
    padding: 0 0.15em;
    margin: 0 -0.15em;
    filter: drop-shadow(0 2px 6px rgba(0, 230, 118, 0.25)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    min-width: 0.4ch;
    min-height: 1em;
    line-height: 1.1;
}

.hero-cursor {
    display: inline-block;
    width: 0.07em;
    height: 0.95em;
    background: linear-gradient(180deg, var(--bma-green-bright) 0%, var(--bma-yellow) 100%);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.55);
    animation: heroCursorBlink 1s steps(2) infinite;
    vertical-align: -0.05em;
    border-radius: 1px;
}

@keyframes heroCursorBlink {
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 auto;
    line-height: 1.6;
    max-width: 880px;
    text-wrap: balance;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: var(--bma-green);
    color: var(--bma-white);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: var(--bma-green-bright);
    color: var(--bma-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--bma-white);
    padding: 1rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--bma-green-bright), var(--bma-yellow));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: transparent;
    color: var(--bma-yellow-bright);
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.3);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bma-green);
    display: block;
}

.stat-label {
    color: var(--bma-gray-600);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Problem/Solution Section */
.problem-solution {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--bma-dark-200) 0%, var(--bma-dark-300) 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.problem-solution::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite;
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ps-header-legacy {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.ps-x-legacy {
    font-size: 4rem;
    color: var(--bma-yellow);
    font-weight: 900;
    text-shadow: 3px 3px 0px var(--bma-black);
}

.ps-title-legacy {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--bma-white);
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.problem-box {
    background: rgba(220, 20, 60, 0.1);
    border: 2px solid var(--bma-red);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.problem-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bma-red);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.x-icon {
    font-size: 1.8rem;
    color: var(--bma-red);
    font-weight: 900;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-list li {
    color: var(--bma-white);
    font-size: 1.1rem;
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.5;
}

.problem-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bma-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.solution-box {
    background: rgba(46, 139, 87, 0.1);
    border: 2px solid var(--bma-green);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.solution-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bma-yellow);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bulb-icon {
    font-size: 1.8rem;
}

.solution-text {
    color: var(--bma-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.ps-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.ps-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ps-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 2rem;
    background:
        radial-gradient(ellipse at top left, rgba(46, 139, 87, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--bma-gray-900) 0%, var(--bma-dark-100) 100%);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hiw-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.hiw-x {
    font-size: 4rem;
    color: var(--bma-yellow);
    font-weight: 900;
    text-shadow: 3px 3px 0px var(--bma-black);
}

.hiw-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--bma-white);
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hiw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.hiw-description {
    color: var(--bma-white);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hiw-steps {
    margin: 3rem 0;
}

.hiw-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(46, 139, 87, 0.1);
    border-left: 4px solid var(--bma-green);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hiw-step:hover {
    background: rgba(46, 139, 87, 0.2);
    transform: translateX(10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--bma-yellow);
    color: var(--bma-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--bma-white);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hiw-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.hiw-highlight {
    color: var(--bma-white);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
}

.hiw-mockup {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hiw-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hiw-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(46, 139, 87, 0.6) 100%);
    z-index: 1;
}

.mockup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 80%;
}

.mockup-header {
    color: var(--bma-yellow);
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.mockup-stats {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.mockup-stats .stat {
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--bma-green);
}

.mockup-stats .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--bma-white);
    margin-bottom: 0.5rem;
}

.mockup-stats .stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--bma-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cap SVG: stroke only, sits fully inside the hero's bottom 100px. */
.featured-product-cap {
    display: block;
    width: 100%;
    height: 100px;
    margin-top: -100px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 -4px 18px rgba(0, 230, 118, 0.32));
}

/* Featured Product Section pulled up 100px to overlap with the cap. The
   mask uses the SAME quadratic curve as the cap stroke for its top edge,
   so the section's bg + ::before glow paint the below-curve area. */
.featured-product-section {
    padding: calc(2rem + 100px) 2rem 5rem;
    background: var(--bma-dark-100);
    position: relative;
    z-index: 1;
    margin-top: -100px;
    -webkit-mask-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'><path d='M0,50 Q720,-30 1440,50 L1440,50 L0,50 Z' fill='white'/></svg>"),
        linear-gradient(white, white);
    -webkit-mask-size: 100% 50px, 100% calc(100% - 50px);
    -webkit-mask-position: top, left bottom;
    -webkit-mask-repeat: no-repeat;
    mask-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'><path d='M0,50 Q720,-30 1440,50 L1440,50 L0,50 Z' fill='white'/></svg>"),
        linear-gradient(white, white);
    mask-size: 100% 50px, 100% calc(100% - 50px);
    mask-position: top, left bottom;
    mask-repeat: no-repeat;
}

.featured-product-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 80% at 80% 20%, rgba(46, 139, 87, 0.18) 0%, transparent 60%);
    pointer-events: none;
}

.featured-product-section .container {
    position: relative;
    z-index: 1;
}

/* ----- Section header (gradient-line eyebrow + accent headline) ----- */
.fp-header {
    max-width: 920px;
    margin: 0 auto 3rem;
    text-align: center;
}

.fp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--bma-yellow);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
}

.fp-eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bma-green-bright), var(--bma-yellow));
}

.fp-headline {
    font-size: clamp(1.85rem, 3.6vw, 2.85rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--bma-white);
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.fp-headline-accent {
    display: inline-block;
    background: linear-gradient(135deg, var(--bma-green-bright) 0%, var(--bma-yellow) 70%, #FFA500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transform: skewX(-6deg);
    padding: 0 0.15em;
    margin: 0 -0.15em;
    filter: drop-shadow(0 2px 6px rgba(0, 230, 118, 0.25));
}

/* ----- Card (copy + phone, with stats nested inside) ----- */
.fp-card {
    max-width: 1200px;
    margin: 0 auto;
    background:
        linear-gradient(120deg, rgba(8, 8, 8, 0.94) 0%, rgba(15, 15, 15, 0.82) 50%, rgba(46, 139, 87, 0.45) 100%),
        url('/betmaxaction/images/How-To-Play-Hero-Optimized.png');
    background-size: cover, cover;
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    background-attachment: scroll, fixed;
    border: none;
    border-radius: 20px;
    padding: 3rem 3rem 2.25rem 3.5rem;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 18px 48px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

/* Mobile / iOS Safari fallback — fixed bg breaks on iOS */
@supports (-webkit-touch-callout: none) {
    .fp-card {
        background-attachment: scroll, scroll;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fp-card {
        background-attachment: scroll, scroll;
    }
}

.fp-card-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3rem;
    align-items: center;
}

.fp-copy {
    position: relative;
}

.fp-product-logo {
    display: block;
    height: 195px;
    width: auto;
    max-width: 640px;
    margin: 0 auto 1.5rem;
    object-fit: contain;
}

.fp-tagline {
    font-size: 1.125rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 2rem;
    max-width: 480px;
}

.fp-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
    margin-bottom: 2.25rem;
}

@media (max-width: 420px) {
    .fp-features {
        grid-template-columns: 1fr;
    }
}

.fp-feature {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.7rem;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    font-weight: 500;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fp-feature:hover,
.fp-feature:focus-visible,
.fp-feature.active {
    background: rgba(0, 230, 118, 0.08);
    box-shadow: inset 0 0 0 1px rgba(0, 230, 118, 0.4);
    outline: none;
}

.fp-feature-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.18) 0%, rgba(255, 215, 0, 0.12) 100%);
    border: none;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(0, 230, 118, 0.35);
    color: var(--bma-green-bright);
    transition: all 0.25s ease;
    font-size: 22px;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.fp-feature:hover .fp-feature-icon,
.fp-feature:focus-visible .fp-feature-icon,
.fp-feature.active .fp-feature-icon {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.32) 0%, rgba(255, 215, 0, 0.22) 100%);
    box-shadow: inset 0 0 0 1px var(--bma-yellow);
    color: var(--bma-yellow);
    transform: translateY(-1px);
}

.fp-feature-label {
    flex: 1;
    min-width: 0;
}

/* Popover info — position: fixed so it escapes any ancestor overflow:hidden.
   JS sets left/top dynamically based on the chip's bounding rect. */
.fp-feature-info {
    position: fixed;
    top: 0;
    left: 0;
    width: max-content;
    max-width: min(320px, calc(100vw - 32px));
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, rgba(35, 35, 35, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    border: 1px solid rgba(0, 230, 118, 0.35);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
    z-index: 10000;
}

.fp-feature-info.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.fp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9rem 1.6rem;
    background: linear-gradient(135deg, var(--bma-green) 0%, #1f6b40 100%);
    color: var(--bma-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.4);
    transition: transform 0.2s ease, background 0.2s ease, gap 0.2s ease;
}

.fp-cta:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--bma-green-bright) 0%, var(--bma-green) 100%);
    gap: 0.85rem;
}

.fp-cta svg {
    transition: transform 0.2s ease;
}

.fp-cta:hover svg {
    transform: translateX(2px);
}

/* ----- Phone column (no double frame — image already includes mockup) ----- */
.fp-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fp-phone-stage {
    position: relative;
    width: 100%;
    max-width: 460px;
}

/* Diagonal stripe patterns (green top-right, yellow bottom-left) — from BMT hero treatment */
.fp-phone-stage::before,
.fp-phone-stage::after {
    content: '';
    position: absolute;
    width: 65%;
    height: 78%;
    pointer-events: none;
    z-index: 0;
}

.fp-phone-stage::before {
    top: 2%;
    right: -8%;
    background: repeating-linear-gradient(
        135deg,
        transparent 0,
        transparent 9px,
        rgba(0, 230, 118, 0.22) 9px,
        rgba(0, 230, 118, 0.22) 11px
    );
    -webkit-mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
}

.fp-phone-stage::after {
    bottom: 0;
    left: -8%;
    background: repeating-linear-gradient(
        135deg,
        transparent 0,
        transparent 9px,
        rgba(255, 215, 0, 0.18) 9px,
        rgba(255, 215, 0, 0.18) 11px
    );
    -webkit-mask-image: radial-gradient(ellipse at bottom left, black 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at bottom left, black 0%, transparent 70%);
}

.fp-phone-glow {
    position: absolute;
    inset: -15% -10% -5% -10%;
    background: radial-gradient(closest-side, rgba(0, 230, 118, 0.38) 0%, rgba(255, 215, 0, 0.16) 45%, transparent 75%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.fp-phone-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

/* Decorative TD$, trophies, X marks emerging from behind the phone. */
.fp-phone-decor {
    position: absolute;
    inset: -4% -5% -4% -5%;
    pointer-events: none;
    z-index: 0;
}

.fp-decor-item {
    position: absolute;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

.fp-decor-td {
    width: clamp(40px, 9%, 78px);
    opacity: 0.9;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
}
.fp-decor-td-1 { top: 2%;     left: 4%;    transform: rotate(-18deg); }
.fp-decor-td-2 { top: 6%;     right: 6%;   transform: rotate(14deg); width: clamp(34px, 7%, 60px); opacity: 0.78; }
.fp-decor-td-3 { top: 44%;    right: 2%;   transform: rotate(22deg); }
.fp-decor-td-4 { top: 70%;    left: 3%;    transform: rotate(-10deg); width: clamp(48px, 10%, 88px); }
.fp-decor-td-5 { bottom: 4%;  right: 8%;   transform: rotate(26deg); }
.fp-decor-td-6 { bottom: 18%; left: 12%;   transform: rotate(8deg); width: clamp(28px, 6%, 50px); opacity: 0.7; }

.fp-decor-trophy {
    width: clamp(58px, 14%, 120px);
    opacity: 0.82;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.6));
}
.fp-decor-trophy-gold   { top: 14%; right: 0%;  transform: rotate(10deg); }
.fp-decor-trophy-silver { top: 18%; left: -2%;  transform: rotate(-12deg); opacity: 0.72; }
.fp-decor-trophy-bronze { bottom: 6%; right: 4%; transform: rotate(6deg); width: clamp(48px, 11%, 96px); opacity: 0.7; }

.fp-decor-x {
    width: clamp(26px, 6%, 56px);
    opacity: 0.55;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}
.fp-decor-x-1 { top: 22%;    right: 16%;  transform: rotate(24deg); }
.fp-decor-x-2 { bottom: 38%; left: 14%;   transform: rotate(-32deg); }
.fp-decor-x-3 { bottom: 10%; right: 22%; transform: rotate(18deg); opacity: 0.45; }

.fp-phone-stage:hover .fp-phone-image {
    transform: translateY(-6px) rotate(1deg);
}

/* ----- Stats row (now nested inside the card) ----- */
.fp-stats {
    position: relative;
    z-index: 1;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.fp-stat {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.45) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.25s ease;
}

.fp-stat:hover {
    border-color: rgba(0, 230, 118, 0.4);
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.1) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.fp-stat-number {
    font-size: 1rem;
    font-weight: 800;
    color: var(--bma-yellow);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.fp-stat-label {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}

/* ----- Mobile ----- */
@media (max-width: 900px) {
    .featured-product-section {
        padding: calc(1rem + 100px) 1.25rem 3.5rem !important;
    }

    .fp-card {
        padding: 2rem 1.5rem;
    }

    .fp-card-main {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .fp-features {
        grid-template-columns: 1fr;
    }

    .fp-visual {
        order: -1;
    }

    .fp-phone-stage {
        max-width: 320px;
    }

    .fp-phone-decor {
        inset: -4% -8% -4% -8%;
    }
    .fp-decor-td            { width: clamp(28px, 7%, 50px); }
    .fp-decor-td-4          { width: clamp(34px, 8%, 56px); }
    .fp-decor-td-6          { width: clamp(22px, 5%, 40px); }
    .fp-decor-trophy        { width: clamp(42px, 11%, 80px); }
    .fp-decor-trophy-bronze { width: clamp(36px, 9%, 64px); }
    .fp-decor-x             { width: clamp(20px, 5%, 38px); }

    .fp-stats {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .fp-product-logo {
        height: 135px;
    }
}

/* Platform Portfolio Section (Legacy - can remove if not used elsewhere) */
.platform-section {
    padding: 4rem 2rem;
    background: var(--bma-dark-300);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.section-x {
    font-size: 4rem;
    color: var(--bma-yellow);
    font-weight: 900;
    text-shadow: 3px 3px 0px var(--bma-black);
}

.tournament-feature {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--bma-yellow);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 3rem;
}

.tournament-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--bma-yellow);
    color: var(--bma-black);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.tournament-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bma-dark-200) 0%, var(--bma-dark-400) 100%);
}

.tournament-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tournament UI Preview */
.tournament-ui-preview {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    z-index: 1;
    border-radius: 16px;
    border: 1px solid rgba(46, 139, 87, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

/* Subtle shimmer animation for preview */
.tournament-ui-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(46, 139, 87, 0.03) 50%,
        transparent 100%
    );
    animation: previewShimmer 8s infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes previewShimmer {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}

.ui-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ui-title {
    font-weight: 800;
    color: var(--bma-yellow);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
    user-select: none;
    -webkit-user-select: none;
}

.ui-prize {
    color: var(--bma-white);
    font-weight: 700;
    font-size: 0.875rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    user-select: none;
    -webkit-user-select: none;
}

.ui-leaderboard {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(10, 10, 10, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.75rem;
    overflow: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ui-leaderboard-header {
    display: grid;
    grid-template-columns: 60px 1fr 80px;
    padding: 0.5rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.5rem;
    user-select: none;
    -webkit-user-select: none;
}

.ui-leaderboard-row {
    display: grid;
    grid-template-columns: 60px 1fr 80px;
    padding: 0.625rem 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 6px;
    margin-bottom: 0.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.ui-leaderboard-row:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(4px);
}

.ui-gold {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 50%, transparent 100%);
    color: var(--bma-yellow);
    font-weight: 700;
    border-left: 3px solid var(--bma-yellow);
    padding-left: calc(0.5rem - 3px);
    box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.ui-gold:hover {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.08) 50%, transparent 100%);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2), inset 0 0 20px rgba(255, 215, 0, 0.15);
}

.ui-silver {
    background: linear-gradient(90deg, rgba(232, 232, 232, 0.12) 0%, rgba(192, 192, 192, 0.04) 50%, transparent 100%);
    color: #e8e8e8;
    font-weight: 700;
    border-left: 3px solid #c0c0c0;
    padding-left: calc(0.5rem - 3px);
    box-shadow: inset 0 0 15px rgba(192, 192, 192, 0.08);
}

.ui-silver:hover {
    background: linear-gradient(90deg, rgba(232, 232, 232, 0.15) 0%, rgba(192, 192, 192, 0.06) 50%, transparent 100%);
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.15), inset 0 0 15px rgba(192, 192, 192, 0.1);
}

.ui-bronze {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.12) 0%, rgba(205, 127, 50, 0.04) 50%, transparent 100%);
    color: #d4915a;
    font-weight: 700;
    border-left: 3px solid #cd7f32;
    padding-left: calc(0.5rem - 3px);
    box-shadow: inset 0 0 15px rgba(205, 127, 50, 0.08);
}

.ui-bronze:hover {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.15) 0%, rgba(205, 127, 50, 0.06) 50%, transparent 100%);
    box-shadow: 0 2px 8px rgba(205, 127, 50, 0.15), inset 0 0 15px rgba(205, 127, 50, 0.1);
}

.ui-timer {
    margin-top: 1rem;
    padding: 0.625rem;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.2) 0%, rgba(46, 139, 87, 0.1) 100%);
    border: 1px solid rgba(46, 139, 87, 0.4);
    border-radius: 10px;
    text-align: center;
    color: var(--bma-green);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(46, 139, 87, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 8px rgba(46, 139, 87, 0.4);
    user-select: none;
    -webkit-user-select: none;
}

.tournament-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.9));
}

.tournament-content {
    padding: 3rem;
}

.tournament-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--bma-yellow);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.4), 0 4px 16px rgba(255, 215, 0, 0.2);
    user-select: none;
    -webkit-user-select: none;
    text-align: center;
}

.tournament-subtitle {
    font-size: 1.3rem;
    color: var(--bma-green);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px rgba(46, 139, 87, 0.4);
    user-select: none;
    -webkit-user-select: none;
}

.tournament-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.tournament-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.tournament-features .feature {
    color: var(--bma-white);
    padding: 0.875rem 1rem;
    background: linear-gradient(90deg, rgba(46, 139, 87, 0.15) 0%, rgba(46, 139, 87, 0.05) 100%);
    border-left: 3px solid var(--bma-green);
    border-radius: 8px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 0 15px rgba(46, 139, 87, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.tournament-features .feature:hover {
    background: linear-gradient(90deg, rgba(46, 139, 87, 0.2) 0%, rgba(46, 139, 87, 0.08) 100%);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3), inset 0 0 20px rgba(46, 139, 87, 0.12);
}

.btn-tournament {
    display: inline-block;
    background: linear-gradient(135deg, var(--bma-yellow) 0%, #ffa500 100%);
    color: var(--bma-black);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    animation: buttonPulseYellow 3s ease-in-out infinite;
}

@keyframes buttonPulseYellow {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 4px 24px rgba(255, 215, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.btn-tournament:hover {
    background: linear-gradient(135deg, var(--bma-green) 0%, #1e6b42 100%);
    color: var(--bma-white);
    transform: translateY(-2px) translateX(5px);
    box-shadow: 0 8px 24px rgba(46, 139, 87, 0.5), 0 0 20px rgba(46, 139, 87, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: none;
}

.btn-tournament:active {
    transform: translateY(0) translateX(5px);
    box-shadow: 0 2px 8px rgba(46, 139, 87, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.capability-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.capability-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--bma-green);
    transform: translateY(-5px);
}

.capability-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    height: 80px;
}

.capability-icon svg {
    width: 64px;
    height: 64px;
    transition: transform 0.3s ease;
}

.capability-card:hover .capability-icon svg {
    transform: scale(1.1) rotate(5deg);
}

.capability-card h4 {
    color: var(--bma-white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.capability-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

.carousel-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.game-card.featured {
    border: 2px solid var(--bma-yellow);
}

.game-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bma-yellow);
    color: var(--bma-black);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 2;
}

.game-badge.coming {
    background: var(--bma-green);
    color: var(--bma-white);
}

.game-preview {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-icon {
    font-size: 4rem;
    opacity: 0.8;
}

.game-info {
    padding: 2rem;
}

.game-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bma-white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.game-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.game-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.game-stats .stat {
    background: rgba(46, 139, 87, 0.2);
    color: var(--bma-green);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.game-btn {
    display: inline-block;
    background: var(--bma-yellow);
    color: var(--bma-black);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.game-btn:hover {
    background: var(--bma-green);
    color: var(--bma-white);
    transform: translateX(5px);
}

/* Solutions Section */
.solutions-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--bma-dark-400) 0%, var(--bma-dark-200) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.solution-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--bma-green);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    color: var(--bma-white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.solution-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Games Section - Hidden */
.games-section {
    display: none;
}

.games-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    justify-content: center;
    padding: 0 2rem;
}

.game-tab {
    background: var(--bma-white);
    border: 2px solid var(--bma-gray-200);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.game-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 139, 87, 0.1), transparent);
    transition: left 0.6s ease;
}

.game-tab:hover::before {
    left: 100%;
}

.game-tab:hover {
    border-color: var(--bma-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.game-tab.active {
    border-color: var(--bma-green);
    background: linear-gradient(135deg, var(--bma-green), var(--bma-yellow));
    color: var(--bma-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
}

.game-tab.active .tab-category,
.game-tab.active .tab-title {
    color: var(--bma-white);
}

.tab-category {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bma-gray-600);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-title {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--bma-gray-900);
}

.game-content-container {
    position: relative;
}

.game-content {
    display: none;
}

.game-content.active {
    display: block;
}

.game-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.game-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.game-screenshot {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-image:hover .game-screenshot {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.play-button:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.coming-soon-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--bma-gray-100) 0%, var(--bma-gray-200) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.coming-soon-placeholder h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bma-gray-700);
    margin-bottom: 0.5rem;
}

.coming-soon-placeholder p {
    color: var(--bma-gray-600);
    margin: 0;
}

.game-info {
    padding: 2rem 0;
}

.game-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.game-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bma-gray-900);
    margin: 0;
}

.game-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-status.live {
    background: var(--bma-green);
    color: var(--bma-white);
}

.game-status.coming-soon {
    background: var(--bma-yellow);
    color: var(--bma-black);
}

.game-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--bma-gray-600);
    margin-bottom: 2rem;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.feature-tag {
    background: var(--bma-gray-100);
    color: var(--bma-gray-700);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--bma-gray-200);
}

.game-actions {
    display: flex;
    gap: 1rem;
}

.btn-game-primary {
    background: var(--bma-green);
    color: var(--bma-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-game-primary:hover {
    background: #236B43;
    transform: translateY(-2px);
}

.btn-game-secondary {
    background: transparent;
    color: var(--bma-green);
    border: 2px solid var(--bma-green);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-game-secondary:hover {
    background: var(--bma-green);
    color: var(--bma-white);
    transform: translateY(-2px);
}

/* Betting Interface Mockup */
.betting-interface {
    width: 100%;
    height: 400px;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
}

.betting-header {
    background: #2a2a2a;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.betting-logo {
    color: var(--bma-yellow);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.betting-nav {
    display: flex;
    gap: 1rem;
}

.nav-item {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: #ccc;
}

.nav-item.active {
    background: var(--bma-green);
    color: white;
}

.betting-content {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.game-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #2a2a2a;
    border-radius: 8px;
    border-left: 3px solid var(--bma-green);
}

.team-info {
    display: flex;
    flex-direction: column;
}

.team {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.time {
    color: #888;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.odds {
    display: flex;
    gap: 0.5rem;
}

.odd-btn {
    background: #333;
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #444;
}

.odd-btn:hover {
    background: var(--bma-green);
    border-color: var(--bma-green);
}

.betting-footer {
    background: #2a2a2a;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333;
}

.live-indicator {
    color: var(--bma-green);
    font-weight: 600;
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

.tournament-info {
    color: #ccc;
    font-size: 0.9rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Solutions Section */
.solutions {
    padding: 8rem 2rem;
    background: var(--bma-white);
}

/* Max Value Section */
.max-value-section {
    padding: 6rem 2rem 5rem;
    background: var(--bma-dark-100);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

/* Shared edge stripe texture for the seamless zone (Max Value → Partnership → Technology),
   plus careers list + single job pages */
.max-value-section::after,
.partnership-section::after,
.technology-section::after,
.careers-listings::after,
.career-detail-page::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: repeating-linear-gradient(
        135deg,
        transparent 0,
        transparent 12px,
        rgba(255, 255, 255, 0.04) 12px,
        rgba(255, 255, 255, 0.04) 14px
    );
    -webkit-mask-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.85) 0%,
            transparent 28%,
            transparent 72%,
            rgba(0, 0, 0, 0.85) 100%
        ),
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(0, 0, 0, 1) 14%,
            rgba(0, 0, 0, 1) 86%,
            transparent 100%
        );
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.85) 0%,
            transparent 28%,
            transparent 72%,
            rgba(0, 0, 0, 0.85) 100%
        ),
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(0, 0, 0, 1) 14%,
            rgba(0, 0, 0, 1) 86%,
            transparent 100%
        );
    mask-composite: intersect;
}

@media (max-width: 900px) {
    .max-value-section::after,
    .partnership-section::after,
    .technology-section::after,
    .careers-listings::after,
    .career-detail-page::after {
        display: none;
    }
}

/* Subtle radial glow background */
.mv-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.mv-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
}

.mv-glow-green {
    width: 520px;
    height: 520px;
    top: -120px;
    left: -160px;
    background: radial-gradient(closest-side, rgba(0, 230, 118, 0.35), transparent);
}

.mv-glow-yellow {
    width: 600px;
    height: 600px;
    bottom: -200px;
    right: -180px;
    background: radial-gradient(closest-side, rgba(255, 215, 0, 0.22), transparent);
}

.max-value-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ----- Section header (eyebrow + accented headline + subline) ----- */
.mv-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.mv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--bma-yellow);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
}

.mv-eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bma-green-bright), var(--bma-yellow));
}

.mv-title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 900;
    color: var(--bma-white);
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0 0 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.mv-title-accent {
    display: inline-block;
    background: linear-gradient(135deg, var(--bma-green-bright) 0%, var(--bma-yellow) 70%, #FFA500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transform: skewX(-6deg);
    padding: 0 0.15em;
    margin: 0 -0.15em;
    filter: drop-shadow(0 2px 6px rgba(0, 230, 118, 0.25));
}

.mv-subline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    max-width: 640px;
    margin: 0 auto;
}

/* ----- Compare cards ----- */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.mv-box {
    position: relative;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(20, 20, 20, 0.7) 100%);
    border: none;
    border-radius: 18px;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 14px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transform: scaleX(0.4);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.bettors-box::before {
    background: linear-gradient(90deg, var(--bma-yellow) 0%, transparent 100%);
}

.partners-box::before {
    background: linear-gradient(90deg, var(--bma-green-bright) 0%, transparent 100%);
}

.mv-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(255, 215, 0, 0.07) 0%, transparent 55%);
    pointer-events: none;
}

.partners-box::after {
    background: radial-gradient(circle at 100% 0%, rgba(0, 230, 118, 0.09) 0%, transparent 55%);
}

.mv-box:hover {
    transform: translateY(-4px);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 24px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bettors-box:hover {
    box-shadow:
        inset 0 0 0 1px rgba(255, 215, 0, 0.45),
        0 24px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.partners-box:hover {
    box-shadow:
        inset 0 0 0 1px rgba(0, 230, 118, 0.45),
        0 24px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mv-box:hover::before {
    transform: scaleX(1);
}

/* Card header (icon + title) */
.mv-box-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mv-box-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    border: none;
}

.bettors-box .mv-box-icon {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18) 0%, rgba(255, 215, 0, 0.06) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 4px 14px rgba(0, 0, 0, 0.3);
    color: var(--bma-yellow);
}

.partners-box .mv-box-icon {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.18) 0%, rgba(0, 230, 118, 0.06) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(0, 230, 118, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 4px 14px rgba(0, 0, 0, 0.3);
    color: var(--bma-green-bright);
}

.mv-box-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bma-white);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bettors-box .mv-box-title {
    color: var(--bma-yellow);
}

.partners-box .mv-box-title {
    color: var(--bma-green-bright);
}

/* List items */
.mv-list {
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mv-list li {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.02rem;
    padding: 0.85rem 0 0.85rem 1.75rem;
    position: relative;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mv-list li:last-child {
    border-bottom: none;
}

.mv-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 1.45rem;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bma-yellow), transparent);
    transition: width 0.25s ease;
}

.partners-box .mv-list li::before {
    background: linear-gradient(90deg, var(--bma-green-bright), transparent);
}

.mv-list li:hover {
    color: var(--bma-white);
    padding-left: 2rem;
}

.mv-list li:hover::before {
    width: 14px;
}

/* ----- Competitive advantage card ----- */
.mv-advantage {
    position: relative;
    padding: 3rem 3.5rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 230, 118, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(255, 215, 0, 0.1) 0%, transparent 55%),
        linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
    border-radius: 18px;
    text-align: center;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.mv-advantage::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.5), rgba(255, 215, 0, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.mv-advantage-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--bma-yellow);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.mv-advantage-eyebrow::before,
.mv-advantage-eyebrow::after {
    content: '';
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bma-green-bright), var(--bma-yellow));
}

.advantage-title {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 900;
    color: var(--bma-white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    line-height: 1.2;
}

.advantage-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin: 0 auto;
    max-width: 720px;
}

/* Removed old results CSS - replaced with Max Value section */
/* .results-left {
    background-image: url('https://images.unsplash.com/photo-1566577739112-5180d4bf9390?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 4rem;
}

.results-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(46, 139, 87, 0.9) 0%, 
        rgba(46, 139, 87, 0.8) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.results-content {
    position: relative;
    z-index: 2;
    color: white;
}

.results-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.results-intro {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
}

.metric-descriptions {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.metric-desc {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-desc h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.metric-desc p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Right Side - KPI Visualization */
.results-right {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.05) 0%, var(--bma-white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.kpi-visualization {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    background: 
        linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%),
        linear-gradient(90deg, rgba(46, 139, 87, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(46, 139, 87, 0.08) 1px, transparent 1px);
    background-size: 100% 100%, 30px 30px, 30px 30px;
    overflow: hidden;
}

/* Large Red Sweeping Circles */
.red-circle {
    position: absolute;
    border: 8px solid var(--bma-red);
    border-radius: 50%;
    opacity: 0.7;
    z-index: 1;
}

.red-circle-1 {
    width: 180px;
    height: 180px;
    top: 5%;
    right: 10%;
    border-style: dashed;
    animation: pulse 4s ease-in-out infinite;
}

.red-circle-2 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 15%;
    animation: pulse 4s ease-in-out infinite 1s;
}

.red-circle-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 5%;
    border-style: dotted;
    animation: pulse 4s ease-in-out infinite 2s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.9; }
}

/* Large Yellow X Markers */
.play-marker {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 3;
    transform: rotate(15deg);
    animation: wiggle 3s ease-in-out infinite;
}

.play-marker:nth-child(even) {
    transform: rotate(-10deg);
    animation-delay: 1s;
}

.play-x {
    color: var(--bma-yellow);
    font-size: 48px;
    font-weight: 900;
    text-shadow: 
        3px 3px 0px rgba(0, 0, 0, 0.8),
        -1px -1px 0px rgba(0, 0, 0, 0.8),
        1px -1px 0px rgba(0, 0, 0, 0.8),
        -1px 1px 0px rgba(0, 0, 0, 0.8);
    font-family: Impact, 'Arial Black', sans-serif;
    display: block;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(15deg) scale(1); }
    25% { transform: rotate(18deg) scale(1.05); }
    75% { transform: rotate(12deg) scale(0.98); }
}

.x-marker-1 { top: 8%; left: 8%; }
.x-marker-2 { top: 15%; right: 12%; }
.x-marker-3 { bottom: 12%; left: 18%; }
.x-marker-4 { bottom: 8%; right: 8%; }
.x-marker-5 { top: 35%; left: 75%; }
.x-marker-6 { bottom: 35%; right: 78%; }

/* Hand-drawn style annotations */
.play-annotation {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--bma-gray-600);
    transform: rotate(-5deg);
    z-index: 2;
}

.annotation-1 { top: 12%; left: 25%; }
.annotation-2 { bottom: 25%; right: 10%; }

.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-2deg);
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 0 6px var(--bma-black),
        0 8px 25px rgba(0, 0, 0, 0.4);
    border: 4px solid var(--bma-green);
    z-index: 10;
    animation: quarterback 5s ease-in-out infinite;
}

.center-logo img {
    width: 90px;
    height: auto;
}

@keyframes quarterback {
    0%, 100% { transform: translate(-50%, -50%) rotate(-2deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(1deg) scale(1.02); }
}

.kpi-circle {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

.kpi-info {
    text-align: center;
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 
        0 0 0 4px var(--bma-black),
        0 8px 20px rgba(0, 0, 0, 0.3);
    border: 4px solid var(--bma-green);
    min-width: 180px;
    transform: rotate(-3deg);
    font-family: Impact, 'Arial Black', sans-serif;
    animation: playCard 4s ease-in-out infinite;
}

.top-circle .kpi-info {
    transform: rotate(2deg);
    animation-delay: 0.5s;
}

.left-circle .kpi-info {
    transform: rotate(-2deg);
    animation-delay: 1s;
}

.right-circle .kpi-info {
    transform: rotate(1deg);
    animation-delay: 1.5s;
}

@keyframes playCard {
    0%, 100% { transform: rotate(-3deg) scale(1); }
    50% { transform: rotate(-1deg) scale(1.03); }
}

.kpi-value {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--bma-green);
    margin-bottom: 0.5rem;
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.8),
        -1px -1px 0px rgba(0, 0, 0, 0.8),
        1px -1px 0px rgba(0, 0, 0, 0.8),
        -1px 1px 0px rgba(0, 0, 0, 0.8);
}

.kpi-label {
    display: block;
    font-size: 1rem;
    color: var(--bma-black);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-circle {
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
}

.left-circle {
    bottom: 80px;
    left: 60px;
}

.right-circle {
    bottom: 80px;
    right: 60px;
}

.connection-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.connect-line {
    stroke: var(--bma-black);
    stroke-width: 12;
    opacity: 0.9;
    stroke-linecap: round;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.connect-line.sketchy {
    filter: url(#roughPaper) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Fresh Football Play Field - Clean Working Version */
.play-field {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    background: 
        linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    background-size: 100% 100%;
}

.quarterback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px var(--bma-black);
    border: 4px solid var(--bma-green);
    z-index: 10;
    animation: qbPulse 3s ease-in-out infinite;
}

.quarterback img {
    width: 120px;
    height: auto;
}

@keyframes qbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

.player-box {
    position: absolute;
    z-index: 5;
}

.player-stats {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 0 0 3px var(--bma-black);
    border: 3px solid var(--bma-green);
    text-align: center;
    min-width: 160px;
    transform: rotate(-2deg);
    animation: playerFloat 4s ease-in-out infinite;
}

@keyframes playerFloat {
    0%, 100% { transform: rotate(-2deg) translateY(0px); }
    50% { transform: rotate(-2deg) translateY(-5px); }
}

.player-1 {
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.player-1 .player-stats {
    transform: rotate(1deg);
}

.player-2 {
    bottom: 80px;
    left: 50px;
}

.player-2 .player-stats {
    transform: rotate(-2deg);
}

.player-3 {
    bottom: 80px;
    right: 50px;
}

.player-3 .player-stats {
    transform: rotate(2deg);
}

.player-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--bma-green);
    margin-bottom: 0.25rem;
    font-family: Impact, 'Arial Black', sans-serif;
}

.player-stats .stat-label {
    font-size: 0.8rem;
    color: var(--bma-black);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}


.x-marker {
    position: absolute;
    color: var(--bma-yellow);
    font-size: 32px;
    font-weight: 900;
    font-family: Impact, sans-serif;
    z-index: 4;
    text-shadow: 2px 2px 0px var(--bma-black);
    animation: xWiggle 3s ease-in-out infinite;
}

@keyframes xWiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) scale(1.05); }
    75% { transform: rotate(-5deg) scale(0.98); }
}

.move-circle {
    position: absolute;
    border: 4px solid var(--bma-red);
    border-radius: 50%;
    border-style: dashed;
    z-index: 2;
    animation: circleBreath 5s ease-in-out infinite;
}

@keyframes circleBreath {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.9; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--bma-white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.kpi-content .section-title {
    color: var(--bma-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.kpi-content .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.35rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.results-description {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.result-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.result-item h3 {
    color: var(--bma-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.result-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.solution-card {
    background: var(--bma-white);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--bma-gray-200);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    border-color: var(--bma-green);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.solution-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bma-gray-900);
    margin: 0;
    flex: 1;
}

.solution-badge {
    background: var(--bma-green);
    color: var(--bma-white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 1rem;
}

.solution-card p {
    color: var(--bma-gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
    flex-grow: 1;
}

.solution-features {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.solution-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--bma-gray-600);
    line-height: 1.5;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bma-green);
    font-weight: bold;
}

.solution-cta {
    color: var(--bma-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.solution-cta:hover {
    text-decoration: underline;
}

/* Partnership Section */
/* ==========================================================================
   Partnership Section (redesign)
   ========================================================================== */
.partnership-section {
    padding: 6rem 2rem 5rem;
    background: var(--bma-dark-100);
    position: relative;
    overflow: hidden;
}

.ps-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.ps-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.ps-glow-yellow {
    width: 540px;
    height: 540px;
    top: -150px;
    right: -180px;
    background: radial-gradient(closest-side, rgba(255, 215, 0, 0.28), transparent);
}

.ps-glow-green {
    width: 600px;
    height: 600px;
    bottom: -200px;
    left: -180px;
    background: radial-gradient(closest-side, rgba(0, 230, 118, 0.28), transparent);
}

.partnership-section .container {
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

/* ----- Section header ----- */
.ps-header {
    text-align: center;
    max-width: 880px;
    margin: 0 auto 4rem;
}

.ps-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--bma-yellow);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
}

.ps-eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bma-green-bright), var(--bma-yellow));
}

.ps-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--bma-white);
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.ps-headline-accent {
    display: inline-block;
    background: linear-gradient(135deg, var(--bma-green-bright) 0%, var(--bma-yellow) 70%, #FFA500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transform: skewX(-6deg);
    padding: 0 0.15em;
    margin: 0 -0.15em;
    filter: drop-shadow(0 2px 6px rgba(0, 230, 118, 0.25));
}

.ps-subline {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 1.5rem auto 0;
    padding: 0.75rem 1.1rem 0.75rem 1rem;
    max-width: 640px;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.08) 0%, rgba(255, 215, 0, 0.05) 100%), rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid;
    border-image: linear-gradient(180deg, var(--bma-green-bright), var(--bma-yellow)) 1;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ps-subline::before {
    content: 'info';
    flex-shrink: 0;
    font-family: 'Material Symbols Outlined';
    font-size: 18px;
    line-height: 1.5;
    color: var(--bma-green-bright);
    font-variation-settings: 'wght' 500, 'opsz' 24;
}

/* ----- Subsection headers ----- */
.ps-subhead {
    text-align: center;
    margin: 0 0 2.5rem;
}

.ps-subhead-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--bma-green-bright);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.6rem;
}

.ps-subhead-eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--bma-green-bright);
}

.ps-subhead-title {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: var(--bma-white);
    text-transform: uppercase;
    letter-spacing: -0.005em;
    line-height: 1.15;
    margin: 0;
}

/* ==========================================================================
   Industries — tabbed showcase
   ========================================================================== */
.industries-showcase {
    margin-bottom: 5rem;
}

/* Tabs rail (with arrow buttons on desktop, horizontal scroll on mobile) */
.industries-tabs-wrap {
    position: relative;
    margin-bottom: 1.75rem;
}

.industries-tabs-scroller {
    display: flex;
    justify-content: safe center;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}

.industries-tabs-scroller::-webkit-scrollbar {
    display: none;
}

.industries-tabs {
    display: flex;
    gap: 0.65rem;
    padding: 0.25rem 0.5rem;
    flex-shrink: 0;
}

.industries-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.25rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    user-select: none;
    -webkit-user-select: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: none;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    scroll-snap-align: start;
}

.industries-tab-icon {
    flex-shrink: 0;
    font-size: 22px;
    line-height: 1;
    color: var(--bma-green-bright);
    transition: color 0.25s ease;
}

.industries-tab:hover {
    color: var(--bma-white);
    box-shadow: inset 0 0 0 1px rgba(0, 230, 118, 0.45);
    background: rgba(46, 139, 87, 0.14);
}

.industries-tab.active {
    color: var(--bma-white);
    background: linear-gradient(135deg, var(--bma-green) 0%, #1f6b40 100%);
    box-shadow: inset 0 0 0 1px var(--bma-green-bright);
}

.industries-tab.active .industries-tab-icon {
    color: var(--bma-yellow);
}

/* Rail arrows (desktop only) */
.industries-rail-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(20, 20, 20, 0.9);
    color: var(--bma-white);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
    backdrop-filter: blur(8px);
}

.industries-rail-arrow:hover {
    border-color: var(--bma-green-bright);
    color: var(--bma-green-bright);
    transform: translateY(-50%) scale(1.05);
}

.industries-rail-arrow-prev { left: -10px; }
.industries-rail-arrow-next { right: -10px; }

@media (min-width: 1024px) {
    .industries-tabs-wrap.is-overflowing .industries-rail-arrow {
        display: inline-flex;
    }
}

/* Active panel */
.industries-panels {
    position: relative;
}

.industries-panel {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 2.75rem;
    align-items: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(20, 20, 20, 0.7) 100%);
    border: none;
    border-radius: 20px;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 18px 48px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    animation: industriesPanelIn 0.4s ease-out;
}

.industries-panel[hidden] {
    display: none;
}

.industries-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(0, 230, 118, 0.1) 0%, transparent 55%);
    pointer-events: none;
}

@keyframes industriesPanelIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.industries-panel-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industries-icon-frame {
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 230, 118, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(255, 215, 0, 0.16) 0%, transparent 60%),
        linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
    border-radius: 28px;
    color: var(--bma-yellow);
    border: 1px solid rgba(255, 215, 0, 0.25);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 32px rgba(0, 0, 0, 0.45);
}

.industries-icon-frame svg {
    width: 96px;
    height: 96px;
    filter: drop-shadow(0 0 16px rgba(0, 230, 118, 0.35));
}

.industries-icon-frame .material-symbols-outlined {
    font-size: 96px;
    line-height: 1;
    filter: drop-shadow(0 0 16px rgba(0, 230, 118, 0.35));
    font-variation-settings: 'wght' 300, 'opsz' 48;
}

.industries-panel-copy {
    position: relative;
    z-index: 1;
}

.industries-panel-copy h4 {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 800;
    color: var(--bma-white);
    text-transform: uppercase;
    letter-spacing: -0.005em;
    margin: 0 0 0.5rem;
}

.industries-panel-copy > p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    margin: 0 0 1.5rem;
}

.industries-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 1rem;
}

.industries-panel-list li {
    position: relative;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    line-height: 1.5;
}

.industries-panel-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bma-green-bright), var(--bma-yellow));
}

/* Split list variant: two labeled columns (e.g., Casinos & iGaming) */
.industries-panel-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}

@media (max-width: 640px) {
    .industries-panel-split {
        grid-template-columns: 1fr;
    }
}

.industries-panel-split-col .industries-panel-list {
    grid-template-columns: 1fr;
}

.industries-panel-split-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--bma-yellow);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin: 0 0 0.7rem;
}

/* ==========================================================================
   Operator narrative + benefits
   ========================================================================== */
.ps-narrative {
    max-width: 980px;
    margin: 0 auto 5rem;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.08) 0%, rgba(20, 20, 20, 0.7) 100%);
    border: none;
    border-radius: 18px;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 14px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
}

.ps-narrative::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2.5rem;
    right: 2.5rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--bma-green-bright), var(--bma-yellow), transparent);
    border-radius: 999px;
}

.ps-narrative-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--bma-yellow);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
}

.ps-narrative-eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--bma-yellow);
}

.ps-narrative-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 2rem;
}

.ps-benefits {
    display: grid;
    gap: 0.85rem;
}

.ps-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.25s ease;
}

.ps-benefit:hover {
    border-color: rgba(0, 230, 118, 0.35);
    background: rgba(46, 139, 87, 0.08);
    transform: translateX(4px);
}

.ps-benefit-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bma-green-bright) 0%, var(--bma-yellow) 100%);
    color: var(--bma-black);
    box-shadow: 0 4px 14px rgba(0, 230, 118, 0.35);
    font-size: 20px;
    font-variation-settings: 'wght' 700;
}

.ps-benefit-text {
    font-size: 0.98rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    align-self: center;
}

/* ==========================================================================
   Capabilities — modernized grid
   ========================================================================== */
.capabilities-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.capability-card-modern {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(20, 20, 20, 0.7) 100%);
    border: none;
    border-radius: 14px;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 10px 28px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.capability-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bma-green-bright) 0%, var(--bma-yellow) 100%);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.capability-card-modern:hover {
    transform: translateY(-4px);
    box-shadow:
        inset 0 0 0 1px rgba(0, 230, 118, 0.4),
        0 18px 40px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.capability-card-modern:hover::before {
    transform: scaleX(1);
}

.capability-icon-modern {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.18) 0%, rgba(255, 215, 0, 0.12) 100%);
    border: none;
    border-radius: 12px;
    box-shadow:
        inset 0 0 0 1px rgba(0, 230, 118, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--bma-green-bright);
    margin-bottom: 1rem;
    transition: all 0.25s ease;
    font-size: 26px;
    line-height: 1;
    font-variation-settings: 'wght' 400;
}

.capability-card-modern:hover .capability-icon-modern {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.28) 0%, rgba(255, 215, 0, 0.22) 100%);
    box-shadow:
        inset 0 0 0 1px var(--bma-yellow),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--bma-yellow);
}

.capability-card-modern h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--bma-white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 0.5rem;
}

.capability-card-modern p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

/* ==========================================================================
   Partnership responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .industries-panel {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 2.25rem;
        text-align: center;
    }

    .industries-icon-frame {
        width: 160px;
        height: 160px;
        border-radius: 22px;
    }

    .industries-icon-frame svg {
        width: 72px;
        height: 72px;
    }

    .industries-icon-frame .material-symbols-outlined {
        font-size: 72px;
    }

    .industries-panel-list {
        text-align: left;
    }

    .capabilities-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .partnership-section {
        padding: 4rem 1.25rem 3.5rem;
    }

    .ps-narrative {
        padding: 2rem 1.5rem;
    }

    .industries-panel {
        padding: 1.75rem 1.5rem;
    }

    .industries-panel-list {
        grid-template-columns: 1fr;
    }

    .capabilities-grid-modern {
        grid-template-columns: 1fr;
    }

    .industries-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .industries-icon-frame {
        width: 140px;
        height: 140px;
    }

    .industries-icon-frame svg {
        width: 60px;
        height: 60px;
    }

    .industries-icon-frame .material-symbols-outlined {
        font-size: 60px;
    }
}

.partnership-leagues {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin: 4rem 0;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 2px solid var(--bma-green);
}

/* Keep existing league-logo styles for backward compatibility */
.league-logo {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--bma-yellow);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 120px;
    opacity: 0;
    transform: translateY(20px);
}

/* New vertical cards styles */
.partnership-verticals {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin: 4rem 0;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 2px solid var(--bma-green);
}
.vertical-card {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem 1rem 2.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.vertical-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--bma-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46, 139, 87, 0.2);
}
.vertical-card.active {
    background: rgba(46, 139, 87, 0.2);
    border-color: var(--bma-green);
    box-shadow: 0 0 20px rgba(46, 139, 87, 0.3);
}
.vertical-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    height: 64px;
}
.vertical-icon svg {
    width: 56px;
    height: 56px;
}
.vertical-card h4 {
    color: var(--bma-white);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s ease forwards;
}

.vertical-card:nth-child(1) h4 { animation-delay: 0.1s; }
.vertical-card:nth-child(2) h4 { animation-delay: 0.2s; }
.vertical-card:nth-child(3) h4 { animation-delay: 0.3s; }
.vertical-card:nth-child(4) h4 { animation-delay: 0.4s; }
.vertical-card:nth-child(5) h4 { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.vertical-card::after {
    content: "+";
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bma-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    line-height: 0;
    font-family: monospace;
    text-align: center;
    padding: 0;
}
.vertical-card.active::after {
    content: "−";
    background: var(--bma-yellow);
    color: var(--bma-black);
}
.vertical-card:hover::after {
    background: var(--bma-yellow);
    color: var(--bma-black);
    transform: translateX(-50%) scale(1.1);
}
.vertical-toggle {
    display: none; /* Remove the plus button */
}

/* Expandable details section below the cards */
.vertical-details-container {
    grid-column: 1 / -1;
    margin-top: 2rem;
    display: none;
}
.vertical-details-container.show {
    display: block;
    animation: slideDown 0.4s ease;
}
.vertical-details-content {
    background: rgba(46, 139, 87, 0.1);
    border: 2px solid var(--bma-green);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
}
.vertical-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.vertical-details-title {
    color: var(--bma-green);
    font-size: 1.3rem;
    font-weight: 700;
}
.vertical-details-close {
    background: var(--bma-green);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    line-height: 1;
}
.vertical-details-close:hover {
    background: var(--bma-yellow);
    color: var(--bma-black);
    transform: rotate(90deg);
}
.vertical-details-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.vertical-details-list li {
    color: var(--bma-white);
    font-size: 1rem;
    padding: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.2s ease;
}
.vertical-details-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}
.vertical-details-list li:before {
    content: "▸";
    position: absolute;
    left: 0.5rem;
    color: var(--bma-yellow);
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.league-logo.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.league-logo.fade-in:nth-child(1) { animation-delay: 0.1s; }
.league-logo.fade-in:nth-child(2) { animation-delay: 0.2s; }
.league-logo.fade-in:nth-child(3) { animation-delay: 0.3s; }
.league-logo.fade-in:nth-child(4) { animation-delay: 0.4s; }
.league-logo.fade-in:nth-child(5) { animation-delay: 0.5s; }
.league-logo.fade-in:nth-child(6) { animation-delay: 0.6s; }

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

.league-logo:hover {
    transform: scale(1.1);
    background: var(--bma-white);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    border-color: var(--bma-green);
}

.league-img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9);
    transition: all 0.3s ease;
}

.league-logo:hover .league-img {
    filter: brightness(1);
    transform: scale(1.05);
}

.partnership-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--bma-green);
}

.partnership-benefits {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(46, 139, 87, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--bma-yellow);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(46, 139, 87, 0.2);
    transform: translateX(10px);
}

.benefit-icon {
    color: var(--bma-green);
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.benefit-text {
    color: var(--bma-white);
    font-size: 1rem;
    line-height: 1.5;
}

/* Technology Section */
/* ==========================================================================
   Enterprise-Ready Technology Section (redesign)
   ========================================================================== */
.technology-section {
    padding: 6rem 2rem calc(5rem + 100px);
    background: var(--bma-dark-100);
    position: relative;
    overflow: hidden;
}

.tech-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.tech-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.tech-glow-yellow {
    width: 540px;
    height: 540px;
    top: 30%;
    right: -180px;
    background: radial-gradient(closest-side, rgba(255, 215, 0, 0.22), transparent);
}

.tech-glow-green {
    width: 600px;
    height: 600px;
    top: -240px;
    left: -180px;
    background: radial-gradient(closest-side, rgba(0, 230, 118, 0.22), transparent);
}

.technology-section .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

/* ----- Two-column main layout ----- */
.tech-grid-modern {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

/* ----- Hub-and-spoke diagram ----- */
.tech-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-diagram-stage {
    position: relative;
    width: 100%;
    max-width: 540px;
    aspect-ratio: 1 / 1;
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 0.75rem;
    place-items: center;
}

/* Connection lines (SVG, layered behind cards) */
.tech-connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.tech-connections line {
    stroke: url(#techConnGradient);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 4 6;
    animation: techConnFlow 4s linear infinite;
    filter: drop-shadow(0 0 6px rgba(0, 230, 118, 0.3));
}

@keyframes techConnFlow {
    to { stroke-dashoffset: -200; }
}

/* Spokes (orbit around the hub) */
.tech-spoke {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.85rem;
    width: 100%;
    height: 100%;
    max-width: 150px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(20, 20, 20, 0.85) 100%);
    border: none;
    border-radius: 14px;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 8px 22px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    text-align: center;
    transition: all 0.25s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.tech-spoke:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 0 0 1px rgba(0, 230, 118, 0.45),
        0 8px 22px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tech-spoke-icon {
    font-size: 26px;
    color: var(--bma-green-bright);
    line-height: 1;
    font-variation-settings: 'wght' 400;
}

.tech-spoke-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.25;
}

/* Spoke positioning in the 3x3 grid */
.tech-spoke[data-pos="top-left"] { grid-column: 1; grid-row: 1; }
.tech-spoke[data-pos="middle-left"] { grid-column: 1; grid-row: 2; }
.tech-spoke[data-pos="bottom-left"] { grid-column: 1; grid-row: 3; }
.tech-spoke[data-pos="top-right"] { grid-column: 3; grid-row: 1; }
.tech-spoke[data-pos="middle-right"] { grid-column: 3; grid-row: 2; }
.tech-spoke[data-pos="bottom-right"] { grid-column: 3; grid-row: 3; }

/* Hub at center */
.tech-hub {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1 / 1;
}

.tech-hub-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    user-select: none;
    -webkit-user-select: none;
    padding: 1rem;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 230, 118, 0.22) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(255, 215, 0, 0.18) 0%, transparent 60%),
        linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 22px;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 32px rgba(0, 230, 118, 0.25);
}

.tech-hub-inner img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.tech-hub-inner span {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--bma-yellow);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tech-hub-pulse {
    position: absolute;
    inset: -10px;
    border-radius: 28px;
    border: 2px solid rgba(0, 230, 118, 0.4);
    z-index: 1;
    animation: techHubPulse 2.5s ease-out infinite;
}

@keyframes techHubPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

/* ----- Pillar cards (right column) ----- */
.tech-pillars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-pillar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(20, 20, 20, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.tech-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--bma-green-bright) 0%, var(--bma-yellow) 100%);
    transform: scaleY(0.3);
    transform-origin: top;
    transition: transform 0.35s ease;
}

.tech-pillar:hover {
    transform: translateX(4px);
    border-color: rgba(0, 230, 118, 0.4);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
}

.tech-pillar:hover::before {
    transform: scaleY(1);
}

.tech-pillar-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.18) 0%, rgba(255, 215, 0, 0.12) 100%);
    border: 1px solid rgba(0, 230, 118, 0.35);
    border-radius: 12px;
    color: var(--bma-green-bright);
    font-size: 24px;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}

.tech-pillar:hover .tech-pillar-icon {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.28) 0%, rgba(255, 215, 0, 0.22) 100%);
    color: var(--bma-yellow);
    border-color: var(--bma-yellow);
}

.tech-pillar-body {
    flex: 1;
    min-width: 0;
}

.tech-pillar-body h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--bma-white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 0.4rem;
}

.tech-pillar-body p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

/* ----- CTA ----- */
.tech-cta {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .tech-grid-modern {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tech-diagram-stage {
        max-width: 480px;
        margin: 0 auto;
    }

    .tech-pillars {
        max-width: 640px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .technology-section {
        padding: 4rem 1.25rem calc(3.5rem + 100px);
    }

    /* Mobile: hide the 3x3 grid lines and stack as hub on top + 2-col spoke grid below */
    .tech-diagram-stage {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
        aspect-ratio: auto;
        max-width: 420px;
        margin: 0 auto;
    }

    .tech-connections {
        display: none;
    }

    .tech-hub {
        grid-column: 1 / -1;
        max-width: 160px;
        justify-self: center;
        margin-bottom: 0.5rem;
    }

    .tech-hub-inner {
        border-radius: 18px;
    }

    .tech-hub-inner img {
        height: 44px;
    }

    .tech-spoke,
    .tech-spoke[data-pos="top-left"],
    .tech-spoke[data-pos="middle-left"],
    .tech-spoke[data-pos="bottom-left"],
    .tech-spoke[data-pos="top-right"],
    .tech-spoke[data-pos="middle-right"],
    .tech-spoke[data-pos="bottom-right"] {
        grid-column: auto;
        grid-row: auto;
        max-width: 100%;
        flex-direction: row;
        gap: 0.7rem;
        justify-content: flex-start;
        text-align: left;
        padding: 0.85rem 1rem;
        width: 100%;
    }

    .tech-spoke-label {
        font-size: 0.85rem;
    }

    .tech-pillar {
        padding: 1.25rem;
    }
}

/* Clients Section */
.clients {
    padding: 8rem 2rem;
    background: var(--bma-dark-200);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.clients::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(46, 139, 87, 0.03) 100px,
            rgba(46, 139, 87, 0.03) 200px
        );
    pointer-events: none;
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.client-logo {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    color: var(--bma-white);
    font-weight: 700;
    border: 2px solid var(--bma-green);
    transition: all 0.3s ease;
}

.client-logo:hover {
    background: rgba(46, 139, 87, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 139, 87, 0.3);
}

/* CTA Section */
/* Cap SVG: stroke only, sits inside the previous section's bottom 100px. */
.cta-cap {
    display: block;
    width: 100%;
    height: 100px;
    margin-top: -100px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 -4px 18px rgba(0, 230, 118, 0.32));
}

.cta-section {
    padding: calc(3rem + 100px) 2rem 4rem;
    background-image: url('https://images.unsplash.com/photo-1549333580-4cb2c5c8e421?fm=jpg&q=80&w=3000&auto=format&fit=crop');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: -100px;
    overflow: hidden;
    -webkit-mask-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'><path d='M0,50 Q720,-30 1440,50 L1440,50 L0,50 Z' fill='white'/></svg>"),
        linear-gradient(white, white);
    -webkit-mask-size: 100% 50px, 100% calc(100% - 50px);
    -webkit-mask-position: top, left bottom;
    -webkit-mask-repeat: no-repeat;
    mask-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'><path d='M0,50 Q720,-30 1440,50 L1440,50 L0,50 Z' fill='white'/></svg>"),
        linear-gradient(white, white);
    mask-size: 100% 50px, 100% calc(100% - 50px);
    mask-position: top, left bottom;
    mask-repeat: no-repeat;
}

@media (prefers-reduced-motion: reduce) {
    .cta-section {
        background-attachment: scroll;
    }
}

/* Mobile / iOS Safari fallback (fixed bg breaks on iOS) */
@supports (-webkit-touch-callout: none) {
    .cta-section {
        background-attachment: scroll;
    }
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.015) 2px,
            rgba(255,255,255,0.015) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.015) 2px,
            rgba(255,255,255,0.015) 4px
        ),
        linear-gradient(135deg, rgba(0, 230, 118, 0.7) 0%, rgba(0, 0, 0, 0.85) 100%),
        linear-gradient(45deg, rgba(255, 215, 0, 0.15) 0%, rgba(220, 20, 60, 0.1) 100%);
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--bma-white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.cta-accent {
    display: inline-block;
    background: linear-gradient(135deg, var(--bma-green-bright) 0%, var(--bma-yellow) 70%, #FFA500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    transform: skewX(-6deg);
    padding: 0 0.15em;
    margin: 0 -0.15em;
    filter: drop-shadow(0 2px 6px rgba(0, 230, 118, 0.25)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.cta-subline {
    position: relative;
    max-width: 620px;
    margin: 1rem auto 2rem;
    padding-top: 1.25rem;
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.cta-subline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bma-green-bright), var(--bma-yellow));
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.5);
}

.cta-section .btn-primary {
    background: var(--bma-green);
    color: var(--bma-white);
    font-size: 1.2rem;
    padding: 1.25rem 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 30px rgba(46, 139, 87, 0.4);
}

.cta-section .btn-primary:hover {
    background: var(--bma-green-bright);
    box-shadow: 0 12px 40px rgba(0, 230, 118, 0.5);
}

/* ----- CTA conveyor belt (page-closer flair) ----- */
.cta-belt {
    position: relative;
    z-index: 2;
    margin-top: 1.5rem;
    padding: 1.5rem 0;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
    /* Side fade + top/bottom fade via intersected masks — the belt itself
       (dark background and the cards) fades to transparent on all four edges. */
    -webkit-mask-image:
        linear-gradient(
            90deg,
            transparent 0,
            rgba(0, 0, 0, 0.4) 32px,
            #000 96px,
            #000 calc(100% - 96px),
            rgba(0, 0, 0, 0.4) calc(100% - 32px),
            transparent 100%
        ),
        linear-gradient(
            180deg,
            transparent 0,
            rgba(0, 0, 0, 0.4) 16px,
            #000 48px,
            #000 calc(100% - 48px),
            rgba(0, 0, 0, 0.4) calc(100% - 16px),
            transparent 100%
        );
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(
            90deg,
            transparent 0,
            rgba(0, 0, 0, 0.4) 32px,
            #000 96px,
            #000 calc(100% - 96px),
            rgba(0, 0, 0, 0.4) calc(100% - 32px),
            transparent 100%
        ),
        linear-gradient(
            180deg,
            transparent 0,
            rgba(0, 0, 0, 0.4) 16px,
            #000 48px,
            #000 calc(100% - 48px),
            rgba(0, 0, 0, 0.4) calc(100% - 16px),
            transparent 100%
        );
    mask-composite: intersect;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.cta-belt-row {
    overflow: hidden;
    width: 100%;
}

.cta-belt-track {
    display: flex;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
    width: max-content;
    padding: 0.25rem 0;
    will-change: transform;
}

.cta-belt-row[data-sports-direction="rtl"] .cta-belt-track {
    animation: cta-belt-rtl 60s linear infinite;
}

.cta-belt-row[data-sports-direction="ltr"] .cta-belt-track {
    animation: cta-belt-ltr 75s linear infinite;
}

.cta-belt-row:nth-child(3) .cta-belt-track {
    animation-duration: 50s;
}

@keyframes cta-belt-rtl {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes cta-belt-ltr {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .cta-belt-track { animation: none; }
}

.cta-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: clamp(150px, 16vw, 210px);
    height: clamp(120px, 13vw, 160px);
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.cta-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 4.5vw, 56px);
    height: clamp(40px, 4.5vw, 56px);
}

.cta-card-icon .material-symbols-outlined {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
    font-variation-settings: 'wght' 500, 'opsz' 48;
}

/* Badge variant: full-bleed circular game-mode PNG art. Slightly larger
   than the icon-glyph variant so the artwork stays legible at scroll size. */
.cta-card-icon-badge {
    width: clamp(52px, 5.5vw, 68px);
    height: clamp(52px, 5.5vw, 68px);
}

.cta-card-icon-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    -webkit-user-drag: none;
    user-drag: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.cta-card-label {
    font-size: clamp(0.78rem, 0.95vw, 0.95rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-align: center;
    max-width: 100%;
    word-break: break-word;
}

.cta-card-sport {
    box-shadow: inset 0 0 0 1px rgba(0, 230, 118, 0.4);
}

.cta-card-sport .cta-card-icon .material-symbols-outlined {
    color: var(--bma-green-bright);
    filter: drop-shadow(0 0 8px rgba(0, 230, 118, 0.4));
}

.cta-card-word {
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.10), rgba(0, 230, 118, 0.06));
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.45);
    color: var(--bma-yellow);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-card-word .cta-card-icon .material-symbols-outlined {
    color: var(--bma-yellow);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.45));
}

.cta-card-trophy {
    background: linear-gradient(135deg, var(--bma-green) 0%, #1f6b40 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.55);
    color: var(--bma-yellow);
}

.cta-card-trophy .cta-card-icon .material-symbols-outlined {
    color: var(--bma-yellow);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

@media (max-width: 600px) {
    .cta-card {
        width: 130px;
        height: 110px;
        padding: 0.6rem 0.65rem;
        gap: 0.4rem;
    }
    .cta-card-icon {
        width: 38px;
        height: 38px;
    }
    .cta-card-icon .material-symbols-outlined {
        font-size: 30px;
    }
    .cta-card-label {
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }
}

@media (max-width: 768px) {
    .cta-belt {
        margin-top: 2rem;
        padding: 1rem 0;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bma-dark-100) 0%, var(--bma-dark-300) 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 2rem 2rem;
    border-top: 2px solid var(--bma-green);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.footer-brand {
    flex: 1;
}

.footer-logo {
    height: 100px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bma-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact {
    flex: 1;
    text-align: right;
}

.footer-contact h3 {
    color: var(--bma-white);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-cta {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.footer-btn {
    display: inline-block;
    background: var(--bma-yellow);
    color: var(--bma-black);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.footer-btn:hover {
    background: var(--bma-green);
    color: var(--bma-white);
    transform: translateY(-2px);
}

.footer-email a {
    color: var(--bma-green);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.footer-email a:hover {
    color: var(--bma-yellow);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 0.875rem;
}

/* Contact Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 780px;
    width: 92%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.popup-overlay.active .popup-container {
    transform: translate(-50%, -50%) scale(1);
}

.popup-header {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.15) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.popup-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.02) 2px,
        rgba(255, 255, 255, 0.02) 4px
    );
    z-index: 0;
}

.popup-header > * {
    position: relative;
    z-index: 1;
}

.popup-logo {
    width: 120px;
    height: auto;
    margin: 0 auto 1rem auto;
    display: block;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--bma-white);
    font-size: 1.5rem;
    transition: all 0.2s ease;
    font-weight: bold;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.popup-title {
    color: var(--bma-white);
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.popup-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

.popup-content {
    padding: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
}

/* Tab System */
.contact-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-button {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.tab-button.active {
    background: rgba(46, 139, 87, 0.1);
    color: var(--bma-green);
    border-bottom-color: var(--bma-green);
    font-weight: 800;
    box-shadow: inset 0 -3px 0 var(--bma-green);
}

.tab-content {
    display: none;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.tab-content.active {
    display: block;
}

.tab-content p {
    color: rgba(255, 255, 255, 0.8);
}

/* Form Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: rgba(0, 0, 0, 0.3);
    color: var(--bma-white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--bma-green);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-submit {
    background: linear-gradient(135deg, var(--bma-green) 0%, #1e6b42 100%);
    color: var(--bma-white);
    border: 1px solid rgba(46, 139, 87, 0.3);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
}

.form-submit:hover {
    background: var(--bma-green-bright);
    transform: translateY(-1px);
}

.form-submit:active {
    transform: translateY(0);
}

/* Tab Content Specific Styling */
.tab-description {
    background: var(--bma-gray-50);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--bma-green);
}

.tab-description p {
    margin: 0;
    color: var(--bma-gray-700);
    line-height: 1.5;
}

/* ----- Contact popup mobile: full-screen on phones ----- */
@media (max-width: 768px) {
    .popup-container {
        width: 100%;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        top: 0;
        left: 0;
        transform: scale(0.96);
        border-radius: 0;
        border: 0;
    }

    .popup-overlay.active .popup-container {
        transform: scale(1);
    }

    .popup-header {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .popup-logo {
        width: 90px;
        margin-bottom: 0.75rem;
    }

    .popup-title {
        font-size: 1.4rem;
    }

    .popup-close {
        top: 0.85rem;
        right: 0.85rem;
        width: 38px;
        height: 38px;
    }

    .contact-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .tab-button {
        flex: 0 0 auto;
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .tab-content {
        padding: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 1.1rem;
    }

    .form-input,
    .form-textarea,
    .form-select {
        font-size: 16px; /* prevent iOS zoom-on-focus */
        padding: 0.75rem 0.9rem;
    }

    .form-submit {
        padding: 0.95rem 1.5rem;
        font-size: 1rem;
    }
}

/* Responsive */
/* Tablet/Medium viewports - reduce spacing before hamburger kicks in */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .nav-logo img {
        height: 35px;
    }

    .btn-demo {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* Small tablets - further reduce spacing */
@media (max-width: 900px) and (min-width: 769px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .btn-demo {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    /* Mobile navigation container */
    .nav-container {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 0 1rem;
        height: 70px;
    }

    /* Center logo on mobile */
    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1002; /* Higher than menu (999) to stay on top */
    }

    .nav-logo img {
        height: 75px; /* Bigger, more readable logo */
    }

    /* Hamburger visible on mobile */
    .hamburger {
        display: block;
        margin-left: auto;
        position: relative;
        z-index: 1001;
    }

    /* Hide desktop CTA button */
    .desktop-only {
        display: none;
    }

    /* Hide desktop nav menu on mobile (mobile-drawer replaces it). */
    .nav-menu {
        display: none;
    }

    .mobile-cta .nav-link:hover {
        background: var(--bma-yellow);
        color: black;
    }

    /* Dropdown adjustments for mobile */
    .dropdown .dropdown-menu {
        position: static;
        display: block;
        background: rgba(0, 0, 0, 0.3);
        padding: 0.5rem 0 0.5rem 1rem;
        margin-top: 0.5rem;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown .dropdown-menu li {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .dropdown .dropdown-menu a {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
        border-bottom: none;
    }

    /* Overlay for mobile menu */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0;
    }

    .hero-right {
        order: 1;
        margin-top: 0.5rem;
    }

    .hero-logo {
        max-width: 280px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }

    /* popup-container, form-row, contact-tabs, tab-button mobile styling
       handled by the dedicated contact popup mobile block above. */

    .games-tabs {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 3rem;
    }

    .game-tab {
        min-width: auto;
        padding: 1rem;
    }

    .game-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .game-image {
        order: 1;
    }

    .game-info {
        order: 2;
        padding: 1rem 0;
    }

    .game-title {
        font-size: 2rem;
    }

    .game-actions {
        flex-direction: column;
    }

    /* BMA Tournament interface mobile styles */
    .betting-interface {
        height: auto;
        min-height: 350px;
    }

    .betting-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .betting-nav {
        width: 100%;
        justify-content: space-around;
    }

    .nav-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .game-row {
        flex-direction: column;
        gap: 1rem;
        padding: 0.75rem;
        align-items: stretch;
    }

    .team-info {
        width: 100%;
    }

    .odds {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .odd-btn {
        padding: 0.5rem;
        font-size: 0.875rem;
        text-align: center;
    }

    .betting-footer {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
        text-align: center;
    }

    /* Enterprise Technology section mobile styles */
    .technology-section .container {
        padding: 3rem 1rem;
    }

    .tech-content h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .tech-specs {
        gap: 1.5rem;
    }

    .spec-item {
        padding: 1rem;
    }

    .spec-item h4 {
        font-size: 1rem;
    }

    .spec-item p {
        font-size: 0.9rem;
    }

    .integration-diagram {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        align-items: center;
        position: relative;
    }

    .integration-item {
        padding: 1rem 1.5rem;
        font-size: 0.875rem;
        width: 100%;
        max-width: 280px;
        position: relative;
    }

    /* Add connecting lines/arrows on mobile */
    .integration-item::before {
        content: '';
        position: absolute;
        width: 2px;
        height: 1rem;
        background: linear-gradient(to bottom, transparent, rgba(46, 139, 87, 0.4));
        top: -1rem;
        left: 50%;
        transform: translateX(-50%);
    }

    .integration-item::after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 6px solid rgba(46, 139, 87, 0.4);
        top: 0;
        left: 50%;
        transform: translateX(-50%) translateY(-2px);
    }

    .integration-item:first-child::before,
    .integration-item:first-child::after {
        display: none;
    }

    /* Items after center point to BMA (arrows pointing up) */
    .integration-item:nth-child(n+5)::after {
        border-top: none;
        border-bottom: 6px solid rgba(46, 139, 87, 0.4);
        top: auto;
        bottom: 0;
        transform: translateX(-50%) translateY(2px);
    }

    .integration-item:nth-child(n+5)::before {
        background: linear-gradient(to top, transparent, rgba(46, 139, 87, 0.4));
        top: auto;
        bottom: -1rem;
    }

    /* BMA center gets special treatment */
    .integration-center::before,
    .integration-center::after {
        display: none;
    }

    .integration-center {
        padding: 1.5rem;
        font-size: 1rem;
        background: var(--bma-green);
        color: white;
        order: 0;
        width: 100%;
        max-width: 280px;
        grid-column: auto;
        grid-row: auto;
        margin: 0.5rem 0;
        position: relative;
    }

    /* Reorder for mobile flow */
    .integration-item:nth-child(1) { order: 1; } /* Payment Gateways */
    .integration-item:nth-child(2) { order: 2; } /* Odds Providers */
    .integration-item:nth-child(3) { order: 3; } /* Game Studios */
    .integration-center { order: 4; } /* BMA Platform - center */
    .integration-item:nth-child(5) { order: 5; } /* CRM Systems */
    .integration-item:nth-child(6) { order: 6; } /* Analytics */
    .integration-item:nth-child(7) { order: 7; } /* Compliance Tools */

    .results-container {
        grid-template-columns: 1fr;
    }

    .results-left {
        padding: 3rem 2rem;
        min-height: 70vh;
    }

    .results-content h2 {
        font-size: 2.5rem;
    }

    .results-intro {
        font-size: 1.2rem;
    }

    .metric-descriptions {
        gap: 2rem;
    }

    .metric-desc {
        padding: 1.5rem;
    }

    .metric-desc h3 {
        font-size: 1.25rem;
    }

    .results-right {
        padding: 3rem 2rem;
        min-height: 60vh;
    }

    .kpi-visualization {
        min-height: 500px;
        max-width: 450px;
        margin: 0 auto;
    }

    .center-logo {
        width: 100px;
        height: 100px;
    }

    .center-logo img {
        width: 70px;
    }

    .kpi-info {
        padding: 1rem 1.25rem;
        min-width: 130px;
    }

    .kpi-value {
        font-size: 1.8rem;
    }

    .kpi-label {
        font-size: 0.8rem;
    }

    .top-circle {
        top: 60px;
    }

    .left-circle {
        bottom: 60px;
        left: 40px;
    }

    .right-circle {
        bottom: 60px;
        right: 40px;
    }

    .play-x {
        font-size: 36px;
    }

    .play-marker {
        width: 50px;
        height: 50px;
    }

    .red-circle-1 {
        width: 140px;
        height: 140px;
    }

    .red-circle-2 {
        width: 100px;
        height: 100px;
    }

    .red-circle-3 {
        width: 80px;
        height: 80px;
    }

    .connect-line {
        stroke-width: 10;
    }

    .kpi-value {
        font-size: 2.5rem;
    }

    .x-marker-1 { top: 8%; left: 8%; }
    .x-marker-2 { top: 18%; right: 12%; }
    .x-marker-3 { bottom: 12%; left: 15%; }
    .x-marker-4 { bottom: 8%; right: 8%; }
    .x-marker-5 { top: 32%; left: 70%; }
    .x-marker-6 { bottom: 32%; right: 75%; }

    /* Enhanced Mobile Responsiveness */
    .platform-header, .mv-header, .partnership-header, .technology-header, .competitive-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
        gap: 1rem;
        padding: 0 1rem;
    }

    .section-x {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.1;
    }

    .tournament-feature {
        grid-template-columns: 1fr;
    }

    .tournament-image {
        height: 250px;
    }

    .tournament-content {
        padding: 1.5rem;
    }

    .tournament-title {
        font-size: 1.5rem;
    }

    .capability-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .capability-card {
        padding: 1.5rem;
    }

    /* Max Value Mobile */
    .mv-header {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .mv-x {
        font-size: 2.5rem;
    }

    .mv-title {
        font-size: 1.75rem;
        line-height: 1.1;
    }

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

    .mv-box {
        padding: 1.5rem;
    }

    .mv-box-title {
        font-size: 1.25rem;
    }

    .mv-advantage {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .advantage-title {
        font-size: 1.5rem;
    }

    .advantage-subtitle {
        font-size: 1rem;
    }

    /* Partnership Section Mobile */
    .partnership-leagues, .league-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }
    .partnership-verticals {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }
    .vertical-card {
        padding: 1rem 1rem 3rem 1rem;
        min-height: 140px;
    }
    .vertical-icon {
        height: 48px;
    }
    .vertical-icon svg {
        width: 42px;
        height: 42px;
    }
    .vertical-card h4 {
        font-size: 0.9rem;
        padding-right: 0;
        margin-bottom: 0.5rem;
    }
    .vertical-card::after {
        bottom: 0.5rem;
        width: 20px;
        height: 20px;
        font-size: 14px;
    }
    .vertical-details-list {
        grid-template-columns: 1fr;
    }
    .vertical-details-content {
        padding: 1.5rem;
    }

    .league-logo {
        height: 90px;
        padding: 0.75rem;
    }

    .league-logo img, .league-img {
        max-height: 45px;
        width: auto;
        object-fit: contain;
    }

    /* Technology Section Mobile */
    .tech-feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .tech-feature-card {
        padding: 1.5rem;
    }

    .tech-feature-icon {
        font-size: 2rem;
    }

    /* Competitive Section Mobile */
    .benefit-items {
        padding: 0 1rem;
    }

    .benefit-item {
        font-size: 0.875rem;
        padding: 0.75rem;
        gap: 0.75rem;
    }

    /* Sections Mobile */
    .featured-product-section,
    .platform-section,
    .max-value-section,
    .partnership-section,
    .technology {
        padding: 2.5rem 1.5rem;
    }

    /* CTA needs extra top padding for the curve cap (100px overlap)
       plus a measured gap to the headline. */
    .cta-section {
        padding: calc(2rem + 100px) 1.5rem 3rem !important;
    }

    /* Even vertical rhythm in the CTA: equal gaps between headline →
       accent line → subline → conveyor belt. */
    .cta-section h2 {
        margin-bottom: 2rem;
    }

    .cta-subline {
        margin: 0 auto 2rem !important;
        padding-top: 2rem !important;
    }

    .cta-belt {
        margin-top: 0;
    }

    /* Section headings - reduce large font sizes on mobile */
    .results-content h2,
    .max-value-section h2,
    .partnership-section h2,
    .technology h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .results-intro {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    /* Section X marks */
    .section-x {
        font-size: 2.5rem;
    }

    /* Featured Product Card Mobile */
    .product-hero-card {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .product-name {
        font-size: 2rem;
    }

    .product-tagline {
        font-size: 1rem;
    }

    .product-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .product-feature-item {
        font-size: 0.875rem;
    }

    .product-stats {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    /* Better button spacing and sizing globally */
    .btn-primary,
    .btn-secondary {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
    }

    /* Improve vertical rhythm */
    section {
        scroll-margin-top: 80px;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h3 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .cta-section p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 2rem 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-logo {
        max-width: 250px;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.7rem;
        padding-top: 1rem;
        margin-top: 1.5rem;
    }

    .footer-bottom p {
        line-height: 1.4;
    }

    /* Navigation Mobile */
    .navbar {
        padding: 0.75rem 1rem;
    }

    .nav-logo img {
        height: 60px;
        max-height: none;
    }

    /* Buttons Mobile */
    .btn-primary, .btn-secondary, .btn-tournament {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Typography Mobile */
    body {
        font-size: 0.95rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    /* Popup Mobile */
    .popup-content {
        width: 95%;
        max-width: none;
        margin: 0.5rem;
        padding: 1.25rem;
        max-height: 95vh;
        overflow-y: auto;
    }

    .popup-header h2 {
        font-size: 1.25rem;
    }

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

    .tab-buttons {
        gap: 0.5rem;
    }

    .tab-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    /* Breadcrumb Mobile */
    .breadcrumb-nav {
        font-size: 0.75rem;
        letter-spacing: 1px;
        margin-bottom: 1rem;
    }

    /* Subpage Hero Mobile */
    .subpage-hero {
        padding: 3rem 1.5rem 2rem;
    }

    .subpage-hero-title {
        font-size: 2.5rem;
    }

    .subpage-hero-description {
        font-size: 1rem;
    }

    /* Lightbox Mobile - larger touch targets, better spacing */
    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .lightbox-nav {
        width: 48px;
        height: 48px;
        font-size: 28px;
    }

    .lightbox-nav.prev {
        left: 12px;
    }

    .lightbox-nav.next {
        right: 12px;
    }

    .lightbox-image {
        max-width: 95vw;
        max-height: 85vh;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title, .mv-title {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Results content */
    .results-content h2 {
        font-size: 1.5rem;
    }

    .results-intro {
        font-size: 1rem;
    }

    /* Sections - tighter padding on small screens */
    .featured-product-section,
    .platform-section,
    .max-value-section,
    .partnership-section,
    .technology,
    .cta-section {
        padding: 2rem 1rem;
    }

    .partnership-leagues, .league-logos {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }
    .partnership-verticals {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }
    .vertical-card {
        padding: 1rem 1rem 3.5rem 1rem;
        min-height: 150px;
    }
    .vertical-card h4 {
        font-size: 0.85rem;
    }
    .vertical-card::after {
        bottom: 0.75rem;
    }

    .league-logo {
        height: 80px;
        padding: 0.5rem;
    }

    .league-logo img, .league-img {
        max-height: 40px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    /* Additional mobile optimizations for BMA Tournament */
    .betting-interface {
        font-size: 0.875rem;
    }

    .betting-logo {
        font-size: 1rem;
    }

    .team {
        font-size: 0.875rem;
    }

    .time {
        font-size: 0.75rem;
    }

    .game-features {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .feature-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .btn-game-primary, .btn-game-secondary {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    /* Enterprise Technology section on small screens */
    .technology-section {
        padding: 2rem 0 calc(2rem + 100px);
    }

    .tech-content h2 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .tech-content > p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .spec-item h4 {
        font-size: 0.875rem;
    }

    .spec-item p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .integration-item {
        font-size: 0.75rem;
        padding: 0.5rem;
    }

    .integration-center {
        font-size: 0.875rem;
        font-weight: bold;
    }
}

/* Tablet View */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .tournament-feature {
        grid-template-columns: 1fr;
    }

    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partnership-leagues, .league-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .partnership-verticals {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .tech-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   Lightbox (Global - used by carousel on platform pages)
   =================================== */

.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%), rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--bma-white);
    cursor: pointer;
    z-index: 10001;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    line-height: 1;
    font-weight: 300;
}

.lightbox-close:hover {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.2) 0%, rgba(220, 20, 60, 0.1) 100%), rgba(20, 20, 20, 0.95);
    color: var(--bma-red);
    transform: rotate(90deg);
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%), rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--bma-yellow);
    cursor: pointer;
    z-index: 10001;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    user-select: none;
}

.lightbox-nav:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%), rgba(20, 20, 20, 0.95);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.lightbox-nav.prev {
    left: 32px;
}

.lightbox-nav.next {
    right: 32px;
}

.lightbox-nav.hidden {
    display: none;
}
