/*
Theme Name: SlotReview
Theme URI: https://burgas-portsl.com/
Description: Custom WordPress theme for slot reviews, built from scratch with Vanilla CSS and Dark Mode support.
Author: Antigravity
Version: 1.0
Text Domain: slotreview
*/

/* 
  ========================================
  DESIGN SYSTEM & VARIABLES
  ========================================
*/

:root {
    /* Colors - DARK Theme (Now Default for Premium Feel) */
    --color-primary: #FFB800;
    /* Yellow/Gold from mockups */
    --color-primary-hover: #E6A600;
    --color-secondary: #0029FF;
    /* Blue accent */
    --color-bg-main: #111315;
    --color-bg-card: #1A1D1F;
    --color-text-main: #FCFCFC;
    --color-text-muted: #9A9FA5;
    --color-border: #272B30;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-success: #33D444;
    --color-error: #FF3B30;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 100px;

    /* Shadows */
    --shadow-sm: 0px 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0px 8px 16px rgba(0, 0, 0, 0.3);

    /* Transitions */
    --transition-base: all 0.3s ease;
}

[data-theme='light'] {
    /* Colors - Light Theme (Optional Toggle) */
    --color-bg-main: #F4F7FE;
    --color-bg-card: #FFFFFF;
    --color-text-main: #1A1D1F;
    --color-text-muted: #6F767E;
    --color-border: #EFEFEF;
    --shadow-md: 0px 8px 16px rgba(0, 0, 0, 0.08);
}

/* 
  ========================================
  BASE STYLES
  ========================================
*/

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.6;
    transition: var(--transition-base);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography Utility */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-black);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

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

/* 
  ========================================
  HEADER STYLES
  ========================================
*/

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.header-top {
    background-color: var(--color-bg-main);
    padding: var(--space-xs) 0;
    font-size: 12px;
}

.header-ticker {
    display: flex;
    gap: var(--space-xl);
    padding: 0 var(--space-md);
    animation: ticker 30s linear infinite;
}

.header-ticker:hover {
    animation-play-state: paused;
}

.ticker-item {
    padding: 2px 12px;
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    white-space: nowrap;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: var(--space-lg);
}

.nav-menu a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition-base);
}

.theme-toggle:hover {
    background-color: var(--color-bg-main);
}

.sun-icon {
    display: none;
}

.moon-icon {
    display: block;
}

[data-theme='dark'] .sun-icon {
    display: block;
}

[data-theme='dark'] .moon-icon {
    display: none;
}

/* 
  ========================================
  FOOTER STYLES
  ========================================
*/

.site-footer {
    background-color: var(--color-bg-card);
    padding: var(--space-xxl) 0 var(--space-md);
    margin-top: var(--space-xxl);
    border-top: 1px solid var(--color-border);
}

.footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xxl);
    margin-bottom: var(--space-xxl);
}

.footer-column h3 {
    margin-bottom: var(--space-lg);
    font-size: 18px;
}

.footer-column ul li {
    margin-bottom: var(--space-sm);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
}

.disclaimer {
    font-size: 12px;
    color: var(--color-text-muted);
    max-width: 800px;
}

.copyright {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 14px;
    color: var(--color-text-muted);
}

.age-limit {
    background: var(--color-border);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

/* 
  ========================================
  MAIN LAYOUT
  ========================================
*/

.site-main {
    padding-top: 120px;
    /* Offset for sticky header */
}

/* 
  ========================================
  HOMEPAGE SECTIONS
  ========================================
*/

/* Hero Section */
.hero-section {
    padding: var(--space-xxl) 0;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg-card) 0%, var(--color-bg-main) 100%);
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: var(--space-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .highlight {
    color: var(--color-secondary);
}

.hero-section p {
    color: var(--color-text-muted);
    font-size: 18px;
    margin-bottom: var(--space-xl);
}

.hero-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-form {
    display: flex;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    box-shadow: var(--shadow-md);
}

.search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px;
    font-size: 16px;
    outline: none;
    color: var(--color-text-main);
}

.search-submit {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0 10px;
}

/* Categories Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.view-all {
    color: var(--color-secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
}

.category-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.category-icon {
    font-size: 32px;
}

.category-name {
    font-weight: 600;
    font-size: 14px;
}

/* Slots Grid */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
}

.slot-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.slot-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.slot-thumb {
    position: relative;
    aspect-ratio: 4/3;
    background: #EEE;
}

.slot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating-badge {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    background: var(--color-primary);
    color: var(--color-black);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 12px;
}

.provider-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    text-transform: uppercase;
}

.slot-info {
    padding: var(--space-md);
}

.slot-info h3 {
    font-size: 16px;
    margin-bottom: var(--space-xs);
}

.slot-meta {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-text-muted);
    font-size: 14px;
}

.faq-answer.hidden {
    display: none;
}

/* SEO Content Section */
.seo-content {
    margin: var(--space-xxl) 0;
}

.content-box {
    background: var(--color-bg-card);
    padding: var(--space-xxl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.content-columns {
    display: flex;
    gap: var(--space-xxl);
    margin-top: var(--space-xl);
}

.content-columns .col {
    flex: 1;
}

.faq-item {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.faq-question {
    padding: var(--space-md) var(--space-lg);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* 
  ========================================
  SINGLE SLOT STYLES
  ========================================
*/

.slot-single-container {
    padding-bottom: var(--space-xxl);
}

.breadcrumbs {
    padding: var(--space-md) 0;
    font-size: 14px;
    color: var(--color-text-muted);
}

.breadcrumbs a:hover {
    color: var(--color-secondary);
}


/* 
  ========================================
  SINGLE SLOT STYLES
  ========================================
*/

.slot-single-container {
    padding-bottom: var(--space-xxl);
}

.breadcrumbs {
    padding: var(--space-md) 0;
    font-size: 14px;
    color: var(--color-text-muted);
}

.breadcrumbs a:hover {
    color: var(--color-secondary);
}

.slot-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
    align-items: start;
    margin-bottom: var(--space-xl);
}

.game-wrapper {
    background: #111;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
}

.game-frame-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

.game-frame-placeholder img {
    /* Critical: ensure any image fills the 16:9 container */
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

.game-frame-placeholder img.bg-blur {
    opacity: 0.4;
    filter: blur(15px) brightness(0.7);
    transform: scale(1.1);
    /* Prevent blurred edges from leaking */
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: var(--space-xl);
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 30;
    /* Ensure overlay is above the image */
}

.slot-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.game-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.game-notice {
    font-size: 14px;
    opacity: 0.7;
}

.game-frame-placeholder.is-playing .game-overlay,
.game-frame-placeholder.is-playing img {
    display: none;
}

/* Sidebar Info */
.expert-rating-box {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    border: 1px solid var(--color-border);
}

.rating-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.rating-header h3 {
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
}

.expert-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.expert-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    padding: 2px;
}

.expert-details {
    flex: 1;
}

.expert-details strong {
    display: block;
    font-size: 16px;
}

.expert-details span {
    font-size: 12px;
    color: var(--color-text-muted);
}

.rating-circle {
    text-align: right;
}

.score {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-primary);
}

.expert-quote {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}

.last-winners {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--color-border);
}

.last-winners h3 {
    font-size: 16px;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 10px;
}

.winner-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.winner-item:last-child {
    border-bottom: none;
}

.winner-info {
    flex: 1;
}

.amount {
    display: block;
    color: var(--color-success);
    font-weight: 700;
    font-size: 14px;
}

/* Specs Bar */
.slot-specs-bar {
    background: var(--color-bg-card);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-xl);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.spec-item .label {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.spec-item .value {
    font-size: 22px;
    font-weight: 900;
}

/* Slot Details Card Refining */
.details-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border-subtle);
}

.detail-item.full-width {
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 10px;
}

.detail-label {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-label i {
    color: var(--color-primary);
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.detail-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-main);
    text-align: right;
}

.detail-item.full-width .detail-value {
    text-align: left;
    line-height: 1.6;
    background: rgba(var(--color-primary-rgb, 255, 184, 0), 0.05);
    padding: 15px;
    border-radius: var(--radius-md);
    width: 100%;
    font-weight: 400;
    font-size: 13px;
}

/* Character Icons Placeholder Replacements */
[class^="icon-"]::before {
    content: '•';
    color: var(--color-primary);
    margin-right: 4px;
    font-style: normal;
}

.icon-provider::before {
    content: '🏢';
}

.icon-theme::before {
    content: '🎨';
}

.icon-rtp::before {
    content: '📈';
}

.icon-volatility::before {
    content: '⚡';
}

.icon-maxwin::before {
    content: '🏆';
}

.icon-reels::before {
    content: '🎰';
}

.icon-features::before {
    content: '✨';
}

.icon-bonusbuy::before {
    content: '🛒';
}

.icon-bet::before {
    content: '💰';
}

/* Pros & Cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.pros-box,
.cons-box {
    background: var(--color-bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border-top: 5px solid var(--color-success);
}

.cons-box {
    border-top-color: var(--color-error);
}

.pros-box h3,
.cons-box h3 {
    margin-bottom: var(--space-md);
}

.pros-box ul,
.cons-box ul {
    list-style: none;
    padding: 0;
}

.pros-box li,
.cons-box li {
    padding: 5px 0;
    font-size: 15px;
    display: flex;
    gap: 10px;
}

/* Content Layout with Sidebar */
.slot-layout-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-xl);
}

.content-wrapper {
    background: var(--color-bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

/* Premium Technical Table Styles */
.stylized-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: var(--space-md) 0;
}

.stylized-table th,
.stylized-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

.stylized-table th {
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.stylized-table tr:last-child td {
    border-bottom: none;
}

.stylized-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Layout Consistency Fixes */
.slot-single-container section {
    margin-bottom: var(--space-xxl);
}

.slot-hero {
    padding-top: var(--space-lg);
}

.slot-specs-bar {
    margin-top: calc(var(--space-xxl) * -0.5);
    position: relative;
    z-index: 10;
}

.slot-details-card.sidebar-style {
    border-left: 3px solid var(--color-primary);
}

.slot-details-card h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 10px;
}

.slot-details-card h3::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.details-list-grid.sidebar-style {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.details-list-grid.sidebar-style .detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.details-list-grid.sidebar-style .detail-item:last-child {
    border-bottom: none;
}

.details-list-grid.sidebar-style .detail-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.details-list-grid.sidebar-style .detail-value {
    font-size: 13px;
    font-weight: 500;
    text-align: right;
}


.entry-content {
    line-height: 1.8;
}


.list-styled p,
.list-styled ul {
    margin-bottom: var(--space-md);
}

.list-styled ul {
    list-style: none;
    padding: 0;
}

.list-styled p,
.list-styled li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.list-styled p::before,
.list-styled li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 900;
    font-size: 20px;
    line-height: 1;
    top: -2px;
}

.pros-box .list-styled p::before,
.pros-box .list-styled li::before {
    content: '✓';
    color: var(--color-success);
}

.cons-box .list-styled p::before,
.cons-box .list-styled li::before {
    content: '✕';
    color: var(--color-error);
}

/* Characteristics Grid in Main Content */
.slot-details-card.main-styled {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.slot-details-card.main-styled h3 {
    margin-bottom: var(--space-lg);
    font-size: 20px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    padding-bottom: 5px;
}

.details-horizontal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 var(--space-xxl);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
    align-items: center;
}

.detail-row strong {
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.detail-row span {
    font-weight: 700;
    color: var(--color-text-main);
}

/* Stylized Tables */
.stylized-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.02);
}

.stylized-table th {
    background: var(--color-bg-main);
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 15px;
    border-bottom: 2px solid var(--color-border);
}

.stylized-table td {
    padding: 15px;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

.stylized-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

.stylized-table tr:last-child td {
    border-bottom: none;
}

/* Fake Browser Error */
.browser-error-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f1f3f4;
    color: #3c4043;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    z-index: 10;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-align: left;
}

[data-theme="dark"] .browser-error-view {
    background: #202124;
    color: #e8eaed;
}

.error-content {
    max-width: 500px;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.error-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: inherit;
}

.error-content p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.8;
}

.error-cta {
    background: rgba(0, 0, 0, 0.05);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .error-cta {
    background: rgba(255, 255, 255, 0.05);
}

.casino-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-sm);
}

.hidden {
    display: none !important;
}

/* 
  ========================================
  TYPOGRAPHY & CONTENT SPACING (Single Page)
  ========================================
*/

.entry-content,
.expert-quote,
.advice-box,
.pros-content,
.cons-content {
    font-size: 16px;
    line-height: 1.8;
    /* Increased for better readability */
    color: var(--color-text-main);
}

.entry-content p,
.expert-quote p,
.advice-box p,
.pros-content p,
.cons-content p {
    margin-bottom: 24px;
    /* Significant spacing between paragraphs */
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: 40px 0 20px;
    line-height: 1.3;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 12px;
}

.content-wrapper {
    background: var(--color-bg-card);
    padding: var(--space-xxl);
    /* More air around content */
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

/* Fake Player Logic & UI */
.fake-player-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.fake-player-view .loader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fake-player-view .spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fake-player-view .error-wrapper {
    background: radial-gradient(circle at center, rgba(40, 40, 40, 1) 0%, rgba(0, 0, 0, 1) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xxl);
}

.fake-player-view .error-icon-box {
    font-size: 100px;
    margin-bottom: 24px;
    text-shadow: 0 0 30px rgba(255, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

.fake-player-view h3 {
    font-size: 36px;
    color: var(--color-error);
    margin-bottom: 16px;
    text-transform: uppercase;
    font-weight: 900;
}

.fake-player-view .player-cta {
    margin-top: 40px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 700px;
}

.fake-player-view .cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Initial Bait Player View */
.initial-bait {
    cursor: pointer;
}

.play-btn-main {
    width: 90px;
    height: 90px;
    background: var(--color-primary);
    border: none;
    border-radius: 50%;
    color: #000;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 10px rgba(255, 184, 0, 0.2), 0 15px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: play-pulse 2s infinite;
}

@keyframes play-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0px rgba(255, 184, 0, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 184, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0px rgba(255, 184, 0, 0);
    }
}

.play-btn-main:hover {
    transform: scale(1.1);
    background: #fff;
}

.fake-game-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 12px 20px;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.bar-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.bar-item span {
    font-size: 9px;
    color: #888;
    text-transform: uppercase;
    font-weight: 700;
}

.bar-item strong {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 800;
}

/* Loading Progress Bar */
.fake-progress-bar {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 20px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
    transition: width 2s ease-in-out;
}

.fake-player-view .btn-secondary {
    background-color: var(--color-primary);
    color: #000;
    padding: 20px 40px;
    font-size: 18px;
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.3);
}

/* Hide elements in game frame when fake player is active */
.game-frame-placeholder.is-loading img,
.game-frame-placeholder.is-loading .game-overlay,
.game-frame-placeholder.is-error img,
.game-frame-placeholder.is-error .game-overlay {
    display: none !important;
}

/* Hide bait when loading/error */
.game-frame-placeholder.is-loading .initial-bait,
.game-frame-placeholder.is-error .initial-bait {
    display: none !important;
}

/* Fix for Characteristics mb-xl */
.mb-xl {
    margin-bottom: var(--space-xxl) !important;
}

.mt-xl {
    margin-top: var(--space-xxl) !important;
}

/* Sidebar Bonus Card */
.sidebar-bonus-card {
    background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(255, 184, 0, 0.05) 100%);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-primary);
    text-align: center;
}

.sidebar-bonus-card h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

.sidebar-bonus-card p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* 
  ========================================
  ARCHIVE & SEARCH STYLES
  ========================================
*/

.archive-header {
    margin-bottom: var(--space-xl);
}

.archive-header h1 {
    font-size: 36px;
    margin-bottom: var(--space-sm);
}

.archive-description {
    color: var(--color-text-muted);
    font-size: 16px;
}

.archive-filters {
    background: var(--color-bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    margin-bottom: var(--space-xl);
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: var(--space-md);
    align-items: flex-end;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-item label {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-muted);
}

.filter-item select {
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: var(--color-bg-main);
    color: var(--color-text-main);
    outline: none;
}

.filter-actions {
    display: flex;
    gap: var(--space-sm);
}

.archive-pagination {
    margin-top: var(--space-xxl);
    display: flex;
    justify-content: center;
}

.no-results {
    text-align: center;
    padding: var(--space-xxl) 0;
}

.search-result-count {
    font-weight: 600;
    color: var(--color-secondary);
}

/* SEO Description in Archive */
.archive-seo-content {
    margin-top: var(--space-xxl);
}

/* 
  ========================================
  404 ERROR PAGE STYLES
  ========================================
*/

.error-404-container {
    padding: var(--space-xxl) 0;
}

.slot-machine-404 {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.slot-reel {
    width: 80px;
    height: 120px;
    background: var(--color-bg-card);
    border: 3px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    font-weight: 900;
    color: var(--color-text-main);
}

.slot-reel.highlight {
    color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.3);
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.suggested-content {
    margin-top: var(--space-xxl);
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-xxl);
}

.slot-mini-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--color-bg-card);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.mini-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.mini-info {
    display: flex;
    flex-direction: column;
}

/* Compact Expert & Buttons */
.compact-expert {
    padding: var(--space-md);
}

.compact-expert .expert-info {
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    gap: var(--space-sm);
}

.compact-expert .expert-avatar {
    width: 44px;
    height: 44px;
}

.compact-expert .score {
    font-size: 24px;
}

.compact-expert .expert-quote {
    font-size: 13px;
    margin-bottom: var(--space-sm);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.mt-xs {
    margin-top: 5px !important;
}

.mt-md {
    margin-top: 15px !important;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Animated Winners Styles */
.winners-viewport {
    overflow: hidden;
    position: relative;
    max-height: 200px;
}

.winner-item.new-entry {
    animation: slideDownFade 0.5s ease-out forwards;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Expanded Specs Grid */
@media (min-width: 1025px) {
    .specs-grid {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 68, 68, 0.1);
    color: var(--color-error);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 10px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--color-error);
    border-radius: 50%;
    animation: live-blink 1s infinite;
}

@keyframes live-blink {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/* Legacy mobile overhaul removed - now handled by Tailwind CSS */