/* ==========================================================================
   UK BALLISTA WARP DRIFT - Core Stylesheet
   Theme: Kinetic Space Warp & Acid Cyberpunk (100% Unique Visuals)
   Domain: ukballistawarpdrift.com
   ========================================================================== */

:root {
    --bg: #040406;
    --surface: #1a1f2c;
    --surface-border: rgba(180, 240, 108, 0.24);
    --primary: #b4f06c;
    --primary-hover: #b8f574;
    --accent: #f0407b;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(180, 240, 108, 0.12);
    --radius: 4px;
    --header-bg: rgba(4, 4, 6, 0.94);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --bwd-bg: var(--bg);
    --bwd-bg-gradient: radial-gradient(circle at 50% 0%, #1a1f2c 0%, #040406 70%);
    --bwd-surface: var(--surface);
    --bwd-surface-hover: #212838;
    --bwd-surface-alt: #0c0f16;
    --bwd-border: var(--surface-border);
    --bwd-border-light: rgba(255, 255, 255, 0.08);
    
    --bwd-primary: var(--primary);
    --bwd-primary-hover: var(--primary-hover);
    --bwd-cyan: #00f5d4;
    --bwd-cyan-glow: rgba(0, 245, 212, 0.25);
    --bwd-accent: var(--accent);
    
    --bwd-text-main: var(--text-main);
    --bwd-text-muted: var(--text-muted);
    --bwd-text-dim: #64748b;
    
    --bwd-font-heading: var(--font-heading);
    --bwd-font-body: var(--font-body);
    
    --bwd-radius-sm: var(--radius);
    --bwd-radius-md: 8px;
    --bwd-radius-lg: 12px;
    --bwd-radius-pill: 9999px;
    
    --bwd-shadow-card: var(--card-shadow);
    --bwd-shadow-glow: 0 0 24px rgba(180, 240, 108, 0.18);
    --bwd-shadow-btn: 0 4px 14px rgba(0, 0, 0, 0.35), 0 -2px 0 rgba(0, 0, 0, 0.2) inset;
    
    --bwd-container-max: 1240px;
    --bwd-transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body.bwd-body {
    background: var(--bwd-bg);
    background-image: var(--bwd-bg-gradient);
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--bwd-text-main);
    font-family: var(--bwd-font-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--bwd-font-heading);
    color: var(--bwd-text-main);
    line-height: 1.25;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--bwd-transition);
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
}

/* ==========================================================================
   Top 18+ Bar
   ========================================================================== */
.bwd-top-bar {
    background: #06070a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 16px;
    text-align: center;
    position: relative;
    z-index: 110;
}

.bwd-top-bar-inner {
    max-width: var(--bwd-container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bwd-age-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: var(--bwd-radius-pill);
    background: rgba(248, 72, 43, 0.16);
    border: 1.5px solid var(--bwd-accent);
    color: #ff6b52;
    font-family: var(--bwd-font-heading);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.bwd-top-bar-text {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--bwd-text-muted);
    letter-spacing: 0.2px;
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */
.bwd-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 10, 15, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(221, 240, 100, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

.bwd-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bwd-brand-img {
    height: 42px;
    width: auto;
    display: block;
}

.bwd-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.bwd-nav-item {
    font-size: 15px;
    font-weight: 600;
    color: var(--bwd-text-muted);
    text-transform: capitalize;
    padding: 6px 0;
    position: relative;
    transition: color var(--bwd-transition);
}

.bwd-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bwd-primary);
    transition: width var(--bwd-transition);
    border-radius: var(--bwd-radius-pill);
}

.bwd-nav-item:hover {
    color: var(--bwd-text-main);
}

.bwd-nav-item:hover::after {
    width: 100%;
}

.bwd-nav-close-btn {
    display: none;
    padding: 6px;
    color: var(--bwd-text-main);
}

.bwd-nav-burger-btn {
    display: none;
    padding: 8px;
    color: var(--bwd-text-main);
}

.bwd-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 101;
}

/* ==========================================================================
   Hero Header Section
   ========================================================================== */
.bwd-hero-header {
    padding: 60px 24px 36px 24px;
    text-align: center;
    position: relative;
}

.bwd-hero-container {
    max-width: 860px;
    margin: 0 auto;
}

.bwd-hero-title {
    font-size: clamp(28px, 4.2vw, 46px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 40%, var(--bwd-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bwd-hero-subtitle {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--bwd-text-muted);
    line-height: 1.6;
    margin: 0 auto;
}

/* ==========================================================================
   Ranked Games Catalog List
   ========================================================================== */
.bwd-catalog-main {
    flex: 1;
    padding: 10px 24px 70px 24px;
}

.bwd-catalog-container {
    max-width: var(--bwd-container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bwd-game-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 22px 28px;
    background: var(--bwd-surface);
    border: 1px solid var(--bwd-border);
    border-radius: var(--bwd-radius-lg);
    box-shadow: var(--bwd-shadow-card);
    transition: transform var(--bwd-transition), border-color var(--bwd-transition), box-shadow var(--bwd-transition);
}

.bwd-game-card:hover {
    transform: translateY(-3px);
    border-color: rgba(221, 240, 100, 0.45);
    box-shadow: var(--bwd-shadow-card), var(--bwd-shadow-glow);
}

/* Rank Circle Badge */
.bwd-card-rank-badge {
    position: absolute;
    top: -14px;
    left: 24px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.bwd-rank-circle {
    position: absolute;
    inset: 0;
    border-radius: var(--bwd-radius-pill);
    background: var(--bwd-primary);
    border: 2px solid #090a0f;
    box-shadow: 0 0 14px rgba(221, 240, 100, 0.7);
}

.bwd-rank-num {
    position: relative;
    z-index: 2;
    color: #090a0f;
    font-family: var(--bwd-font-heading);
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

/* Game Thumbnail */
.bwd-card-thumb {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: var(--bwd-radius-md);
    overflow: hidden;
    background: #0a0d16;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

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

.bwd-game-card:hover .bwd-thumb-img {
    transform: scale(1.05);
}

/* Game Info Column (Middle) */
.bwd-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bwd-card-rating-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bwd-rating-value {
    font-family: var(--bwd-font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.bwd-rating-meter {
    width: 120px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--bwd-radius-pill);
    overflow: hidden;
    position: relative;
}

.bwd-meter-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--bwd-primary) 0%, var(--bwd-cyan) 100%);
    border-radius: var(--bwd-radius-pill);
    box-shadow: 0 0 10px rgba(0, 245, 212, 0.5);
}

.bwd-card-game-title {
    font-size: 21px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.bwd-card-text {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.55;
    margin-bottom: 10px;
}

.bwd-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bwd-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--bwd-primary);
    background: rgba(221, 240, 100, 0.08);
    border: 1px solid rgba(221, 240, 100, 0.2);
    border-radius: var(--bwd-radius-sm);
    padding: 3px 10px;
    letter-spacing: 0.3px;
}

/* CTA Wrap (Right) */
.bwd-card-cta-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bwd-cta-box {
    display: flex;
    align-items: center;
}

.bwd-btn-play {
    width: 200px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bwd-primary) 0%, #bad926 100%);
    border: 2px solid #ffffff;
    border-radius: var(--bwd-radius-md);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 18px rgba(221, 240, 100, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bwd-btn-play span {
    color: #090a0f !important;
    font-family: var(--bwd-font-heading);
    font-size: 15.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.bwd-btn-play:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #f0ff85 0%, #caec2a 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 24px rgba(221, 240, 100, 0.7);
}

.bwd-btn-play:active {
    transform: translateY(0);
}

/* ==========================================================================
   Editorial Information Section & Legal Framework
   ========================================================================== */
.bwd-footer-section {
    background: #08090e;
    border-top: 1px solid rgba(221, 240, 100, 0.12);
    padding: 60px 24px 30px 24px;
    margin-top: auto;
}

.bwd-footer-content-wrap {
    max-width: var(--bwd-container-max);
    margin: 0 auto;
}

.bwd-editorial-block {
    margin-bottom: 40px;
}

.bwd-editorial-lead {
    font-size: 16.5px;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bwd-editorial-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--bwd-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.bwd-editorial-subheading {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 22px;
    margin-bottom: 8px;
}

.bwd-editorial-text {
    font-size: 14.5px;
    color: var(--bwd-text-muted);
    line-height: 1.68;
    margin-bottom: 18px;
}

/* Bottom Legal Bar */
.bwd-footer-bar {
    padding-top: 24px;
}

.bwd-footer-bar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.bwd-footer-bar-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.bwd-footer-copyright p {
    font-size: 14px;
    color: var(--bwd-text-dim);
    margin: 0;
}

.bwd-footer-legal-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.bwd-legal-link {
    font-size: 14px;
    color: var(--bwd-text-muted);
    transition: color var(--bwd-transition);
}

.bwd-legal-link:hover {
    color: var(--bwd-primary);
}

/* ==========================================================================
   Subpages Layout (Our Approach, Contact, Legal)
   ========================================================================== */
.bwd-subpage-main {
    flex: 1;
    padding: 50px 24px 80px 24px;
}

.bwd-subpage-container {
    max-width: 920px;
    margin: 0 auto;
    background: var(--bwd-surface);
    border: 1px solid var(--bwd-border);
    border-radius: var(--bwd-radius-lg);
    padding: 44px 48px;
    box-shadow: var(--bwd-shadow-card);
}

.bwd-subpage-title {
    font-size: clamp(28px, 3.8vw, 40px);
    margin-bottom: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 40%, var(--bwd-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bwd-subpage-subtitle {
    font-size: 22px;
    color: var(--bwd-primary);
    margin-top: 36px;
    margin-bottom: 14px;
}

.bwd-subpage-lead {
    font-size: 18px;
    color: #e2e8f0;
    line-height: 1.65;
    margin-bottom: 22px;
}

.bwd-subpage-text {
    font-size: 15.5px;
    color: var(--bwd-text-muted);
    line-height: 1.75;
    margin-bottom: 18px;
}

/* Criteria List in Our Approach */
.bwd-criteria-box {
    margin: 28px 0;
    background: rgba(9, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--bwd-radius-md);
    padding: 24px 30px;
}

.bwd-criteria-list {
    padding-left: 24px;
}

.bwd-criteria-item {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 18px;
}

.bwd-criteria-item:last-child {
    margin-bottom: 0;
}

.bwd-criteria-item strong {
    color: #ffffff;
}

/* Contact Page Styles */
.bwd-contact-direct {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 30px;
    padding: 14px 20px;
    background: rgba(221, 240, 100, 0.06);
    border: 1px solid rgba(221, 240, 100, 0.18);
    border-radius: var(--bwd-radius-sm);
}

.bwd-email-link {
    color: var(--bwd-primary);
    text-decoration: underline;
    font-weight: 600;
}

.bwd-contact-form-card {
    background: rgba(9, 10, 15, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--bwd-radius-md);
    padding: 30px;
}

.bwd-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.bwd-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bwd-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}

.bwd-form-input,
.bwd-form-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--bwd-radius-sm);
    background: #0c0f18;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    transition: border-color var(--bwd-transition), box-shadow var(--bwd-transition);
}

.bwd-form-input:focus,
.bwd-form-textarea:focus {
    outline: none;
    border-color: var(--bwd-primary);
    box-shadow: 0 0 0 3px rgba(221, 240, 100, 0.15);
}

.bwd-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--bwd-primary);
    border-radius: var(--bwd-radius-md);
    color: #090a0f;
    font-family: var(--bwd-font-heading);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--bwd-shadow-btn);
    transition: transform var(--bwd-transition), background var(--bwd-transition);
}

.bwd-btn-submit:hover {
    background: var(--bwd-primary-hover);
    transform: translateY(-2px);
}

.bwd-feedback-success {
    margin-top: 14px;
    padding: 12px 18px;
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid var(--bwd-cyan);
    border-radius: var(--bwd-radius-sm);
    color: #e2fef9;
    font-size: 14.5px;
}

/* Legal Documents Styling */
.bwd-legal-content h2 {
    font-size: 20px;
    color: #ffffff;
    margin-top: 32px;
    margin-bottom: 12px;
}

.bwd-legal-content ul {
    padding-left: 24px;
    margin-bottom: 20px;
}

.bwd-legal-content li {
    font-size: 15px;
    color: var(--bwd-text-muted);
    line-height: 1.7;
    margin-bottom: 10px;
}

.bwd-legal-meta {
    font-size: 13.5px;
    color: var(--bwd-text-dim);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bwd-legal-address-box {
    margin: 16px 0;
    padding: 16px 20px;
    background: rgba(9, 10, 15, 0.6);
    border-left: 3px solid var(--bwd-primary);
    border-radius: var(--bwd-radius-sm);
    font-size: 14.5px;
    color: #cbd5e1;
}

.bwd-inline-link {
    color: var(--bwd-primary);
    text-decoration: underline;
}

.bwd-disclaimer-card {
    background: rgba(221, 240, 100, 0.08);
    border: 1.5px solid var(--bwd-primary);
    border-radius: var(--bwd-radius-md);
    padding: 20px 24px;
    margin: 20px 0;
}

.bwd-disclaimer-quote {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

/* Cookie Inventory Table */
.bwd-table-responsive {
    overflow-x: auto;
    margin: 24px 0;
}

.bwd-cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.bwd-cookie-table th,
.bwd-cookie-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bwd-cookie-table th {
    background: rgba(221, 240, 100, 0.06);
    color: #ffffff;
    font-family: var(--bwd-font-heading);
    font-size: 13px;
    font-weight: 700;
}

.bwd-cookie-table td {
    color: #cbd5e1;
}

.bwd-cookie-table code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--bwd-primary);
    font-size: 13px;
}

.bwd-btn-reopen-cookies {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--bwd-radius-md);
    color: #ffffff;
    font-weight: 600;
    transition: all var(--bwd-transition);
}

.bwd-btn-reopen-cookies:hover {
    background: var(--bwd-primary);
    color: #090a0f;
    border-color: var(--bwd-primary);
}

/* ==========================================================================
   Age Gate Modal (18+ Requirement)
   ========================================================================== */
.bwd-age-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 6, 9, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bwd-age-gate-dialog {
    max-width: 440px;
    width: 100%;
    background: var(--bwd-surface);
    border: 1.5px solid var(--bwd-border);
    border-radius: var(--bwd-radius-lg);
    padding: 36px 32px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--bwd-shadow-glow);
    animation: bwdModalFadeIn 0.3s ease;
}

.bwd-age-gate-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

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

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

.bwd-age-btn {
    width: 100%;
    padding: 14px;
    border-radius: var(--bwd-radius-md);
    font-family: var(--bwd-font-heading);
    font-size: 14.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform var(--bwd-transition), background var(--bwd-transition);
}

.bwd-age-btn-confirm {
    background: var(--bwd-primary);
    color: #090a0f;
    box-shadow: var(--bwd-shadow-btn);
}

.bwd-age-btn-confirm:hover {
    background: var(--bwd-primary-hover);
    transform: translateY(-2px);
}

.bwd-age-btn-leave {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.bwd-age-btn-leave:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Rejection Notice Screen */
.bwd-age-gate-rejection {
    max-width: 440px;
    width: 100%;
    background: var(--bwd-surface);
    border: 1.5px solid var(--bwd-accent);
    border-radius: var(--bwd-radius-lg);
    padding: 36px 32px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.bwd-rejection-icon {
    margin: 0 auto 16px auto;
}

.bwd-rejection-text {
    font-size: 16px;
    color: #ff917f;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   Cookie Notice Floating Banner
   ========================================================================== */
.bwd-cookie-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 460px;
    background: rgba(18, 21, 34, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--bwd-border);
    border-radius: var(--bwd-radius-lg);
    padding: 22px 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    z-index: 900;
    display: none;
    flex-direction: column;
    gap: 16px;
    animation: bwdBannerSlideUp 0.35s ease;
}

.bwd-cookie-notice-title {
    font-family: var(--bwd-font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.bwd-cookie-notice-body {
    font-size: 13.5px;
    color: var(--bwd-text-muted);
    line-height: 1.5;
}

.bwd-cookie-notice-actions {
    display: flex;
    gap: 10px;
}

.bwd-cookie-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: var(--bwd-radius-pill);
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    transition: all var(--bwd-transition);
}

.bwd-cookie-btn-accept {
    background: var(--bwd-primary);
    color: #090a0f;
}

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

.bwd-cookie-btn-settings {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.bwd-cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* ==========================================================================
   Cookie Preferences Modal
   ========================================================================== */
.bwd-cookie-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1050;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bwd-cookie-modal-card {
    max-width: 520px;
    width: 100%;
    background: var(--bwd-surface);
    border: 1px solid var(--bwd-border);
    border-radius: var(--bwd-radius-lg);
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.bwd-cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.bwd-cookie-modal-title {
    font-size: 20px;
    color: #ffffff;
}

.bwd-modal-close-trigger {
    font-size: 28px;
    color: var(--bwd-text-muted);
    line-height: 1;
    padding: 0 4px;
}

.bwd-modal-close-trigger:hover {
    color: #ffffff;
}

.bwd-modal-intro {
    font-size: 14px;
    color: var(--bwd-text-muted);
    margin-bottom: 20px;
}

.bwd-cookie-pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 16px;
}

.bwd-pref-info strong {
    display: block;
    font-size: 14.5px;
    color: #ffffff;
    margin-bottom: 2px;
}

.bwd-pref-info p {
    font-size: 13px;
    color: var(--bwd-text-muted);
    margin: 0;
}

.bwd-toggle-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--bwd-primary);
    margin-left: 6px;
}

.bwd-cookie-modal-footer {
    margin-top: 24px;
    text-align: right;
}

.bwd-cookie-save-btn {
    padding: 12px 24px;
    background: var(--bwd-primary);
    border-radius: var(--bwd-radius-md);
    color: #090a0f;
    font-family: var(--bwd-font-heading);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    transition: background var(--bwd-transition);
}

.bwd-cookie-save-btn:hover {
    background: var(--bwd-primary-hover);
}

/* Animations */
@keyframes bwdModalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
    .bwd-game-card {
        flex-direction: column;
        align-items: stretch;
        padding: 28px 20px 22px 20px;
        gap: 18px;
    }

    .bwd-card-rank-badge {
        left: 20px;
        top: -14px;
    }

    .bwd-card-thumb {
        width: 100px;
        height: 100px;
    }

    .bwd-card-info {
        width: 100%;
    }

    .bwd-card-cta-wrap {
        width: 100%;
    }

    .bwd-btn-play {
        width: 100%;
    }

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

    .bwd-subpage-container {
        padding: 30px 20px;
    }

    .bwd-cookie-notice {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .bwd-nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #0d101a;
        border-left: 1px solid var(--bwd-border);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 28px 40px 28px;
        gap: 24px;
        z-index: 102;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
    }

    .bwd-nav-links.bwd-mobile-active {
        right: 0;
    }

    .bwd-nav-close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .bwd-nav-burger-btn {
        display: block;
    }

    .bwd-footer-bar-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}
