/* Crypto Tinty - Dark + Orange Crypto Theme */
/* Fonts: Poppins (body) + Playfair Display (headings) */

:root {
    --primary: #E8820C;
    --primary-light: #F5A623;
    --primary-dark: #C06A00;
    --primary-glow: rgba(232, 130, 12, 0.4);
    --bg-dark: #111111;
    --bg-darker: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --border-color: #2a2a2a;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-muted: #888888;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-darker);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* Top Warning Banner */
.top-banner {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 24px;
    text-align: center;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.75rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Header */
.header {
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.75rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav ul li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 0;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(ellipse at center top, rgba(232, 130, 12, 0.12) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 70%, rgba(232, 130, 12, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 75% 30%, rgba(232, 130, 12, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline em {
    color: var(--primary);
    font-style: italic;
}

.btn-primary {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-darker);
    background: var(--text-white);
    padding: 14px 44px;
    border-radius: 30px;
    border: 2px solid var(--text-white);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-white);
}

.btn-outline {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    background: transparent;
    padding: 14px 44px;
    border-radius: 30px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 32px;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
}

/* Features Section */
.features-section {
    padding: 80px 24px;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.feature-card {
    text-align: center;
    padding: 32px 20px;
}

.feature-icon {
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 56px;
    height: 56px;
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 14px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Mini Slot Preview */
.mini-slot-wrapper {
    max-width: 340px;
    margin: 0 auto 8px;
}

.mini-slot-machine {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 0 30px var(--primary-glow);
    text-align: center;
}

.mini-slot-header {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.mini-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.mini-cell {
    aspect-ratio: 1;
    background: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.15s ease;
}

.mini-cell.spinning {
    animation: cellFlash 0.1s infinite;
    border-color: var(--primary);
}

.mini-cell.win {
    border-color: var(--primary-light);
    box-shadow: 0 0 12px var(--primary-glow);
}

.mini-message {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    min-height: 22px;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.mini-spin-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-darker);
    background: var(--primary);
    border: none;
    padding: 12px 48px;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.mini-spin-btn:hover {
    background: var(--primary-light);
}

.mini-spin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* About / Showcase Section */
.about-section {
    padding: 80px 24px;
    background: var(--bg-darker);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}

.section-description {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.showcase-banner {
    background: var(--primary);
    border-radius: 12px;
    padding: 80px 40px;
    margin: 0 auto;
    max-width: 800px;
    position: relative;
    overflow: hidden;
}

.showcase-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0,0,0,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.showcase-content {
    position: relative;
    z-index: 1;
}

.showcase-text {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 6px;
    text-transform: uppercase;
}

/* Info Section (About, Mission, etc.) */
.info-section {
    padding: 80px 24px;
    background: var(--bg-dark);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.info-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    margin-top: 40px;
}

.info-text h2:first-child {
    margin-top: 0;
}

.info-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.info-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.crypto-coin-display {
    position: relative;
}

.coin-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px var(--primary-glow);
    position: relative;
}

.coin-circle::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.coin-circle span {
    font-size: 5rem;
    color: var(--text-white);
    font-weight: 700;
}

/* Page Hero */
.page-hero {
    padding: 120px 24px 48px;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-white);
}

/* Content Sections (Legal pages) */
.content-section {
    padding: 60px 24px 80px;
    background: var(--bg-darker);
}

.content-container {
    max-width: 800px;
}

.content-block {
    margin-bottom: 36px;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.content-block p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 10px;
}

.highlight-block {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 28px;
}

.resource-list {
    list-style: none;
    margin-top: 16px;
}

.resource-list li {
    padding: 8px 0;
}

.resource-list a {
    color: var(--primary);
    font-weight: 500;
}

.resource-list a:hover {
    text-decoration: underline;
}

/* Play Page */
.play-hero {
    padding: 100px 24px 40px;
    background: var(--bg-dark);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.play-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.play-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.game-section {
    padding: 40px 24px 80px;
    background: var(--bg-darker);
}

.slot-machine-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.machine-frame {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 0 30px var(--primary-glow);
}

.machine-header {
    text-align: center;
    margin-bottom: 24px;
}

.machine-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 3px;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-box {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.stat-box .stat-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.stat-box .stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.game-message {
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 16px;
    min-height: 24px;
    letter-spacing: 1px;
}

.slot-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.reel-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slot-cell {
    width: 68px;
    height: 68px;
    background: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.15s ease;
}

.slot-cell.spinning {
    animation: cellFlash 0.1s infinite;
    border-color: var(--primary);
}

@keyframes cellFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.paylines-indicator {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.control-panel {
    margin-bottom: 24px;
}

.control-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.btn-control {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    padding: 12px 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.btn-control:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-spin {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-darker);
    background: var(--primary);
    border: none;
    padding: 14px;
    cursor: pointer;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border-radius: 6px;
    text-transform: uppercase;
}

.btn-spin:hover {
    background: var(--primary-light);
}

.btn-spin:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.secondary-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-secondary {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    background: transparent;
    border: 1px solid var(--primary);
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-white);
}

.session-stats {
    background: var(--bg-darker);
    border-radius: 10px;
    padding: 20px;
}

.session-stats h3 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-align: center;
    text-transform: uppercase;
}

.session-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
}

.session-item .session-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.session-item .session-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.play-disclaimer {
    max-width: 700px;
    margin: 32px auto 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
}

.modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.paytable-grid {
    margin-bottom: 24px;
}

.paytable-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.paytable-symbol {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.paytable-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.btn-close {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg-darker);
    background: var(--primary);
    border: none;
    padding: 12px 32px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: var(--primary-light);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 48px 24px 28px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

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

.footer-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.footer-responsible {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.footer-responsible a {
    font-size: 0.8rem;
    color: var(--primary);
}

.footer-responsible a:hover {
    text-decoration: underline;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 24px;
}

.footer-disclaimer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-operator {
    margin-bottom: 16px;
}

.footer-operator p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-copyright p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    nav {
        display: none;
    }

    nav.active {
        display: block;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-darker);
        border-bottom: 1px solid var(--border-color);
        padding: 16px 24px;
        z-index: 999;
    }

    nav.active ul {
        flex-direction: column;
        gap: 16px;
    }

    .hero {
        min-height: auto;
    }

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

    .hero-container {
        padding: 60px 24px;
    }

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

    .showcase-text {
        font-size: 2rem;
    }

    .showcase-banner {
        padding: 50px 24px;
    }

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

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

    .btn-spin {
        grid-column: span 2;
    }

    .session-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .coin-circle {
        width: 160px;
        height: 160px;
    }

    .coin-circle span {
        font-size: 3.5rem;
    }

    .banner-content {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
        letter-spacing: 1px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .slot-cell {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }

    .slot-grid {
        gap: 6px;
    }

    .reel-column {
        gap: 6px;
    }

    .machine-frame {
        padding: 16px;
    }

    .btn-control {
        padding: 10px 4px;
        font-size: 0.65rem;
    }

    .secondary-controls {
        flex-direction: column;
        gap: 8px;
    }

    .play-hero h1 {
        font-size: 1.75rem;
    }

    .footer-links,
    .footer-responsible {
        gap: 16px;
    }
}
