/* SlotsGB.com - UK Slot Games Guide - Emerald Gold Theme */
/* Custom Mobile-First CSS Framework 300-1500px */

:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --emerald: #10b981;
    --emerald-light: #34d399;
    --emerald-dark: #059669;
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --gold-dark: #d97706;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --red: #ef4444;
    --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --shadow-card: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-hover: 0 8px 30px rgba(16,185,129,0.2);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--gray-200);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) { .container { padding: 0 24px; } }
@media (min-width: 1200px) { .container { padding: 0 32px; } }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
}

h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 0.8rem; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); margin-bottom: 0.6rem; }
h4 { font-size: clamp(1rem, 2.5vw, 1.25rem); margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--emerald-light);
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

a:hover { color: var(--gold); }

strong { color: var(--white); }

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    min-height: 68px;
}

.site-logo img {
    width: 150px;
    height: 75px;
    display: block;
    object-fit: contain;
}

/* Navigation */
.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: 16px;
    border-bottom: 2px solid var(--emerald);
}

.main-nav.active {
    display: block;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.nav-menu li a {
    display: block;
    padding: 14px 16px;
    color: var(--gray-200);
    font-weight: 600;
    border-bottom: 1px solid var(--bg-card);
    transition: all 0.25s var(--ease);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--emerald-light);
    background: var(--bg-card);
}

/* Burger Button */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--emerald);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 8px;
}

.burger-btn span {
    display: block;
    height: 2px;
    background: var(--emerald);
    border-radius: 1px;
    transition: all 0.3s var(--ease);
}

.burger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (min-width: 900px) {
    .burger-btn { display: none; }
    
    .main-nav {
        display: flex;
        position: static;
        background: none;
        padding: 0;
        border: none;
    }
    
    .nav-menu {
        flex-direction: row;
        align-items: center;
        gap: 4px;
    }
    
    .nav-menu li a {
        padding: 10px 16px;
        border: none;
        border-radius: var(--radius-sm);
    }
    
    .nav-menu li a:hover,
    .nav-menu li a.active {
        background: var(--emerald);
        color: var(--bg-dark);
    }
}

/* Main Content */
.page-main {
    padding-top: 68px;
}

/* Sections */
.section {
    padding: 48px 0;
}

.section-alt {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, transparent 100%);
}

.section-heading {
    text-align: center;
    margin-bottom: 36px;
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald), var(--gold));
    margin: 14px auto 0;
    border-radius: 2px;
}

/* Hero Section */
.hero-block {
    padding: 60px 0 48px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a2e44 50%, var(--bg-card) 100%);
    position: relative;
    overflow: hidden;
}

.hero-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 32px;
    align-items: center;
}

.hero-content h1 span {
    color: var(--emerald-light);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--gray-300);
}

.hero-img img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
    .hero-block { padding: 80px 0 64px; }
    .hero-wrap { grid-template-columns: 1fr 1fr; gap: 48px; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    color: var(--white);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg-dark);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    color: var(--bg-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--emerald);
    color: var(--emerald-light);
}

.btn-outline:hover {
    background: var(--emerald);
    color: var(--bg-dark);
}

.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* Slot Cards */
.slots-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.slot-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(16, 185, 129, 0.15);
    overflow: hidden;
    transition: all 0.3s var(--ease);
}

.slot-card:hover {
    border-color: var(--emerald);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.slot-card-inner {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 14px;
    padding: 16px;
    align-items: center;
}

.slot-thumb {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 2px solid var(--bg-card-hover);
}

.slot-info h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.slot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.slot-tag {
    background: var(--bg-card-hover);
    color: var(--gold);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.slot-desc {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slot-cta {
    padding: 0 16px 16px;
}

@media (min-width: 500px) {
    .slot-card-inner {
        grid-template-columns: 100px 1fr auto;
    }
    .slot-cta { padding: 16px; }
}

/* Casino Cards */
.casinos-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.casino-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 18px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    display: grid;
    gap: 14px;
    transition: all 0.3s var(--ease);
}

.casino-card:hover {
    border-color: var(--gold);
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.15);
}

.casino-logo {
    width: 110px;
    height: 55px;
    object-fit: contain;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 6px;
}

.casino-info h3 { font-size: 1.1rem; margin-bottom: 6px; }

.casino-bonus {
    display: inline-block;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    color: var(--bg-dark);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.casino-info p {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 0;
}

@media (min-width: 550px) {
    .casino-card {
        grid-template-columns: 110px 1fr auto;
        align-items: center;
    }
}

/* Tables */
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
}

.data-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--bg-card-hover);
}

.data-table th {
    background: var(--bg-card);
    color: var(--emerald-light);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tbody tr:hover {
    background: rgba(16, 185, 129, 0.05);
}

.data-table td { color: var(--gray-300); font-size: 0.9rem; }

/* FAQ Accordion */
.faq-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.faq-item.open { border-color: var(--emerald); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    background: none;
    border: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s var(--ease);
}

.faq-question:hover { background: var(--bg-card-hover); }

.faq-icon {
    font-size: 1.4rem;
    color: var(--emerald);
    transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
    padding: 0 18px 18px;
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Safety Checklist */
.checklist {
    display: grid;
    gap: 12px;
}

.check-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--emerald);
}

.check-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: var(--emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 0.75rem;
}

.check-text { color: var(--gray-300); font-size: 0.9rem; }

@media (min-width: 768px) {
    .checklist { grid-template-columns: repeat(2, 1fr); }
}

/* Reviews */
.reviews-grid {
    display: grid;
    gap: 16px;
}

.review-item {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.review-name { font-weight: 700; color: var(--white); }
.review-date { font-size: 0.75rem; color: var(--gray-500); }
.review-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 8px; }
.review-text { font-style: italic; color: var(--gray-400); font-size: 0.9rem; }

@media (min-width: 700px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

/* Author Box */
.author-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gold);
    display: grid;
    gap: 18px;
}

.author-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--emerald);
}

.author-name { margin-bottom: 2px; }
.author-title { color: var(--gold); font-size: 0.9rem; margin-bottom: 10px; }
.author-bio { font-size: 0.9rem; color: var(--gray-400); }
.updated { font-size: 0.8rem; color: var(--gray-500); margin-top: 10px; }

@media (min-width: 550px) {
    .author-box {
        grid-template-columns: auto 1fr;
        align-items: center;
    }
}

/* Breadcrumbs */
.breadcrumb-bar {
    padding: 14px 0;
    background: rgba(30, 41, 59, 0.6);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    font-size: 0.8rem;
}

.breadcrumb-list li::after {
    content: '›';
    margin-left: 6px;
    color: var(--gray-500);
}

.breadcrumb-list li:last-child::after { display: none; }
.breadcrumb-list a { color: var(--gray-400); }
.breadcrumb-list a:hover { color: var(--emerald-light); }

/* Footer */
.site-footer {
    background: #0a0f1a;
    padding: 48px 0 24px;
    border-top: 1px solid var(--bg-card);
}

.footer-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 36px;
}

.footer-brand img { width: 130px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; color: var(--gray-500); }

.footer-col h5 {
    color: var(--gold);
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--gray-400); font-size: 0.85rem; }
.footer-col a:hover { color: var(--emerald-light); }

@media (min-width: 550px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); } }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--bg-card);
    text-align: center;
}

.partner-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.partner-badges img { height: 36px; opacity: 0.7; }

.disclaimer {
    font-size: 0.75rem;
    color: var(--gray-500);
    max-width: 700px;
    margin: 0 auto 12px;
}

.copyright { font-size: 0.75rem; color: var(--gray-500); }

/* 404 Page */
.error-page {
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 16px;
}

.error-num {
    font-size: clamp(6rem, 25vw, 14rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--emerald), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

/* Content Layout */
.content-grid {
    display: grid;
    gap: 32px;
}

.main-col { min-width: 0; }

.side-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.widget h4 {
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.widget-text { font-size: 0.85rem; color: var(--gray-400); }

@media (min-width: 1000px) {
    .content-grid { grid-template-columns: 1fr 300px; }
}

/* Utilities */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-sm { font-size: 0.85rem; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.5s var(--ease) forwards; }

/* Print */
@media print {
    .site-header, .site-footer, .btn, .burger-btn { display: none; }
    body { background: #fff; color: #000; }
    .page-main { padding-top: 0; }
}
