/* ==========================================================================
   AGE GATE OVERLAY (18+ VERIFICATION)
   ========================================================================== */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 2, 8, 0.95);
    backdrop-filter: blur(25px);
    z-index: var(--z-agegate);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.age-gate.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.age-gate-panel {
    width: 90%;
    max-width: 500px;
    background: var(--bg-panel);
    border: 1px solid rgba(255, 94, 0, 0.25);
    box-shadow: 0 0 50px rgba(255, 94, 0, 0.15), 
                inset 0 0 20px rgba(255, 94, 0, 0.05);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    animation: ageGatePulse 4s infinite alternate;
}

@keyframes ageGatePulse {
    0% { border-color: rgba(255, 94, 0, 0.25); box-shadow: 0 0 50px rgba(255, 94, 0, 0.15); }
    100% { border-color: rgba(255, 94, 0, 0.55); box-shadow: 0 0 70px rgba(255, 94, 0, 0.3); }
}

.age-gate-logo {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    margin-bottom: 12px;
    transform: rotate(-1.5deg);
}

.age-gate-logo span {
    color: var(--color-orange);
}

.age-gate-badge {
    display: inline-block;
    background: rgba(255, 94, 0, 0.15);
    border: 1px solid var(--color-orange);
    color: var(--color-orange);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.age-gate-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.age-gate-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.age-gate-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-gate {
    flex: 1;
    max-width: 160px;
    padding: 14px 20px;
    border-radius: 30px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.btn-gate-yes {
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff8008 100%);
    color: var(--bg-base);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px var(--color-orange-glow);
}

.btn-gate-yes:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 94, 0, 0.5);
}

.btn-gate-no {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.btn-gate-no:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.age-gate-disclaimer {
    margin-top: 28px;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
    border-top: 1px solid rgba(255, 94, 0, 0.12);
    padding-top: 16px;
    font-weight: 300;
}

/* ==========================================================================
   WATCH TRAILER VIDEO MODAL OVERLAY
   ========================================================================== */
.trailer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 2, 8, 0.9);
    backdrop-filter: blur(20px);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.trailer-modal.open {
    opacity: 1;
    visibility: visible;
}

.trailer-modal-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.trailer-modal.open .trailer-modal-content {
    transform: scale(1);
}

.trailer-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.trailer-modal-close:hover {
    background: var(--color-orange);
    color: var(--bg-base);
    border-color: var(--color-orange);
    transform: rotate(90deg);
}

.trailer-modal-content iframe {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    border: none;
}

/* ==========================================================================
   FEATURE CARD GRID SYSTEM & CSS PLACEHOLDERS
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 0;
}

/* Base Card Layout */
.feature-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

/* Theme Glow-on-Hover borders */
.feature-card[data-theme="gold"] {
    --card-accent: var(--color-gold);
    --card-accent-glow: var(--color-gold-glow);
}

.feature-card[data-theme="purple"] {
    --card-accent: var(--color-purple);
    --card-accent-glow: var(--color-purple-glow);
}

.feature-card[data-theme="orange"] {
    --card-accent: var(--color-orange);
    --card-accent-glow: var(--color-orange-glow);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 0;
    background: linear-gradient(135deg, var(--card-accent), transparent 60%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0.15;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 5;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--card-accent-glow);
    border-color: rgba(255, 255, 255, 0.15);
}

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

/* ==========================================================================
   CSS ILLUSTRATIVE PLACEHOLDERS & CARD IMAGES
   ========================================================================== */
.card-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: var(--z-base);
    transition: var(--transition-smooth);
}

.feature-card:hover .card-bg-img {
    transform: scale(1.06);
    filter: blur(3px) brightness(0.65);
}


.card-placeholder {
    display: none !important;
}

/* Abstract tech backdrop patterns inside placeholders */
.card-placeholder::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 220px;
    height: 220px;
    opacity: 0.12;
    background-image: linear-gradient(var(--card-accent) 1px, transparent 1px),
                      linear-gradient(90deg, var(--card-accent) 1px, transparent 1px);
    background-size: 15px 15px;
    transform: rotate(15deg);
    transition: var(--transition-smooth);
    border-radius: 50%;
}

.feature-card:hover .card-placeholder::after {
    opacity: 0.2;
    transform: scale(1.1) rotate(25deg);
}

/* Graphic Container inside Placeholder */
.graphic-box {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.feature-card:hover .graphic-box {
    transform: translateY(-50%) scale(1.05);
}

/* Card SVG Art details */
.svg-art {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px var(--card-accent));
}

.card-title-group {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    max-width: 60%;
}

.card-label {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: var(--text-primary);
}

/* Highlighting the gold theme titles or violet ones */
.feature-card[data-theme="gold"] .card-label {
    text-shadow: 0 0 12px rgba(255, 183, 0, 0.2);
}

.feature-card[data-theme="purple"] .card-label {
    text-shadow: 0 0 12px rgba(138, 43, 226, 0.2);
}

.feature-card[data-theme="orange"] .card-label {
    text-shadow: 0 0 12px rgba(255, 94, 0, 0.2);
}

/* Arrow indicators on bottom right of label */
.card-arrow {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin-top: 12px;
    font-size: 0.75rem;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.02);
}

.feature-card:hover .card-arrow {
    background: var(--card-accent);
    border-color: var(--card-accent);
    color: var(--bg-base);
    transform: translateX(4px);
    box-shadow: 0 0 10px var(--card-accent);
}

/* ==========================================================================
   DYNAMIC GLASSMORPHIC HOVER OVERLAYS (CTA BOXES)
   ========================================================================== */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 4, 18, 0.85);
    backdrop-filter: blur(12px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .card-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.overlay-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--card-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.overlay-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
}

.overlay-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bg-base);
    background: var(--card-accent);
    padding: 8px 18px;
    border-radius: 20px;
    box-shadow: 0 0 15px var(--card-accent-glow);
    transition: var(--transition-smooth);
}

.overlay-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--card-accent);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (GRID CARDS & OVERLAYS)
   ========================================================================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-card {
        height: auto;
    }
    
    .card-label {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 0;
    }
    
    .feature-card {
        height: auto;
    }
    
    .card-label {
        font-size: 1.5rem;
    }
    
    /* Since true hover doesn't translate on mobile screens, we allow touch-friendly styling */
    .card-overlay {
        /* Optimize overlay margins and padding on mobile */
        padding: 20px;
    }
}

/* ==========================================================================
   CYBERPUNK UNDER CONSTRUCTION GATE
   ========================================================================== */
.under-construction-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050209;
    background-image: radial-gradient(rgba(255, 94, 0, 0.04) 1.5px, transparent 0);
    background-size: 24px 24px;
    z-index: 10000; /* overlay above everything! */
    display: flex;
    align-items: center;
    justify-content: center;
}

.construction-panel {
    width: 90%;
    max-width: 500px;
    background: rgba(18, 8, 30, 0.75);
    border: 1px solid rgba(255, 94, 0, 0.25);
    box-shadow: 0 0 50px rgba(255, 94, 0, 0.15);
    border-radius: 12px;
    padding: 48px;
    text-align: center;
    backdrop-filter: blur(20px);
    position: relative;
}

.construction-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: rgba(255, 94, 0, 0.1);
    color: var(--color-orange);
    border: 1px solid rgba(255, 94, 0, 0.3);
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.construction-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.construction-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* ==========================================================================
   WATCH TRAILER BUTTON PULSE GLOW ANIMATION
   ========================================================================== */
.watch-trailer-trigger,
.watch-live-trigger,
.pulse-glow-gold {
    animation: goldPulseGlow 2.5s infinite alternate ease-in-out;
}

@keyframes goldPulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(255, 183, 0, 0.15), inset 0 0 5px rgba(255, 183, 0, 0.05);
        border-color: rgba(255, 183, 0, 0.5);
    }
    100% {
        box-shadow: 0 0 25px rgba(255, 183, 0, 0.45), inset 0 0 10px rgba(255, 183, 0, 0.15);
        border-color: rgba(255, 183, 0, 1);
    }
}

.feature-card.under-construction {
    cursor: not-allowed !important;
    pointer-events: none; /* Disable all clicks, hovers, and selections */
}

.feature-card.under-construction .card-bg-img {
    filter: grayscale(0.9) brightness(0.45) contrast(0.8);
}

.coming-soon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(14, 7, 23, 0.85);
    border: 1.5px solid var(--color-orange);
    color: var(--color-orange);
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    border-radius: 20px;
    box-shadow: 0 0 20px var(--color-orange-glow);
    z-index: 6;
    text-transform: uppercase;
    pointer-events: none;
    font-family: var(--font-primary);
    white-space: nowrap;
    text-align: center;
}

.feature-card.under-construction:hover {
    transform: none !important;
    box-shadow: none !important;
}
