/*
Theme Name: Sites Not On Gamstop
Theme URI: https://sitesnotongamstop.org.uk
Author: SitesNotOnGamstop Team
Description: Casino affiliate theme for Sites Not On Gamstop
Version: 1.0.0
Text Domain: nokyc
*/

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

:root {
    --color-primary: #991B1B;
    --color-secondary: #FEF2F2;
    --color-accent: #EF4444;
    --color-bg: #FFFFFF;
    --color-surface: #FFF5F5;
    --color-text: #450A0A;
    --color-cta: #DC2626;
    --color-border: #FEE2E2;
    --color-star: #F59E0B;
    --color-green: #16A34A;
    --color-green-bg: #F0FDF4;
    --color-red: #DC2626;
    --color-red-bg: #FEF2F2;
    --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(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

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

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

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

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

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.site-logo span { color: var(--color-cta); }

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

.main-nav a {
    display: block;
    padding: 24px 20px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.current {
    color: var(--color-cta);
    border-bottom-color: var(--color-cta);
}

.hamburger {
    display: none;
    background: none;
    border: 2px solid var(--color-primary);
    padding: 8px;
    cursor: pointer;
    border-radius: var(--radius);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 2px solid var(--color-border);
    z-index: 999;
    padding: 16px 0;
}

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

.mobile-nav a {
    display: block;
    padding: 14px 24px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 4px solid transparent;
}

.mobile-nav a:hover {
    color: var(--color-cta);
    border-left-color: var(--color-cta);
    background: var(--color-secondary);
}

/* === HERO === */
.hero {
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}

.hero-home { min-height: 60vh; }
.hero-inner-about { min-height: 40vh; }
.hero-inner-howwerate { min-height: 45vh; }
.hero-inner { min-height: 35vh; }

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #FFFFFF;
    margin-bottom: 20px;
    max-width: 900px;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #FEE2E2;
    margin-bottom: 32px;
    max-width: 700px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #FFFFFF;
    padding: 8px 20px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
}

.btn-cta {
    display: inline-block;
    background: var(--color-cta);
    color: #FFFFFF;
    padding: 16px 40px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

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

/* === SECTION SPACING === */
.section-spacing { padding: 80px 0; }
.section-heading {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 40px;
    text-align: left;
    border-left: 5px solid var(--color-cta);
    padding-left: 20px;
}

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

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

.casino-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(153, 27, 27, 0.1);
}

.casino-card-rank {
    background: var(--color-primary);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    display: inline-block;
    letter-spacing: 0.5px;
}

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

.casino-card-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
}

.casino-card-logo-placeholder {
    width: 60px;
    height: 60px;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #999;
}

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

.casino-card-stars {
    color: var(--color-star);
    font-size: 0.85rem;
    margin-top: 2px;
}

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

.casino-card-bonus {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
}

.casino-card-meta {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
}

.casino-card-meta span { display: block; }

.casino-card-badge {
    display: inline-block;
    background: var(--color-green-bg);
    color: var(--color-green);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border-radius: var(--radius);
    margin-top: 4px;
    align-self: flex-start;
}

.casino-card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.casino-card-footer .btn-cta {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 0.85rem;
    width: 100%;
}

.casino-card-terms {
    font-size: 0.65rem;
    color: #999;
    margin-top: 8px;
    text-align: center;
}

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

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

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

.review-topbar-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
}

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

.review-topbar-info h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.review-topbar-stars {
    color: var(--color-star);
    font-size: 1rem;
}

.review-topbar .btn-cta {
    padding: 12px 28px;
    font-size: 0.85rem;
    white-space: nowrap;
}

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

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

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

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

.review-screenshot-placeholder {
    width: 100%;
    height: 250px;
    border: 2px dashed var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #999;
    border-radius: var(--radius);
}

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

.review-body h2,
.review-body h3,
.review-body h4 {
    margin: 24px 0 12px;
}

.review-body p { margin-bottom: 16px; }

.review-proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.review-pros, .review-cons {
    padding: 24px;
}

.review-pros {
    background: var(--color-green-bg);
    border-right: 2px solid var(--color-border);
}

.review-cons { background: var(--color-red-bg); }

.review-pros h4 {
    color: var(--color-green);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    font-family: var(--font-heading);
}

.review-cons h4 {
    color: var(--color-red);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    font-family: var(--font-heading);
}

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

.review-pros li, .review-cons li {
    padding: 6px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.review-pros li::before {
    content: '✓ ';
    color: var(--color-green);
    font-weight: 700;
}

.review-cons li::before {
    content: '✗ ';
    color: var(--color-red);
    font-weight: 700;
}

/* === FAQ === */
.faq-item {
    margin-bottom: 32px;
}

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

.faq-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
}

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

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

.author-box-info h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.author-box-info p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
}

/* === FOOTER === */
.site-footer {
    background: var(--color-primary);
    color: #FEE2E2;
    padding: 40px 0;
    font-size: 0.85rem;
    line-height: 1.7;
}

.site-footer .footer-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.site-footer .footer-disclaimer {
    max-width: 800px;
    margin-top: 16px;
    font-size: 0.75rem;
    color: rgba(254, 226, 226, 0.7);
}

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

.content-section h2, .content-section h3, .content-section h4 {
    margin: 20px 0 10px;
}

.content-section p {
    margin-bottom: 14px;
}

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

.page-content h2, .page-content h3 {
    margin: 28px 0 14px;
}

.page-content p { margin-bottom: 16px; }

.page-content ul, .page-content ol {
    margin: 0 0 16px 24px;
}

.page-content li { margin-bottom: 6px; }

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

.contact-form label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: var(--color-primary);
}

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

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

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

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

.contact-info-box h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.contact-info-box p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666;
}

.toast-notification {
    position: fixed;
    top: 90px;
    right: 24px;
    background: var(--color-green);
    color: #fff;
    padding: 16px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius);
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.toast-notification.show { transform: translateX(0); }

/* === LIGHTBOX === */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 40px;
}

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

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

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 10001;
    font-family: var(--font-heading);
}

/* === ABOUT PAGE TEAM === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: left;
}

.team-member img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-member-info { padding: 20px; }

.team-member-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.team-member-info p {
    font-size: 0.85rem;
    color: #666;
}

/* === HOW WE RATE CRITERIA === */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.criteria-item {
    padding: 28px;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
}

.criteria-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.criteria-item p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
}

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

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

    .hero h1 { font-size: 1.75rem; }
    .hero p { font-size: 1rem; }
    .hero-home { min-height: 50vh; }

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

    .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    .casino-card-header { padding: 14px; gap: 10px; }
    .casino-card-logo, .casino-card-logo-placeholder { width: 44px; height: 44px; }
    .casino-card-name { font-size: 0.85rem; }
    .casino-card-body { padding: 14px; }
    .casino-card-bonus { font-size: 0.85rem; }
    .casino-card-footer { padding: 12px 14px; }

    .review-topbar { flex-direction: column; text-align: left; }
    .review-topbar .btn-cta { width: 100%; text-align: center; }
    .review-screenshots { grid-template-columns: 1fr; }
    .review-body { width: 100%; }
    .review-proscons { grid-template-columns: 1fr; }
    .review-pros { border-right: none; border-bottom: 2px solid var(--color-border); }

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

    .hero-badges { gap: 8px; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
}

@media (max-width: 480px) {
    .casino-card-meta { font-size: 0.7rem; }
    .casino-card-footer .btn-cta { font-size: 0.75rem; padding: 10px; }
}
