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

:root {
    --bg-main: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1c1c1c;
    --bg-surface: #111;
    --gold: #c9a84c;
    --gold-light: #e8d48b;
    --gold-dark: #9a7b2e;
    --champagne: #f5e6c8;
    --ivory: #faf6ef;
    --rose: #b76e79;
    --emerald: #2d8a6e;
    --text: #e8e4dc;
    --text-muted: #8a8478;
    --text-dim: #5a564e;
    --border: rgba(201, 168, 76, 0.12);
    --border-gold: rgba(201, 168, 76, 0.3);
    --radius: 4px;
    --radius-sm: 2px;
}

body {
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg-main);
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(201, 168, 76, 0.015) 100px,
            rgba(201, 168, 76, 0.015) 101px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 100px,
            rgba(201, 168, 76, 0.015) 100px,
            rgba(201, 168, 76, 0.015) 101px
        );
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}
.site-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.site-logo:hover { color: var(--gold-light); }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
    color: var(--text-muted);
    padding: 8px 18px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.3s;
    border: 1px solid transparent;
}
.site-nav a:hover {
    color: var(--gold);
    border-color: var(--border-gold);
}

/* ===== Main ===== */
.site-main { padding: 40px 0 56px; min-height: 60vh; }
.site-main h1 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 32px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--champagne);
    letter-spacing: 0.04em;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    padding: 36px 0;
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}
.footer-ornament {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 16px;
}
.footer-links { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); margin: 0 8px; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; }
.footer-links a:hover { color: var(--gold); }
.footer-dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    background: var(--gold-dark);
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 4px;
}

/* ===== Alphabet Filter ===== */
.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 36px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.alphabet-label {
    font-weight: 600;
    margin-right: 12px;
    line-height: 30px;
    color: var(--gold);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.alphabet-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s;
    letter-spacing: 0.05em;
}
.alphabet-filter a:hover,
.alphabet-filter a.active {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
}
.alphabet-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    font-size: 0.75rem;
    color: var(--text-dim);
    opacity: 0.3;
}

/* ===== Slots Grid ===== */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* ===== Slot Card ===== */
.slot-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}
.slot-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.slot-card:hover {
    border-color: var(--border-gold);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 1px var(--gold-dark);
}
.slot-card:hover::after { opacity: 1; }

.slot-card a { display: block; color: inherit; }
.slot-card a:hover { text-decoration: none; }
.slot-card-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.05);
    transition: all 0.5s;
}
.slot-card:hover .slot-card-img { filter: brightness(1) contrast(1.1); transform: scale(1.03); }
.slot-card-placeholder { width: 100%; aspect-ratio: 1; background: var(--bg-surface); }
.slot-card-title {
    padding: 12px 14px 4px;
    font-family: 'Playfair Display', serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--champagne);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.slot-card-meta {
    display: flex;
    justify-content: space-between;
    padding: 0 14px 12px;
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.slot-card-rtp { color: var(--emerald); font-weight: 600; }

/* ===== Providers Grid ===== */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}
.provider-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 18px 20px;
    color: inherit;
    transition: all 0.3s;
}
.provider-card:hover {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
}
.provider-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    margin: 0;
    color: var(--champagne);
    font-weight: 600;
}
.provider-count {
    font-size: 0.72rem;
    color: var(--text-dim);
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ===== Top Providers (Home) ===== */
.top-providers { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.top-providers h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    color: var(--champagne);
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
}
.providers-list { display: flex; flex-wrap: wrap; gap: 8px; }
.provider-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text);
    letter-spacing: 0.03em;
    transition: all 0.3s;
}
.provider-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
}
.provider-link:hover .provider-count { color: var(--gold-dark); }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.3s;
    letter-spacing: 0.03em;
}
.pagination-link:hover {
    border-color: var(--border-gold);
    color: var(--gold);
}
.pagination-current {
    background: var(--gold);
    color: var(--bg-main);
    font-weight: 700;
    border-color: var(--gold);
}
.pagination-dots { display: inline-flex; align-items: center; padding: 0 6px; color: var(--text-dim); }

/* ===== Slot Page ===== */
.slot-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--champagne);
    letter-spacing: 0.02em;
}

/* Slot Info Row */
.slot-info-row {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-top: 28px;
}
.slot-info-row .slot-thumbnail {
    flex-shrink: 0;
    width: 280px;
}
.slot-info-row .slot-thumbnail img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border-gold);
    filter: brightness(0.95) contrast(1.05);
}
.slot-specs-wrap { flex: 1; min-width: 0; }

.slot-specs {
    width: 100%;
    border-collapse: collapse;
}
.slot-specs th, .slot-specs td {
    padding: 10px 0;
    text-align: left;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}
.slot-specs th {
    color: var(--text-dim);
    font-weight: 500;
    width: 40%;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}
.slot-specs td { color: var(--champagne); font-weight: 500; }
.slot-specs a { color: var(--gold); }
.slot-tags { margin-top: 16px; font-size: 0.85rem; color: var(--text-muted); }
.slot-tags strong {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}
.tag {
    display: inline-block;
    padding: 3px 10px;
    margin: 3px;
    border: 1px solid var(--border);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* ===== Demo Banner ===== */
.demo-section { margin-top: 40px; }

.demo-banner {
    position: relative;
    width: 100%;
    padding-bottom: 42%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-gold);
}
.demo-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(20, 20, 20, 0.75) 50%, rgba(10, 10, 10, 0.9) 100%);
}
.demo-banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    z-index: 1;
}
.demo-banner-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--champagne);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: 0.04em;
}
.demo-banner-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-main);
    border: 1px solid var(--gold);
    padding: 16px 44px;
    font-size: 0.82rem;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: 0 4px 24px rgba(201, 168, 76, 0.3);
    color: var(--bg-main);
}

.btn-demo {
    background: transparent;
    color: var(--champagne);
    border: 1px solid var(--champagne);
}
.btn-demo:hover {
    background: rgba(245, 230, 200, 0.08);
    border-color: var(--gold);
    color: var(--gold);
}

/* ===== Demo iframe ===== */
.demo-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border-gold);
}
.demo-iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== Slot Review ===== */
.slot-review {
    margin-top: 44px;
    padding: 36px 0;
    border-top: 1px solid var(--border);
}
.slot-review h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 32px 0 14px;
    color: var(--champagne);
    letter-spacing: 0.03em;
}
.slot-review h2:first-child { margin-top: 0; }
.slot-review h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--gold);
    letter-spacing: 0.02em;
}
.slot-review p {
    margin-bottom: 14px;
    color: var(--text);
    line-height: 1.85;
    font-weight: 300;
}
.slot-review ul, .slot-review ol {
    margin: 14px 0;
    padding-left: 20px;
    color: var(--text);
    font-weight: 300;
}
.slot-review li {
    margin-bottom: 8px;
    padding-left: 4px;
}
.slot-review li::marker { color: var(--gold-dark); }
.slot-review table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.slot-review table th,
.slot-review table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}
.slot-review table th {
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}
.slot-review table td { color: var(--text); font-weight: 300; }

/* ===== Related Slots ===== */
.related-slots {
    margin-top: 52px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.related-slots h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 24px;
    color: var(--champagne);
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
}

/* ===== Provider Page ===== */
.provider-description { margin-bottom: 28px; color: var(--text-muted); line-height: 1.8; font-weight: 300; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .slot-info-row { flex-direction: column; }
    .slot-info-row .slot-thumbnail { width: 100%; max-width: 320px; }
    .slots-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
    .demo-banner { padding-bottom: 56%; }
    .demo-banner-content h2 { font-size: 1.3rem; }
    .btn { padding: 12px 24px; font-size: 0.75rem; }
    .btn-primary { padding: 14px 32px; }
    .site-main h1 { font-size: 1.5rem; }
}
@media (max-width: 480px) {
    .slots-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .site-main h1 { font-size: 1.3rem; }
    .demo-banner { padding-bottom: 75%; }
    .demo-banner-buttons { flex-direction: column; gap: 10px; }
    .site-logo { font-size: 1.1rem; letter-spacing: 0.1em; }
}
