:root {
    --primary-color: #6B2C91;
    --secondary-color: #4A1A6B;
    --accent-color: #8B4A9F;
    --wine-red: #8B0000;
    --wine-dark: #4B0000;
    --gold: #D4AF37;
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --bg-dark: #1A0F1E;
    --bg-darker: #0F0815;
    --bg-card: rgba(107, 44, 145, 0.2);
    --border-color: rgba(212, 175, 55, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Verification Popup */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.age-popup.hidden {
    display: none;
}

.age-popup-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--gold);
}

.age-popup-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.age-popup-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.age-popup-content p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 16px;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.age-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.age-btn-yes {
    background: var(--gold);
    color: var(--bg-darker);
}

.age-btn-yes:hover {
    background: #F4D03F;
    transform: scale(1.05);
}

.age-btn-no {
    background: #666;
    color: var(--text-primary);
}

.age-btn-no:hover {
    background: #888;
    transform: scale(1.05);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 15, 30, 0.98);
    padding: 20px;
    z-index: 9999;
    border-top: 2px solid var(--gold);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 14px;
}

.cookie-text a {
    color: var(--gold);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: #4CAF50;
    color: white;
}

.cookie-btn-accept:hover {
    background: #45a049;
    transform: scale(1.05);
}

/* Header */
.header {
    background: rgba(26, 15, 30, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.header-logo {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold);
}

.header-nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.header-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 14px;
}

.header-nav a:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Navigation */
.nav-menu {
    display: none;
    background: rgba(26, 15, 30, 0.98);
    border-top: 2px solid var(--border-color);
    padding: 20px;
}

.nav-menu.hidden {
    display: none;
}

.nav-menu ul {
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-menu li {
    margin-bottom: 15px;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--gold);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--wine-dark) 100%);
    opacity: 0.3;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero-title {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Game Overview Section */
.game-overview-section {
    padding: 80px 20px;
    background: rgba(15, 8, 21, 0.5);
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--gold);
}

.section-description {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.game-preview {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.game-link {
    display: block;
    text-decoration: none;
    margin-bottom: 30px;
}

.game-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 15px;
    border: 3px solid var(--border-color);
    position: relative;
    overflow: hidden;
    background: var(--bg-darker);
    transition: all 0.3s ease;
}

.game-link:hover .game-placeholder {
    border-color: var(--gold);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.game-link:hover .game-image {
    transform: scale(1.05);
}

.play-button {
    background: linear-gradient(135deg, var(--gold) 0%, #F4D03F 100%);
    color: var(--bg-darker);
    border: none;
    padding: 18px 50px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    text-decoration: none;
    display: inline-block;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
    text-decoration: none;
    color: var(--bg-darker);
}

.play-button:active {
    transform: scale(0.98);
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: rgba(26, 15, 30, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: rgba(15, 8, 21, 0.5);
}

.subsection-title {
    font-size: 28px;
    color: var(--gold);
    margin-top: 40px;
    margin-bottom: 20px;
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 900px;
}

.about-text a {
    color: var(--gold);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 60px 20px 30px;
    border-top: 2px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    margin-bottom: 40px;
}

.footer-main h3 {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-main p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-copyright {
    margin-bottom: 30px;
}

.footer-copyright p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.age-warning {
    color: var(--gold) !important;
    font-weight: bold;
    margin-top: 15px !important;
}

.footer-responsible-logos {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.footer-responsible-logos a {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-responsible-logos a:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.footer-responsible-logos img {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.footer-legal {
    color: var(--text-secondary);
    font-size: 12px;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: block;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .age-popup-content {
        padding: 30px 20px;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .play-button {
        padding: 15px 40px;
        font-size: 18px;
    }
}

