/*
Theme Name: Fast Payout Casinos
Theme URI: https://fastpayoutcasinos.de.com
Author: Fast Payout Casinos Team
Description: Casino affiliate theme for Fast Payout Casinos UK
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: fastpayout
*/

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

:root {
    --primary: #9333EA;
    --secondary: #FAF5FF;
    --accent: #A855F7;
    --background: #FFFFFF;
    --surface: #FAF5FF;
    --text: #3B0764;
    --text-muted: #7E22CE;
    --cta: #9333EA;
    --cta-hover: #7E22CE;
    --border: #E9D5FF;
    --success: #16a34a;
    --danger: #dc2626;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --max-width: 1280px;
    --radius: 0px;
}

html { scroll-behavior: smooth; }

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

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

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--cta-hover); }

img { max-width: 100%; height: auto; display: block; }

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

/* === HEADER === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--background);
    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: 64px;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

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

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

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

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

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

.mobile-nav {
    display: none;
    background: var(--background);
    border-bottom: 2px solid var(--border);
    padding: 16px 20px;
}

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

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
}

/* === HERO === */
.hero {
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    border-bottom: 2px solid var(--border);
}

.hero-home { min-height: 60vh; }
.hero-inner { min-height: 40vh; }
.hero-rate { min-height: 45vh; }

.hero-content { max-width: 800px; }

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

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

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

.hero-badge {
    background: var(--primary);
    color: #fff;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
}

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

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

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

.btn-sm {
    padding: 10px 24px;
    font-size: 0.875rem;
}

.btn-xs {
    padding: 8px 16px;
    font-size: 0.8125rem;
}

/* === SECTION SPACING === */
.section-spacing {
    padding: 80px 0;
}

.section-heading {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: left;
}

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

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

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

.casino-card-rank {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.casino-card-logo {
    width: 100%;
    height: 60px;
    object-fit: contain;
    object-position: left;
}

.casino-card-logo-placeholder {
    width: 100%;
    height: 60px;
    border: 2px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.casino-card-name {
    font-size: 1.125rem;
    font-weight: 700;
}

.casino-card-stars {
    color: #f59e0b;
    font-size: 0.875rem;
    letter-spacing: 2px;
}

.casino-card-bonus {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
}

.casino-card-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.casino-card-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius);
    align-self: flex-start;
}

.casino-card-terms {
    font-size: 0.6875rem;
    color: var(--text-muted);
    opacity: 0.8;
}

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

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

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

.review-topbar-logo {
    width: 80px;
    height: 50px;
    object-fit: contain;
}

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

.review-topbar-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.review-topbar-stars {
    color: #f59e0b;
    font-size: 0.875rem;
    letter-spacing: 2px;
}

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

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

.review-screenshot {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.review-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s;
}

.review-screenshot:hover img { opacity: 0.9; }

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

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

.review-body h2 { font-size: 1.5rem; margin: 24px 0 12px; }
.review-body h3 { font-size: 1.25rem; margin: 20px 0 10px; }
.review-body p { margin-bottom: 16px; }
.review-body ul, .review-body ol { margin: 0 0 16px 24px; }

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

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

.review-pros { background: #f0fdf4; }
.review-cons { background: #fef2f2; border-left: 2px solid var(--border); }

.review-pros h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.review-cons h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--danger);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

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

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

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

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

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

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

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

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

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

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

.author-box-role {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.author-box-bio {
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.6;
}

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

.footer-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-copyright {
    font-size: 0.8125rem;
    opacity: 0.7;
    margin-bottom: 16px;
}

.footer-disclaimer {
    font-size: 0.75rem;
    opacity: 0.5;
    line-height: 1.6;
    max-width: 800px;
}

/* === LIGHTBOX === */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    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;
}

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

.page-content h2 { font-size: 1.75rem; margin: 32px 0 16px; }
.page-content h3 { font-size: 1.375rem; margin: 24px 0 12px; }
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { margin: 0 0 16px 24px; }

/* === ABOUT PAGE TEAM === */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.team-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
}

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

.team-card h3 { font-size: 1rem; margin-bottom: 4px; }

.team-card-role {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.team-card-bio {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* === CONTACT FORM === */
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

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

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

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

.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info-box {
    padding: 32px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    align-self: start;
}

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

.contact-info-item {
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.contact-info-item strong { display: block; margin-bottom: 2px; }

/* === TOAST === */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: var(--success);
    color: #fff;
    padding: 16px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
}

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

/* === CONTENT SECTION (plugin injected) === */
.content-section {
    font-size: 1rem;
    line-height: 1.8;
}

.content-section h2 { font-size: 1.75rem; margin: 32px 0 16px; }
.content-section h3 { font-size: 1.375rem; margin: 24px 0 12px; }
.content-section p { margin-bottom: 16px; }
.content-section ul, .content-section ol { margin: 0 0 16px 24px; }

/* === HOW WE RATE CRITERIA === */
.criteria-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}

.criteria-badge {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius);
}

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

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .hero h1 { font-size: 1.75rem; }
    .hero p { font-size: 1rem; }
    .section-heading { font-size: 1.5rem; }
    .review-topbar { flex-direction: column; align-items: flex-start; }
    .review-topbar .btn { margin-left: 0; width: 100%; }
    .review-proscons { grid-template-columns: 1fr; }
    .review-cons { border-left: none; border-top: 2px solid var(--border); }
    .author-box { flex-direction: column; }
    .section-spacing { padding: 48px 0; }
}

@media (max-width: 480px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); }
    .casino-card { padding: 16px; }
    .review-screenshots { grid-template-columns: 1fr; }
}
