/*------------------------------------------------------------------
    marvelelectrical.co.nz
    $5 Deposit Casino NZ — Slate & Amber palette
    No framework — custom grid/flexbox
    BEM naming convention
-------------------------------------------------------------------*/

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

/* ── Base ── */
body {
    color: #334155;
    font-size: 16px;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.75;
    background: #ffffff;
}

a { color: #2563EB; text-decoration: none; transition: color .15s; }
a:hover { color: #1D4ED8; text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
    margin: 0 0 16px;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.375rem, 3vw, 1.875rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }

p { margin-bottom: 16px; }
ul, ol { padding-left: 22px; }
img { max-width: 100%; height: auto; }

.wrapper { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ── Site Nav ── */
.site-nav {
    background: #1E293B;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-nav__logo {
    display: flex;
    align-items: center;
    padding: 14px 0;
    text-decoration: none;
}

.site-nav__logo img { height: 28px; width: auto; }

.site-nav__links {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.site-nav__links li { position: relative; }

.site-nav__links a {
    display: block;
    color: #CBD5E1;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 16px 16px;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.site-nav__links a:hover,
.site-nav__links a.is-active {
    background: #F59E0B;
    color: #0F172A;
    text-decoration: none;
}

/* Dropdown */
.site-nav__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1E293B;
    min-width: 220px;
    border-top: 2px solid #F59E0B;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    z-index: 200;
    list-style: none;
    padding: 6px 0;
}

.site-nav__links li:hover .site-nav__dropdown { display: block; }

.site-nav__dropdown a {
    padding: 10px 18px;
    font-size: 13px;
    color: #94A3B8;
    border-bottom: 1px solid #334155;
}

.site-nav__dropdown a:hover {
    background: #334155;
    color: #F59E0B;
}

.site-nav__dropdown li:last-child a { border-bottom: none; }

/* Hamburger */
.site-nav__toggle {
    display: none;
    background: none;
    border: 2px solid #F59E0B;
    color: #F59E0B;
    padding: 6px 10px;
    font-size: 22px;
    cursor: pointer;
    border-radius: 4px;
    line-height: 1;
}

/* ── Hero Card (Pattern F) ── */
.hero-card {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    padding: 80px 20px;
    text-align: center;
}

.hero-card__panel {
    background: #ffffff;
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 40px 40px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.hero-card__panel h1 { color: #0F172A; margin-bottom: 16px; }

.hero-card__intro {
    font-size: 1.0625rem;
    color: #475569;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 20px;
}

.hero-card__byline {
    font-size: 0.8125rem;
    color: #94A3B8;
    margin-top: 16px;
}

.hero-card__cta {
    display: inline-block;
    background: #F59E0B;
    color: #0F172A;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 20px;
    transition: background .15s;
}

.hero-card__cta:hover {
    background: #D97706;
    color: #0F172A;
    text-decoration: none;
}

/* ── Simple Hero (sub-pages) ── */
.hero-simple {
    background: #F1F5F9;
    padding: 60px 20px;
    text-align: center;
}

.hero-simple h1 { color: #0F172A; }
.hero-simple p { color: #475569; font-size: 1.0625rem; max-width: 640px; margin: 0 auto; }

/* ── Breadcrumb ── */
.breadcrumb-strip {
    background: #F8FAFC;
    padding: 12px 0;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.8125rem;
}

.breadcrumb-strip a { color: #2563EB; font-weight: 500; }
.breadcrumb-strip .sep { margin: 0 8px; color: #94A3B8; }
.breadcrumb-strip .current { color: #475569; }

/* ── Rankings — Numbered List (Pattern D) ── */
.rankings {
    padding: 50px 0;
    background: #ffffff;
}

.rankings h2 {
    text-align: center;
    margin-bottom: 32px;
    color: #0F172A;
}

.rank-entry {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 12px;
    transition: box-shadow .15s;
}

.rank-entry:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }

.rank-entry--featured {
    background: #FFFBEB;
    border-color: #F59E0B;
    border-width: 2px;
}

.rank-entry__num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #F59E0B;
    min-width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.rank-entry__body { flex: 1; min-width: 0; }

.rank-entry__name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
}

.rank-entry__tag {
    font-size: 0.75rem;
    color: #F59E0B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.rank-entry__bonus {
    font-size: 0.9375rem;
    color: #334155;
    margin-top: 4px;
}

.rank-entry__code {
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 0.75rem;
    color: #64748B;
    background: #E2E8F0;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
}

.rank-entry__cta {
    flex-shrink: 0;
}

/* ── Buttons ── */
.btn-claim {
    display: inline-block;
    background: #F59E0B;
    color: #0F172A;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: background .15s;
    white-space: nowrap;
}

.btn-claim:hover { background: #D97706; color: #0F172A; text-decoration: none; }

.btn-claim--lg { padding: 12px 32px; font-size: 0.9375rem; }

/* ── Content Sections ── */
.section { padding: 50px 0; }
.section--white { background: #ffffff; }
.section--grey { background: #F1F5F9; }
.section--dark { background: #1E293B; color: #E2E8F0; }
.section--dark h2 { color: #F59E0B; }
.section--dark p { color: #CBD5E1; }
.section--dark a { color: #F59E0B; }

.section h2 { margin-bottom: 20px; }

.section p,
.section li {
    font-size: 1.0625rem;
    line-height: 1.75;
}

/* ── Inline Reviews (Pattern F — woven into rankings) ── */
.review-block {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 28px 28px 24px;
    margin-bottom: 24px;
}

.review-block h3 {
    color: #0F172A;
    margin-bottom: 10px;
    border-bottom: 2px solid #F59E0B;
    padding-bottom: 8px;
    display: inline-block;
}

.review-block p { margin-bottom: 14px; }

.review-block__pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px 0 20px;
}

.review-block__pros h4 { color: #16A34A; font-size: 0.875rem; text-transform: uppercase; letter-spacing: .05em; }
.review-block__cons h4 { color: #DC2626; font-size: 0.875rem; text-transform: uppercase; letter-spacing: .05em; }

.review-block__pros ul,
.review-block__cons ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    font-size: 0.9375rem;
}

.review-block__pros li::before { content: "+ "; color: #16A34A; font-weight: 700; }
.review-block__cons li::before { content: "- "; color: #DC2626; font-weight: 700; }

.review-block__pros li,
.review-block__cons li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* ── Info Callout ── */
.callout {
    background: #FFFBEB;
    border-left: 4px solid #F59E0B;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
}

.callout p { margin: 0; font-size: 0.9375rem; }
.callout strong { color: #B45309; }

/* ── Grid utilities ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }

/* ── Criteria Cards ── */
.criteria-tile {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 24px;
    border-radius: 8px;
}

.criteria-tile h4 { color: #1E293B; margin-bottom: 8px; }
.criteria-tile p { font-size: 0.9375rem; color: #475569; margin: 0; }

/* ── Game Tiles ── */
.game-tile {
    text-align: center;
    padding: 24px 16px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
}

.game-tile__icon {
    width: 48px;
    height: 48px;
    background: #1E293B;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.25rem;
}

.game-tile h4 { font-size: 1rem; margin-bottom: 6px; }
.game-tile p { font-size: 0.8125rem; color: #64748B; margin: 0; }

/* ── Payment Table ── */
.pay-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.pay-table thead { background: #1E293B; color: #fff; }

.pay-table th {
    padding: 12px 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: left;
}

.pay-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.9375rem;
}

.pay-table tbody tr:nth-child(even) { background: #F8FAFC; }

/* ── Value Points ── */
.value-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.value-point__marker {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #F59E0B;
    color: #0F172A;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-point h4 { margin-bottom: 4px; }
.value-point p { margin: 0; font-size: 0.9375rem; color: #475569; }

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

.faq-item {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 22px 24px;
    margin-bottom: 12px;
}

.faq-item h3 {
    font-size: 1.0625rem;
    color: #0F172A;
    margin-bottom: 10px;
}

.faq-item p { margin: 0; font-size: 0.9375rem; color: #475569; }

/* ── Related Guides ── */
.guide-link {
    display: block;
    padding: 12px 16px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #1E293B;
    transition: border-color .15s, background .15s;
}

.guide-link:hover {
    border-color: #F59E0B;
    background: #FFFBEB;
    color: #1E293B;
    text-decoration: none;
}

/* ── Trust Strip ── */
.trust-strip {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 24px;
}

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

.trust-item__badge {
    width: 64px;
    height: 64px;
    background: rgba(245,158,11,.15);
    border: 2px solid #F59E0B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: #F59E0B;
}

.trust-item p { font-size: 0.75rem; color: #94A3B8; margin: 0; }

/* ── Footer ── */
.site-footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 48px 0 0;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
}

.site-footer h4 {
    color: #F8FAFC;
    font-size: 0.9375rem;
    margin-bottom: 16px;
    font-family: 'Space Grotesk', sans-serif;
}

.site-footer p { font-size: 0.875rem; line-height: 1.65; margin-bottom: 8px; }

.site-footer a { color: #94A3B8; }
.site-footer a:hover { color: #F59E0B; text-decoration: none; }

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

.site-footer li {
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.footer__disclosure {
    border-top: 1px solid #1E293B;
    margin-top: 40px;
    padding: 20px 0;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #64748B;
}

.footer__disclosure strong { color: #94A3B8; }

.footer__copyright {
    background: #020617;
    text-align: center;
    padding: 16px 0;
    font-size: 0.8125rem;
    color: #475569;
    margin-top: 0;
}

.footer__copyright a { color: #64748B; }

/* ── Hidden address (visible to crawlers, invisible to users) ── */
.hidden-address {
    font-size: 0;
    color: #0F172A;
    line-height: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0,0,0,0);
}

.hidden-address a { color: #0F172A; font-size: 0; }

/* ── Team Cards ── */
.team-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
}

.team-card__avatar {
    width: 56px;
    height: 56px;
    background: #1E293B;
    color: #F59E0B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
}

.team-card h3 { margin-bottom: 4px; font-size: 1.125rem; }
.team-card__role { color: #F59E0B; font-weight: 600; font-size: 0.875rem; margin-bottom: 4px; }
.team-card__creds { color: #64748B; font-size: 0.8125rem; margin-bottom: 12px; }
.team-card__bio { font-size: 0.875rem; color: #475569; text-align: left; margin: 0; }

/* ── Contact Form ── */
.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: #334155;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-family: inherit;
    margin-bottom: 18px;
    transition: border-color .15s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245,158,11,.15);
}

.contact-form .btn-submit {
    background: #F59E0B;
    color: #0F172A;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background .15s;
}

.contact-form .btn-submit:hover { background: #D97706; }

/* ── Sidebar box ── */
.sidebar-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-box h3 { font-size: 1.0625rem; margin-bottom: 16px; }

/* ── Check list ── */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.65;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F59E0B;
    font-weight: 700;
}

/* ── Accent link ── */
.accent-link {
    color: #F59E0B;
    font-weight: 600;
}

.accent-link:hover { color: #D97706; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .site-nav__links { display: none; }
    .site-nav__toggle { display: block; }

    .site-nav__links.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1E293B;
        border-top: 2px solid #F59E0B;
        z-index: 300;
    }

    .site-nav__links.is-open a { padding: 14px 20px; border-bottom: 1px solid #334155; }

    .site-nav__dropdown {
        position: static;
        box-shadow: none;
        border-top: none;
        background: #0F172A;
    }

    .site-nav__links li:hover .site-nav__dropdown { display: none; }
    .site-nav__links li.is-open-sub .site-nav__dropdown { display: block; }

    .hero-card { padding: 48px 16px; }
    .hero-card__panel { padding: 32px 24px 28px; }

    .rank-entry { flex-direction: column; text-align: center; gap: 12px; padding: 20px; }
    .rank-entry__cta { width: 100%; }
    .rank-entry__cta .btn-claim { display: block; width: 100%; text-align: center; }

    .review-block__pros-cons { grid-template-columns: 1fr; }

    .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }

    .grid-2, .grid-3 { grid-template-columns: 1fr; }

    .pay-table { font-size: 0.875rem; }
    .pay-table th, .pay-table td { padding: 10px 12px; }
}

@media (max-width: 480px) {
    .hero-card__panel { padding: 24px 18px 22px; }
    .section { padding: 36px 0; }
    .rankings { padding: 36px 0; }
    .faq-item { padding: 18px 18px; }
}
