/*
Theme Name: NonGamstop Games Theme
Theme URI: https://nongamstopgames.ae.org
Author: NonGamstop Games
Description: Casino affiliate theme for Non Gamstop Games reviews. Indigo/purple palette, sharp corners, fully responsive.
Version: 1.0.0
Text Domain: nokyc-theme
*/

/* === 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; background: #1E1B4B; color: #EEF2FF; line-height: 1.7; overflow-x: hidden; }
a { color: #A5B4FC; text-decoration: none; }
a:hover { color: #818CF8; }
img { max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { text-align: left; font-family: 'Space Grotesk', sans-serif; color: #EEF2FF; line-height: 1.3; }
p { text-align: left; color: #C7D2FE; line-height: 1.7; }
* { border-radius: 0px !important; }

/* === LAYOUT === */
.site-container { width: 100%; max-width: 100vw; overflow-x: hidden; }
.container { width: 100%; 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: #1E1B4B; border-bottom: 1px solid #3730A3; }
.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: #818CF8; white-space: nowrap; }
.site-logo a { color: #818CF8; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: #C7D2FE; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #818CF8; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #EEF2FF; margin: 5px 0; transition: 0.3s; }
.mobile-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: #1E1B4B; border-bottom: 1px solid #3730A3; padding: 20px 24px; z-index: 999; }
.mobile-nav.active { display: block; }
.mobile-nav a { display: block; color: #C7D2FE; font-size: 16px; padding: 12px 0; border-bottom: 1px solid #312E81; }
.mobile-nav a:hover { color: #818CF8; }

/* === HERO === */
.hero-section { min-height: 60vh; display: flex; align-items: center; background: #312E81; border-bottom: 3px solid #818CF8; position: relative; overflow: hidden; }
.hero-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23818CF8' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 1; }
.hero-content { position: relative; z-index: 1; text-align: center; width: 100%; padding: 60px 0; }
.hero-content h1 { font-size: 48px; font-weight: 800; color: #EEF2FF; margin-bottom: 16px; text-align: center; }
.hero-content p { font-size: 18px; color: #C7D2FE; max-width: 700px; margin: 0 auto 32px; text-align: center; }
.hero-cta { display: inline-block; background: #4F46E5; color: #EEF2FF; font-size: 16px; font-weight: 600; padding: 14px 36px; border: none; cursor: pointer; transition: background 0.2s; text-decoration: none; }
.hero-cta:hover { background: #6366F1; color: #EEF2FF; }

/* === INNER HERO (secondary pages) === */
.inner-hero { min-height: 40vh; display: flex; align-items: center; background: #312E81; border-bottom: 3px solid #818CF8; position: relative; }
.inner-hero .hero-content { padding: 40px 0; }
.inner-hero .hero-content h1 { font-size: 40px; }

/* === CASINO GRID === */
.casino-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.casino-card { background: #312E81; border: 1px solid #3730A3; padding: 24px; transition: border-color 0.2s; position: relative; }
.casino-card:hover { border-color: #818CF8; }
.casino-rank { position: absolute; top: 12px; left: 12px; background: #4F46E5; color: #EEF2FF; font-weight: 700; font-size: 14px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.casino-card-logo { width: 120px; height: 60px; border: 2px dashed #3730A3; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; overflow: hidden; background: #1E1B4B; }
.casino-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.casino-card-logo span { color: #C7D2FE; font-size: 10px; }
.casino-card h3 { text-align: left; font-size: 18px; margin-bottom: 6px; color: #EEF2FF; }
.casino-stars { color: #818CF8; font-size: 14px; margin-bottom: 8px; text-align: left; }
.casino-badge { display: inline-block; background: #4F46E5; color: #EEF2FF; font-size: 11px; font-weight: 600; padding: 3px 8px; margin-bottom: 8px; }
.casino-bonus { font-size: 14px; color: #A5B4FC; font-weight: 600; margin-bottom: 6px; text-align: left; }
.casino-meta { font-size: 12px; color: #C7D2FE; margin-bottom: 4px; text-align: left; }
.casino-terms { font-size: 11px; color: #C7D2FE; opacity: 0.7; margin-top: 8px; text-align: left; }
.btn-cta { display: block; width: 100%; background: #4F46E5; color: #EEF2FF; text-align: center; padding: 12px; font-weight: 600; font-size: 14px; border: none; cursor: pointer; margin-top: 12px; transition: background 0.2s; text-decoration: none; }
.btn-cta:hover { background: #6366F1; color: #EEF2FF; }

/* === INDIVIDUAL REVIEWS === */
.review-block { padding: 40px 0; border-bottom: 1px solid #3730A3; }
.review-block:last-child { border-bottom: none; }
.review-topbar { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.review-logo { width: 160px; height: 80px; border: 2px dashed #3730A3; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; background: #1E1B4B; }
.review-logo img { width: 100%; height: 100%; object-fit: contain; }
.review-logo span { color: #C7D2FE; font-size: 11px; }
.review-topbar-info { flex: 1; }
.review-topbar-info h2 { font-size: 28px; margin-bottom: 4px; text-align: left; }
.review-topbar-info .casino-stars { margin-bottom: 8px; }
.review-topbar .btn-cta { width: auto; padding: 10px 28px; flex-shrink: 0; }
.review-subsection { margin-bottom: 24px; }
.review-subsection h3 { font-size: 20px; color: #818CF8; margin-bottom: 8px; text-align: left; }
.review-subsection h4 { font-size: 18px; color: #A5B4FC; margin-bottom: 8px; text-align: left; }
.review-subsection p { text-align: left; margin-bottom: 12px; width: 100%; }

/* === SCREENSHOTS === */
.screenshots-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.screenshot-box { width: 280px; height: 160px; border: 2px dashed #3730A3; display: flex; align-items: center; justify-content: center; flex-direction: column; cursor: pointer; position: relative; overflow: hidden; background: #1E1B4B; transition: border-color 0.2s; }
.screenshot-box:hover { border-color: #818CF8; }
.screenshot-box img { width: 100%; height: 100%; object-fit: cover; }
.screenshot-box span { color: #C7D2FE; font-size: 12px; }
.screenshot-enlarge { position: absolute; bottom: 6px; right: 6px; background: rgba(79,70,229,0.85); color: #EEF2FF; font-size: 11px; padding: 3px 8px; }
.screenshot-box img + .screenshot-enlarge { display: block; }

/* === PROS CONS TABLE === */
.pros-cons-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.pros-cons-table th { padding: 10px 16px; font-weight: 600; font-size: 15px; text-align: left; }
.pros-cons-table th.pros-header { background: #064e3b; color: #6ee7b7; }
.pros-cons-table th.cons-header { background: #7f1d1d; color: #fca5a5; }
.pros-cons-table td { padding: 8px 16px; vertical-align: top; font-size: 14px; }
.pros-cons-table td.pros-cell { background: #0a2e1f; color: #a7f3d0; }
.pros-cons-table td.cons-cell { background: #3b0f0f; color: #fecaca; }
.pros-cons-table td ul { list-style: none; padding: 0; }
.pros-cons-table td ul li { padding: 4px 0; }
.pros-cons-table td ul li::before { margin-right: 6px; }
.pros-cell ul li::before { content: '✓'; color: #6ee7b7; }
.cons-cell ul li::before { content: '✗'; color: #fca5a5; }

/* === LIGHTBOX === */
.lightbox-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; 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: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-overlay .lightbox-placeholder { width: 600px; height: 400px; border: 2px dashed #3730A3; display: flex; align-items: center; justify-content: center; color: #C7D2FE; background: #1E1B4B; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #EEF2FF; font-size: 36px; cursor: pointer; z-index: 10000; }

/* === FAQ === */
.faq-item { margin-bottom: 24px; }
.faq-item h3 { font-size: 18px; color: #818CF8; margin-bottom: 6px; text-align: left; }
.faq-item p { text-align: left; }

/* === AUTHOR BOX === */
.author-box { background: #312E81; border: 1px solid #3730A3; padding: 24px; display: flex; gap: 20px; align-items: flex-start; }
.author-avatar { width: 80px; height: 80px; border: 2px dashed #3730A3; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #1E1B4B; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-avatar span { color: #C7D2FE; font-size: 10px; text-align: center; }
.author-info h4 { font-size: 18px; margin-bottom: 2px; text-align: left; }
.author-info .author-role { font-size: 13px; color: #818CF8; margin-bottom: 6px; text-align: left; }
.author-info p { font-size: 14px; text-align: left; }

/* === CONTENT SECTIONS (plugin injected) === */
.content-section { padding: 40px 0; }
.content-section h2 { text-align: left; font-size: 28px; margin-bottom: 12px; }
.content-section h3 { text-align: left; font-size: 22px; margin-bottom: 8px; }
.content-section p { text-align: left; margin-bottom: 12px; }
.content-section ul, .content-section ol { margin-left: 20px; margin-bottom: 12px; color: #C7D2FE; }

/* === FOOTER === */
.site-footer { background: #312E81; border-top: 1px solid #3730A3; padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-brand { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; color: #818CF8; margin-bottom: 6px; }
.footer-copy { font-size: 12px; color: #C7D2FE; }
.footer-disclaimer { font-size: 12px; color: #C7D2FE; opacity: 0.7; max-width: 500px; margin-top: 12px; text-align: left; }

/* === PAGE BODY CONTENT === */
.page-body { padding: 60px 0; min-height: 40vh; }
.page-body h2 { text-align: left; font-size: 28px; margin-bottom: 12px; }
.page-body h3 { text-align: left; font-size: 22px; margin-bottom: 8px; }
.page-body p { text-align: left; margin-bottom: 12px; }
.page-body ul, .page-body ol { margin-left: 20px; margin-bottom: 12px; color: #C7D2FE; }

/* === CONTACT FORM === */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; color: #C7D2FE; margin-bottom: 6px; font-weight: 500; text-align: left; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: #1E1B4B; border: 1px solid #3730A3; color: #EEF2FF; padding: 12px; font-size: 14px; font-family: 'Inter', sans-serif; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #818CF8; }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-submit { background: #4F46E5; color: #EEF2FF; border: none; padding: 14px 36px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.form-submit:hover { background: #6366F1; }
.contact-info-box { background: #312E81; border: 1px solid #3730A3; padding: 24px; }
.contact-info-box h3 { text-align: left; margin-bottom: 12px; color: #818CF8; }
.contact-info-box p { text-align: left; margin-bottom: 8px; }
.toast-message { display: none; position: fixed; bottom: 30px; right: 30px; background: #064e3b; color: #6ee7b7; padding: 16px 24px; z-index: 9999; font-weight: 600; border: 1px solid #6ee7b7; }
.toast-message.active { display: block; }

/* === HOW WE RATE CRITERIA BADGES === */
.criteria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.criteria-badge { background: #1E1B4B; border: 1px solid #3730A3; padding: 12px 16px; text-align: center; }
.criteria-badge .criteria-icon { font-size: 24px; margin-bottom: 6px; }
.criteria-badge span { font-size: 13px; color: #C7D2FE; font-weight: 500; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); }
    .criteria-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .hero-content h1 { font-size: 32px; }
    .hero-content p { font-size: 16px; }
    .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .casino-card { padding: 16px; }
    .casino-card-logo { width: 100px; height: 50px; }
    .casino-card h3 { font-size: 15px; }
    .review-topbar { flex-direction: column; align-items: flex-start; }
    .review-topbar .btn-cta { width: 100%; }
    .screenshots-row { flex-direction: column; }
    .screenshot-box { width: 100%; height: 180px; }
    .author-box { flex-direction: column; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
    .criteria-grid { grid-template-columns: repeat(2, 1fr); }
    .container { padding: 0 16px; }
    .section-spacing { padding: 40px 0; }
    .inner-hero .hero-content h1 { font-size: 28px; }
    .pros-cons-table th, .pros-cons-table td { padding: 6px 10px; font-size: 13px; }
}
@media (max-width: 480px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .casino-card { padding: 12px; }
    .casino-rank { width: 26px; height: 26px; font-size: 12px; top: 8px; left: 8px; }
    .casino-card-logo { width: 80px; height: 40px; }
    .casino-card h3 { font-size: 14px; }
    .casino-bonus { font-size: 12px; }
    .casino-meta { font-size: 11px; }
    .btn-cta { padding: 10px; font-size: 13px; }
    .hero-content h1 { font-size: 26px; }
    .review-topbar-info h2 { font-size: 22px; }
}
