/* === RESET & BASE === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --col-bg: #f7f4ee;
    --col-fg: #2b3040;
    --col-card: #ffffff;
    --col-primary: #c9a84c;
    --col-primary-fg: #1f2430;
    --col-accent: #4d8b6f;
    --col-accent-fg: #ffffff;
    --col-muted: #6b7280;
    --col-border: #d5d3cd;
    --col-muted-bg: #eceae4;
    --radius: 0.5rem;
    --max-w: 1100px;
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--col-bg);
    color: var(--col-fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

strong {
    font-weight: 600;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 1024px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.hidden {
    display: none !important;
}

/* === HEADER === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--col-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius);
    background: var(--col-primary);
    color: var(--col-primary-fg);
    font-weight: 700;
    font-size: 1.125rem;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--col-fg);
}

.logo-text.light {
    color: var(--col-card);
}

.menu-toggle {
    position: relative;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    border: none;
    background: transparent;
    color: var(--col-fg);
    cursor: pointer;
    transition: background 0.2s;
}

.menu-toggle:hover {
    background: var(--col-muted-bg);
}

.mobile-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    border-bottom: 1px solid var(--col-border);
    background: var(--col-card);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-list {
    list-style: none;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-link {
    display: block;
    padding: 0.75rem 0.5rem;
    font-weight: 500;
    color: var(--col-fg);
    border-bottom: 1px solid var(--col-border);
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--col-primary);
}

.nav-list li:last-child .nav-link {
    border-bottom: none;
}

/* === HERO === */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(43, 48, 64, 0.72);
}

.hero-content {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 1024px) {
    .hero-content {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--col-card);
    text-wrap: balance;
}

@media (min-width: 640px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

.hero-content p {
    margin-top: 1.25rem;
    max-width: 42rem;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 640px) {
    .hero-content p {
        font-size: 1.125rem;
    }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border: none;
    cursor: pointer;
    transition: transform 0.15s;
    text-decoration: none;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-primary {
    background: var(--col-primary);
    color: var(--col-primary-fg);
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
}

.btn-accent {
    background: var(--col-accent);
    color: var(--col-accent-fg);
    box-shadow: 0 2px 8px rgba(77, 139, 111, 0.25);
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
}

.hero-content .btn {
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* === SECTIONS === */
.section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--col-fg);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 1.875rem;
    }
}

/* === CASINO LIST === */
.casino-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.casino-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius);
    background: var(--col-card);
    border: 1px solid var(--col-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
    .casino-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.casino-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.casino-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.2);
    color: var(--col-primary-fg);
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.casino-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--col-fg);
}

.stars {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    margin-top: 0.25rem;
}

.star {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: var(--col-border);
    stroke-width: 2;
}

.star.filled {
    fill: var(--col-primary);
    stroke: var(--col-primary);
}

.rating-num {
    margin-left: 0.25rem;
    font-size: 0.875rem;
    color: var(--col-muted);
}

.casino-right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

@media (min-width: 640px) {
    .casino-right {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
}

.casino-info {
    font-size: 0.875rem;
    color: var(--col-muted);
}

/* === TYPES GRID === */
.types-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.type-card {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--col-border);
    background: var(--col-card);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.type-img-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.type-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.type-body {
    padding: 1rem;
}

.type-body h3 {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--col-fg);
    margin-bottom: 0.5rem;
}

.type-body p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--col-muted);
    margin-bottom: 1rem;
}

/* === CONTENT LAYOUT === */
.content-layout {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 1024px) {
    .content-layout {
        flex-direction: row;
    }
}

.content-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.content-sidebar {
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .content-sidebar {
        width: 18rem;
    }
}

.toc-sticky {
    position: static;
}

@media (min-width: 1024px) {
    .toc-sticky {
        position: sticky;
        top: 5rem;
    }
}

.content-section p {
    color: var(--col-fg);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* === TOC === */
.toc {
    border-radius: var(--radius);
    border: 1px solid var(--col-border);
    background: var(--col-card);
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--col-primary);
}

.toc-header h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--col-fg);
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toc-list a {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--col-muted);
    line-height: 1.6;
    transition: color 0.2s;
}

.toc-list a:hover {
    color: var(--col-primary);
}

.toc-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.15);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--col-fg);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* === CHECK LISTS === */
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
}

.check-icon {
    color: var(--col-accent);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.trend-icon {
    color: var(--col-accent);
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* === TABLE === */
.table-wrap {
    overflow-x: auto;
    margin-top: 1.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius);
    border: 1px solid var(--col-border);
    background: var(--col-card);
    text-align: left;
}

th {
    background: var(--col-muted-bg);
    border: 1px solid var(--col-border);
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--col-fg);
}

td {
    border: 1px solid var(--col-border);
    padding: 0.75rem 1rem;
    color: var(--col-fg);
    line-height: 1.6;
}

tr:nth-child(even) {
    background: rgba(236, 234, 228, 0.5);
}

/* === WARNING BOX === */
.warning-box {
    border-radius: var(--radius);
    border: 1px solid var(--col-border);
    background: var(--col-card);
    padding: 1.25rem;
}

.warning-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.warning-item:last-child {
    margin-bottom: 0;
}

.warning-icon {
    color: var(--col-primary);
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.shield-icon {
    color: var(--col-accent);
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.warning-item p {
    margin-bottom: 0 !important;
}

/* === LIVE ROULETTE === */
.live-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .live-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.live-card {
    display: flex;
    gap: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--col-border);
    background: var(--col-card);
    padding: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.live-img {
    width: 8rem;
    height: 6rem;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: calc(var(--radius) - 2px);
}

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

.live-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.25rem 0;
}

.live-body h3 {
    font-weight: 600;
    color: var(--col-fg);
}

.live-body p {
    font-size: 0.875rem;
    color: var(--col-muted);
}

/* === DARK BLOCKS (payments, providers) === */
.dark-block {
    border-radius: var(--radius);
    background: rgba(43, 48, 64, 0.92);
    padding: 1.5rem;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .payment-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

.payment-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: calc(var(--radius) - 2px);
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.15s;
}

.payment-item:hover {
    transform: scale(1.1);
}

.payment-item img {
    width: 4rem;
    height: 2.5rem;
    object-fit: contain;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .provider-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.provider-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: calc(var(--radius) - 2px);
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.15s;
}

.provider-item:hover {
    transform: scale(1.1);
}

.provider-item img {
    width: 6.25rem;
    height: 3.125rem;
    object-fit: contain;
}

/* === FAQ === */
.faq-list {
    display: flex;
    flex-direction: column;
}

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

.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    color: var(--col-fg);
    font-family: var(--font-sans);
    transition: color 0.2s;
    gap: 1rem;
}

.faq-trigger:hover {
    color: var(--col-primary);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

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

.faq-item.open .faq-content {
    max-height: 300px;
    padding-bottom: 1rem;
}

.faq-content p {
    color: var(--col-fg);
    line-height: 1.6;
}

/* === FOOTER === */
.site-footer {
    border-top: 1px solid var(--col-border);
    background: rgba(43, 48, 64, 0.96);
    color: var(--col-card);
}
.site-footer .logo-text {
    color: #fff;
}

.site-footer .container {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 640px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    max-width: 20rem;
}

.footer-brand p {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav h4 {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--col-card);
    margin-bottom: 0.75rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--col-primary);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-badges img {
    width: 5rem;
    height: 2rem;
    object-fit: contain;
    filter: brightness(2);
    transition: opacity 0.2s;
}

.footer-badges a:hover img {
    opacity: 0.8;
}

.footer-copy {
    margin-top: 1.5rem;
    text-align: center;
}

.footer-copy p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}