/*
Theme Name: Instant Withdrawal Online Casinos
Theme URI: https://instant-withdrawal-online-casinos.cn.com
Description: A professional casino affiliate theme for instant withdrawal online casinos.
Version: 1.0.0
Author: NoKYC Team
Text Domain: nokyc
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: #064E3B;
    background: #FFFFFF;
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}
a { color: #15803D; text-decoration: none; }
a:hover { color: #166534; }
img { max-width: 100%; height: auto; display: block; }

/* === LAYOUT === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-spacing { padding: 60px 0; }

/* === HEADER === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #166534;
    border-bottom: 2px solid #22C55E;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.site-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.site-logo a { color: #FFFFFF; }
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}
.main-nav a {
    color: #F0FDF4;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}
.main-nav a:hover { color: #22C55E; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: #FFFFFF;
    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); }

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #166534;
        border-top: 1px solid #22C55E;
    }
    .main-nav.open { display: block; }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
    }
    .main-nav li a {
        display: block;
        padding: 12px 24px;
    }
}

/* === HERO === */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #166534;
    text-align: center;
    padding: 60px 24px;
}
.hero h1 {
    color: #FFFFFF;
    font-size: 48px;
    margin-bottom: 16px;
}
.hero p {
    color: #DCFCE7;
    font-size: 20px;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.hero .btn-cta {
    display: inline-block;
    background: #22C55E;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 18px;
    padding: 16px 40px;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Space Grotesk', sans-serif;
}
.hero .btn-cta:hover { background: #15803D; }

/* Inner hero (secondary pages) */
.inner-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #166534;
    text-align: center;
    padding: 60px 24px;
}
.inner-hero.tall { min-height: 45vh; }
.inner-hero h1 {
    color: #FFFFFF;
    font-size: 42px;
    margin-bottom: 16px;
}
.inner-hero p {
    color: #DCFCE7;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 24px;
}
.hero-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
}
.hero-badge {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid #22C55E;
    color: #FFFFFF;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0;
}

/* === BUTTONS === */
.btn-primary {
    display: inline-block;
    background: #15803D;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
}
.btn-primary:hover { background: #166534; color: #FFFFFF; }

/* === CASINO GRID === */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) { .casino-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.casino-card {
    background: #F7FEE7;
    border: 1px solid #DCFCE7;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.casino-card-rank {
    background: #166534;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 12px;
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
}
.casino-card-header {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.casino-card-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
}
.casino-card-name {
    font-size: 18px;
    text-align: center;
    color: #064E3B;
}
.casino-card-stars {
    color: #22C55E;
    font-size: 14px;
    letter-spacing: 2px;
}
.casino-card-badge {
    background: #22C55E;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    display: inline-block;
}
.casino-card-body {
    padding: 0 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.casino-card-bonus {
    font-size: 15px;
    font-weight: 700;
    color: #166534;
    text-align: center;
}
.casino-card-meta {
    font-size: 12px;
    color: #064E3B;
    text-align: center;
    line-height: 1.5;
}
.casino-card-footer {
    padding: 0 16px 16px;
    margin-top: auto;
}
.casino-card-footer .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
}
.casino-card-terms {
    font-size: 10px;
    color: #064E3B;
    opacity: 0.7;
    text-align: center;
    margin-top: 6px;
}

/* === REVIEWS === */
.reviews-section { background: #FFFFFF; }
.reviews-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #064E3B;
}
.review-block {
    margin-bottom: 48px;
    border-bottom: 2px solid #DCFCE7;
    padding-bottom: 48px;
}
.review-block:last-child { border-bottom: none; }

.review-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 16px;
    background: #F7FEE7;
    border: 1px solid #DCFCE7;
}
.review-topbar-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
}
.review-topbar h3 {
    font-size: 24px;
    color: #064E3B;
    flex: 1;
}
.review-topbar-stars {
    color: #22C55E;
    font-size: 16px;
    letter-spacing: 2px;
}
.review-topbar .btn-primary { margin-left: auto; white-space: nowrap; }

.review-screenshots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.review-screenshots img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border: 1px solid #DCFCE7;
    cursor: pointer;
}
@media (max-width: 600px) {
    .review-screenshots { grid-template-columns: 1fr; }
    .review-screenshots img { height: 180px; }
}

.review-body {
    margin-bottom: 24px;
    line-height: 1.8;
}
.review-body p { margin-bottom: 16px; }

.review-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #DCFCE7;
    margin-bottom: 16px;
}
@media (max-width: 600px) { .review-pros-cons { grid-template-columns: 1fr; } }
.review-pros, .review-cons {
    padding: 20px;
}
.review-pros {
    background: #F0FDF4;
    border-right: 1px solid #DCFCE7;
}
.review-cons {
    background: #FEF2F2;
}
.review-pros h4 {
    color: #166534;
    margin-bottom: 12px;
    font-size: 16px;
}
.review-cons h4 {
    color: #991B1B;
    margin-bottom: 12px;
    font-size: 16px;
}
.review-pros ul, .review-cons ul {
    list-style: none;
    padding: 0;
}
.review-pros li, .review-cons li {
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.5;
}
.review-pros li::before {
    content: "✓ ";
    color: #22C55E;
    font-weight: 700;
}
.review-cons li::before {
    content: "✗ ";
    color: #DC2626;
    font-weight: 700;
}

/* === FAQ === */
.faq-section {
    background: #F7FEE7;
}
.faq-section h2 {
    font-size: 32px;
    margin-bottom: 32px;
    color: #064E3B;
}
.faq-item {
    margin-bottom: 24px;
}
.faq-item h3 {
    font-size: 18px;
    color: #166534;
    margin-bottom: 8px;
}
.faq-item p {
    color: #064E3B;
    line-height: 1.7;
}

/* === AUTHOR BOX === */
.author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #F7FEE7;
    border: 1px solid #DCFCE7;
    padding: 24px;
}
.author-box img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0;
}
.author-box-content h3 {
    font-size: 18px;
    color: #064E3B;
    margin-bottom: 4px;
}
.author-box-content p {
    font-size: 14px;
    color: #064E3B;
    line-height: 1.6;
}

/* === FOOTER === */
.site-footer {
    background: #166534;
    color: #DCFCE7;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
}
.site-footer .footer-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    font-size: 16px;
    margin-bottom: 8px;
}
.site-footer .footer-disclaimer {
    max-width: 800px;
    margin: 12px auto 0;
    font-size: 12px;
    color: #DCFCE7;
    opacity: 0.8;
}

/* === 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;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

/* === CONTACT FORM === */
.contact-form-wrap {
    max-width: 640px;
}
.contact-form-wrap label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #064E3B;
    font-size: 14px;
}
.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #DCFCE7;
    background: #F7FEE7;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #064E3B;
    border-radius: 0;
    margin-bottom: 20px;
}
.contact-form-wrap textarea { min-height: 160px; resize: vertical; }
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
    outline: 2px solid #22C55E;
    border-color: #22C55E;
}
.contact-info-box {
    background: #F7FEE7;
    border: 1px solid #DCFCE7;
    padding: 24px;
    margin-top: 40px;
}
.contact-info-box h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #064E3B;
}
.contact-info-box p {
    font-size: 14px;
    color: #064E3B;
    margin-bottom: 8px;
}

/* Toast */
.toast {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #22C55E;
    color: #FFFFFF;
    padding: 16px 24px;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0;
}
.toast.show { display: block; }

/* === CONTENT SECTION (plugin injected) === */
.content-section {
    line-height: 1.8;
}
.content-section h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #064E3B;
}
.content-section h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #166534;
}
.content-section p {
    margin-bottom: 16px;
}
.content-section ul, .content-section ol {
    margin-bottom: 16px;
    padding-left: 24px;
}
.content-section li {
    margin-bottom: 6px;
}

/* === PAGE CONTENT === */
.page-content {
    line-height: 1.8;
}
.page-content h2 { font-size: 28px; margin: 32px 0 16px; color: #064E3B; }
.page-content h3 { font-size: 22px; margin: 24px 0 12px; color: #166534; }
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { margin-bottom: 16px; padding-left: 24px; }
.page-content li { margin-bottom: 6px; }

/* === ABOUT TEAM === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.team-card {
    background: #F7FEE7;
    border: 1px solid #DCFCE7;
    padding: 24px;
    text-align: center;
}
.team-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 0 auto 16px;
    border-radius: 0;
}
.team-card h3 {
    font-size: 18px;
    margin-bottom: 4px;
    color: #064E3B;
}
.team-card p {
    font-size: 14px;
    color: #064E3B;
}
