/*
Theme Name: No Deposit Limit Casinos
Theme URI: https://nodepositlimitcasinos.org.uk
Description: Casino affiliate theme for No Deposit Limit Casinos
Version: 1.0.0
Author: nodepositlimitcasinos.org.uk
Text Domain: nodepositlimit
*/

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

:root {
    --color-primary: #0369A1;
    --color-secondary: #F0F9FF;
    --color-accent: #0EA5E9;
    --color-bg: #FFFFFF;
    --color-surface: #F0F7FF;
    --color-text: #0C4A6E;
    --color-cta: #0284C7;
    --color-border: #BAE6FD;
    --color-text-light: #64748B;
    --color-success: #16A34A;
    --color-danger: #DC2626;
    --color-star: #F59E0B;
    --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-accent); }

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

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

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

/* === 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: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.site-logo a { color: inherit; }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

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

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

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

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

/* === HERO === */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-surface);
    padding: 80px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto 32px;
}

.hero-inner { width: 100%; max-width: var(--max-width); }

.inner-hero {
    min-height: 40vh;
    padding: 60px 20px;
}

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

.hero-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hero-badge {
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-primary);
}

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

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

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

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

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

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* === 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;
}

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

.casino-card-header {
    background: var(--color-surface);
    padding: 20px;
    text-align: center;
    position: relative;
}

.casino-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary);
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--radius);
}

.casino-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-success);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius);
}

.casino-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto;
}

.casino-logo-placeholder {
    width: 120px;
    height: 60px;
    border: 2px dashed var(--color-border);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.casino-card-body { padding: 20px; }

.casino-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: left;
}

.casino-stars {
    color: var(--color-star);
    font-size: 0.95rem;
    margin-bottom: 12px;
    text-align: left;
}

.casino-bonus {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
    text-align: left;
}

.casino-meta {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-align: left;
    margin-bottom: 16px;
    line-height: 1.8;
}

.casino-meta span { display: block; }

.casino-card-footer {
    padding: 0 20px 20px;
}

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

.casino-terms {
    font-size: 0.7rem;
    color: var(--color-text-light);
    margin-top: 8px;
    text-align: center;
}

/* === REVIEWS === */
.reviews-section { background: var(--color-bg); }

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

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

.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: 24px;
    flex-wrap: wrap;
}

.review-topbar-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

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

.review-topbar-info h3 {
    font-size: 1.3rem;
    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: 16px;
    margin-bottom: 24px;
}

.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: 220px;
    object-fit: cover;
}

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

.review-body {
    text-align: left;
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.8;
}

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

.review-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}

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

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

.review-cons { background: #FEF2F2; }

.review-pros h4 {
    color: var(--color-success);
    font-size: 1rem;
    margin-bottom: 12px;
}

.review-cons h4 {
    color: var(--color-danger);
    font-size: 1rem;
    margin-bottom: 12px;
}

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

.review-pros li, .review-cons li {
    padding: 6px 0;
    font-size: 0.9rem;
    padding-left: 20px;
    position: relative;
}

.review-pros li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

.review-cons li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: var(--color-danger);
    font-weight: 700;
}

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

.faq-item {
    margin-bottom: 24px;
    text-align: left;
}

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

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

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

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

.author-box-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.author-box-content .author-role {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.author-box-content p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* === FOOTER === */
.site-footer {
    background: var(--color-primary);
    color: rgba(255,255,255,0.9);
    padding: 40px 20px;
    text-align: left;
}

.footer-inner { max-width: var(--max-width); margin: 0 auto; }

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

.footer-disclaimer {
    font-size: 0.8rem;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 12px;
}

.footer-copyright {
    font-size: 0.75rem;
    opacity: 0.7;
}

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

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

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

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

.contact-form-wrap label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--color-text);
}

.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
    width: 100%;
    padding: 12px 16px;
    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-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

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

.contact-info-box {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 32px;
    text-align: left;
}

.contact-info-box h4 { margin-bottom: 12px; }
.contact-info-box p { font-size: 0.9rem; margin-bottom: 8px; }

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--color-success);
    color: #fff;
    padding: 16px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* === CONTENT SECTIONS (from plugin) === */
.content-section {
    text-align: left;
}

.content-section h2, .content-section h3, .content-section h4 { margin: 24px 0 12px; }
.content-section p { margin-bottom: 16px; }
.content-section ul, .content-section ol { margin-bottom: 16px; padding-left: 24px; }

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

.page-content h2, .page-content h3, .page-content h4 { margin: 28px 0 12px; }
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { margin-bottom: 16px; padding-left: 24px; }
.page-content img { margin: 16px 0; }

/* === TEAM GRID === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.team-card {
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.team-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 0 auto 16px;
}

.team-card h4 { font-size: 1rem; margin-bottom: 4px; }
.team-card p { font-size: 0.85rem; color: var(--color-text-light); }

/* === RATING CRITERIA === */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.criteria-card {
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: left;
}

.criteria-card h4 { font-size: 0.95rem; margin-bottom: 8px; color: var(--color-primary); }
.criteria-card p { font-size: 0.85rem; color: var(--color-text-light); line-height: 1.6; }

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

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

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

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

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--color-border);
    }

    .main-nav li:last-child { border-bottom: none; }

    .main-nav a {
        display: block;
        padding: 12px 0;
        border-bottom: none;
    }

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

    .hero h1 { font-size: 2rem; }
    .hero { min-height: 50vh; padding: 60px 20px; }
    .inner-hero { min-height: 35vh; }

    .review-topbar { flex-direction: column; align-items: flex-start; }
    .review-topbar .btn { width: 100%; }

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

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

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

@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .hero p { font-size: 1rem; }
    .container { padding: 0 16px; }
}
