/* ==========================================================================
   Puzzle Movies — Cinema-Themed Dark Design
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0d0d1a;
    color: #e0e0e0;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1;
}

a {
    color: #e2b714;
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: #f0d040;
}

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

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
}

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Navigation ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 13, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 183, 20, 0.15);
    padding: 0.75rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.navbar__logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.navbar__logo img {
    width: 32px;
    height: 32px;
}

.navbar__logo span {
    color: #e2b714;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.navbar__links a {
    color: #c0c0c0;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.25s ease;
    text-decoration: none;
}

.navbar__links a:hover,
.navbar__links a.active {
    color: #e2b714;
}

/* ---------- Hero Section ---------- */
.hero {
    text-align: center;
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 50%, #0d0d1a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(226, 183, 20, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 .gold {
    color: #e2b714;
}

.hero p {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto 2rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

/* ---------- Buttons / CTA ---------- */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn--primary {
    background: linear-gradient(135deg, #e2b714, #c9a012);
    color: #0d0d1a;
    box-shadow: 0 4px 15px rgba(226, 183, 20, 0.3);
}

.btn--primary:hover {
    background: linear-gradient(135deg, #f0d040, #e2b714);
    color: #0d0d1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 183, 20, 0.4);
}

.btn--secondary {
    background: transparent;
    color: #e2b714;
    border: 2px solid #e2b714;
}

.btn--secondary:hover {
    background: rgba(226, 183, 20, 0.1);
    color: #f0d040;
    transform: translateY(-2px);
}

.btn--large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ---------- Section ---------- */
.section {
    padding: 4rem 0;
}

.section--alt {
    background: #12121f;
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__header h2 {
    margin-bottom: 0.75rem;
}

.section__header p {
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #1a1a2e;
    border-radius: 12px;
    border: 1px solid rgba(226, 183, 20, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(226, 183, 20, 0.1);
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e2b714, #c9a012);
    color: #0d0d1a;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 1.25rem;
}

.step h3 {
    margin-bottom: 0.75rem;
}

.step p {
    color: #b0b0b0;
    font-size: 0.95rem;
}

/* ---------- Cards Grid ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #1a1a2e;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(226, 183, 20, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(226, 183, 20, 0.1);
    border-color: rgba(226, 183, 20, 0.25);
}

.card__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: #b0b0b0;
    font-size: 0.95rem;
}

/* ---------- Genre Cards ---------- */
.genre-card {
    background: #1a1a2e;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(226, 183, 20, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
}

.genre-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(226, 183, 20, 0.1);
}

.genre-card .emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.genre-card h3 {
    margin-bottom: 0.5rem;
}

.genre-card p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* ---------- Level Cards ---------- */
.level-card {
    background: linear-gradient(135deg, #1a1a2e, #1f1f35);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(226, 183, 20, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
}

.level-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(226, 183, 20, 0.12);
}

.level-card .level-badge {
    display: inline-block;
    background: #e2b714;
    color: #0d0d1a;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.level-card h3 {
    margin-bottom: 0.5rem;
}

.level-card p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
    background: #12121f;
    padding: 3rem 0;
    border-top: 1px solid rgba(226, 183, 20, 0.08);
    border-bottom: 1px solid rgba(226, 183, 20, 0.08);
}

.trust-bar .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.trust-item {
    text-align: center;
}

.trust-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e2b714;
    display: block;
    line-height: 1.2;
}

.trust-item .label {
    font-size: 0.95rem;
    color: #b0b0b0;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #12121f 100%);
    border-top: 1px solid rgba(226, 183, 20, 0.15);
}

.cta-banner h2 {
    margin-bottom: 1rem;
}

.cta-banner p {
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #1a1a2e;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(226, 183, 20, 0.08);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(226, 183, 20, 0.2);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #ffffff;
    font-size: 1.05rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background 0.25s ease;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #e2b714;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    background: rgba(226, 183, 20, 0.05);
}

.faq-item .faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: #b0b0b0;
    line-height: 1.7;
}

.faq-category {
    margin-bottom: 2rem;
}

.faq-category h3 {
    color: #e2b714;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(226, 183, 20, 0.15);
}

/* ---------- Feature List ---------- */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #1a1a2e;
    border-radius: 12px;
    border: 1px solid rgba(226, 183, 20, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(226, 183, 20, 0.08);
}

.feature-item .feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.feature-item p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* ---------- Device Compatibility ---------- */
.devices-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.device-item {
    padding: 1.5rem;
    background: #1a1a2e;
    border-radius: 12px;
    border: 1px solid rgba(226, 183, 20, 0.08);
    width: 160px;
    transition: transform 0.3s ease;
}

.device-item:hover {
    transform: translateY(-3px);
}

.device-item .device-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.device-item h4 {
    font-size: 0.95rem;
}

.device-item p {
    font-size: 0.8rem;
    color: #808080;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #808080;
}

.breadcrumb a {
    color: #b0b0b0;
}

.breadcrumb a:hover {
    color: #e2b714;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: #555;
}

/* ---------- Page Header ---------- */
.page-header {
    text-align: center;
    padding: 3.5rem 0 2.5rem;
    background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 100%);
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    color: #b0b0b0;
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ---------- Content Section ---------- */
.content-section {
    padding: 3rem 0;
}

.content-section h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-section p {
    max-width: 800px;
}

.content-section ul, .content-section ol {
    max-width: 800px;
}

/* ---------- Contact Section ---------- */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-method {
    padding: 1.5rem;
    background: #1a1a2e;
    border-radius: 12px;
    border: 1px solid rgba(226, 183, 20, 0.08);
    text-align: center;
}

.contact-method .icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-method h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* ---------- Footer ---------- */
.footer {
    background: #0a0a14;
    border-top: 1px solid rgba(226, 183, 20, 0.1);
    padding: 3rem 0 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: #e2b714;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul a {
    color: #888;
    font-size: 0.9rem;
    transition: color 0.25s ease;
}

.footer-col ul a:hover {
    color: #e2b714;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #777;
}

.footer-bottom a:hover {
    color: #e2b714;
}

/* ---------- Legal Page ---------- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    color: #e2b714;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    color: #ffffff;
}

.legal-content p {
    color: #b0b0b0;
}

.legal-content ul {
    color: #b0b0b0;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .hero {
        padding: 3rem 0 2.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .navbar__links {
        gap: 0.75rem;
    }

    .navbar__links a {
        font-size: 0.8rem;
    }

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

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .trust-bar .container {
        gap: 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .btn--large {
        padding: 0.85rem 1.75rem;
        font-size: 1rem;
    }
}


/* ============================================================
   Content-template styles (genres / levels / blog / comparison).
   These 41 pages previously had no matching CSS and rendered unstyled.
   Palette and radii mirror the existing design system.
   ============================================================ */

.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 13, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 183, 20, 0.15);
    padding: 0.75rem 0;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.nav-logo {
    font-weight: 700;
    font-size: 1.15rem;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}
.nav-logo:hover { color: #e2b714; }
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    align-items: center;
}
.nav-links a {
    color: #c0c0c0;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}
.nav-links a:hover { color: #e2b714; }

.main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 3rem;
    flex: 1 0 auto;
}
.main > h1 { font-size: 2.4rem; margin-bottom: 1rem; }

.intro-text {
    font-size: 1.1rem;
    color: #c9c9d4;
    margin-bottom: 1.25rem;
    max-width: 75ch;
}

.info-section { margin-top: 2.5rem; }
.info-section > h2 {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(226, 183, 20, 0.2);
    margin-bottom: 1.25rem;
}
.info-section p { max-width: 80ch; }

.reasons-grid,
.movies-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}
.reason-item,
.movie-item {
    background: #1a1a2e;
    border: 1px solid rgba(226, 183, 20, 0.1);
    border-radius: 12px;
    padding: 1.25rem 1.35rem;
}
.reason-item h3,
.movie-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: #ffffff;
}
.reason-item p,
.movie-item p { color: #b0b0b0; font-size: 0.95rem; margin: 0; }

.tips-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.6rem;
    max-width: 80ch;
}
.tips-list li {
    position: relative;
    padding-left: 1.75rem;
    color: #d5d5de;
}
.tips-list li::before {
    content: "▸";
    position: absolute;
    left: 0.35rem;
    color: #e2b714;
    font-weight: 700;
}

.cta-section {
    margin-top: 3rem;
    background: linear-gradient(135deg, #1a1a2e, #12121f);
    border: 1px solid rgba(226, 183, 20, 0.25);
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    text-align: center;
}
.cta-section h2 { border: 0; margin-bottom: 0.6rem; }
.cta-section p {
    color: #b0b0b0;
    max-width: 60ch;
    margin: 0 auto 1.5rem;
}

/* the affiliate button — previously rendered as a plain text link on 41 pages */
.cta-button {
    display: inline-block;
    padding: 0.9rem 2.1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #e2b714, #c9a012);
    color: #0d0d1a;
    box-shadow: 0 4px 15px rgba(226, 183, 20, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(226, 183, 20, 0.45);
    color: #0d0d1a;
}
.cta-button:focus-visible { outline: 3px solid #f0d040; outline-offset: 3px; }

.related-genres { margin-top: 1rem; }

@media (max-width: 700px) {
    .main { padding: 1rem 1rem 2.5rem; }
    .main > h1 { font-size: 1.75rem; }
    .nav-inner { justify-content: center; }
    .nav-links { justify-content: center; gap: 0.35rem 0.9rem; }
    .cta-section { padding: 1.75rem 1.1rem; }
}

/* Affiliate banners (Admitad) */
.aff-banner{margin:2rem auto;text-align:center}
.aff-banner img{max-width:100%;height:auto;border-radius:12px;display:inline-block}
.aff-banner--lg img{width:400px;max-width:100%}
.aff-label{display:block;font-size:.66rem;letter-spacing:.06em;text-transform:uppercase;opacity:.5;margin-top:.4rem}
.aff-sky{float:right;margin:.2rem 0 1rem 1.5rem;text-align:center}
.aff-sky img{max-width:100%;height:auto;border-radius:10px;display:inline-block}
@media(max-width:900px){.aff-sky{float:none;margin:1.5rem auto;max-width:120px}}
