/* ============================================================
 * WowGames (wowgames.homes) - Core Stylesheet
 * Scope:  .wcfcc-*      |      Palette: #262626 #2C3E50 #696969 #D3D3D3
 * Mobile-first. Root font 62.5% for rem math.
 * ============================================================ */

:root {
    --wcfcc-bg: #262626;
    --wcfcc-bg-deep: #1c1c1c;
    --wcfcc-bg-card: #2f2f2f;
    --wcfcc-primary: #2C3E50;
    --wcfcc-primary-soft: #34495e;
    --wcfcc-accent: #f5b301;
    --wcfcc-accent-soft: #ffcf33;
    --wcfcc-grey: #696969;
    --wcfcc-light: #D3D3D3;
    --wcfcc-text: #f3f3f3;
    --wcfcc-text-muted: #b5b5b5;
    --wcfcc-border: rgba(211, 211, 211, 0.12);
    --wcfcc-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    --wcfcc-radius: 14px;
    --wcfcc-radius-sm: 10px;
}

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

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

body {
    font-family: "Segoe UI", "Helvetica Neue", Roboto, system-ui, -apple-system, sans-serif;
    background: var(--wcfcc-bg);
    color: var(--wcfcc-text);
    line-height: 1.5;
    font-size: 1.5rem;
    overflow-x: hidden;
    padding-bottom: 80px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--wcfcc-accent-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

.wcfcc-container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.wcfcc-wrapper { width: 100%; }

/* ---------- Header ---------- */
.wcfcc-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #1f1f1f 0%, #262626 100%);
    border-bottom: 1px solid var(--wcfcc-border);
    box-shadow: var(--wcfcc-shadow);
}

.wcfcc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    max-width: 760px;
    margin: 0 auto;
}

.wcfcc-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--wcfcc-text);
    font-weight: 700;
    font-size: 1.7rem;
    text-decoration: none;
}

.wcfcc-brand img {
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    border: 1px solid var(--wcfcc-border);
}

.wcfcc-brand span { color: var(--wcfcc-accent-soft); }

.wcfcc-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.wcfcc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.35rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
    min-height: 36px;
    text-decoration: none;
}

.wcfcc-btn:hover { text-decoration: none; transform: translateY(-1px); }
.wcfcc-btn:active { transform: scale(0.97); }

.wcfcc-btn-primary {
    background: linear-gradient(135deg, var(--wcfcc-accent) 0%, var(--wcfcc-accent-soft) 100%);
    color: #1a1a1a;
}

.wcfcc-btn-ghost {
    background: transparent;
    color: var(--wcfcc-text);
    border: 1px solid var(--wcfcc-border);
}

.wcfcc-btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1.5rem;
}

.wcfcc-icon-btn {
    background: transparent;
    border: none;
    color: var(--wcfcc-text);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.wcfcc-icon-btn:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Mobile drawer ---------- */
.wcfcc-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}
.wcfcc-overlay-show { opacity: 1; visibility: visible; }

.wcfcc-mobile-menu {
    position: fixed;
    top: 0; right: -80%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--wcfcc-bg-deep);
    z-index: 9999;
    padding: 2rem 1.5rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}
.wcfcc-menu-open { right: 0; }

.wcfcc-mobile-menu h3 {
    color: var(--wcfcc-accent-soft);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wcfcc-mobile-menu a {
    display: block;
    color: var(--wcfcc-light);
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--wcfcc-border);
    font-size: 1.4rem;
}

/* ---------- Page spacer for fixed header ---------- */
.wcfcc-page { padding-top: 6rem; }

/* ---------- Hero / Carousel ---------- */
.wcfcc-hero {
    position: relative;
    margin: 1.2rem 0;
    border-radius: var(--wcfcc-radius);
    overflow: hidden;
    box-shadow: var(--wcfcc-shadow);
}

.wcfcc-slides { position: relative; }

.wcfcc-slide {
    position: relative;
    display: none;
    cursor: pointer;
}
.wcfcc-slide-active { display: block; }

.wcfcc-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.wcfcc-slide-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1rem 1.2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.75) 100%);
    color: #fff;
}
.wcfcc-slide-caption h2 {
    font-size: 1.7rem;
    margin-bottom: 0.3rem;
    color: var(--wcfcc-accent-soft);
}
.wcfcc-slide-caption p { font-size: 1.25rem; color: var(--wcfcc-light); }

.wcfcc-dots {
    position: absolute;
    bottom: 8px;
    right: 12px;
    display: flex;
    gap: 6px;
}
.wcfcc-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
}
.wcfcc-dot-active { background: var(--wcfcc-accent); }

/* ---------- Section headings ---------- */
.wcfcc-section {
    margin: 2rem 0;
}

.wcfcc-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.wcfcc-section-title {
    font-size: 1.8rem;
    color: var(--wcfcc-text);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.wcfcc-section-title i,
.wcfcc-section-title .material-icons,
.wcfcc-section-title ion-icon {
    color: var(--wcfcc-accent-soft);
    font-size: 2rem;
}

.wcfcc-section-link {
    font-size: 1.25rem;
    color: var(--wcfcc-accent-soft);
}

.wcfcc-text-link {
    color: var(--wcfcc-accent-soft);
    font-weight: 700;
}

/* ---------- Filter pills ---------- */
.wcfcc-filters {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding: 0.3rem 0 0.8rem;
    -webkit-overflow-scrolling: touch;
}
.wcfcc-filters::-webkit-scrollbar { display: none; }

.wcfcc-filter-pill {
    flex: 0 0 auto;
    background: var(--wcfcc-bg-card);
    color: var(--wcfcc-light);
    border: 1px solid var(--wcfcc-border);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 1.25rem;
    cursor: pointer;
    white-space: nowrap;
}
.wcfcc-filter-active {
    background: var(--wcfcc-accent);
    color: #1a1a1a;
    border-color: var(--wcfcc-accent);
}

/* ---------- Game grid ---------- */
.wcfcc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
}

.wcfcc-game-card {
    background: var(--wcfcc-bg-card);
    border-radius: var(--wcfcc-radius-sm);
    overflow: hidden;
    border: 1px solid var(--wcfcc-border);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    text-align: center;
    display: block;
    color: var(--wcfcc-text);
    text-decoration: none;
}
.wcfcc-game-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--wcfcc-shadow);
    text-decoration: none;
    border-color: var(--wcfcc-accent);
}
.wcfcc-game-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #111;
}
.wcfcc-game-name {
    font-size: 1.15rem;
    padding: 0.4rem 0.3rem 0.6rem;
    color: var(--wcfcc-light);
    line-height: 1.2;
    min-height: 32px;
}

/* ---------- Cards / panels ---------- */
.wcfcc-card {
    background: var(--wcfcc-bg-card);
    border-radius: var(--wcfcc-radius);
    padding: 1.4rem;
    border: 1px solid var(--wcfcc-border);
    margin-bottom: 1rem;
}

.wcfcc-card h3 {
    color: var(--wcfcc-accent-soft);
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}

.wcfcc-card p {
    color: var(--wcfcc-text-muted);
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

/* ---------- Feature list ---------- */
.wcfcc-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}
.wcfcc-feature {
    background: var(--wcfcc-bg-deep);
    border-radius: var(--wcfcc-radius-sm);
    padding: 1rem;
    border-left: 3px solid var(--wcfcc-accent);
}
.wcfcc-feature h4 {
    color: var(--wcfcc-text);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}
.wcfcc-feature p {
    color: var(--wcfcc-text-muted);
    font-size: 1.2rem;
    margin: 0;
}
.wcfcc-feature i, .wcfcc-feature .material-icons {
    color: var(--wcfcc-accent-soft);
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

/* ---------- RTP table ---------- */
.wcfcc-rtp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.3rem;
    border-bottom: 1px solid var(--wcfcc-border);
    font-size: 1.25rem;
}
.wcfcc-rtp-row:last-child { border-bottom: none; }
.wcfcc-rtp-name { color: var(--wcfcc-text); flex: 1; }
.wcfcc-rtp-bar {
    flex: 0 0 35%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 0.6rem;
}
.wcfcc-rtp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--wcfcc-accent) 0%, var(--wcfcc-accent-soft) 100%);
}
.wcfcc-rtp-value {
    color: var(--wcfcc-accent-soft);
    font-weight: 700;
    min-width: 50px;
    text-align: right;
}

/* ---------- FAQ accordion ---------- */
.wcfcc-faq-item {
    background: var(--wcfcc-bg-card);
    border: 1px solid var(--wcfcc-border);
    border-radius: var(--wcfcc-radius-sm);
    margin-bottom: 0.6rem;
    overflow: hidden;
}
.wcfcc-faq-q {
    padding: 1rem 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--wcfcc-text);
    font-size: 1.3rem;
}
.wcfcc-faq-q .wcfcc-faq-icon { color: var(--wcfcc-accent-soft); transition: transform 0.25s; }
.wcfcc-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--wcfcc-text-muted);
    padding: 0 1.2rem;
}
.wcfcc-faq-open .wcfcc-faq-a { max-height: 360px; padding-bottom: 1rem; }
.wcfcc-faq-open .wcfcc-faq-icon { transform: rotate(45deg); }

/* ---------- Winners / testimonials ---------- */
.wcfcc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.wcfcc-list li {
    background: var(--wcfcc-bg-deep);
    border-radius: var(--wcfcc-radius-sm);
    padding: 0.7rem 1rem;
    border-left: 3px solid var(--wcfcc-primary-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
}
.wcfcc-list .wcfcc-win-game { color: var(--wcfcc-light); }
.wcfcc-list .wcfcc-win-amount { color: var(--wcfcc-accent-soft); font-weight: 700; }

/* ---------- Payment chips ---------- */
.wcfcc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.wcfcc-chip {
    background: var(--wcfcc-bg-deep);
    color: var(--wcfcc-light);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 1.2rem;
    border: 1px solid var(--wcfcc-border);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ---------- Testimonials ---------- */
.wcfcc-quote {
    background: var(--wcfcc-bg-deep);
    border-radius: var(--wcfcc-radius-sm);
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--wcfcc-accent);
    margin-bottom: 0.7rem;
}
.wcfcc-quote p { font-size: 1.25rem; color: var(--wcfcc-light); margin-bottom: 0.4rem; }
.wcfcc-quote .wcfcc-quote-by {
    color: var(--wcfcc-accent-soft);
    font-size: 1.15rem;
    font-weight: 700;
}

/* ---------- CTA band ---------- */
.wcfcc-cta {
    background: linear-gradient(135deg, var(--wcfcc-primary) 0%, var(--wcfcc-primary-soft) 100%);
    border-radius: var(--wcfcc-radius);
    padding: 1.6rem;
    text-align: center;
    margin: 1.5rem 0;
}
.wcfcc-cta h3 { color: var(--wcfcc-accent-soft); font-size: 1.8rem; margin-bottom: 0.4rem; }
.wcfcc-cta p { color: var(--wcfcc-light); font-size: 1.3rem; margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.wcfcc-footer {
    background: var(--wcfcc-bg-deep);
    border-top: 1px solid var(--wcfcc-border);
    padding: 2rem 0;
    margin-top: 2rem;
}
.wcfcc-footer-brand {
    color: var(--wcfcc-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.wcfcc-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem 1rem;
    margin: 1rem 0;
}
.wcfcc-footer-links a {
    color: var(--wcfcc-light);
    font-size: 1.2rem;
}
.wcfcc-footer-copy {
    color: var(--wcfcc-grey);
    font-size: 1.15rem;
    text-align: center;
    margin-top: 1.2rem;
    border-top: 1px solid var(--wcfcc-border);
    padding-top: 1rem;
}

/* ---------- Bottom navigation (mobile only) ---------- */
.wcfcc-bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: 60px;
    background: linear-gradient(180deg, #1f1f1f 0%, #161616 100%);
    border-top: 1px solid var(--wcfcc-border);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
}
.wcfcc-bottom-nav-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--wcfcc-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    font-size: 1.05rem;
    padding: 4px 2px;
    min-width: 60px;
    min-height: 60px;
    transition: color 0.15s ease, transform 0.15s ease;
    text-decoration: none;
}
.wcfcc-bottom-nav-btn i,
.wcfcc-bottom-nav-btn .material-icons,
.wcfcc-bottom-nav-btn ion-icon {
    font-size: 22px;
    color: var(--wcfcc-light);
}
.wcfcc-bottom-nav-btn:hover { text-decoration: none; }
.wcfcc-bottom-nav-btn:active { transform: scale(0.92); }
.wcfcc-bottom-nav-btn.wcfcc-nav-current { color: var(--wcfcc-accent-soft); }
.wcfcc-bottom-nav-btn.wcfcc-nav-current i,
.wcfcc-bottom-nav-btn.wcfcc-nav-current .material-icons,
.wcfcc-bottom-nav-btn.wcfcc-nav-current ion-icon { color: var(--wcfcc-accent-soft); }
.wcfcc-bottom-nav-btn.wcfcc-nav-promo {
    color: var(--wcfcc-accent-soft);
}

/* ---------- Reveal animation ---------- */
[data-wcfcc-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.wcfcc-revealed { opacity: 1; transform: none; }

/* ---------- Long-form article ---------- */
.wcfcc-article p {
    color: var(--wcfcc-text-muted);
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}
.wcfcc-article h3 {
    color: var(--wcfcc-accent-soft);
    font-size: 1.55rem;
    margin: 1.2rem 0 0.6rem;
}
.wcfcc-article ul { padding-left: 1.4rem; color: var(--wcfcc-text-muted); font-size: 1.3rem; }
.wcfcc-article li { margin-bottom: 0.4rem; }

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
    .wcfcc-grid { grid-template-columns: repeat(4, 1fr); }
    .wcfcc-feature-list { grid-template-columns: repeat(3, 1fr); }
    .wcfcc-footer-links { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 769px) {
    .wcfcc-bottom-nav { display: none; }
    body { padding-bottom: 0; }
    .wcfcc-grid { grid-template-columns: repeat(5, 1fr); }
    .wcfcc-menu-toggle { display: none; }
}

@media (min-width: 1024px) {
    .wcfcc-grid { grid-template-columns: repeat(6, 1fr); }
}

/* Desktop nav (top bar extra links) */
.wcfcc-desktop-nav { display: none; }
@media (min-width: 769px) {
    .wcfcc-desktop-nav {
        display: flex;
        gap: 1.2rem;
        align-items: center;
    }
    .wcfcc-desktop-nav a {
        color: var(--wcfcc-light);
        font-size: 1.3rem;
    }
}
