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

:root {
    --primary-color: #8b4789;
    --secondary-color: #d4af37;
    --accent-color: #5c3d5e;
    --text-color: #2c2c2c;
    --light-bg: #f5f0f5;
    --dark-bg: #3d2c3e;
    --white: #ffffff;
    --border-color: #d4c5d4;
    --shadow: rgba(139, 71, 137, 0.15);
    --gradient-1: linear-gradient(135deg, #8b4789 0%, #5c3d5e 100%);
    --gradient-2: linear-gradient(135deg, #d4af37 0%, #b8962e 100%);
}

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

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

/* Header and Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background: var(--gradient-1);
    padding: 80px 0;
    color: var(--white);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.btn-primary {
    background: var(--gradient-2);
    color: var(--dark-bg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

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

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

/* Disclaimer Section */
.disclaimer-section {
    padding: 60px 0;
    background: var(--white);
}

.disclaimer-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
    border-left: 5px solid #d4af37;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
    text-align: center;
}

.disclaimer-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.disclaimer-box h2 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.disclaimer-box p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-color);
}

/* Game Section */
.game-section,
.game-page {
    padding: 70px 0;
    background: var(--light-bg);
}

.game-section h2,
.game-page h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.game-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: var(--text-color);
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
}

.game-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

/* About Section */
.about-section {
    padding: 70px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow);
}

.about-text h2 {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 18px;
    line-height: 1.8;
}

/* Reviews Section */
.reviews-section {
    padding: 70px 0;
    background: var(--light-bg);
}

.reviews-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.review-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    font-style: italic;
}

.reviewer {
    font-weight: 600;
    color: var(--primary-color);
}

/* Features Section */
.features-section {
    padding: 70px 0;
    background: var(--white);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.feature-card {
    background: var(--light-bg);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 50px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
}

.footer-section p {
    line-height: 1.7;
    opacity: 0.9;
    font-size: 0.95rem;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-disclaimer {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.6;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px var(--shadow);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* Popup Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background: var(--white);
    padding: 45px;
    border-radius: 15px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.popup-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.popup-content p {
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.popup-buttons button {
    padding: 12px 30px;
    font-size: 1rem;
}

/* Contact Page */
.contact-page {
    padding: 70px 0;
    background: var(--light-bg);
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 22px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-info p {
    line-height: 1.7;
    margin-bottom: 25px;
}

.info-box {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

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

/* Legal Pages */
.legal-page {
    padding: 70px 0;
    background: var(--light-bg);
}

.legal-content {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow);
    max-width: 1000px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--primary-color);
    margin-top: 35px;
    margin-bottom: 18px;
    font-size: 1.8rem;
}

.legal-content h3 {
    color: var(--accent-color);
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.legal-content p {
    margin-bottom: 18px;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 25px;
    margin-bottom: 18px;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.last-updated {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

.warning-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
    border-left: 5px solid #d4af37;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

.warning-box h2 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px var(--shadow);
        padding: 30px 0;
        gap: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1.05rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .legal-content {
        padding: 30px 20px;
    }

    .popup-content {
        padding: 30px 20px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .game-section h2,
    .game-page h1,
    .features-section h2,
    .reviews-section h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .contact-form-wrapper,
    .contact-info {
        padding: 25px;
    }
}
