/* ==========================================================================
   Żelazo Warp Drift — Main Stylesheet
   Theme: Solar Flare & Cosmic Amber (#110f0d, #110f0c, #f45e11, #f97d1f)
   Typography: Russo One + Chakra Petch
   Unique CSS class prefix: zwd-
   ========================================================================== */

:root {
    --bg: #110f0d;
    --surface: #110f0c;
    --surface-border: rgba(244, 94, 17, 0.24);
    --primary: #f45e11;
    --primary-hover: #fb6707;
    --accent: #f97d1f;
    --text-main: #fffaf5;
    --text-muted: #a89f97;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(244, 94, 17, 0.12);
    --radius: 12px;
    --header-bg: rgba(17, 15, 13, 0.94);
    --font-heading: 'Russo One', sans-serif;
    --font-body: 'Chakra Petch', sans-serif;

    --zwd-bg: var(--bg);
    --zwd-bg-darker: #0a0907;
    --zwd-surface: #181410;
    --zwd-surface-card: var(--surface);
    --zwd-surface-hover: #211b15;
    --zwd-border: var(--surface-border);
    --zwd-border-highlight: rgba(244, 94, 17, 0.55);
    --zwd-neon-lime: var(--primary);
    --zwd-neon-yellow: var(--accent);
    --zwd-neon-gold: var(--accent);
    --zwd-cyan: var(--primary);
    --zwd-cyan-light: var(--accent);
    --zwd-text-light: var(--text-main);
    --zwd-text-muted: var(--text-muted);
    --zwd-text-dim: #8c827a;
    --zwd-font-main: var(--font-body);
    --zwd-font-heading: var(--font-heading);
    --zwd-radius-sm: 8px;
    --zwd-radius-md: var(--radius);
    --zwd-radius-lg: var(--radius);
    --zwd-radius-pill: 9999px;
    --zwd-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body.zwd-body {
    background-color: var(--bg);
    background-image:
        radial-gradient(circle at 20% 10%, rgba(244, 94, 17, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(249, 125, 31, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #110f0d 0%, #090806 100%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Top 18+ Disclaimer Bar
   ========================================================================== */
.zwd-top-bar {
    background: var(--header-bg);
    border-bottom: 1px solid var(--surface-border);
    color: var(--text-muted);
    width: 100%;
    padding: 9px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 500;
    z-index: 40;
}

.zwd-top-bar-badge {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.zwd-top-bar-text {
    line-height: 1.3;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.zwd-navbar {
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
}

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

.zwd-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.zwd-brand-link:hover {
    opacity: 0.9;
}

.zwd-brand-logo {
    height: 40px;
    width: 40px;
    display: block;
}

.zwd-brand-name {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-main);
    letter-spacing: 0.4px;
}

.zwd-desktop-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.zwd-nav-link {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    position: relative;
    padding: 6px 0;
    transition: var(--zwd-transition);
}

.zwd-nav-link:hover {
    color: var(--primary);
}

.zwd-nav-link.zwd-nav-active {
    color: var(--accent);
}

.zwd-nav-link.zwd-nav-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Mobile Hamburger Button */
.zwd-burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 60;
}

.zwd-burger-line {
    width: 100%;
    height: 2.5px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--zwd-transition);
}

/* Mobile Drawer */
.zwd-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 70;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.zwd-drawer-overlay.zwd-drawer-open {
    opacity: 1;
    pointer-events: auto;
}

.zwd-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: var(--bg);
    border-left: 1px solid var(--surface-border);
    z-index: 80;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.zwd-mobile-drawer.zwd-drawer-open {
    right: 0;
}

.zwd-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.zwd-drawer-logo {
    height: 36px;
    width: 36px;
}

.zwd-drawer-close {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.zwd-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zwd-drawer-link {
    color: var(--text-main);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: var(--zwd-radius-sm);
    transition: var(--zwd-transition);
}

.zwd-drawer-link:hover, .zwd-drawer-link-active {
    background: rgba(244, 94, 17, 0.14);
    color: var(--primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.zwd-hero {
    padding: 50px 20px 30px;
    text-align: center;
    position: relative;
}

.zwd-hero-content {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.zwd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(244, 94, 17, 0.14);
    border: 1px solid var(--surface-border);
    border-radius: var(--zwd-radius-pill);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.zwd-badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
    animation: zwdPulse 2s infinite;
}

@keyframes zwdPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.zwd-hero-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--text-main);
    letter-spacing: 0.2px;
}

.zwd-hero-subtitle {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 760px;
}

/* ==========================================================================
   Main Catalog & Game Cards
   ========================================================================== */
.zwd-main {
    flex: 1 0 auto;
    padding: 20px 20px 60px;
}

.zwd-cards-wrapper {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.zwd-card {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    padding: 18px 24px;
    gap: 24px;
    box-shadow: var(--card-shadow);
    transition: var(--zwd-transition);
}

.zwd-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55), 0 0 18px rgba(244, 94, 17, 0.24);
}

/* Rank Badge */
.zwd-card-rank {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 36px;
    height: 36px;
    background: var(--primary);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #110f0d;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), 0 0 10px rgba(244, 94, 17, 0.4);
    z-index: 5;
}

/* Media Thumbnail */
.zwd-card-media {
    flex-shrink: 0;
    width: 160px;
    height: 102px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--surface-border);
    background: #0a0907;
}

.zwd-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.zwd-card:hover .zwd-card-img {
    transform: scale(1.06);
}

/* Details */
.zwd-card-details {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zwd-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.zwd-score-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.zwd-score-val {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary);
}

.zwd-score-stars {
    color: var(--accent);
    font-size: 14px;
    letter-spacing: 2px;
}

.zwd-tag-badge {
    background: rgba(244, 94, 17, 0.12);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--zwd-radius-pill);
    border: 1px solid var(--surface-border);
}

.zwd-card-heading {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    color: var(--text-main);
}

.zwd-card-summary {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.zwd-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.zwd-feature-chip {
    font-size: 12px;
    color: var(--text-main);
    background: rgba(244, 94, 17, 0.14);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid var(--surface-border);
}

/* Play Now Button */
.zwd-card-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zwd-btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 50px;
    border-radius: var(--radius);
    border: 1px solid var(--accent);
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #110f0d;
    font-family: var(--font-heading);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(244, 94, 17, 0.35);
    transition: var(--zwd-transition);
}

.zwd-btn-play:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(244, 94, 17, 0.55);
}

/* ==========================================================================
   Page Header & Content Cards (for subpages)
   ========================================================================== */
.zwd-page-header {
    padding: 40px 20px 20px;
    text-align: center;
}

.zwd-page-header-container {
    max-width: 800px;
    margin: 0 auto;
}

.zwd-page-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--text-main);
    margin-bottom: 12px;
}

.zwd-page-lead {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

.zwd-page-main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 20px 60px;
    width: 100%;
}

.zwd-content-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    padding: 36px 40px;
    box-shadow: var(--card-shadow);
}

/* Subpage articles */
.zwd-article-block {
    margin-bottom: 36px;
}

.zwd-article-heading {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 16px;
    border-bottom: 1px solid var(--surface-border);
    padding-bottom: 8px;
}

.zwd-article-paragraph {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 14px;
}

/* 4 Pillars Grid (Our Approach) */
.zwd-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.zwd-pillar-item {
    background: rgba(17, 15, 13, 0.75);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    gap: 16px;
    transition: var(--zwd-transition);
}

.zwd-pillar-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.zwd-pillar-number {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary);
    line-height: 1;
}

.zwd-pillar-body {
    flex: 1;
}

.zwd-pillar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.zwd-pillar-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Notice box */
.zwd-notice-box {
    background: rgba(17, 15, 13, 0.85);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: var(--zwd-radius-sm);
}

.zwd-notice-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zwd-notice-list li {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.zwd-notice-list li strong {
    color: var(--text-main);
}

.zwd-approach-cta {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--surface-border);
}

.zwd-approach-cta-text {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 16px;
}

.zwd-btn-cta-inline {
    width: 240px;
    margin: 0 auto;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.zwd-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 32px;
}

.zwd-contact-info-card, .zwd-contact-form-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--card-shadow);
}

.zwd-contact-info-title, .zwd-form-heading {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 16px;
}

.zwd-contact-info-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.zwd-contact-channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zwd-contact-channel-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: rgba(17, 15, 13, 0.7);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
}

.zwd-channel-icon {
    font-size: 20px;
    color: var(--primary);
    line-height: 1;
}

.zwd-channel-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zwd-channel-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.zwd-channel-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    word-break: break-all;
    transition: var(--zwd-transition);
}

.zwd-channel-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.zwd-channel-val {
    color: var(--text-main);
    font-size: 13.5px;
    line-height: 1.4;
}

/* Contact Form Elements */
.zwd-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.zwd-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.zwd-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.zwd-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.zwd-req {
    color: #ff5252;
}

.zwd-input, .zwd-textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(17, 15, 13, 0.85);
    border: 1px solid var(--surface-border);
    border-radius: var(--zwd-radius-sm);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--zwd-transition);
}

.zwd-input:focus, .zwd-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(244, 94, 17, 0.25);
}

.zwd-input::placeholder, .zwd-textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.zwd-form-group-checkbox {
    margin-top: 4px;
}

.zwd-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.zwd-checkbox-container input {
    margin-top: 3px;
    cursor: pointer;
}

.zwd-inline-link {
    color: var(--accent);
    text-decoration: underline;
}

.zwd-inline-link:hover {
    color: var(--primary);
}

.zwd-btn-form-submit {
    width: 100%;
    height: 48px;
    margin-top: 8px;
}

.zwd-form-alert {
    padding: 14px;
    border-radius: var(--zwd-radius-sm);
    font-size: 14px;
    line-height: 1.5;
}

.zwd-form-alert-success {
    background: rgba(244, 94, 17, 0.15);
    border: 1px solid var(--primary);
    color: var(--text-main);
}

/* ==========================================================================
   Legal Pages (Terms, Privacy, Cookies)
   ========================================================================== */
.zwd-legal-article {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.zwd-legal-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zwd-legal-h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-main);
    border-left: 3px solid var(--primary);
    padding-left: 12px;
}

.zwd-legal-article p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.7;
}

.zwd-legal-list {
    list-style: disc;
    padding-left: 24px;
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Legal Table */
.zwd-cookies-table-wrapper {
    overflow-x: auto;
    margin: 14px 0;
}

.zwd-legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid var(--surface-border);
    border-radius: var(--zwd-radius-sm);
    overflow: hidden;
}

.zwd-legal-table th {
    background: rgba(17, 15, 13, 0.95);
    color: var(--text-main);
    font-weight: 700;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 2px solid var(--surface-border);
}

.zwd-legal-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--surface-border);
}

.zwd-legal-table tr:last-child td {
    border-bottom: none;
}

.zwd-legal-table code {
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--primary);
    font-family: monospace;
}

.zwd-cookie-action-box {
    margin-top: 10px;
}

.zwd-btn-cookie-action {
    width: 260px;
}

/* ==========================================================================
   Footer & Editorial Disclaimer Card
   ========================================================================== */
.zwd-footer {
    background: #0a0907;
    border-top: 1px solid var(--surface-border);
    padding: 50px 20px 30px;
    margin-top: auto;
}

.zwd-footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.zwd-editorial-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.zwd-editorial-lead {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
}

.zwd-editorial-section-title {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 6px;
}

.zwd-editorial-sub-title {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--text-main);
    margin-top: 4px;
}

.zwd-editorial-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-muted);
}

.zwd-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--surface-border);
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.zwd-footer-copy {
    color: var(--text-muted);
    font-size: 13px;
}

.zwd-footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.zwd-footer-nav-link {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: var(--zwd-transition);
}

.zwd-footer-nav-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.zwd-footer-cookie-trigger {
    background: none;
    border: none;
    padding: 0;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    transition: var(--zwd-transition);
}

.zwd-footer-cookie-trigger:hover {
    color: var(--primary);
}

/* ==========================================================================
   18+ Age Gate Overlay (Modal)
   ========================================================================== */
.zwd-age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 15, 13, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.zwd-age-overlay.zwd-age-visible {
    opacity: 1;
    pointer-events: auto;
}

.zwd-age-modal-box {
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    max-width: 480px;
    width: 100%;
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(244, 94, 17, 0.25);
    position: relative;
}

.zwd-age-badge-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.zwd-age-heading {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--text-main);
    margin-bottom: 12px;
}

.zwd-age-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.zwd-age-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zwd-age-btn-primary {
    width: 100%;
    height: 48px;
    background: var(--primary);
    border: 1px solid var(--accent);
    border-radius: var(--zwd-radius-pill);
    color: #110f0d;
    font-family: var(--font-heading);
    font-size: 15px;
    cursor: pointer;
    transition: var(--zwd-transition);
}

.zwd-age-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(244, 94, 17, 0.5);
}

.zwd-age-btn-secondary {
    width: 100%;
    height: 44px;
    background: transparent;
    border: 1px solid var(--surface-border);
    border-radius: var(--zwd-radius-pill);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--zwd-transition);
}

.zwd-age-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.zwd-age-denied {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 10px;
}

.zwd-age-denied-icon {
    font-size: 40px;
    color: #ff5252;
}

.zwd-age-denied-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-main);
}

.zwd-age-denied-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================================================
   Floating Cookie Banner & Preferences Modal
   ========================================================================== */
.zwd-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 820px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    z-index: 900;
    padding: 20px 24px;
    display: none;
    animation: zwdSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.zwd-cookie-banner.zwd-banner-visible {
    display: block;
}

@keyframes zwdSlideUp {
    from { transform: translate(-50%, 30px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

.zwd-cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.zwd-cookie-text-box {
    flex: 1 1 380px;
}

.zwd-cookie-title {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 4px;
}

.zwd-cookie-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.zwd-cookie-btn-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.zwd-cookie-btn {
    height: 40px;
    padding: 0 18px;
    border-radius: var(--zwd-radius-pill);
    font-family: var(--font-heading);
    font-size: 13px;
    cursor: pointer;
    transition: var(--zwd-transition);
}

.zwd-cookie-btn-accept {
    background: var(--primary);
    border: 1px solid var(--accent);
    color: #110f0d;
}

.zwd-cookie-btn-accept:hover {
    background: var(--primary-hover);
}

.zwd-cookie-btn-reject {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--surface-border);
    color: var(--text-main);
}

.zwd-cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.14);
}

.zwd-cookie-btn-manage {
    background: transparent;
    border: none;
    color: var(--accent);
    text-decoration: underline;
    padding: 0 10px;
}

.zwd-cookie-btn-manage:hover {
    color: var(--primary);
}

/* Cookie Modal Backdrop */
.zwd-cookie-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.zwd-cookie-modal-backdrop.zwd-modal-visible {
    display: flex;
}

.zwd-cookie-modal-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    max-width: 580px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.zwd-cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--surface-border);
}

.zwd-cookie-modal-heading {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-main);
}

.zwd-cookie-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}

.zwd-cookie-modal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.zwd-cookie-modal-intro {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.zwd-cookie-toggle-row {
    background: rgba(17, 15, 13, 0.7);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.zwd-cookie-toggle-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.zwd-cookie-toggle-info strong {
    font-size: 14px;
    color: var(--text-main);
}

.zwd-cookie-toggle-info span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.zwd-cookie-always-active {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
}

/* Custom Switch */
.zwd-switch-label {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    flex-shrink: 0;
}

.zwd-switch-label input {
    opacity: 0;
    width: 0;
    height: 0;
}

.zwd-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3d352e;
    transition: 0.3s;
    border-radius: 24px;
}

.zwd-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.zwd-switch-label input:checked + .zwd-slider {
    background-color: var(--primary);
}

.zwd-switch-label input:checked + .zwd-slider:before {
    transform: translateX(22px);
    background-color: #110f0d;
}

.zwd-cookie-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 24px;
    border-top: 1px solid var(--surface-border);
    background: var(--bg);
}

/* Scroll to top */
.zwd-scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 50%;
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: var(--zwd-transition);
}

.zwd-scroll-top-btn.zwd-scroll-active {
    display: flex;
}

.zwd-scroll-top-btn:hover {
    background: var(--primary);
    color: #110f0d;
    transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
    .zwd-desktop-menu {
        display: none;
    }

    .zwd-burger-btn {
        display: flex;
    }

    .zwd-card {
        flex-direction: column;
        align-items: stretch;
        padding: 24px 20px 20px;
    }

    .zwd-card-media {
        width: 100%;
        height: 180px;
    }

    .zwd-btn-play {
        width: 100%;
        margin-top: 8px;
    }

    .zwd-pillars-grid {
        grid-template-columns: 1fr;
    }

    .zwd-contact-grid {
        grid-template-columns: 1fr;
    }

    .zwd-hero-title {
        font-size: 30px;
    }

    .zwd-footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .zwd-footer-links {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .zwd-content-card {
        padding: 24px 18px;
    }

    .zwd-editorial-card {
        padding: 20px 16px;
    }

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

    .zwd-cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .zwd-cookie-btn-group {
        width: 100%;
    }

    .zwd-cookie-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}
