/**
 * The Gloves Are Off! - Master Custom Stylesheet
 * Incorporates live WordPress Elementor design + 6-digit security & ticket interfaces.
 */

:root {
    --bg-dark: #000000;
    --bg-card: #0d0f17;
    --bg-card-alt: #131722;
    --text-white: #ffffff;
    --text-muted: #abb8c3;
    --accent-red: #ed0342;
    --accent-red-hover: #c40505;
    --accent-purple: #7f54f8;
    --accent-purple-dark: #250864;
    --border-color: #232738;
    --font-heading: 'Roboto Slab', Georgia, serif;
    --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

a:hover {
    color: var(--accent-red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* -------------------------------------------------------------
   Header & Navigation
-------------------------------------------------------------- */
.site-header {
    background-color: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.site-logo img {
    height: 48px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #e0e0e0;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--accent-red);
}

.nav-cta-btn {
    background: var(--accent-red);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 14px rgba(237, 3, 66, 0.4);
}

.nav-cta-btn:hover {
    background: var(--accent-red-hover);
    transform: translateY(-1px);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
}

/* -------------------------------------------------------------
   Hero Banner Section
-------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding: 70px 0 60px;
    background: radial-gradient(circle at 50% 20%, rgba(37, 8, 100, 0.35) 0%, rgba(0, 0, 0, 0.95) 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(237, 3, 66, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(237, 3, 66, 0.4);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #d8d8d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent-red);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(237, 3, 66, 0.4);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--accent-red-hover);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(237, 3, 66, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 26px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(127, 84, 248, 0.25);
    border: 1px solid rgba(127, 84, 248, 0.4);
}

/* -------------------------------------------------------------
   What We Do Section
-------------------------------------------------------------- */
.section-pad {
    padding: 70px 0;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.section-sub {
    color: var(--accent-red);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
}

.feature-icon {
    font-size: 38px;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* -------------------------------------------------------------
   Events Section
-------------------------------------------------------------- */
.events-section {
    background: #06070a;
}

.event-featured-card {
    background: linear-gradient(145deg, #11131c 0%, #0a0b10 100%);
    border: 1px solid #23283c;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.event-video-area {
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}

.event-video-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date-badge {
    color: var(--accent-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.event-details h3 {
    font-size: 28px;
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

.event-price {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.event-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.events-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.event-mini-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
}

/* -------------------------------------------------------------
   6-Digit Key Unlock & Stream Player (Security Gate)
-------------------------------------------------------------- */
.stream-gate-container {
    max-width: 680px;
    margin: 40px auto 60px;
    background: linear-gradient(145deg, #131624 0%, #0a0c13 100%);
    border: 2px solid #2a3148;
    border-radius: 16px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(237, 3, 66, 0.15);
}

.gate-icon-badge {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: rgba(237, 3, 66, 0.12);
    border: 2px solid var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent-red);
}

.gate-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.gate-sub {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* 6-Digit Individual Pin Inputs */
.digit-inputs-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0;
}

.key-digit-input {
    width: 58px;
    height: 70px;
    background: #08090f;
    border: 2px solid #2f3650;
    border-radius: 10px;
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.key-digit-input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 15px rgba(237, 3, 66, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

.unlock-status-alert {
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
    display: none;
    text-align: left;
}

.unlock-status-alert.error {
    background: rgba(237, 3, 66, 0.15);
    border: 1px solid var(--accent-red);
    color: #ff94ab;
}

.unlock-status-alert.success {
    background: rgba(0, 208, 132, 0.15);
    border: 1px solid #00d084;
    color: #5effbc;
}

.unlock-status-alert.info {
    background: rgba(127, 84, 248, 0.15);
    border: 1px solid var(--accent-purple);
    color: #d1bfff;
}

.gate-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 35px 0 25px;
    color: #555e7a;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gate-divider::before,
.gate-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #212638;
}

.gate-divider:not(:empty)::before {
    margin-right: 15px;
}

.gate-divider:not(:empty)::after {
    margin-left: 15px;
}

/* Active Stream Layout */
.active-stream-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #0d101b;
    border: 1px solid #23293e;
    border-radius: 10px 10px 0 0;
    margin-top: 30px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(237, 3, 66, 0.2);
    color: var(--accent-red);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.stream-player-wrapper {
    background: #000000;
    border: 1px solid #23293e;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    position: relative;
}

/* -------------------------------------------------------------
   Checkout Modal & Forms
-------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    padding: 20px;
}

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

.modal-card {
    background: #111420;
    border: 1px solid #2b3248;
    border-radius: 14px;
    width: 100%;
    max-width: 520px;
    padding: 35px 30px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 20px;
    background: transparent;
    border: none;
    color: #8c95b0;
    font-size: 26px;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #b8c0d9;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: #090a10;
    border: 1px solid #2e354d;
    border-radius: 6px;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: var(--accent-red);
}

.ticket-type-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
}

.ticket-type-label {
    background: #0a0c13;
    border: 2px solid #293046;
    border-radius: 8px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ticket-type-label input {
    display: none;
}

.ticket-type-label.selected,
.ticket-type-label:has(input:checked) {
    border-color: var(--accent-red);
    background: rgba(237, 3, 66, 0.1);
}

/* -------------------------------------------------------------
   Boxers / Fighters Grid
-------------------------------------------------------------- */
.boxers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.boxer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.boxer-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
}

.boxer-img-wrap {
    height: 480px;
    overflow: hidden;
    background: #000;
}

.boxer-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.boxer-card:hover .boxer-img-wrap img {
    transform: scale(1.03);
}

.boxer-info {
    padding: 24px;
}

.boxer-matchup {
    color: var(--accent-red);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.boxer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* -------------------------------------------------------------
   Streaming Packages Page
-------------------------------------------------------------- */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-top: 40px;
}

.package-card {
    background: linear-gradient(145deg, #10131f 0%, #0a0b12 100%);
    border: 2px solid #23293e;
    border-radius: 14px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.package-card.highlight {
    border-color: var(--accent-purple);
    box-shadow: 0 10px 40px rgba(127, 84, 248, 0.2);
}

.package-badge {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.package-features {
    list-style: none;
    margin: 25px 0 35px;
}

.package-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #c9d0e4;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.package-features li::before {
    content: '✓';
    color: var(--accent-red);
    font-weight: 800;
}

/* -------------------------------------------------------------
   Footer
-------------------------------------------------------------- */
.site-footer {
    background: #040508;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 0;
    text-align: center;
    color: #727a94;
    font-size: 14px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid,
    .event-featured-card,
    .packages-grid,
    .boxers-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 36px;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #090b12;
        flex-direction: column;
        padding: 25px 20px;
        border-bottom: 1px solid #23283c;
    }
    .site-nav.nav-open {
        display: flex;
    }
    .digit-inputs-group {
        gap: 8px;
    }
    .key-digit-input {
        width: 44px;
        height: 60px;
        font-size: 26px;
    }
}

/* ==========================================================================
   GDPR Cookie Consent - Glassmorphism
   ========================================================================== */
.gdpr-consent {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 10000;
    width: calc(100% - 32px);
    max-width: 560px;
    padding: 26px 26px 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(237, 3, 66, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    color: var(--text-white);
    font-family: var(--font-body);
    opacity: 0;
    transform: translate(-50%, 30px) scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s ease;
    overflow: hidden;
}
.gdpr-consent::before {
    /* soft red/purple glow behind the glass */
    content: "";
    position: absolute;
    inset: -40% -20% auto auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(127, 84, 248, 0.35), transparent 70%);
    pointer-events: none;
    z-index: -1;
}
.gdpr-consent::after {
    content: "";
    position: absolute;
    inset: auto auto -50% -15%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(237, 3, 66, 0.28), transparent 70%);
    pointer-events: none;
    z-index: -1;
}
.gdpr-consent.is-visible {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}
.gdpr-consent[hidden] { display: none; }

/* Fallback when the browser has no backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .gdpr-consent { background: rgba(13, 15, 23, 0.94); }
}

.gdpr-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.gdpr-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.gdpr-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}
.gdpr-text {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 14px;
}
.gdpr-details-toggle {
    background: none;
    border: 0;
    padding: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    margin-bottom: 14px;
}
.gdpr-details {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}
.gdpr-details ul { list-style: none; margin: 0; padding: 0; }
.gdpr-details li + li { margin-top: 8px; }
.gdpr-details strong { color: #fff; }
.gdpr-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.gdpr-btn {
    flex: 1 1 160px;
    padding: 12px 18px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.gdpr-btn:hover { transform: translateY(-1px); }
.gdpr-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.gdpr-btn-accept {
    border: 1px solid rgba(237, 3, 66, 0.8);
    background: linear-gradient(135deg, var(--accent-red), #b8022f);
    color: #fff;
    box-shadow: 0 6px 20px rgba(237, 3, 66, 0.35);
}
.gdpr-btn-accept:hover { box-shadow: 0 8px 26px rgba(237, 3, 66, 0.5); }
.gdpr-btn-essential {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.gdpr-btn-essential:hover { background: rgba(255, 255, 255, 0.16); }

@media (max-width: 520px) {
    .gdpr-consent { bottom: 12px; padding: 20px 18px 18px; border-radius: 16px; }
    .gdpr-btn { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .gdpr-consent, .gdpr-btn { transition: none; }
}
