/*
Theme Name: Golf Betting Not On Gamstop
Theme URI: https://golfbettingnotongamstop.org.uk
Description: A professional WordPress theme for golf betting affiliate site.
Version: 1.0.0
Author: Golf Betting Team
Text Domain: golf-betting-ngs
*/

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

:root {
    --primary: #6D28D9;
    --secondary: #F5F3FF;
    --accent: #8B5CF6;
    --bg: #FFFFFF;
    --surface: #FBFBFF;
    --text: #2E1065;
    --cta: #7C3AED;
    --border: #DDD6FE;
    --success: #16a34a;
    --danger: #dc2626;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1280px;
    --radius: 0px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

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

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

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }

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

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-align: center;
    text-decoration: none;
    line-height: 1.4;
}

.btn-cta {
    background: var(--cta);
    color: #fff;
}

.btn-cta:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

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

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

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

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

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

.main-nav { display: flex; align-items: center; gap: 0; }

.main-nav a {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s, background 0.2s;
}

.main-nav a:hover {
    color: var(--primary);
    background: var(--secondary);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: var(--radius);
}

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

/* ========== 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: 40px 20px;
}

.hero-content { max-width: 900px; width: 100%; }

.hero h1 {
    margin-bottom: 1rem;
    color: var(--text);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text);
    opacity: 0.85;
}

.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: 40px 20px;
}

.inner-hero.tall { min-height: 45vh; }

.inner-hero .hero-content { max-width: 900px; }

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 1.5rem;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg);
    border: 2px solid var(--border);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    border-radius: var(--radius);
}

/* ========== CASINO GRID ========== */
.casino-grid-section { background: var(--bg); }

.casino-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.casino-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}

.casino-card:hover { border-color: var(--accent); }

.casino-card-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.casino-rank {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
    min-width: 35px;
}

.casino-logo-wrap {
    width: 60px;
    height: 40px;
    flex-shrink: 0;
}

.casino-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.casino-card-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.casino-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.casino-stars { color: #f59e0b; font-size: 0.95rem; margin-bottom: 8px; }

.casino-bonus {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--text);
}

.casino-meta {
    font-size: 0.85rem;
    color: var(--text);
    opacity: 0.75;
    margin-bottom: 4px;
}

.casino-badge {
    display: inline-block;
    margin: 10px 0;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--secondary);
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.casino-card-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.casino-card-footer .btn { width: 100%; }

.casino-terms {
    font-size: 0.75rem;
    color: var(--text);
    opacity: 0.6;
    margin-top: 6px;
}

/* ========== REVIEW BLOCKS ========== */
.reviews-section { background: var(--surface); }

.review-block {
    margin-bottom: 50px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 50px;
}

.review-block:last-child { border-bottom: none; margin-bottom: 0; }

.review-topbar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
}

.review-logo {
    width: 80px;
    height: 50px;
    flex-shrink: 0;
}

.review-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.review-topbar-info { flex: 1; min-width: 200px; }

.review-topbar-info h3 { margin-bottom: 4px; }

.review-topbar-stars { color: #f59e0b; font-size: 1rem; }

.review-topbar .btn { margin-left: auto; white-space: nowrap; }

.review-screenshots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.review-screenshot {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}

.review-screenshot:hover { border-color: var(--accent); }

.review-screenshot img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.review-body {
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.8;
    width: 90%;
}

.review-body p { margin-bottom: 1rem; }

.pros-cons-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.pros-col, .cons-col { padding: 20px; }

.pros-col {
    background: #f0fdf4;
    border-right: 2px solid var(--border);
}

.cons-col { background: #fef2f2; }

.pros-col h4 { color: var(--success); margin-bottom: 12px; }
.cons-col h4 { color: var(--danger); margin-bottom: 12px; }

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

.pros-col li, .cons-col li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
}

.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;
}

/* ========== FAQ ========== */
.faq-section { background: var(--bg); }

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

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

.faq-item h3 { color: var(--primary); margin-bottom: 10px; }

/* ========== AUTHOR BOX ========== */
.author-box {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border);
}

.author-info { flex: 1; text-align: left; }
.author-info h4 { margin-bottom: 4px; }
.author-info p { font-size: 0.95rem; opacity: 0.85; margin-bottom: 0; }

/* ========== FOOTER ========== */
.site-footer {
    background: var(--text);
    color: #fff;
    padding: 40px 20px;
    text-align: left;
}

.site-footer .container { display: flex; flex-direction: column; gap: 15px; }

.footer-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-copy { font-size: 0.85rem; opacity: 0.7; }

.footer-disclaimer {
    font-size: 0.8rem;
    opacity: 0.6;
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 15px;
}

/* ========== LIGHTBOX ========== */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 20px;
}

.lightbox-overlay.active { display: flex; }

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border: 3px solid #fff;
    border-radius: var(--radius);
}

/* ========== CONTENT SECTIONS (plugin injected) ========== */
.content-section {
    width: 100%;
}

.content-section h2,
.content-section h3,
.content-section h4 {
    margin-top: 1.5rem;
}

.content-section p {
    width: 90%;
}

/* ========== CONTACT FORM ========== */
.contact-form-wrap {
    max-width: 700px;
}

.contact-form .form-group { margin-bottom: 20px; }

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form textarea { min-height: 150px; resize: vertical; }

.contact-info-box {
    background: var(--surface);
    border: 2px solid var(--border);
    padding: 30px;
    border-radius: var(--radius);
    margin-top: 40px;
    max-width: 700px;
}

.toast-notification {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 28px;
    background: var(--success);
    color: #fff;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: var(--radius);
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.toast-notification.show { display: block; animation: toastIn 0.3s ease; }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== PAGE CONTENT ========== */
.page-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.page-content h2 { margin-top: 2rem; }
.page-content h3 { margin-top: 1.5rem; }
.page-content p { width: 90%; margin-bottom: 1rem; }
.page-content ul, .page-content ol { margin-bottom: 1rem; padding-left: 24px; width: 90%; }
.page-content li { margin-bottom: 0.5rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); }
    h1 { font-size: 2.2rem; }
}

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

    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        border-bottom: 2px solid var(--border);
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

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

    .main-nav a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border);
    }

    .hero { min-height: 50vh; }
    .inner-hero { min-height: 35vh; }
    .inner-hero.tall { min-height: 38vh; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

    .review-topbar { flex-direction: column; align-items: flex-start; }
    .review-topbar .btn { margin-left: 0; width: 100%; }
    .review-screenshot img { height: 180px; }
    .review-body { width: 100%; }

    .pros-cons-table { grid-template-columns: 1fr; }
    .pros-col { border-right: none; border-bottom: 2px solid var(--border); }

    .author-box { flex-direction: column; }

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

    .content-section p { width: 100%; }
    .page-content p, .page-content ul, .page-content ol { width: 100%; }
}

@media (max-width: 480px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .casino-card-header { padding: 12px; gap: 8px; }
    .casino-rank { font-size: 1.3rem; }
    .casino-logo-wrap { width: 40px; height: 28px; }
    .casino-card-body { padding: 12px; }
    .casino-card-footer { padding: 10px 12px; }
    .review-screenshots { grid-template-columns: 1fr; }
    h1 { font-size: 1.5rem; }
}
