/*
Theme Name: Instant Payout Casinos UK
Theme URI: https://instantpayout-notongamstop-casinos.eu.com
Description: Casino affiliate theme for Instant Payout Casinos UK
Version: 1.0.0
Author: InstantPayout Team
Text Domain: instant-payout
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; color: #3B0764; background: #FFFFFF; line-height: 1.7; overflow-x: hidden; max-width: 100vw; }
img { max-width: 100%; height: auto; display: block; }
a { color: #9333EA; text-decoration: none; }
a:hover { color: #7E22CE; }

/* === GLOBAL TEXT ALIGNMENT === */
h1, h2, h3, h4, h5, h6, p { text-align: left !important; }
.hero-section h1, .hero-section h2, .hero-section p,
.inner-hero h1, .inner-hero h2, .inner-hero p { text-align: center !important; }

/* === NO ROUNDED CORNERS === */
* { border-radius: 0px !important; }

/* === TYPOGRAPHY === */
h1 { font-family: 'Outfit', sans-serif; font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; color: #3B0764; }
h2 { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.75rem; color: #3B0764; }
h3 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.5rem; color: #3B0764; }
h4 { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.5rem; color: #3B0764; }
p { font-size: 1rem; margin-bottom: 1rem; color: #3B0764; }

/* === CONTAINER === */
.site-container { max-width: 1280px; width: 85%; margin: 0 auto; }
@media (max-width: 768px) { .site-container { width: 92%; } }

/* === HEADER === */
.site-header { position: sticky; top: 0; z-index: 1000; background: #FFFFFF; border-bottom: 2px solid #E9D5FF; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.site-logo { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 800; color: #9333EA; text-decoration: none; line-height: 1.2; }
.site-logo span { display: block; font-size: 0.7rem; color: #7E22CE; font-weight: 400; }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600; color: #3B0764; text-decoration: none; transition: color 0.2s; }
.main-nav a:hover, .main-nav a.active { color: #9333EA; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; z-index: 1001; }
.hamburger span { display: block; width: 26px; height: 3px; background: #3B0764; transition: all 0.3s; }
.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); }

/* Mobile Nav */
.mobile-nav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(59,7,100,0.97); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700; color: #FFFFFF; text-decoration: none; }
.mobile-nav a:hover { color: #A855F7; }

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

/* === HERO === */
.hero-section { background: #3B0764; min-height: 60vh; display: flex; align-items: center; padding: 4rem 0; }
.hero-section h1 { color: #FFFFFF; font-size: 3rem; margin-bottom: 1.25rem; }
.hero-section p { color: #E9D5FF; font-size: 1.15rem; max-width: 700px; margin: 0 auto 2rem auto; }
.hero-content { width: 100%; text-align: center; }

/* Inner Hero */
.inner-hero { background: #3B0764; min-height: 40vh; display: flex; align-items: center; padding: 3rem 0; }
.inner-hero h1 { color: #FFFFFF; font-size: 2.6rem; margin-bottom: 1rem; }
.inner-hero p { color: #E9D5FF; font-size: 1.1rem; max-width: 700px; margin: 0 auto 1.5rem auto; }
.inner-hero-content { width: 100%; text-align: center; }

/* Hero Badges */
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.hero-badge { background: #9333EA; color: #FFFFFF; padding: 0.5rem 1.25rem; font-size: 0.85rem; font-weight: 600; font-family: 'Inter', sans-serif; }

/* CTA Button */
.btn-cta { display: inline-block; background: #9333EA; color: #FFFFFF; padding: 1rem 2.5rem; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; text-decoration: none; transition: background 0.2s; cursor: pointer; border: none; }
.btn-cta:hover { background: #7E22CE; color: #FFFFFF; }
.btn-cta-sm { padding: 0.6rem 1.5rem; font-size: 0.85rem; }

/* === SECTIONS === */
.section-spacing { padding: 4rem 0; }
.section-alt { background: #FAF5FF; }
.section-white { background: #FFFFFF; }
.section-heading { margin-bottom: 0.5rem; }
.section-subheading { color: #7E22CE; margin-bottom: 2rem; font-size: 1.05rem; }

/* === CASINO GRID === */
.casino-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.casino-card { background: #FAF5FF; border: 2px solid #E9D5FF; padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; position: relative; transition: border-color 0.2s; }
.casino-card:hover { border-color: #A855F7; }
.casino-rank { position: absolute; top: 0; left: 0; background: #9333EA; color: #FFFFFF; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.95rem; font-family: 'Outfit', sans-serif; }
.casino-logo-box { width: 120px; height: 60px; border: 2px dashed #E9D5FF; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-top: 0.5rem; background: #FFFFFF; }
.casino-logo-box img { width: 100%; height: 100%; object-fit: contain; }
.casino-logo-box .placeholder-label { font-size: 0.7rem; color: #7E22CE; text-align: center !important; }
.casino-card-name { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 700; color: #3B0764; }
.casino-stars { display: flex; align-items: center; gap: 0.3rem; }
.casino-stars .star { color: #9333EA; font-size: 1rem; }
.casino-stars .star.empty { color: #E9D5FF; }
.casino-stars .rating-num { font-size: 0.85rem; font-weight: 600; color: #7E22CE; margin-left: 0.25rem; }
.casino-bonus { font-size: 0.9rem; color: #3B0764; font-weight: 500; }
.casino-badge { display: inline-block; background: #E9D5FF; color: #7E22CE; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem; text-transform: uppercase; }
.casino-card .btn-cta { width: 100%; text-align: center; margin-top: auto; }
.casino-terms { font-size: 0.7rem; color: #7E22CE; margin-top: 0.25rem; }

@media (max-width: 1024px) { .casino-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .casino-card { padding: 1rem; }
    .casino-logo-box { width: 100px; height: 50px; }
}
@media (max-width: 480px) { .casino-card { padding: 0.75rem; }
    .casino-card-name { font-size: 1rem; }
}

/* === INDIVIDUAL REVIEWS === */
.review-block { padding: 3rem 0; border-bottom: 2px solid #E9D5FF; }
.review-block:last-child { border-bottom: none; }
.review-top-bar { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.review-logo-box { width: 160px; height: 80px; border: 2px dashed #E9D5FF; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; background: #FFFFFF; }
.review-logo-box img { width: 100%; height: 100%; object-fit: contain; }
.review-top-info { flex: 1; }
.review-top-info h3 { font-size: 1.8rem; margin-bottom: 0.25rem; }
.review-top-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }

/* Review Screenshots */
.review-screenshots { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.screenshot-box { width: 280px; height: 160px; border: 2px dashed #E9D5FF; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; position: relative; background: #FAF5FF; transition: border-color 0.2s; }
.screenshot-box:hover { border-color: #A855F7; }
.screenshot-box img { width: 100%; height: 100%; object-fit: cover; }
.screenshot-box .enlarge-label { position: absolute; bottom: 6px; right: 8px; font-size: 0.7rem; color: #7E22CE; background: rgba(250,245,255,0.9); padding: 2px 6px; }

/* Review Content */
.review-content h4 { margin-top: 1.5rem; margin-bottom: 0.5rem; color: #3B0764; font-size: 1.15rem; border-left: 4px solid #9333EA; padding-left: 0.75rem; }
.review-content p { margin-bottom: 1rem; }

/* Pros Cons Table */
.pros-cons-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem 0; }
.pros-cons-table th { padding: 0.75rem 1rem; font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; text-align: left !important; }
.pros-cons-table th.pros-header { background: #d1fae5; color: #065f46; }
.pros-cons-table th.cons-header { background: #fee2e2; color: #991b1b; }
.pros-cons-table td { padding: 0.5rem 1rem; vertical-align: top; width: 50%; border: 1px solid #E9D5FF; }
.pros-cons-table td.pros-cell { background: #f0fdf4; }
.pros-cons-table td.cons-cell { background: #fef2f2; }
.pros-cons-table ul { list-style: none; padding: 0; margin: 0; }
.pros-cons-table li { padding: 0.35rem 0; font-size: 0.9rem; }
.pros-cons-table .pros-cell li::before { content: "✓ "; color: #059669; font-weight: 700; }
.pros-cons-table .cons-cell li::before { content: "✗ "; color: #dc2626; font-weight: 700; }

@media (max-width: 600px) {
    .review-top-bar { flex-direction: column; align-items: flex-start; }
    .review-top-actions { margin-left: 0; width: 100%; }
    .review-top-actions .btn-cta { width: 100%; text-align: center; }
    .screenshot-box { width: 100%; height: 180px; }
    .review-logo-box { width: 120px; height: 60px; }
    .pros-cons-table, .pros-cons-table thead, .pros-cons-table tbody, .pros-cons-table th, .pros-cons-table td, .pros-cons-table tr { display: block; width: 100%; }
    .pros-cons-table td { width: 100%; }
}

/* === LIGHTBOX === */
.lightbox-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; align-items: center; justify-content: center; cursor: pointer; }
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 90%; max-height: 90%; object-fit: contain; }
.lightbox-overlay .lightbox-placeholder { width: 600px; max-width: 90%; height: 350px; border: 2px dashed #E9D5FF; display: flex; align-items: center; justify-content: center; color: #E9D5FF; font-size: 1.2rem; background: #1a1a2e; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #FFFFFF; font-size: 2.5rem; cursor: pointer; font-weight: 300; line-height: 1; }

/* === FAQ === */
.faq-item { margin-bottom: 1.5rem; }
.faq-item h3 { font-size: 1.15rem; color: #3B0764; margin-bottom: 0.35rem; }
.faq-item p { color: #3B0764; }

/* === AUTHOR BOX === */
.author-box { background: #FAF5FF; border: 2px solid #E9D5FF; padding: 2rem; display: flex; gap: 1.5rem; align-items: flex-start; margin-top: 2rem; }
.author-avatar { width: 80px; height: 80px; border: 2px dashed #E9D5FF; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #FFFFFF; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info { flex: 1; }
.author-info .author-name { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; color: #3B0764; margin-bottom: 0.15rem; }
.author-info .author-role { font-size: 0.85rem; color: #7E22CE; font-weight: 600; margin-bottom: 0.5rem; }
.author-info .author-bio { font-size: 0.9rem; color: #3B0764; }

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

/* === CONTENT SECTIONS === */
.content-section { padding: 3rem 0; }
.content-section h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.content-section h2:first-child { margin-top: 0; }
.content-section h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.content-section p { margin-bottom: 1rem; }
.content-section ul, .content-section ol { margin: 0.5rem 0 1rem 1.5rem; }
.content-section li { margin-bottom: 0.35rem; }
.content-section u a { color: #9333EA; text-decoration: underline; font-weight: 600; }

/* === CONTACT FORM === */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; margin-top: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; color: #3B0764; margin-bottom: 0.35rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 2px solid #E9D5FF; background: #FFFFFF; font-family: 'Inter', sans-serif; font-size: 0.95rem; color: #3B0764; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #9333EA; }
.form-group textarea { min-height: 150px; resize: vertical; }
.contact-info-box { background: #FAF5FF; border: 2px solid #E9D5FF; padding: 2rem; }
.contact-info-box h3 { margin-bottom: 1rem; }
.contact-info-box p { font-size: 0.95rem; }
.toast-message { display: none; background: #059669; color: #FFFFFF; padding: 1rem 1.5rem; font-weight: 600; margin-top: 1rem; }
.toast-message.show { display: block; }

@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
}

/* === FOOTER === */
.site-footer { background: #3B0764; color: #E9D5FF; padding: 2.5rem 0; margin-top: 3rem; }
.footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.footer-brand { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; color: #FFFFFF; }
.footer-disclaimer { font-size: 0.8rem; color: #E9D5FF; opacity: 0.8; max-width: 600px; }
.footer-copy { font-size: 0.8rem; color: #E9D5FF; opacity: 0.6; }

/* === PAGE BODY === */
.page-body { padding: 3rem 0; min-height: 40vh; }
.page-body h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.page-body h2:first-child { margin-top: 0; }
.page-body h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.page-body p { margin-bottom: 1rem; }
.page-body img { margin: 1rem 0; max-width: 400px; }

/* About team images */
.team-member { display: flex; gap: 1.5rem; align-items: flex-start; margin: 1.5rem 0; padding: 1.5rem; background: #FAF5FF; border: 2px solid #E9D5FF; }
.team-member img { width: 120px; height: 120px; object-fit: cover; flex-shrink: 0; }
.team-member-info { flex: 1; }
@media (max-width: 600px) { .team-member { flex-direction: column; } .team-member img { width: 100px; height: 100px; } }

/* === RESPONSIVE HERO === */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .hero-section { min-height: 50vh; padding: 3rem 0; }
    .hero-section h1 { font-size: 2.2rem; }
    .inner-hero { min-height: 30vh; }
}
@media (max-width: 480px) {
    .hero-section h1 { font-size: 1.8rem; }
    h2 { font-size: 1.3rem; }
}
