/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c41e3a;
    --secondary-color: #8b1538;
    --accent-color: #ff4d6d;
    --bg-dark: #1a0a0f;
    --bg-medium: #2d1b23;
    --bg-light: #3d2533;
    --text-primary: #ffffff;
    --text-secondary: #e8d4dc;
    --text-muted: #b8a0aa;
    --gold: #ffd700;
    --gold-dark: #cc9900;
    --success: #28a745;
    --shadow: rgba(196, 30, 58, 0.3);
    --shadow-strong: rgba(196, 30, 58, 0.6);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(
        135deg,
        var(--bg-dark) 0%,
        var(--bg-medium) 50%,
        var(--bg-dark) 100%
    );
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(26, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px var(--shadow-strong));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
    text-shadow: 0 0 20px var(--shadow-strong);
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.lang-selector {
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-selector:hover {
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--shadow-strong);
}

.current-lang {
    color: var(--text-primary);
    font-weight: bold;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: radial-gradient(
        circle at center,
        rgba(196, 30, 58, 0.15) 0%,
        transparent 70%
    );
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-shadow: 0 0 30px var(--shadow-strong);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Buttons */
.btn-cta,
.btn-primary,
.btn-secondary,
.btn-play,
.btn-accept {
    padding: 14px 32px;
    font-size: 1.1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta,
.btn-primary,
.btn-play {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );
    color: var(--text-primary);
    box-shadow: 0 5px 20px var(--shadow);
}

.btn-cta:hover,
.btn-primary:hover,
.btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-strong);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
    margin-top: 20px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.btn-accept {
    background: var(--gold);
    color: var(--bg-dark);
    padding: 10px 24px;
    font-size: 1rem;
}

.btn-accept:hover {
    background: var(--gold-dark);
    transform: scale(1.05);
}

/* Game Section */
.game-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-shadow: 0 0 20px var(--shadow);
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.game-container {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.game-image-wrapper {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 40px var(--shadow);
}

.game-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
}

.btn-play {
    font-size: 1.3rem;
    padding: 18px 50px;
}

.game-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.info-card {
    background: rgba(45, 27, 35, 0.8);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-strong);
    border-color: var(--accent-color);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
}

/* About Game Section */
.about-game {
    padding: 80px 0;
    background: rgba(45, 27, 35, 0.5);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 10px;
}

/* Reviews Section */
.reviews-teaser {
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background: rgba(45, 27, 35, 0.8);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-strong);
}

.review-stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.review-author {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: right;
}

/* Reviews Full Page */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
    background: radial-gradient(
        circle at center,
        rgba(196, 30, 58, 0.2) 0%,
        transparent 70%
    );
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 0 20px var(--shadow);
}

.page-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.reviews-full {
    padding: 60px 0;
}

.reviews-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--gold);
    text-shadow: 0 0 20px var(--shadow-strong);
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 5px;
}

.stars-large {
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 10px;
}

.reviews-list {
    max-width: 900px;
    margin: 0 auto;
}

.review-card-full {
    background: rgba(45, 27, 35, 0.8);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.review-card-full:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px var(--shadow-strong);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.review-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

.author-name {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: rgba(45, 27, 35, 0.5);
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background: rgba(45, 27, 35, 0.8);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--shadow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-success {
    display: none;
    background: var(--success);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
}

.form-success.show {
    display: block;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 40px 0 20px;
    margin-top: 80px;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    text-align: center;
}

.footer-info {
    margin-bottom: 25px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 800px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.footer-logos a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-logos a:hover {
    transform: translateY(-5px);
}

.footer-logos img {
    max-width: 120px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logos a:hover img {
    opacity: 1;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid var(--bg-light);
}

/* Popups */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.popup-overlay.show {
    display: flex;
}

.popup-content {
    background: linear-gradient(
        135deg,
        var(--bg-medium) 0%,
        var(--bg-dark) 100%
    );
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 3px solid var(--primary-color);
    box-shadow: 0 20px 60px var(--shadow-strong);
    animation: popupAppear 0.3s ease;
}

@keyframes popupAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.popup-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.popup-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.popup-small {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.popup-content button {
    margin: 10px;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 10, 15, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px;
    z-index: 999;
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 -5px 30px var(--shadow);
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    color: var(--text-secondary);
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Legal Content */
.legal-content {
    padding: 60px 0;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(45, 27, 35, 0.5);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
}

.legal-text h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    color: var(--text-secondary);
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-text p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-text ul,
.legal-text ol {
    color: var(--text-secondary);
    margin-left: 30px;
    margin-bottom: 20px;
}

.legal-text li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.legal-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.legal-text strong {
    color: var(--text-primary);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(26, 10, 15, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--bg-light);
}

.cookie-table th {
    background: var(--primary-color);
    color: var(--text-primary);
    font-weight: bold;
}

.cookie-table td {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .game-info {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .popup-content {
        padding: 30px 20px;
    }

    .legal-text {
        padding: 25px 20px;
    }

    .reviews-stats {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .btn-cta,
    .btn-primary,
    .btn-secondary,
    .btn-play {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .popup-content h2 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}
