* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37;
    --secondary-color: #8b4513;
    --accent-color: #dc143c;
    --dark-bg: #1a0f0a;
    --darker-bg: #0d0604;
    --light-text: #fef5e7;
    --gray-text: #c9b998;
    --card-bg: #2d1810;
    --hover-color: #f4d03f;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--darker-bg);
    color: var(--light-text);
    line-height: 1.7;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top left, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(139, 69, 19, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at center, rgba(220, 20, 60, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Navbar */
.navbar {
    background: linear-gradient(to bottom, rgba(45, 24, 16, 0.95), rgba(26, 15, 10, 0.95));
    backdrop-filter: blur(10px);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.7);
    border-bottom: 3px solid var(--primary-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    font-family: Georgia, serif;
}

.logo:hover {
    color: var(--hover-color);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.logo img {
    width: 50px;
    height: 50px;
}

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

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.8rem 1.5rem;
    display: block;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 2px solid transparent;
}

.nav-menu a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(212, 175, 55, 0.05);
}

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

.menu-toggle span {
    width: 32px;
    height: 4px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 6rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* background image from img/hero.jpg with a dark overlay so content remains readable */
    background-image: linear-gradient(rgba(6,6,6,0.55), rgba(10,10,10,0.28)), url('../img/hero.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(212, 175, 55, 0.03) 2px, rgba(212, 175, 55, 0.03) 4px);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.8rem;
    font-weight: 900;
    color: var(--light-text);
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    animation: fadeIn 0.8s ease;
    line-height: 1.1;
    font-family: Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero h1 .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
}

.hero p {
    font-size: 1.4rem;
    color: var(--gray-text);
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease 0.2s backwards;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--darker-bg);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 900;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease 0.4s backwards;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    font-family: Georgia, serif;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, var(--hover-color), var(--primary-color));
}

/* About Section */
.about {
    padding: 4.5rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content {
    background: linear-gradient(135deg, rgba(45, 24, 16, 0.8), rgba(26, 15, 10, 0.8));
    padding: 4rem;
    border-radius: 10px;
    border-top: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--secondary-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6);
}

.about h2 {
    font-size: 3.2rem;
    margin-bottom: 1.8rem;
    color: var(--primary-color);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about p {
    font-size: 1.2rem;
    color: var(--gray-text);
    line-height: 1.9;
}

/* Features Section */
.features {
    padding: 4.5rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features h2 {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 4rem;
    color: var(--light-text);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(45, 24, 16, 0.6), rgba(26, 15, 10, 0.6));
    padding: 2.5rem;
    border-radius: 10px;
    border: 3px solid var(--secondary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 10px;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: scale(1.03);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

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

.feature-card h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--gray-text);
    line-height: 1.7;
}

/* Games Section */
.games-section {
    padding: 4.5rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.games-section h2 {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 4rem;
    color: var(--accent-color);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    
}

.game-container {
    margin-bottom: 4rem;
}

.game-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.game-wrapper {
    position: relative;
    width: 100%;
    /* keep game at most 900px but shrink on small viewports */
    max-width: min(900px, 95vw);
    margin: 0 auto;
    /* modern browsers: preserve 16:9 aspect ratio */
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(45, 24, 16, 0.9), rgba(26, 15, 10, 0.9));
    border-radius: 10px;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
}

.game-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
    .game-wrapper {
        /* restore the old padding-bottom technique (56.25% = 16:9) */
        padding-bottom: 56.25%;
    }
}

/* Reviews Section */
.reviews {
    padding: 4.5rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.reviews h2 {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 4rem;
    color: var(--light-text);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.review-card {
    background: linear-gradient(135deg, rgba(45, 24, 16, 0.7), rgba(26, 15, 10, 0.7));
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 6px solid var(--accent-color);
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.review-card:hover {
    transform: translateX(5px);
    border-left-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(220, 20, 60, 0.3);
}

.review-stars {
    color: #ffd700;
    font-size: 1.4rem;
    margin-bottom: 1.3rem;
}

.review-text {
    color: var(--gray-text);
    font-style: italic;
    margin-bottom: 1.3rem;
    line-height: 1.8;
}

.review-author {
    color: var(--light-text);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--darker-bg), #000000);
    padding: 4rem 2rem 1rem;
    margin-top: 5rem;
    border-top: 5px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-section p,
.footer-section a {
    color: var(--gray-text);
    text-decoration: none;
    display: block;
    margin-bottom: 0.9rem;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.disclaimer-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(139, 69, 19, 0.15));
    padding: 2rem;
    border-radius: 8px;
    border: 3px solid var(--secondary-color);
    margin-top: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.disclaimer-card h4 {
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.disclaimer-card p {
    font-size: 0.98rem;
    color: var(--gray-text);
    line-height: 1.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 3px solid rgba(212, 175, 55, 0.3);
    color: var(--gray-text);
    font-size: 1rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Content Pages */
.content-page {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(45, 24, 16, 0.8), rgba(26, 15, 10, 0.8));
    border-radius: 10px;
    border-top: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--secondary-color);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
}

.content-page h1 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.content-page h2 {
    font-size: 2.3rem;
    margin-top: 2.5rem;
    margin-bottom: 1.3rem;
    color: var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-page p {
    color: var(--gray-text);
    margin-bottom: 1.3rem;
    line-height: 1.9;
    font-size: 1.08rem;
}

.content-page ul {
    margin-left: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-text);
}

.content-page ul li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 3rem auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--light-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem;
    background: rgba(45, 24, 16, 0.7);
    border: 3px solid var(--secondary-color);
    border-radius: 5px;
    color: var(--light-text);
    font-size: 1.05rem;
    transition: all 0.3s ease;
    font-family: Georgia, serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    background: rgba(45, 24, 16, 0.9);
}

.form-group textarea {
    resize: vertical;
    min-height: 180px;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--darker-bg);
    border: none;
    border-radius: 5px;
    font-size: 1.15rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    font-family: Georgia, serif;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, var(--hover-color), var(--primary-color));
}

/* Disclaimer Popup */
.disclaimer-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.94);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.4s ease;
    backdrop-filter: blur(10px);
}

.popup-content {
    background: linear-gradient(135deg, var(--card-bg), var(--dark-bg));
    padding: 3.5rem;
    border-radius: 10px;
    max-width: 560px;
    width: 90%;
    text-align: center;
    border: 5px solid var(--primary-color);
    animation: slideUp 0.5s ease;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
}

.popup-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.6rem;
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.popup-content p {
    color: var(--gray-text);
    margin-bottom: 2.5rem;
    line-height: 1.9;
    font-size: 1.12rem;
}

.popup-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.popup-btn {
    padding: 1.1rem 3rem;
    border: none;
    border-radius: 5px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.08rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: Georgia, serif;
}

.accept-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--darker-bg);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.decline-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border: 3px solid var(--gray-text);
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(45, 24, 16, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 0.5rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s ease;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .features h2,
    .games-section h2,
    .reviews h2 {
        font-size: 2.5rem;
    }

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

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

    .about-content {
        padding: 3rem;
    }

    .content-page {
        padding: 3rem 2rem;
    }

    .popup-content {
        padding: 2.8rem;
    }

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

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

    .logo {
        font-size: 1.6rem;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }
}