/* ═══════════════════════════════════════════
   Spinago50 — style.css
   Dark casino theme matching spinago50.net
   ═══════════════════════════════════════════ */

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

:root {
    /* Backgrounds */
    --bg-body: #0d0f1a;
    --bg-header: #0a0c15;
    --bg-card: #141728;
    --bg-table-head: #1a1e35;
    --bg-table-row: #111425;
    --bg-table-row-alt: #161a2e;
    --bg-footer: #080a12;

    /* Accents */
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --gold: #f0c040;
    --gold-dark: #d4a020;

    /* Text */
    --text: #d1d5e8;
    --text-light: #8a8fb0;
    --text-heading: #ffffff;

    /* Borders */
    --border: #1e2240;
    --border-light: #2a2f52;

    /* Gradients */
    --cta-gradient: linear-gradient(135deg, #6c5ce7 0%, #a855f7 100%);
    --cta-gradient-hover: linear-gradient(135deg, #7c6cf7 0%, #b865ff 100%);

    /* Radii */
    --radius: 12px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #fff;
}

strong {
    color: var(--text-heading);
    font-weight: 600;
}


/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */

.header {
    background: var(--bg-header);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-light);
}

.header-nav {
    display: flex;
    gap: 8px;
}

/* Header buttons */
.hbtn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s;
    text-decoration: none;
}

.hbtn-outline {
    border: 1px solid var(--border-light);
    color: var(--text-light);
}

.hbtn-outline:hover {
    border-color: var(--accent-light);
    color: #fff;
}

.hbtn-primary {
    background: var(--cta-gradient);
    color: #fff;
    border: none;
}

.hbtn-primary:hover {
    background: var(--cta-gradient-hover);
    color: #fff;
}


/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */

.hero {
    text-align: center;
    padding: 56px 24px 48px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108, 92, 231, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        var(--bg-body);
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    max-width: 1100px;
    margin: 0 auto 24px;
}

.hero-banner {
    display: block;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto 28px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    aspect-ratio: 16 / 6;
    position: relative;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-light);
    font-size: 14px;
    gap: 8px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--cta-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 40px;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(108, 92, 231, 0.35);
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.5);
    color: #fff;
}


/* ═══════════════════════════════════════════
   CONTENT
   ═══════════════════════════════════════════ */

.content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.intro {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 48px;
    text-align: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.meta {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.meta span {
    margin: 0 8px;
}

/* Sections */
.section {
    margin-bottom: 52px;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    line-height: 1.3;
}

.section p {
    margin-bottom: 16px;
}

.section p:last-child {
    margin-bottom: 0;
}


/* ═══════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════ */

.table-wrap {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

thead th {
    background: var(--bg-table-head);
    color: var(--accent-light);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(30, 34, 64, 0.6);
    vertical-align: top;
}

tbody tr:nth-child(odd) {
    background: var(--bg-table-row);
}

tbody tr:nth-child(even) {
    background: var(--bg-table-row-alt);
}

tbody tr:last-child td {
    border-bottom: none;
}

td.label-cell {
    font-weight: 600;
    color: var(--text-heading);
    white-space: nowrap;
}

.total-row td {
    font-weight: 700;
    color: var(--gold);
    background: rgba(240, 192, 64, 0.05) !important;
}


/* ═══════════════════════════════════════════
   STEPS (numbered list)
   ═══════════════════════════════════════════ */

.steps {
    list-style: none;
    margin: 20px 0;
    counter-reset: step;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: 16px 18px 16px 58px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    transition: border-color 0.2s;
}

.steps li:hover {
    border-color: var(--accent);
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--accent-light);
}

.step-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.step-desc {
    color: var(--text);
    font-size: 15px;
    margin: 0;
}


/* ═══════════════════════════════════════════
   CTA BUTTONS
   ═══════════════════════════════════════════ */

.cta-wrap {
    text-align: center;
    margin: 32px 0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--cta-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 36px;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(108, 92, 231, 0.45);
    color: #fff;
}

.cta-btn svg {
    width: 16px;
    height: 16px;
}


/* ═══════════════════════════════════════════
   PROMO CARDS
   ═══════════════════════════════════════════ */

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.promo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 18px;
}

.promo-icon {
    font-size: 22px;
    margin-bottom: 8px;
}

.promo-title {
    font-weight: 700;
    color: #fff;
    font-size: 15px;
    margin-bottom: 6px;
}

.promo-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.highlight {
    color: var(--gold);
    font-weight: 600;
}


/* ═══════════════════════════════════════════
   IMAGE PLACEHOLDER
   ═══════════════════════════════════════════ */

.img-placeholder {
    background: var(--bg-card);
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-sm);
    padding: 28px 16px;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
    margin: 20px 0;
}

.img-placeholder svg {
    display: block;
    margin: 0 auto 8px;
    opacity: 0.35;
}


/* ═══════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════ */

.faq-list {
    margin: 20px 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 40px 18px 0;
    text-align: left;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    line-height: 1.5;
}

.faq-question:hover {
    color: var(--accent-light);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--accent-light);
    font-weight: 300;
    transition: transform 0.25s;
}

.faq-item.open .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 0 18px;
}

.faq-answer p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    text-align: center;
}

.footer-logo {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--accent-light);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
}

.footer-links a:hover {
    color: #fff;
}

.footer-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.footer-disclaimer {
    max-width: 1100px;
    margin: 16px auto 0;
    font-size: 12.5px;
    color: var(--text-light);
    line-height: 1.6;
    opacity: 0.7;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 12px;
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 640px) {
    .header-inner {
        height: 56px;
    }

    .logo {
        font-size: 18px;
    }

    .hbtn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .hero {
        padding: 40px 16px 36px;
    }

    .content {
        padding: 0 16px 48px;
    }

    .section {
        margin-bottom: 40px;
    }

    h2 {
        font-size: 20px;
    }

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

    .hero-cta {
        font-size: 14px;
        padding: 14px 28px;
    }

    table {
        font-size: 13px;
    }

    thead th,
    tbody td {
        padding: 10px 12px;
    }
}
