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

:root {
    --primary: #D4A574;
    --primary-dark: #B8864F;
    --primary-light: #E8C9A0;
    --accent: #C84C2E;
    --accent-dark: #A13C22;
    --dark: #1A1410;
    --dark-brown: #2D1F17;
    --mid-brown: #3D2A1F;
    --light: #F5E6D3;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-lg: rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-contact {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
}

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

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

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

.btn-contact:hover {
    background: var(--accent-dark);
    color: var(--white);
}

.btn-link {
    color: var(--primary);
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 16px;
}

/* Header */
.header {
    background: var(--dark-brown);
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.logo-text .spin {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--light);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-brown) 50%, var(--mid-brown) 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(200, 76, 46, 0.1) 0%, transparent 50%);
    animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--light);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary-light);
    font-size: 0.9rem;
    margin-top: 2rem;
}

.hero-disclaimer .icon {
    font-size: 1.5rem;
}

/* Games Section */
.games-section {
    padding: 5rem 0;
    background: var(--dark-brown);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--light);
}

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

.game-card {
    background: var(--mid-brown);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-lg);
    border-color: var(--primary);
}

.game-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--mid-brown), var(--dark-brown));
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.game-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.game-card h3 {
    margin-bottom: 1rem;
}

.game-card p {
    color: var(--light);
    margin-bottom: 1.5rem;
}

.game-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--primary);
}

.game-stats span {
    font-size: 0.9rem;
    color: var(--primary-light);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--dark);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--light);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark-brown), var(--mid-brown));
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--light);
}

/* Footer */
.footer {
    background: var(--dark-brown);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--primary);
}

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

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--light);
}

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

.footer-disclaimer {
    margin: 2rem 0;
}

.disclaimer-box {
    background: var(--mid-brown);
    border: 2px solid var(--accent);
    border-radius: 10px;
    padding: 2rem;
}

.disclaimer-box h4 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.disclaimer-box p {
    margin-bottom: 1rem;
    color: var(--light);
}

.help-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.help-links a {
    color: var(--primary);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--primary);
    color: var(--light);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: var(--dark-brown);
    border-radius: 15px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 2px solid var(--primary);
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.age-modal .lion-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.age-modal h2 {
    margin-bottom: 1rem;
}

.age-modal p {
    color: var(--light);
    margin-bottom: 2rem;
}

.age-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
}

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

.age-checkbox label {
    color: var(--light);
    cursor: pointer;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark-brown);
    border-top: 2px solid var(--primary);
    padding: 1.5rem;
    z-index: 1500;
    box-shadow: 0 -5px 20px var(--shadow);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    color: var(--light);
    flex: 1;
    min-width: 300px;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Content Pages */
.page-header {
    background: linear-gradient(135deg, var(--dark-brown), var(--mid-brown));
    padding: 4rem 0 2rem;
    text-align: center;
    border-bottom: 2px solid var(--primary);
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--light);
}

.page-content {
    padding: 3rem 0;
    background: var(--dark);
}

.content-box {
    background: var(--dark-brown);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
}

.content-box h2 {
    margin-bottom: 1rem;
}

.content-box p, .content-box ul, .content-box ol {
    color: var(--light);
    margin-bottom: 1rem;
}

.content-box ul, .content-box ol {
    padding-left: 2rem;
}

.content-box li {
    margin-bottom: 0.5rem;
}

/* Game Pages */
.game-container {
    min-height: 100vh;
    background: var(--dark);
    padding: 2rem 0;
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-board {
    background: var(--dark-brown);
    border-radius: 15px;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    border: 2px solid var(--primary);
}

.game-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--mid-brown);
    border-radius: 10px;
}

.balance {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.game-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--dark-brown);
        width: 100%;
        padding: 2rem;
        transition: right 0.3s ease;
        border-top: 2px solid var(--primary);
    }

    .nav-menu.active {
        right: 0;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2rem;
    }

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

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }
}
