/* ── Design Tokens ─────────────────────────────────────── */
:root {
    --bg-dark: #09090b;
    --bg-surface: #18181b;
    --text-main: #fafafa;
    --text-muted: #a1a1aa;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --accent-1: #a78bfa;      /* violet */
    --accent-2: #818cf8;      /* indigo */
    --accent-3: #38bdf8;      /* sky */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-blur: 16px;
    --radius: 16px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ──────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
    padding-top: 57px;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.text-muted { color: var(--text-muted) !important; }

/* ── Floating Nav ─────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--border);
}

.site-nav .navbar-brand {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    color: var(--text-main) !important;
    transition: opacity var(--transition);
}
.site-nav .navbar-brand:hover { opacity: 0.8; }

.site-nav .nav-link {
    color: var(--text-muted) !important;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}
.site-nav .nav-link:hover {
    color: var(--text-main) !important;
    background: rgba(255, 255, 255, 0.05);
}

/* ── Hero ──────────────────────────────────────────────── */
.hero-section {
    position: relative;
    padding: 8rem 2rem 6rem;
    text-align: center;
    overflow: hidden;
}

/* Animated gradient orbs */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    animation: float 12s ease-in-out infinite alternate;
}
.hero-section::before {
    width: 500px; height: 500px;
    background: var(--accent-1);
    top: -150px; left: -100px;
}
.hero-section::after {
    width: 400px; height: 400px;
    background: var(--accent-3);
    bottom: -100px; right: -50px;
    animation-delay: -6s;
}

@keyframes float {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.1); }
}

.hero-logo {
    position: relative;
    max-width: 600px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    animation: fadeUp 0.8s ease-out both;
}

.hero-tagline {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    animation: fadeUp 0.8s 0.15s ease-out both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Section container ────────────────────────────────── */
.content-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-1);
    margin-bottom: 0.75rem;
}

/* ── Glass Cards ──────────────────────────────────────── */
.modern-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    height: 100%;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
    border-color: var(--border-hover);
}

.modern-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

/* Status badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-2);
    background: rgba(129, 140, 248, 0.08);
    border: 1px solid rgba(129, 140, 248, 0.15);
    border-radius: 100px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1.25rem;
}

.status-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

.status-badge--coming-soon {
    color: var(--accent-3);
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.15);
}
.status-badge--coming-soon::before { background: var(--accent-3); }

.modern-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* ── Button ───────────────────────────────────────────── */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 1.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    margin-top: 1.5rem;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(167, 139, 250, 0.3);
    color: #fff;
    text-decoration: none;
    opacity: 0.92;
}

.btn-modern svg {
    width: 14px; height: 14px;
    transition: transform var(--transition);
}
.btn-modern:hover svg { transform: translateX(3px); }

.btn-modern--outline {
    background: transparent;
    border: 2px solid var(--accent-1);
    color: var(--accent-1);
}
.btn-modern--outline:hover {
    background: var(--accent-1);
    color: #fff;
    box-shadow: 0 8px 24px rgba(167, 139, 250, 0.3);
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.5rem;
}
.card-actions .btn-modern { margin-top: 0; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}
.site-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}
.site-footer a:hover { color: var(--text-main); }

/* -- Word Whiz: navbar + footer overrides (only on /word-whiz) -------------- */
body.page-word-whiz .site-nav {
    background: rgba(52, 24, 4, 0.96);
    border-bottom-color: rgba(184, 122, 5, 0.3);
}
body.page-word-whiz .site-nav .navbar-brand {
    color: #F5EDD8 !important;
}
body.page-word-whiz .site-nav .nav-link {
    color: rgba(245, 237, 216, 0.7) !important;
}
body.page-word-whiz .site-nav .nav-link:hover {
    color: #F5EDD8 !important;
    background: rgba(184, 122, 5, 0.18);
}
body.page-word-whiz .site-nav .dropdown-menu {
    background: rgba(52, 24, 4, 0.97);
    border-color: rgba(184, 122, 5, 0.25);
}
body.page-word-whiz .site-nav .dropdown-item {
    color: rgba(245, 237, 216, 0.7);
}
body.page-word-whiz .site-nav .dropdown-item:hover,
body.page-word-whiz .site-nav .dropdown-item:focus {
    color: #F5EDD8;
    background: rgba(184, 122, 5, 0.18);
}
body.page-word-whiz .site-footer {
    background: rgba(42, 18, 2, 0.97);
    border-top-color: rgba(184, 122, 5, 0.3);
    color: rgba(245, 237, 216, 0.6);
}
body.page-word-whiz .site-footer a {
    color: rgba(245, 237, 216, 0.6);
}
body.page-word-whiz .site-footer a:hover {
    color: #F5EDD8;
}

/* ── Privacy / Content Pages ──────────────────────────── */
.page-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}
.page-content h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* ── Utilities ────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-section { padding: 5rem 1.5rem 3.5rem; }
    .hero-logo { max-width: 420px; }
    .content-section { padding: 2.5rem 1rem 3rem; }
    .modern-card { padding: 2rem; }
}

/* -- Nav Dropdown ----------------------------------------------------------- */
.site-nav .dropdown-menu {
    background: rgba(9, 9, 11, 0.92);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 180px;
}

.site-nav .dropdown-item {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    padding: 0.45rem 0.9rem;
    transition: color var(--transition), background var(--transition);
}
.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.07);
}

.site-nav .nav-link.dropdown-toggle::after {
    vertical-align: 0.15em;
}

/* -- Word Whiz Design Tokens ----------------------------------------------- */
/* Colors matched to the Word Whiz game: amber tiles, teal Submit btn, terracotta End Round btn */
/* Light-theme variable overrides: everything inside .ww-page uses these instead of the dark :root values */
.ww-page {
    /* Brand palette */
    --ww-primary:   #B87A05;  /* amber (darkened slightly for AA contrast on parchment) */
    --ww-secondary: #177070;  /* teal  (darkened for contrast on light bg)              */
    --ww-accent:    #B04010;  /* terracotta (darkened for contrast on light bg)         */
    --ww-glow-a:    rgba(184, 122, 5, 0.25);
    --ww-glow-b:    rgba(23, 112, 112, 0.2);

    /* Override global dark tokens with warm light equivalents */
    --text-main:    #2C1A06;  /* dark brown  — readable on parchment */
    --text-muted:   #6B4C2A;  /* medium brown */
    --border:       rgba(139, 90, 30, 0.18);
    --border-hover: rgba(139, 90, 30, 0.38);
    --glass-bg:     rgba(255, 248, 235, 0.7);  /* warm white card surface */
    --radius: 16px;

    /* Page background: parchment linen matching the game's off-white UI */
    background: #F5EDD8;
    /* Extend the background behind the fixed navbar area too */
    min-height: 100vh;
}

/* -- WW Hero --------------------------------------------------------------- */
.ww-hero {
    position: relative;
    padding: 7rem 2rem 5rem;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #EDD9A3 0%, #F5EDD8 60%);
}

.ww-hero::before,
.ww-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.12;
    animation: float 14s ease-in-out infinite alternate;
    pointer-events: none;
}
.ww-hero::before {
    width: 480px; height: 480px;
    background: var(--ww-primary);
    top: -180px; left: -80px;
}
.ww-hero::after {
    width: 360px; height: 360px;
    background: var(--ww-secondary);
    bottom: -120px; right: -40px;
    animation-delay: -7s;
}

.ww-hero-logo {
    position: relative;
    display: block;
    width: auto;
    max-width: 340px;
    height: auto;
    margin: 0 auto 1.75rem;
    animation: fadeUp 0.7s ease-out both;
}

.ww-tagline {
    position: relative;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeUp 0.7s 0.1s ease-out both;
}

.ww-hero-buttons {
    position: relative;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.7s 0.2s ease-out both;
}

.btn-ww-store {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--ww-primary), var(--ww-secondary));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    box-shadow: 0 4px 20px var(--ww-glow-a);
}
.btn-ww-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--ww-glow-a);
    color: #fff;
    opacity: 0.92;
}

.btn-ww-pro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 86, 26, 0.1);
    color: var(--ww-accent);
    border: 1px solid rgba(196, 86, 26, 0.35);
    border-radius: 10px;
    padding: 0.75rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-ww-pro:hover {
    transform: translateY(-2px);
    background: rgba(196, 86, 26, 0.18);
    box-shadow: 0 8px 28px rgba(196, 86, 26, 0.2);
    color: var(--ww-accent);
}

/* -- WW Sections ----------------------------------------------------------- */
.ww-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    border-top: 1px solid var(--border);
}

.ww-section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ww-secondary);
    margin-bottom: 0.5rem;
}

.ww-section h2 {
    font-size: 1.85rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--ww-primary), var(--ww-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* -- Feature List ---------------------------------------------------------- */
.ww-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.ww-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.ww-feature-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ww-primary), var(--ww-secondary));
    flex-shrink: 0;
}

/* -- Pro Upgrade Section --------------------------------------------------- */
.ww-pro-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    border-top: 1px solid var(--border);
}

.ww-pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(196, 86, 26, 0.1);
    border: 1px solid rgba(196, 86, 26, 0.3);
    border-radius: 100px;
    padding: 0.3rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ww-accent);
    margin-bottom: 0.75rem;
}

.ww-pro-section h2 {
    font-size: 1.85rem;
    margin-bottom: 1.5rem;
    color: var(--ww-accent);
    -webkit-text-fill-color: var(--ww-accent);
}

.ww-pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.ww-pro-card {
    background: linear-gradient(135deg, rgba(196, 86, 26, 0.04), rgba(196, 86, 26, 0.08));
    border: 1px solid rgba(196, 86, 26, 0.15);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: transform var(--transition), border-color var(--transition);
}
.ww-pro-card:hover {
    transform: translateY(-3px);
    border-color: rgba(196, 86, 26, 0.28);
}

.ww-pro-card h3 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ww-accent);
    margin-bottom: 1rem;
}

.ww-pro-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.ww-pro-card ul li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.ww-pro-card ul li::before {
    content: '\2726';
    font-size: 0.55rem;
    color: var(--ww-accent);
    flex-shrink: 0;
}

/* -- Screenshot Gallery ---------------------------------------------------- */
.ww-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.ww-screenshot {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(255, 248, 235, 0.85);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: transform var(--transition), border-color var(--transition);
}
.ww-screenshot:hover {
    transform: translateY(-3px);
    border-color: rgba(26, 140, 140, 0.35);
}

.ww-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* -- Version History ------------------------------------------------------- */
.ww-changelog {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ww-changelog li {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.ww-changelog .ww-version-tag {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--ww-accent);
    background: rgba(196, 86, 26, 0.08);
    border: 1px solid rgba(196, 86, 26, 0.2);
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
    min-width: 68px;
    text-align: center;
}

.ww-changelog .ww-version-notes {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    padding-top: 0.15rem;
}

/* -- Status badge: Available Now ------------------------------------------- */
.status-badge--available {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.08);
    border-color: rgba(74, 222, 128, 0.15);
}
.status-badge--available::before { background: #4ade80; }

/* -- Status badge: Live ----------------------------------------------------- */
.status-badge--live {
    color: #34d399;
    background: rgba(52, 211, 153, 0.08);
    border-color: rgba(52, 211, 153, 0.18);
}
.status-badge--live::before { background: #34d399; }

/* -- Support / Policy content pages ---------------------------------------- */
.policy-section {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.policy-section h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-section .policy-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    -webkit-text-fill-color: var(--text-main);
}

.policy-section p,
.policy-section li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.policy-section ul {
    padding-left: 1.5rem;
}

.policy-section a {
    color: var(--accent-2);
    text-decoration: none;
}
.policy-section a:hover {
    color: var(--accent-1);
    text-decoration: underline;
}

.policy-section hr {
    border-color: var(--border);
    margin: 2rem 0;
}

/* -- Support FAQ ----------------------------------------------------------- */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--border-hover); }

.faq-question {
    width: 100%;
    background: var(--glass-bg);
    border: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 1rem 1.25rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background var(--transition);
}
.faq-question:hover { background: rgba(255,255,255,0.04); }

.faq-question .faq-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    padding: 0 1.25rem 1rem;
}

/* -- Responsive adjustments for WW ---------------------------------------- */
@media (max-width: 768px) {
    .ww-hero { padding: 5rem 1.25rem 3.5rem; }
    .ww-pro-grid { grid-template-columns: 1fr; }
    .ww-gallery { grid-template-columns: 1fr 1fr; }
    .ww-section h2 { font-size: 1.5rem; }
    .ww-pro-section h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .ww-gallery { grid-template-columns: 1fr; }
    .ww-changelog li { flex-direction: column; gap: 0.4rem; }
}

/* -- WW Hero Headline & Image ---*/
.ww-hero-headline{position:relative;font-size:2.5rem;font-weight:700;color:var(--text-main);-webkit-text-fill-color:var(--text-main);max-width:720px;margin:0 auto 1rem;letter-spacing:-0.03em;line-height:1.15;animation:fadeUp 0.7s 0.05s ease-out both;}
.ww-hero-img{position:relative;display:block;max-width:min(95vw,1400px);width:100%;max-height:80vh;object-fit:contain;height:auto;margin:2.5rem auto 0;border-radius:0;border:none;box-shadow:none;animation:fadeUp 0.8s 0.25s ease-out both;background:transparent;}
.ww-screenshot-carousel{position:relative;max-width:min(95vw,1400px);margin:7.5rem auto 0;animation:fadeUp 0.8s 0.3s ease-out both;}
.ww-screenshot-carousel .carousel-inner{min-height:80vh;border-radius:var(--radius);border:1px solid var(--border);box-shadow:0 12px 28px rgba(100,60,10,.14);overflow:hidden;background:rgba(255,255,255,.45);}
.ww-screenshot-carousel .carousel-item{min-height:80vh;padding:0 4.5rem;text-align:center;}
.ww-screenshot-carousel-img{display:inline-block;width:auto;max-width:100%;height:80vh;object-fit:contain;margin:0 auto;background:rgba(255,255,255,.45);}
.ww-screenshot-carousel .carousel-indicators{margin-bottom:-2rem;}
.ww-screenshot-carousel .carousel-indicators [data-bs-target]{width:.65rem;height:.65rem;border-radius:50%;background-color:rgba(107,70,20,.45);border:0;}
.ww-screenshot-carousel .carousel-indicators .active{background-color:var(--ww-primary);}
.ww-screenshot-carousel .carousel-control-prev,.ww-screenshot-carousel .carousel-control-next{width:4.5rem;}
.ww-screenshot-carousel .carousel-control-prev-icon,.ww-screenshot-carousel .carousel-control-next-icon{background-color:rgba(58,35,12,.45);border-radius:50%;padding:1.05rem;background-size:55%;}
.btn-ww-outline{display:inline-flex;align-items:center;gap:8px;background:transparent;color:var(--text-main);border:1px solid var(--border-hover);border-radius:10px;padding:.75rem 1.75rem;font-size:.875rem;font-weight:600;text-decoration:none;transition:transform var(--transition),border-color var(--transition),background var(--transition);}
.btn-ww-outline:hover{transform:translateY(-2px);background:rgba(184,122,5,.08);border-color:rgba(139,90,30,.45);color:var(--text-main);}
.btn-ww-white{display:inline-flex;align-items:center;gap:8px;background:#fff;color:var(--ww-primary);border:none;border-radius:10px;padding:.75rem 2rem;font-size:.9rem;font-weight:700;text-decoration:none;transition:transform var(--transition),box-shadow var(--transition);}
.btn-ww-white:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.25);color:var(--ww-primary);}
/* -- How to Play Steps ---*/ 
.ww-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;counter-reset:ww-step;}
.ww-step{position:relative;background:rgba(255,248,235,0.85);border:1px solid var(--border);border-radius:var(--radius);padding:1.75rem 1.5rem 1.5rem;counter-increment:ww-step;transition:border-color var(--transition),transform var(--transition);box-shadow:0 2px 8px rgba(100,60,10,.07);}
.ww-step:hover{border-color:var(--border-hover);transform:translateY(-3px);}
.ww-step::before{content:counter(ww-step);display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--ww-primary),var(--ww-secondary));color:#fff;font-size:.85rem;font-weight:700;margin-bottom:1rem;}
.ww-step h3{font-size:1rem;font-weight:600;margin-bottom:.5rem;color:var(--text-main);-webkit-text-fill-color:var(--text-main);}
.ww-step p{color:var(--text-muted);font-size:.875rem;line-height:1.7;margin:0;}
/* -- Feature Grid ---*/ 
.ww-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;}
.ww-feature-card{background:rgba(255,248,235,0.85);border:1px solid var(--border);border-radius:var(--radius);padding:1.75rem;transition:border-color var(--transition),transform var(--transition);box-shadow:0 2px 8px rgba(100,60,10,.07);}
.ww-feature-card:hover{border-color:var(--border-hover);transform:translateY(-3px);}
.ww-feature-icon{font-size:1.75rem;margin-bottom:.75rem;display:block;line-height:1;}
.ww-feature-card h3{font-size:.95rem;font-weight:600;margin-bottom:.5rem;color:var(--text-main);-webkit-text-fill-color:var(--text-main);}
.ww-feature-card p{color:var(--text-muted);font-size:.875rem;line-height:1.7;margin:0;}
/* -- Dictionary Showcase ---*/ 
.ww-dict-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.25rem;}
.ww-dict-card{background:rgba(255,248,235,0.85);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem 1.25rem;text-align:center;transition:border-color var(--transition),transform var(--transition);box-shadow:0 2px 8px rgba(100,60,10,.07);}
.ww-dict-card:hover{border-color:rgba(212,146,10,.3);transform:translateY(-2px);}
.ww-dict-icon{font-size:1.75rem;margin-bottom:.6rem;display:block;line-height:1;}
.ww-dict-flag{width:48px;height:auto;margin:0 auto .6rem;display:block;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.15);}
.ww-dict-card h3{font-size:.875rem;font-weight:600;margin-bottom:.35rem;color:var(--text-main);-webkit-text-fill-color:var(--text-main);}
.ww-dict-card p{color:var(--text-muted);font-size:.8rem;line-height:1.6;margin:0;}
.ww-dict-note{color:var(--ww-accent);font-size:.82rem;font-weight:500;text-align:center;}
/* -- Testimonials ---*/ 
.ww-quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;}
.ww-quote-card{background:rgba(255,248,235,0.85);border:1px solid var(--border);border-radius:var(--radius);padding:1.75rem;display:flex;flex-direction:column;gap:1rem;transition:border-color var(--transition);box-shadow:0 2px 8px rgba(100,60,10,.07);}
.ww-quote-card:hover{border-color:var(--border-hover);}
.ww-quote-text{color:var(--text-muted);font-size:.9rem;line-height:1.75;font-style:italic;flex:1;margin:0;quotes:'\201C' '\201D';}
.ww-quote-text::before{content:open-quote;}
.ww-quote-text::after{content:close-quote;}
.ww-quote-author{color:var(--text-main);font-size:.8rem;font-weight:600;-webkit-text-fill-color:var(--text-main);}
/* -- Pricing Cards ---*/ 
.ww-pricing-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:start;}
.ww-price-card{background:rgba(255,248,235,0.9);border:1px solid var(--border);border-radius:var(--radius);padding:2rem;display:flex;flex-direction:column;gap:1.5rem;box-shadow:0 2px 12px rgba(100,60,10,.08);}
.ww-price-card--pro{background:linear-gradient(160deg,rgba(212,146,10,.06),rgba(196,86,26,.08));border-color:rgba(212,146,10,.35);}
.ww-price-popular{display:inline-block;background:linear-gradient(135deg,var(--ww-primary),var(--ww-secondary));color:#fff;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;border-radius:100px;padding:.25rem .75rem;margin-bottom:.5rem;}
.ww-price-title{font-size:1.25rem;font-weight:700;color:var(--text-main);-webkit-text-fill-color:var(--text-main);margin:0 0 .5rem;}
.ww-price-amount{font-size:1.9rem;font-weight:700;color:var(--text-main);-webkit-text-fill-color:var(--text-main);margin:0;line-height:1.1;}
.ww-price-period{font-size:.95rem;font-weight:400;color:var(--text-muted);-webkit-text-fill-color:var(--text-muted);}
.ww-price-note{color:var(--text-muted);font-size:.8rem;margin:.35rem 0 0;}
.ww-price-features{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.65rem;}
.ww-price-features li{display:flex;align-items:center;gap:.6rem;color:var(--text-muted);font-size:.875rem;}
.ww-price-features li::before{content:'';width:5px;height:5px;border-radius:50%;background:linear-gradient(135deg,var(--ww-primary),var(--ww-secondary));flex-shrink:0;}
.ww-price-fine{color:var(--text-muted);font-size:.775rem;line-height:1.6;margin:.75rem 0 0;}
.ww-price-fine a{color:var(--ww-secondary);text-decoration:none;}
.ww-price-fine a:hover{color:var(--ww-primary);text-decoration:underline;}
/* -- FAQ Accordion ---*/ 
.ww-faq{display:flex;flex-direction:column;gap:.75rem;}
.ww-faq-item{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:border-color var(--transition);background:rgba(255,248,235,0.85);}
.ww-faq-item:hover{border-color:var(--border-hover);}
.ww-faq-btn{width:100%;background:rgba(255,248,235,0.85);border:none;color:var(--text-main);font-size:.95rem;font-weight:500;padding:1rem 1.25rem;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;transition:background var(--transition);font-family:inherit;}
.ww-faq-btn:hover{background:rgba(237,209,150,.4);}
.ww-faq-icon{flex-shrink:0;width:16px;height:16px;color:var(--text-muted);transition:transform var(--transition);}
.ww-faq-btn[aria-expanded='true'] .ww-faq-icon{transform:rotate(45deg);}
.ww-faq-answer{color:var(--text-muted);font-size:.9rem;line-height:1.75;padding:0 1.25rem 1rem;}
.ww-faq-answer a{color:var(--ww-secondary);text-decoration:none;}
.ww-faq-answer a:hover{color:var(--ww-primary);text-decoration:underline;}
/* -- Footer CTA Banner ---*/ 
.ww-footer-cta{background:linear-gradient(135deg,var(--ww-primary),var(--ww-secondary));border-radius:var(--radius);padding:3.5rem 2rem;text-align:center;}
.ww-footer-cta h2{font-size:1.85rem;color:#fff;-webkit-text-fill-color:#fff;background:none;margin-bottom:1.5rem;max-width:580px;margin-left:auto;margin-right:auto;}
/* -- Support Page ---*/ 
.support-header{max-width:1100px;margin:0 auto;padding:4rem 1.5rem 2rem;text-align:center;}
.support-header h1{font-size:2.25rem;background:linear-gradient(135deg,var(--accent-1),var(--accent-3));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:.75rem;}
.support-header p{color:var(--text-muted);font-size:1rem;max-width:520px;margin:0 auto;}
.support-body{max-width:1100px;margin:0 auto;padding:0 1.5rem 5rem;}
.support-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.25rem;margin-bottom:2.5rem;}
.support-card{background:var(--glass-bg);border:1px solid var(--border);border-radius:var(--radius);padding:2rem;transition:border-color var(--transition);}
.support-card:hover{border-color:var(--border-hover);}
.support-card-icon{width:48px;height:48px;margin-bottom:1rem;border-radius:10px;}
.support-card h2{font-size:1.1rem;font-weight:600;margin-bottom:.75rem;color:var(--text-main);-webkit-text-fill-color:var(--text-main);}
.support-card p{color:var(--text-muted);font-size:.9rem;line-height:1.7;margin:0 0 1rem;}
.support-card ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem;}
.support-card ul li a{color:var(--accent-2);text-decoration:none;font-size:.9rem;display:inline-flex;align-items:center;gap:.35rem;transition:color var(--transition);}
.support-card ul li a:hover{color:var(--accent-1);}
.support-legal{border-top:1px solid var(--border);padding-top:1.5rem;}
.support-legal p{color:var(--text-muted);font-size:.9rem;line-height:1.75;}
.support-legal a{color:var(--accent-2);text-decoration:none;}
.support-legal a:hover{color:var(--accent-1);text-decoration:underline;}
@media(max-width:992px){.ww-steps{grid-template-columns:1fr 1fr;}.ww-feature-grid{grid-template-columns:1fr 1fr;}.ww-quotes{grid-template-columns:1fr 1fr;}}
@media(max-width:768px){.ww-hero-headline{font-size:1.85rem;}.ww-dict-grid{grid-template-columns:1fr 1fr;}.ww-quotes{grid-template-columns:1fr;}.ww-pricing-grid{grid-template-columns:1fr;}.ww-footer-cta{padding:2.5rem 1.25rem;}.ww-footer-cta h2{font-size:1.5rem;}}
@media(max-width:480px){.ww-steps{grid-template-columns:1fr;}.ww-feature-grid{grid-template-columns:1fr;}.ww-dict-grid{grid-template-columns:1fr;}.ww-hero-headline{font-size:1.6rem;}}

/* -- Product card icon ---*/ 
.product-card-icon{width:auto;max-width:180px;height:56px;object-fit:contain;border-radius:0;margin-bottom:.75rem;display:block;}
.support-card-icon{width:auto;max-width:160px;height:48px;object-fit:contain;border-radius:0;margin-bottom:.75rem;display:block;}

/* -- WW Scoring Table ---*/
.ww-score-table-wrap{overflow-x:auto;margin-bottom:1.5rem;}
.ww-score-table{width:100%;max-width:400px;border-collapse:collapse;font-size:.9rem;}
.ww-score-table th{text-align:left;padding:.6rem 1rem;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--ww-secondary);border-bottom:2px solid var(--border);}
.ww-score-table td{padding:.6rem 1rem;border-bottom:1px solid var(--border);color:var(--text-muted);}
.ww-score-table td:last-child{font-weight:700;color:var(--ww-accent);}
.ww-score-note{color:var(--text-muted);font-size:.9rem;line-height:1.7;max-width:600px;}

/* -- WW Dictionary section subtitle + row labels ---*/
.ww-section-subtitle{color:var(--text-muted);font-size:.95rem;line-height:1.7;margin-bottom:1.75rem;}
.ww-dict-row-label{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--ww-secondary);margin:1.5rem 0 .75rem;}
.ww-dict-row-label--pro{color:var(--ww-accent);}
.ww-dict-row-label .ww-price-popular{vertical-align:middle;margin-left:.75rem;}
.ww-dict-grid--free{grid-template-columns:repeat(4,1fr);}
.ww-dict-grid--pro{grid-template-columns:repeat(5,1fr);}
.ww-dict-card--pro{border-color:rgba(176,64,16,.2);}
.ww-dict-card--pro:hover{border-color:rgba(176,64,16,.4);}
.ww-dict-card h4{font-size:.875rem;font-weight:600;margin-bottom:.35rem;color:var(--text-main);-webkit-text-fill-color:var(--text-main);}
.ww-dict-card p{color:var(--text-muted);font-size:.78rem;line-height:1.55;margin:0;}
@media(max-width:992px){.ww-dict-grid--free{grid-template-columns:1fr 1fr;}.ww-dict-grid--pro{grid-template-columns:1fr 1fr;}}
@media(max-width:480px){.ww-dict-grid--free{grid-template-columns:1fr 1fr;}.ww-dict-grid--pro{grid-template-columns:1fr 1fr;}}

/* -- Homepage store badge ---*/
.ww-store-badge-link{display:inline-block;margin-top:.75rem;}
.ww-store-badge-img{height:40px;width:auto;}

/* -- How to Play guide page ---*/
.ww-guide-header{text-align:center;padding-top:2.5rem;}
.ww-back-link{display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;color:var(--ww-secondary);text-decoration:none;margin-bottom:1.5rem;transition:color var(--transition);}
.ww-back-link:hover{color:var(--ww-accent);}
.ww-back-link svg{width:14px;height:14px;}
.ww-pdf-link{display:inline-flex;align-items:center;gap:.5rem;margin-top:1.5rem;}
.ww-pdf-link svg{width:16px;height:16px;}
.ww-guide-prose{max-width:680px;color:var(--text-muted);line-height:1.8;margin-bottom:1.5rem;}
.ww-guide-prose p{margin-bottom:.9rem;}
.ww-guide-list{color:var(--text-muted);line-height:1.8;padding-left:1.4rem;margin-bottom:.9rem;}
.ww-guide-list li{margin-bottom:.35rem;}
kbd{display:inline-block;padding:.15em .45em;font-size:.8em;font-family:inherit;background:var(--surface-2,#f3ede0);border:1px solid var(--border);border-radius:4px;color:var(--text-main);white-space:nowrap;}
