/*
Theme Name: GeneratePress
Theme URI: https://generatepress.com
Author: Tom Usborne
Author URI: https://tomusborne.com
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability.
Version: 3.5.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress
*/

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('fonts/opensans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Paytone One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/paytone-one-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   WildRobin Casino — Ripper-inspired layout, brand purple+gold
   ============================================================ */

:root {
    /* Brand palette */
    --purple: #5B2D90;
    --purple-dark: #2A1248;
    --purple-darker: #170724;
    --purple-light: #7B4CAB;
    --gold: #F4C430;
    --gold-bright: #FFD700;
    --gold-dark: #B8860B;
    --nav-bg: #170724;
    --nav-border: #3D1F66;
    --nav-text: #B6A0D7;
    --nav-text-bright: #fff;
    --body-text: #1a0b2e;
    --body-text-muted: #5a4a6e;
    --content-bg: #fff;
    --content-alt: #F7F3FB;
    --border: #E8DBF5;
    --radius: 8px;
    --radius-lg: 12px;
    --container-max: 1240px;
    --content-max: 1024px;
    --navbar-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400; font-size: 14px; line-height: 1.55;
    color: var(--body-text); background: #fff;
    padding-top: var(--navbar-h); /* offset for fixed navbar */
}

a { color: var(--purple); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--purple-light); }
img {
    max-width: 100%; height: auto; display: block;
    /* Prevent CLS while real images load (assumes <img width/height> set) */
    background: var(--content-alt);
}
/* Placeholder aspect for game tile imagery — when real thumbs added, <img> inherits */
.game-card img, .slot-thumb {
    width: 100%; height: 100%; object-fit: cover;
    aspect-ratio: 1; /* prevents CLS even without width/height attributes */
}
/* Payment / provider logo strip — when added */
.pay-logo, .provider-logo {
    height: 28px; width: auto; max-width: 96px;
    object-fit: contain;
    filter: grayscale(.4) brightness(1.15) opacity(.85);
    transition: filter .15s ease;
}
.pay-logo:hover, .provider-logo:hover { filter: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 16px; }
.skip-link, .screen-reader-text { position: absolute; left: -9999px; top: -9999px; }

/* ============================================================
   NAVBAR — fixed dark
   ============================================================ */
.site-header,
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    background: var(--nav-bg); border-bottom: 1px solid var(--nav-border);
    z-index: 100; min-height: var(--navbar-h);
    will-change: transform; transform: translateZ(0);
}
.inside-header {
    max-width: var(--container-max); margin: 0 auto;
    display: flex; align-items: stretch; justify-content: space-between;
    gap: 1rem; padding: 0 24px; min-height: var(--navbar-h);
}
.site-logo { display: flex; align-items: center; }
.site-logo a { display: inline-flex; align-items: center; gap: .5rem; height: 40px; }
.site-logo .brand-text {
    font-family: 'Paytone One', sans-serif;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 60%, var(--purple-light) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    font-size: 1.3rem; letter-spacing: .5px; line-height: 1;
}
.site-logo .brand-text::before {
    content: '♛'; -webkit-text-fill-color: var(--gold); color: var(--gold); margin-right: .4rem;
    font-size: 1.15em;
}

.main-navigation { flex: 1; display: flex; justify-content: center; align-items: stretch; }
.main-nav ul {
    list-style: none; display: flex; gap: 2px; align-items: stretch; height: 100%;
}
.main-nav ul li { display: flex; align-items: center; }
.main-nav ul li a {
    color: var(--nav-text); padding: 0 14px; height: 40px;
    display: inline-flex; align-items: center;
    font-size: 13px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .04em; border-radius: 4px;
}
.main-nav ul li a:hover { color: var(--nav-text-bright); background: rgba(255,255,255,.05); }
.main-nav ul li a { position: relative; }
.main-nav ul li.current-menu-item > a { color: var(--nav-text-bright); }
.main-nav ul li.current-menu-item > a::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px;
    height: 2px; background: var(--gold); border-radius: 2px;
}

.header-buttons { display: flex; gap: 8px; align-items: center; }
.header-buttons .btn { height: 40px; padding: 0 18px; }
.btn {
    font-family: 'Paytone One', sans-serif;
    text-decoration: none; font-size: 12px;
    padding: 9px 14px; border-radius: 3px;
    letter-spacing: .04em; text-transform: uppercase;
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
    display: inline-flex; align-items: center; justify-content: center;
    white-space: nowrap;
}
.btn-secondary, .btn-login {
    background: transparent; border-color: var(--nav-border); color: var(--nav-text);
}
.btn-secondary:hover, .btn-login:hover {
    background: rgba(244,196,48,.08); border-color: var(--gold); color: var(--gold);
}
.btn-primary, .btn-reg {
    background: var(--gold); border-color: var(--gold);
    color: var(--purple-darker); font-weight: 700;
    box-shadow: 0 0 12px rgba(244,196,48,.35);
}
.btn-primary:hover, .btn-reg:hover {
    background: var(--gold-bright); border-color: var(--gold-bright);
    color: var(--purple-darker);
}
.menu-toggle {
    display: none; background: transparent; border: 1px solid var(--nav-border);
    color: var(--nav-text); width: 36px; height: 36px; border-radius: 4px;
    align-items: center; justify-content: center; padding: 6px;
}
.menu-toggle::before { content: '☰'; font-size: 18px; line-height: 1; }

/* ============================================================
   HERO — bold image bg + yellow highlight + glow CTA
   ============================================================ */
.bonus-banner,
.hero {
    position: relative; overflow: hidden;
    min-height: 380px;
    background:
        /* Dark gradient on left for text readability */
        linear-gradient(90deg, rgba(23,7,36,.85) 0%, rgba(23,7,36,.55) 35%, rgba(23,7,36,.15) 60%, transparent 100%),
        /* Generated slot-montage hero image */
        url('/wp-content/uploads/2026/05/hero.webp') center center / cover no-repeat,
        var(--purple-darker);
    display: flex; align-items: center;
    transform: translateZ(0); /* GPU layer */
}
/* Decorative pseudo-elements removed — using AI-generated hero image with slot montage + mascot baked in */

.hero .container,
.bonus-banner .container,
.hero-inner {
    position: relative; z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto; padding: 56px 24px;
    width: 100%;
}
.hero .highlight,
.bonus-banner h2 {
    color: var(--gold-bright);
    -webkit-text-stroke: 1px rgba(0,0,0,.85);
    text-shadow: 0 4px 24px rgba(0,0,0,.6), 0 0 40px rgba(244,196,48,.25);
    font-family: 'Paytone One', sans-serif;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    line-height: 1.05; margin-bottom: 1.25rem;
    letter-spacing: .5px;
    max-width: 720px;
}
.hero .highlight strong,
.bonus-banner h2 strong { color: #fff; -webkit-text-stroke: 1px var(--purple-darker); }
.hero p,
.bonus-banner p {
    color: rgba(255,255,255,.92);
    font-size: 1.05rem; max-width: 540px;
    margin-bottom: 1.75rem; line-height: 1.55;
}
.btn-brand,
.bonus-banner .btn {
    background: var(--gold); color: var(--purple-darker) !important;
    border-color: var(--gold);
    padding: 14px 30px; font-size: 14px;
    box-shadow: 0 0 18px rgba(244,196,48,.55), 0 6px 24px rgba(0,0,0,.25);
}
.btn-brand:hover,
.bonus-banner .btn:hover {
    background: var(--gold-bright); border-color: var(--gold-bright);
    transform: translateY(-1px);
}

/* ============================================================
   GAMES SLIDER (horizontal scroll)
   ============================================================ */
.games-section,
.slots {
    background: #fff; padding: 28px 0;
}
.games-section .container,
.slots-inner {
    max-width: var(--container-max); margin: 0 auto; padding: 0 16px;
}
.games-section h2,
.slots-header .slider-title {
    font-family: 'Paytone One', sans-serif;
    color: var(--body-text); font-size: 1.4rem;
    margin: 0; line-height: 1.2;
}
.slots-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 18px; gap: 1rem;
}
.slots-header-left { display: flex; align-items: center; gap: .5rem; }
.slots-header .tag-link {
    color: var(--purple); font-weight: 600; font-size: 13px;
    display: inline-flex; align-items: center; gap: 4px;
}
.slots-header .tag-link:hover { color: var(--purple-light); }
.slider-controls { display: flex; gap: 6px; }
.slider-btn {
    width: 36px; height: 36px; padding: 0;
    border: 1px solid var(--border); background: #fff; color: var(--purple);
    border-radius: 4px; display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s ease, border-color .15s ease;
}
.slider-btn:hover { background: var(--content-alt); border-color: var(--purple-light); }
.slider-btn[disabled] { opacity: .35; pointer-events: none; }
.slider-btn svg { width: 16px; height: 16px; }

.games-grid,
.games-slider {
    display: flex; gap: 14px;
    overflow-x: auto; scroll-behavior: smooth;
    scrollbar-width: none; -ms-overflow-style: none;
    padding-bottom: 4px;
    /* Native CSS carousel — no JS slider needed */
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    /* Hint browser this is a scrollable container */
    overscroll-behavior-x: contain;
}
.game-card { scroll-snap-align: start; }
.games-grid::-webkit-scrollbar,
.games-slider::-webkit-scrollbar { display: none; }

.game-card {
    min-width: 200px; width: 200px; aspect-ratio: 1;
    border-radius: var(--radius-lg); overflow: hidden;
    position: relative; cursor: pointer; display: block;
    background: transparent; border: 0; box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none; color: #fff;
    flex-shrink: 0;
}
/* Real slot thumbnail — full-bleed cover */
.game-card.has-img img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    z-index: 1; display: block;
    border-radius: var(--radius-lg);
}
/* Hover-only play overlay */
.game-card .play-overlay {
    position: absolute; inset: 0; opacity: 0;
    background: rgba(15,7,30,.45);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .2s ease;
    z-index: 2; border-radius: var(--radius-lg);
}
.game-card:hover { transform: translateY(-3px); }
.game-card:hover .play-overlay { opacity: 1; }
.play-button {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--gold); color: var(--purple-darker);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px; line-height: 1; padding-left: 4px;
    box-shadow: 0 0 24px rgba(244,196,48,.55);
}

/* ============================================================
   TEXT CONTENT SECTION
   ============================================================ */
.entry-content,
.text {
    background: #fff;
}
.entry-content {
    max-width: var(--content-max); margin: 0 auto;
    padding: 40px 16px 24px;
}
.entry-content > * { max-width: 100%; }

.entry-title,
.entry-content h1,
.text h1 {
    font-family: 'Paytone One', sans-serif;
    color: var(--body-text); font-weight: 400;
    font-size: clamp(1.7rem, 3.5vw, 2.2rem);
    line-height: 1.15; margin-bottom: 1rem;
}
.entry-content h2,
.text h2 {
    font-family: 'Paytone One', sans-serif;
    font-weight: 400; color: var(--body-text);
    font-size: clamp(1.4rem, 2.8vw, 1.75rem);
    line-height: 1.25; margin: 2rem 0 1rem;
}
.entry-content h3,
.text h3 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700; color: var(--body-text);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    margin: 1.5rem 0 .75rem;
}
.entry-content p,
.text p {
    margin-bottom: 1rem; line-height: 1.7;
    color: var(--body-text);
}
.entry-content p.has-large-font-size {
    font-size: 1.05rem; line-height: 1.65;
    color: var(--body-text-muted);
}
.entry-content ul,
.entry-content ol { margin: 1rem 0 1rem 1.4rem; }
.entry-content li { margin-bottom: .35rem; }
.entry-content a { color: var(--purple); border-bottom: 1px solid rgba(91,45,144,.25); }
.entry-content a:hover { color: var(--purple-light); border-bottom-color: var(--purple-light); }
.entry-content strong { font-weight: 700; color: var(--body-text); }

/* Tables — Ripper-style with alternating rows (covers Gutenberg blocks + LLM-generated .table-wrap + .summary-table + raw tables in entry-content) */
.wp-block-table, .table-wrap {
    overflow-x: auto; margin: 1.5rem 0;
    -webkit-overflow-scrolling: touch;
}
.wp-block-table table,
.table-wrap table,
.summary-table,
.entry-content table,
.text table {
    width: 100%; border-collapse: collapse; min-width: 480px;
    border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 2px 10px rgba(45,17,72,.08);
    background: #fff;
}
.wp-block-table th,
.table-wrap th,
.summary-table th,
.entry-content table th,
.text th {
    background: var(--purple-darker); color: #fff;
    text-align: left; padding: 14px 16px;
    font-weight: 700; font-size: .9rem;
    letter-spacing: .02em;
    border-bottom: 1px solid var(--purple-dark);
    vertical-align: top;
}
/* Row-headers (`<th scope="row">`) get a softer treatment so the row stays readable */
.wp-block-table th[scope="row"],
.table-wrap th[scope="row"],
.summary-table th[scope="row"],
.entry-content table th[scope="row"] {
    background: var(--content-alt); color: var(--body-text);
    width: 32%; max-width: 240px;
    text-transform: none;
    font-weight: 700; font-size: .95rem;
    border-right: 1px solid var(--border);
}
.wp-block-table td,
.table-wrap td,
.summary-table td,
.entry-content table td,
.text td {
    padding: 13px 16px; font-size: .95rem;
    color: var(--body-text);
    border-bottom: 1px solid var(--border);
    vertical-align: top; line-height: 1.55;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd),
.summary-table tbody tr:nth-child(odd) { background: var(--content-alt); }
.wp-block-table.is-style-stripes tbody tr:nth-child(even),
.summary-table tbody tr:nth-child(even) { background: #fff; }
.wp-block-table tbody tr:hover,
.table-wrap tbody tr:hover,
.summary-table tbody tr:hover,
.entry-content table tbody tr:hover,
.text tr:hover { background: rgba(91,45,144,.06); }
.summary-table td a,
.entry-content table td a { color: var(--purple); border-bottom: 1px solid rgba(91,45,144,.25); }
.summary-table td a:hover,
.entry-content table td a:hover { color: var(--purple-light); }

/* ============================================================
   FAQ ACCORDION — dark gradient items (Ripper style)
   ============================================================ */
.entry-content .accordion-item,
.faq-container .accordion-item {
    background: var(--purple-darker);
    border-radius: var(--radius);
    margin-bottom: 12px; overflow: hidden;
    box-shadow: 0 4px 14px rgba(23,7,36,.18);
    transition: transform .2s ease, box-shadow .2s ease;
}
.entry-content .accordion-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(23,7,36,.28);
}
.entry-content .accordion-header {
    padding: 18px 24px;
    color: #fff; font-weight: 600; font-size: 1rem;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    background: var(--purple-darker);
    position: relative;
}
.entry-content .accordion-header::after {
    content: '▼'; font-size: 10px; color: var(--gold);
    transition: transform .25s ease;
    margin-left: 1rem; flex-shrink: 0;
}
.entry-content .accordion-header.open::after { transform: rotate(180deg); }
.entry-content .accordion-body {
    max-height: 0; overflow: hidden;
    background: rgba(91,45,144,.15);
    color: rgba(255,255,255,.92);
    transition: max-height .3s ease, padding .3s ease;
}
.entry-content .accordion-body.open {
    max-height: 1000px; padding: 18px 24px 22px;
}
.entry-content .accordion-body p {
    color: rgba(255,255,255,.92); margin-bottom: 0;
}
.entry-content .accordion-body a { color: var(--gold); border-bottom-color: rgba(244,196,48,.4); }

/* ============================================================
   RESPONSIBLE GAMBLING NOTICE
   ============================================================ */
.responsible-gambling {
    max-width: var(--content-max); margin: 1.5rem auto;
    padding: 16px 20px; background: var(--content-alt);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius); font-size: .9rem;
    color: var(--body-text-muted);
}
.responsible-gambling strong { color: var(--body-text); }
.responsible-gambling a,
.responsible-gambling a:link,
.responsible-gambling a:visited {
    color: var(--purple);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.responsible-gambling a:hover,
.responsible-gambling a:focus {
    color: var(--purple-light);
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* ============================================================
   FOOTER — dark centered (Ripper-style)
   ============================================================ */
.site-footer {
    background: var(--nav-bg);
    border-top: 1px solid var(--nav-border);
    padding: 40px 0 24px;
    color: var(--nav-text);
}
.footer-widgets {
    max-width: var(--container-max); margin: 0 auto; padding: 0 16px;
}
.inside-footer-widgets {
    display: flex; flex-direction: column; align-items: center;
    gap: 32px; text-align: center;
}
.footer-widget { max-width: 560px; width: 100%; }
.footer-widget h3 {
    font-family: 'Paytone One', sans-serif;
    color: #fff; font-size: 1rem; font-weight: 400;
    margin-bottom: .75rem;
    letter-spacing: .03em; text-transform: uppercase;
    display: inline-block;
    border-bottom: 2px solid var(--gold); padding-bottom: 4px;
}
.footer-widget p { color: var(--nav-text); font-size: .9rem; line-height: 1.6; }
.footer-widget ul {
    list-style: none; padding: 0;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px;
}
.footer-widget li { margin: 0; }
.footer-widget a {
    color: var(--nav-text); font-size: 13px; font-weight: 600;
    padding: 6px 10px; display: inline-block;
    text-transform: uppercase; letter-spacing: .03em;
}
.footer-widget a:hover { color: var(--gold); }

/* Payments + providers strip */
.footer-payments,
.payments {
    width: 100%; max-width: 980px; margin: 28px auto 0;
    padding: 24px 16px; border-top: 1px solid var(--nav-border);
    border-bottom: 1px solid var(--nav-border);
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 18px 28px;
}
.pay-icon, .provider-icon {
    color: var(--nav-text); font-weight: 700; font-size: .85rem;
    letter-spacing: .05em; text-transform: uppercase;
    padding: 8px 14px; border: 1px solid var(--nav-border);
    border-radius: 4px; opacity: .8;
    transition: opacity .15s ease, color .15s ease, border-color .15s ease;
}
.pay-icon:hover, .provider-icon:hover {
    opacity: 1; color: var(--gold); border-color: var(--gold);
}

.site-info,
.copyright {
    max-width: var(--container-max); margin: 0 auto; padding: 24px 16px 0;
    text-align: center; color: var(--nav-text);
    font-size: 13px; line-height: 1.5;
}
.site-info a { color: var(--nav-text); }
.site-info a:hover { color: var(--gold); }

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .main-navigation { display: none; }
    .main-navigation.toggled { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--nav-bg); border-bottom: 1px solid var(--nav-border); }
    .main-navigation.toggled ul { flex-direction: column; padding: 8px; }
    .main-navigation.toggled ul li.current-menu-item > a::after { display: none; }
    .menu-toggle { display: inline-flex; }
    .hero { min-height: 280px; }
    .hero .container, .bonus-banner .container, .hero-inner { padding: 40px 20px; }
}
@media (max-width: 600px) {
    .header-buttons .btn-secondary, .header-buttons .btn-login { display: none; }
    .header-buttons .btn-primary, .header-buttons .btn-reg { padding: 8px 12px; font-size: 11px; }
    .game-card { min-width: 150px; width: 150px; }
    .game-card::before { font-size: 2.5rem; }
    .game-card span.game-label { font-size: .8rem; }
    .entry-content { padding: 24px 16px 16px; }
    .footer-widget ul { flex-direction: column; align-items: center; }
}
