/*
Theme Name: Bookmakers Not On Gamstop
Theme URI: https://bookmakersnotongamstop.it.com
Description: Casino affiliate theme for Bookmakers Not On Gamstop
Author: bookmakersnotongamstop.it.com
Version: 1.0.0
Text Domain: nokyc
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #14B8A6;
    --secondary: #134E4A;
    --accent: #2DD4BF;
    --background: #042F2E;
    --surface: #134E4A;
    --text: #F0FDFA;
    --text-muted: #99F6E4;
    --cta: #0D9488;
    --cta-hover: #14B8A6;
    --border: #115E59;
    --danger: #EF4444;
    --success: #22C55E;
    --warning: #F59E0B;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --max-width: 1280px;
    --radius: 0px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--primary); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-spacing { padding: 60px 0; }

/* === HEADER === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--secondary);
    border-bottom: 2px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}

.main-nav { display: flex; gap: 30px; list-style: none; }
.main-nav a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.main-nav a:hover { color: var(--accent); }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    background: var(--secondary);
    border-top: 1px solid var(--border);
}
.mobile-nav.active { display: block; }
.mobile-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}
.mobile-nav a:hover { color: var(--accent); background: var(--background); }

@media (max-width: 768px) {
    .hamburger { display: block; }
    .main-nav { display: none; }
}

/* === HERO === */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--secondary);
    border-bottom: 3px solid var(--border);
    padding: 60px 20px;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    color: var(--text);
}
.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.inner-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--secondary);
    border-bottom: 3px solid var(--border);
    padding: 60px 20px;
}
.inner-hero.tall { min-height: 45vh; }

.inner-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 20px;
}
.inner-hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.hero-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}
.hero-badge {
    background: var(--background);
    border: 1px solid var(--border);
    padding: 10px 20px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    border-radius: var(--radius);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    text-align: center;
}
.btn-cta {
    background: var(--cta);
    color: #fff;
}
.btn-cta:hover {
    background: var(--cta-hover);
    color: #fff;
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}
.btn-outline:hover {
    background: var(--accent);
    color: var(--background);
}
.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

/* === CASINO GRID === */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.casino-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.casino-card-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border);
}
.casino-rank {
    background: var(--cta);
    color: #fff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    border-radius: var(--radius);
}
.casino-logo-wrap {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    overflow: hidden;
    border-radius: var(--radius);
}
.casino-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.casino-card-name {
    font-size: 1rem;
    font-weight: 700;
}
.casino-card-badge {
    font-size: 0.7rem;
    color: var(--success);
    display: block;
    margin-top: 2px;
}
.casino-card-body { padding: 20px; flex: 1; }
.casino-stars {
    color: var(--warning);
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.casino-bonus {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}
.casino-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.casino-meta span { display: block; }
.casino-card-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border);
}
.casino-card-footer .btn { width: 100%; }
.casino-terms {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: center;
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .casino-card-header { padding: 12px; gap: 10px; }
    .casino-card-body { padding: 12px; }
    .casino-card-footer { padding: 12px; }
    .casino-card-name { font-size: 0.85rem; }
}

/* === REVIEW BLOCKS === */
.review-block {
    margin-bottom: 60px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 60px;
}
.review-block:last-child { border-bottom: none; }

.review-topbar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.review-topbar-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    overflow: hidden;
    border-radius: var(--radius);
}
.review-topbar-logo img { width: 100%; height: 100%; object-fit: contain; }
.review-topbar-info { flex: 1; }
.review-topbar-info h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}
.review-topbar-info .casino-stars { margin-bottom: 0; }
.review-topbar .btn { flex-shrink: 0; }

.review-screenshots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}
.review-screenshot {
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius);
    aspect-ratio: 16/10;
}
.review-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s;
}
.review-screenshot:hover img { opacity: 0.85; }

.review-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 30px;
}
.review-body p { margin-bottom: 15px; }
.review-body h2, .review-body h3, .review-body h4 {
    margin-top: 25px;
    margin-bottom: 10px;
}

/* Pros/Cons Table */
.pros-cons-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
}
.pros-col, .cons-col { padding: 20px; }
.pros-col { background: rgba(34, 197, 94, 0.08); border-right: 1px solid var(--border); }
.cons-col { background: rgba(239, 68, 68, 0.08); }
.pros-col h4 { color: var(--success); margin-bottom: 12px; font-size: 1rem; }
.cons-col h4 { color: var(--danger); margin-bottom: 12px; font-size: 1rem; }
.pros-col ul, .cons-col ul { list-style: none; }
.pros-col li, .cons-col li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}
.pros-col li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.cons-col li::before { content: '✗'; position: absolute; left: 0; color: var(--danger); font-weight: 700; }

@media (max-width: 600px) {
    .pros-cons-table { grid-template-columns: 1fr; }
    .pros-col { border-right: none; border-bottom: 1px solid var(--border); }
    .review-screenshots { grid-template-columns: 1fr; }
    .review-topbar { flex-direction: column; text-align: left; align-items: flex-start; }
    .review-topbar .btn { width: 100%; }
}

/* === FAQ === */
.faq-item {
    margin-bottom: 30px;
}
.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--accent);
}
.faq-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* === AUTHOR BOX === */
.author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: var(--radius);
}
.author-box-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--border);
    border-radius: var(--radius);
}
.author-box-img img { width: 100%; height: 100%; object-fit: cover; }
.author-box-info h4 { font-size: 1rem; margin-bottom: 4px; }
.author-box-info .author-role {
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 8px;
}
.author-box-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 600px) {
    .author-box { flex-direction: column; }
}

/* === TEAM GRID (About page) === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}
.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 25px;
    text-align: left;
    border-radius: var(--radius);
}
.team-card-img {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border: 2px solid var(--border);
    margin-bottom: 15px;
    border-radius: var(--radius);
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-size: 1rem; margin-bottom: 4px; }
.team-card .team-role {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 8px;
}
.team-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === CONTACT FORM === */
.contact-form-wrap {
    max-width: 700px;
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: var(--radius);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-info-box {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: var(--radius);
    margin-top: 40px;
}
.contact-info-box h3 { font-size: 1.1rem; margin-bottom: 15px; }
.contact-info-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* === LIGHTBOX === */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

/* === TOAST === */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--success);
    color: #fff;
    padding: 15px 25px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10000;
    border-radius: var(--radius);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
}
.toast.active { transform: translateY(0); opacity: 1; }

/* === FOOTER === */
.site-footer {
    background: var(--secondary);
    border-top: 2px solid var(--border);
    padding: 40px 20px;
    text-align: left;
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.footer-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}
.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
    line-height: 1.6;
}

/* === CONTENT SECTIONS === */
.content-section {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}
.content-section p { margin-bottom: 15px; }
.content-section h2 { font-size: 1.5rem; margin: 30px 0 15px; }
.content-section h3 { font-size: 1.2rem; margin: 25px 0 10px; }
.content-section ul, .content-section ol {
    margin: 15px 0;
    padding-left: 20px;
}
.content-section li { margin-bottom: 8px; color: var(--text-muted); }

/* === PAGE CONTENT === */
.page-content {
    font-size: 1rem;
    line-height: 1.8;
}
.page-content p { margin-bottom: 15px; }
.page-content h2 { font-size: 1.5rem; margin: 30px 0 15px; }
.page-content h3 { font-size: 1.2rem; margin: 25px 0 10px; }

/* Placeholder box */
.placeholder-box {
    border: 2px dashed var(--border);
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-radius: var(--radius);
}

/* Section heading */
.section-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

/* How We Rate criteria */
.criteria-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}
.criteria-badge {
    background: var(--background);
    border: 1px solid var(--border);
    padding: 8px 18px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    border-radius: var(--radius);
}
