/* ==========================================================
   SINGLE GAME — LV-KAZINO Style (style-lv)
   ========================================================== */

:root {
    --sglv-primary: #5c2698;
    --sglv-primary-light: #7b3ec0;
    --sglv-primary-dark: #421b6e;
    --sglv-accent: #e84393;
    --sglv-cta: #c4e538;
    --sglv-cta-hover: #b5d632;
    --sglv-cta-text: #1a1b25;
    --sglv-text: #2e3246;
    --sglv-text-light: #7f8c8d;
    --sglv-heading: #151515;
    --sglv-bg: #ffffff;
    --sglv-bg-alt: #f5f6fa;
    --sglv-border: #e9ecef;
    --sglv-shadow: 0 2px 20px rgba(92, 38, 152, 0.08);
    --sglv-shadow-hover: 0 8px 30px rgba(92, 38, 152, 0.15);
    --sglv-radius: 12px;
    --sglv-radius-sm: 8px;
    --sglv-transition: 0.25s ease;
    --sglv-max-width: 1200px;
}

.sglv-page { box-sizing: border-box; }
.sglv-page *, .sglv-page *:before, .sglv-page *:after { box-sizing: border-box; }

.sglv-wrap {
    max-width: var(--sglv-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.sglv-h2 {
    margin: 0 0 20px;
    font-size: 1.6em;
    font-weight: 800;
    color: var(--sglv-heading);
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 10px;
}
.sglv-h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--sglv-primary), var(--sglv-accent));
    border-radius: 2px;
}

/* --- Shared icon --- */
.sglv-icon {
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    color: currentColor;
}

/* --- Shared button --- */
.sglv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95em;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform var(--sglv-transition), box-shadow var(--sglv-transition), background var(--sglv-transition), color var(--sglv-transition);
    font-family: inherit;
    white-space: nowrap;
}
.sglv-btn-primary {
    background: linear-gradient(135deg, var(--sglv-primary) 0%, var(--sglv-accent) 100%);
    color: #fff;
    box-shadow: 0 4px 18px rgba(92,38,152,0.4);
}
.sglv-btn-primary:hover,
.sglv-btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(92,38,152,0.55);
    color: #fff;
    outline: none;
}
.sglv-btn-secondary {
    background: var(--sglv-cta);
    color: var(--sglv-cta-text);
    box-shadow: 0 4px 14px rgba(196,229,56,0.35);
}
.sglv-btn-secondary:hover,
.sglv-btn-secondary:focus-visible {
    background: var(--sglv-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196,229,56,0.5);
    outline: none;
    color: var(--sglv-cta-text);
}

/* ==========================================================
   HERO
   ========================================================== */
.sglv-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
}
.sglv-hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1a0533 0%, var(--sglv-primary-dark) 25%, var(--sglv-primary) 55%, var(--sglv-accent) 100%);
    z-index: 0;
}
.sglv-hero-bg::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 10% 90%, rgba(232,67,147,0.2), transparent),
        radial-gradient(ellipse 800px 600px at 80% 20%, rgba(92,38,152,0.3), transparent);
}
.sglv-hero-ins {
    position: relative;
    z-index: 1;
    max-width: var(--sglv-max-width);
    margin: 0 auto;
    padding: 32px 20px 40px;
}
.sglv-breadcrumbs {
    font-size: 0.8em;
    color: rgba(255,255,255,0.65);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.sglv-breadcrumbs a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color var(--sglv-transition);
}
.sglv-breadcrumbs a:hover { color: #fff; }
.sglv-breadcrumb-current { color: rgba(255,255,255,0.9); }

.sglv-hero-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: center;
}
.sglv-hero-visual {
    display: flex;
    justify-content: center;
}
.sglv-hero-thumb {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
}
.sglv-hero-info { min-width: 0; }

.sglv-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.sglv-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.72em;
    font-weight: 600;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
}
.sglv-badge-vendor {
    background: rgba(196,229,56,0.12);
    border-color: rgba(196,229,56,0.35);
    color: var(--sglv-cta);
}
.sglv-badge-updated {
    background: rgba(16,185,129,0.12);
    border-color: rgba(16,185,129,0.35);
    color: #5fd9a8;
}
.sglv-badge-disclosure {
    font: inherit;
    font-size: 0.72em;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--sglv-transition), color var(--sglv-transition), border-color var(--sglv-transition);
    font-family: inherit;
}
.sglv-badge-disclosure:hover,
.sglv-badge-disclosure:focus-visible {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
    outline: none;
}

.sglv-hero-h1 {
    margin: 0 0 12px;
    font-size: 2.3em;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
}

.sglv-hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 6px 12px;
    background: rgba(255,215,50,0.12);
    border: 1px solid rgba(255,215,50,0.3);
    border-radius: 50px;
}
.sglv-rating-stars {
    color: #ffd32a;
    letter-spacing: 1px;
    font-size: 0.95em;
}
.sglv-rating-value {
    font-size: 0.95em;
    font-weight: 800;
    color: #ffd32a;
}
.sglv-rating-max {
    font-weight: 500;
    opacity: 0.7;
    font-size: 0.85em;
}

.sglv-hero-desc {
    font-size: 0.95em;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: 22px;
    max-width: 680px;
}
.sglv-hero-desc a { color: var(--sglv-cta); text-decoration: underline; }

.sglv-hero-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ==========================================================
   GAME PLAY AREA
   ========================================================== */
.sglv-play {
    padding: 32px 0 20px;
}
.sglv-play-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0f0a1e;
    box-shadow: var(--sglv-shadow-hover);
    aspect-ratio: 16 / 9;
    max-width: 100%;
}
.sglv-play-cover {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    transition: opacity 0.3s;
}
.sglv-play-buttons {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 2;
    padding: 20px;
    transition: opacity 0.3s;
}
.sglv-play-buttons .sglv-btn {
    width: auto;
    min-width: 200px;
    max-width: 100%;
}
.sglv-play-iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
    border-radius: 16px;
}
.sglv-play-free {
    padding: 16px 32px;
    font-size: 1.05em;
    font-weight: 800;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(92,38,152,0.55);
}
.sglv-play-free:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 40px rgba(92,38,152,0.7);
}
.sglv-play-notice {
    margin-top: 12px;
    font-size: 0.82em;
    color: var(--sglv-text-light);
    text-align: center;
}

/* ==========================================================
   VIDEO
   ========================================================== */
.sglv-video { padding: 30px 0; background: var(--sglv-bg-alt); }
.sglv-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: var(--sglv-shadow-hover);
}
.sglv-video-frame iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* ==========================================================
   PARAMETERS GRID
   ========================================================== */
.sglv-params { padding: 32px 0; }
.sglv-params-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
}
.sglv-param-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--sglv-bg);
    border: 1px solid var(--sglv-border);
    border-radius: var(--sglv-radius);
    transition: all var(--sglv-transition);
    min-width: 0;
}
.sglv-param-card:hover {
    border-color: var(--sglv-primary);
    box-shadow: var(--sglv-shadow);
    transform: translateY(-2px);
}
.sglv-param-icon-wrap {
    width: 36px; height: 36px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(92,38,152,0.1), rgba(232,67,147,0.1));
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sglv-primary);
}
.sglv-param-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}
.sglv-param-label {
    font-size: 0.75em;
    color: var(--sglv-text-light);
    font-weight: 500;
    letter-spacing: 0.01em;
}
.sglv-param-value {
    font-size: 0.92em;
    color: var(--sglv-heading);
    font-weight: 700;
    word-break: break-word;
    line-height: 1.3;
}

/* ==========================================================
   WHERE TO PLAY (casinos)
   ========================================================== */
.sglv-where {
    padding: 36px 0;
    background: var(--sglv-bg-alt);
}
.sglv-casino-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sglv-casino-card {
    display: grid;
    grid-template-columns: 36px 60px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    background: var(--sglv-bg);
    border: 1px solid var(--sglv-border);
    border-radius: var(--sglv-radius);
    transition: all var(--sglv-transition);
}
.sglv-casino-card:hover {
    border-color: var(--sglv-primary);
    box-shadow: var(--sglv-shadow);
    transform: translateY(-2px);
}
.sglv-casino-pos {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9em;
    box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}
.sglv-casino-logo img {
    width: 60px; height: 60px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}
.sglv-casino-info { min-width: 0; }
.sglv-casino-name {
    margin: 0 0 4px;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.2;
}
.sglv-casino-name a {
    color: var(--sglv-heading);
    text-decoration: none;
    transition: color var(--sglv-transition);
}
.sglv-casino-name a:hover { color: var(--sglv-primary); }
.sglv-casino-rating {
    display: inline-block;
    font-size: 0.8em;
    color: #ffa500;
    font-weight: 700;
    margin-bottom: 2px;
}
.sglv-casino-bonus {
    margin: 0;
    font-size: 0.85em;
    color: var(--sglv-text-light);
    line-height: 1.4;
}
.sglv-casino-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}
.sglv-casino-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85em;
    cursor: pointer;
    transition: all var(--sglv-transition);
    box-shadow: 0 3px 12px rgba(16,185,129,0.35);
    white-space: nowrap;
}
.sglv-casino-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(16,185,129,0.5);
    color: #fff;
}
.sglv-casino-review {
    font-size: 0.8em;
    color: var(--sglv-primary);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}
.sglv-casino-review:hover { text-decoration: underline; }

/* ==========================================================
   CONTENT (the_content) + RELATED + COMMENTS
   ========================================================== */
.sglv-content {
    padding: 32px 0;
}
.sglv-content-inner {
    max-width: 1000px;
    line-height: 1.75;
    color: var(--sglv-text);
    font-size: 1em;
}
.sglv-content-inner .wp-block-yoast-faq-block {
 max-width: unset;
}
.sglv-content-inner h2 {
    margin: 28px 0 14px;
    font-size: 1.5em;
    font-weight: 800;
    color: var(--sglv-heading);
}
.sglv-content-inner h3 {
    margin: 22px 0 10px;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--sglv-heading);
}
.sglv-content-inner p { margin: 0 0 14px; }
.sglv-content-inner a { color: var(--sglv-primary); text-decoration: underline; }
.sglv-content-inner a:hover { text-decoration: none; }
.sglv-content-inner ul, .sglv-content-inner ol { margin: 0 0 14px; padding-left: 22px; }
.sglv-content-inner li { margin-bottom: 6px; }
.sglv-content-inner img { border-radius: var(--sglv-radius); max-width: 100%; height: auto; }

.sglv-related {
    padding: 32px 0;
    border-top: 1px solid var(--sglv-border);
}
.sglv-comments {
    padding: 32px 0;
    border-top: 1px solid var(--sglv-border);
}

/* ==========================================================
   STICKY MOBILE CTA
   ========================================================== */
.sglv-sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100;
    display: none;
    gap: 10px;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(92,38,152,0.15);
    box-shadow: 0 -6px 24px rgba(0,0,0,0.12);
    transform: translateY(120%);
    transition: transform 0.28s cubic-bezier(0.2, 0, 0, 1);
}
.sglv-sticky-cta.sglv-sticky-visible {
    transform: translateY(0);
}
.sglv-sticky-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92em;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: all var(--sglv-transition);
    min-height: 44px;
}
.sglv-sticky-primary {
    background: linear-gradient(135deg, var(--sglv-primary), var(--sglv-accent));
    color: #fff;
    box-shadow: 0 4px 14px rgba(92,38,152,0.4);
}
.sglv-sticky-primary:hover,
.sglv-sticky-primary:focus-visible { color: #fff; }
.sglv-sticky-secondary {
    background: var(--sglv-cta);
    color: var(--sglv-cta-text);
    box-shadow: 0 4px 14px rgba(196,229,56,0.35);
}

/* ==========================================================
   RESPONSIVE — 900px (tablet)
   ========================================================== */
@media (max-width: 900px) {
    .sglv-hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }
    .sglv-hero-visual { justify-content: center; }
    .sglv-hero-thumb { max-width: 160px; border-radius: 12px; }
    .sglv-hero-badges { justify-content: center; }
    .sglv-hero-desc { margin-left: auto; margin-right: auto; }
    .sglv-hero-cta { justify-content: center; }
    .sglv-hero-h1 { font-size: 1.8em; }
    .sglv-hero-ins { padding: 22px 16px 26px; }
    .sglv-h2 { font-size: 1.3em; }
    .sglv-wrap { padding: 0 16px; }

    .sglv-casino-card {
        grid-template-columns: 32px 50px 1fr;
        grid-template-rows: auto auto;
        gap: 8px 12px;
    }
    .sglv-casino-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 4px;
        border-top: 1px solid var(--sglv-border);
    }
    .sglv-casino-logo img { width: 50px; height: 50px; }
    .sglv-casino-name { font-size: 0.95em; }
}

/* ==========================================================
   RESPONSIVE — 600px (mobile)
   ========================================================== */
@media (max-width: 600px) {
    .sglv-breadcrumbs {
        justify-content: center;
    }
    /* Hero */
    .sglv-hero-ins { padding: 20px 16px 24px; }
    .sglv-hero-h1 { font-size: 1.55em; }
    .sglv-hero-desc { font-size: 0.9em; }
    .sglv-hero-thumb { max-width: 120px; }

    /* Hero CTA — full width only here */
    .sglv-hero-cta { flex-direction: column; align-items: stretch; }
    .sglv-hero-cta .sglv-btn { width: 100%; }

    /* Play area */
    .sglv-play { padding: 24px 0 16px; }
    .sglv-play-buttons {
        gap: 10px;
        padding: 14px;
    }
    .sglv-play-buttons .sglv-btn {
        min-width: 0;
        width: auto;
        max-width: 260px;
        padding: 11px 22px;
        font-size: 0.9em;
    }
    .sglv-play-free {
        padding: 13px 26px;
        font-size: 0.95em;
    }

    /* Params grid */
    .sglv-params { padding: 24px 0; }
    .sglv-params-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .sglv-param-card { padding: 10px 12px; gap: 10px; }
    .sglv-param-icon-wrap { width: 32px; height: 32px; border-radius: 8px; }
    .sglv-param-label { font-size: 0.72em; }
    .sglv-param-value { font-size: 0.88em; }

    /* Where to play */
    .sglv-where { padding: 24px 0; }
    .sglv-casino-card { padding: 12px 14px; }
    .sglv-casino-pos { width: 26px; height: 26px; font-size: 0.8em; }

    /* Content */
    .sglv-content { padding: 24px 0; }
    .sglv-content-inner h2 { font-size: 1.3em; }
    .sglv-content-inner h3 { font-size: 1.1em; }

    /* Sticky CTA bar */
    .sglv-sticky-cta { display: flex; }
    main.sglv-page { padding-bottom: 76px; }
}

/* ==========================================================
   RESPONSIVE — 380px (small phones)
   ========================================================== */
@media (max-width: 380px) {
    .sglv-hero-h1 { font-size: 1.35em; }
    .sglv-hero-thumb { max-width: 100px; }
    .sglv-params-grid { gap: 6px; }
    .sglv-casino-card {
        grid-template-columns: 28px 44px 1fr;
        gap: 6px 10px;
        padding: 10px 12px;
    }
    .sglv-casino-logo img { width: 44px; height: 44px; }
    .sglv-casino-name { font-size: 0.9em; }
    .sglv-casino-bonus { font-size: 0.78em; }
    .sglv-casino-cta { padding: 9px 14px; font-size: 0.8em; }
}
