/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --max-width: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Age Notice */
.age-notice {
    background-color: var(--warning-color);
    color: white;
    text-align: center;
    padding: 8px;
    font-weight: 600;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 1001;
}

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 32px;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

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

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

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-hero {
    background-color: white;
    color: var(--primary-color);
    padding: 16px 40px;
    font-size: 18px;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 28px;
    margin-bottom: 24px;
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-notice {
    margin-top: 24px;
    font-size: 14px;
    opacity: 0.9;
}

/* Page Hero (smaller version) */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 12px;
}

.page-hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
    color: var(--text-dark);
}

.features, .how-it-works, .faq, .content-section {
    padding: 80px 0;
}

.features {
    background-color: var(--bg-white);
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.feature-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

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

.faq-item {
    background-color: var(--bg-white);
    padding: 24px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 20px;
}

/* CTA Section */
.cta-section {
    background-color: var(--bg-gray);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

/* Games Section */
.games-notice, .game-disclaimer {
    padding: 32px 0;
    background-color: var(--bg-white);
}

.notice-box, .disclaimer-box {
    background-color: #fef3c7;
    border-left: 4px solid var(--warning-color);
    padding: 20px;
    border-radius: var(--border-radius-sm);
}

.games-section {
    padding: 60px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.game-card {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover:not(.game-card-disabled) {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.game-card-disabled {
    opacity: 0.6;
}

.game-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.game-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 16px 0;
}

.game-tag {
    background-color: var(--bg-gray);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
}

.btn-game {
    margin-top: 16px;
    background-color: var(--primary-color);
    color: white;
    width: 100%;
}

.btn-disabled {
    background-color: var(--text-light);
    cursor: not-allowed;
}

.games-reminder {
    background-color: var(--bg-white);
    padding: 60px 0;
}

.reminder-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fef2f2;
    border-left: 4px solid var(--error-color);
    padding: 32px;
    border-radius: var(--border-radius);
}

.reminder-box h3 {
    color: var(--error-color);
    margin-bottom: 16px;
}

.reminder-box ul {
    list-style-position: inside;
    margin-bottom: 16px;
}

.reminder-note {
    margin-top: 16px;
    font-style: italic;
}

/* Game Page */
.game-page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.game-page-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.game-play-area {
    padding: 60px 0;
}

.game-play-area .container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 32px;
}

.game-container {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.game-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.balance-display {
    font-size: 20px;
    font-weight: 600;
}

.balance-amount {
    color: var(--secondary-color);
    font-size: 24px;
}

.bet-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bet-select {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    cursor: pointer;
}

/* Slots Machine */
.slots-machine {
    text-align: center;
}

.slots-display {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    padding: 32px;
    background-color: var(--bg-gray);
    border-radius: var(--border-radius);
}

.reel {
    width: 100px;
    height: 100px;
    background-color: white;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.symbol {
    font-size: 64px;
}

.game-message {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    font-weight: 600;
    text-align: center;
}

.btn-spin {
    background-color: var(--secondary-color);
    color: white;
    font-size: 24px;
    padding: 16px 48px;
    width: 100%;
}

.btn-spin:hover:not(:disabled) {
    background-color: #059669;
}

.btn-spin:disabled {
    background-color: var(--text-light);
    cursor: not-allowed;
}

.game-paytable {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid var(--border-color);
}

.game-paytable h3 {
    margin-bottom: 16px;
}

.game-paytable table {
    width: 100%;
    border-collapse: collapse;
}

.game-paytable td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.game-paytable td:first-child {
    font-weight: 600;
    text-align: left;
}

.game-paytable td:last-child {
    text-align: right;
}

.paytable-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-gray);
    font-style: italic;
}

/* Blackjack Table */
.blackjack-table {
    text-align: center;
}

.dealer-area, .player-area {
    margin-bottom: 32px;
}

.dealer-area h3, .player-area h3 {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hand-score {
    color: var(--primary-color);
    font-weight: 700;
}

.card-hand {
    min-height: 120px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background-color: var(--bg-gray);
    border-radius: var(--border-radius);
}

.card {
    width: 70px;
    height: 100px;
    background-color: white;
    border: 2px solid var(--text-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.card.red {
    color: var(--error-color);
}

.card-placeholder {
    color: var(--text-light);
    font-style: italic;
}

.game-controls {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

.btn-deal {
    background-color: var(--primary-color);
    color: white;
    padding: 16px 48px;
    font-size: 18px;
}

.btn-action {
    background-color: var(--secondary-color);
    color: white;
    padding: 16px 32px;
}

.btn-action:disabled {
    background-color: var(--text-light);
    cursor: not-allowed;
}

.game-rules {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid var(--border-color);
}

.game-rules h3 {
    margin-bottom: 16px;
}

.game-rules ul {
    list-style-position: inside;
}

.rules-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-gray);
    font-style: italic;
}

/* Game Sidebar */
.game-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.game-info-card {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.game-info-card h3 {
    margin-bottom: 16px;
    color: var(--primary-color);
}

.game-info-card ol, .game-info-card ul {
    margin-left: 20px;
    margin-bottom: 12px;
}

.info-note {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-gray);
    font-style: italic;
}

.reminder-list {
    list-style-type: none;
    margin-left: 0;
}

.reminder-list li:before {
    content: "✓ ";
    color: var(--secondary-color);
    font-weight: bold;
}

.game-footer-cta {
    background-color: var(--bg-gray);
    padding: 60px 0;
    text-align: center;
}

/* Content Pages */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.content-wrapper p {
    margin-bottom: 16px;
}

.content-wrapper ul, .content-wrapper ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.content-wrapper li {
    margin-bottom: 8px;
}

.highlight-box, .warning-box, .important-notice {
    padding: 24px;
    border-radius: var(--border-radius);
    margin: 24px 0;
}

.highlight-box {
    background-color: #eff6ff;
    border-left: 4px solid var(--primary-color);
}

.warning-box {
    background-color: #fef2f2;
    border-left: 4px solid var(--error-color);
}

.important-notice {
    background-color: #fef3c7;
    border-left: 4px solid var(--warning-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.info-card {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 12px;
}

.feature-list {
    list-style-type: none;
    margin-left: 0;
}

.feature-list li {
    padding-left: 24px;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.warning-signs {
    list-style-type: none;
    margin-left: 0;
}

.warning-signs li {
    padding-left: 24px;
    position: relative;
}

.warning-signs li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: var(--warning-color);
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.guideline-card {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.guideline-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 12px;
}

.comparison-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.comparison-col {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.comparison-col h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.resources-box {
    background-color: #eff6ff;
    padding: 24px;
    border-radius: var(--border-radius);
    margin: 24px 0;
}

.resources-box h3 {
    color: var(--primary-color);
    margin-top: 24px;
    margin-bottom: 12px;
}

.resources-box h3:first-child {
    margin-top: 0;
}

.final-reminder {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 32px;
    text-align: center;
}

/* Legal Content */
.legal-content h2 {
    font-size: 28px;
}

.legal-content h3 {
    font-size: 20px;
}

/* Contact Page */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-intro {
    margin-bottom: 40px;
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 14px 32px;
    align-self: flex-start;
}

.form-message {
    padding: 16px;
    border-radius: var(--border-radius-sm);
    margin-top: 16px;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    display: block;
}

.contact-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.info-box {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 16px;
    font-size: 18px;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-compliance {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    margin-bottom: 24px;
}

.footer-compliance p {
    margin-bottom: 12px;
}

.footer-disclaimer {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    opacity: 0.8;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        padding-top: 16px;
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .features, .how-it-works, .faq, .content-section {
        padding: 40px 0;
    }

    .game-play-area .container {
        grid-template-columns: 1fr;
    }

    .game-sidebar {
        order: 2;
    }

    .slots-display {
        gap: 8px;
        padding: 16px;
    }

    .reel {
        width: 80px;
        height: 80px;
    }

    .symbol {
        font-size: 48px;
    }

    .game-controls {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

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

    .game-icon {
        font-size: 48px;
    }

    .slots-display {
        flex-direction: column;
        align-items: center;
    }
}
