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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 6px;
}

.logo h1 {
    color: #8B4513;
    font-size: 2rem;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #8B4513;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: #8B4513;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('img/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 100px 0;
    animation: heroAnimation 20s infinite alternate;
}

@keyframes heroAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: #8B4513;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #A0522D;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #fff;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #8B4513;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Why Choose Us Section */
.why-choose {
    padding: 80px 0;
    background: #f9f9f9 url('img/bg2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: backgroundAnimation 30s infinite alternate;
}

@keyframes backgroundAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.why-choose h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #8B4513;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-card {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    color: #8B4513;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Game Description Section */
.game-description {
    padding: 80px 0;
    background-color: #fff;
}

.game-description h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #8B4513;
}

.game-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.game-text {
    flex: 1;
}

.game-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.game-text .btn {
    display: block !important;
    margin: 30px auto 0 !important;
    text-align: center !important;
}

.game-image {
    flex: 1;
}

.game-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f9f9f9 url('img/bg1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: backgroundAnimation 30s infinite alternate;
}

@keyframes backgroundAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #8B4513;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question h3 {
    color: #8B4513;
    margin: 0;
    font-size: 1.3rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B4513;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 200px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
}

.disclaimer {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    border: 3px solid #FF0000; /* Red border */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5); /* Red glow effect */
}

.disclaimer p:first-child {
    font-size: 2rem;
    font-weight: bold;
    color: #FF0000;
    animation: pulse 2s infinite;
    margin-bottom: 20px;
}

.disclaimer p {
    margin-bottom: 15px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.partners {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.partners img {
    height: 50px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #8B4513;
}

.contact-info {
    text-align: center;
    margin-bottom: 20px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* Game Page */
.game-container {
    padding: 50px 0;
    text-align: center;
    background: #fff url('img/bg2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: backgroundAnimation 30s infinite alternate;
}

@keyframes backgroundAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.game-container h1 {
    color: #8B4513;
    margin-bottom: 30px;
}

.game-frame {
    width: 90%;
    height: 70vh;
    max-width: 1000px;
    margin: 0 auto;
    border: 2px solid #8B4513;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Contact Page */
.contact-section {
    padding: 50px 0;
    background: url('img/bg1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: backgroundAnimation 30s infinite alternate;
}

.contact-form {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h1 {
    text-align: center;
    color: #8B4513;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.modal-content h2 {
    color: #8B4513;
    margin-bottom: 20px;
}

.modal-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.close-btn {
    background-color: #8B4513;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.close-btn:hover {
    background-color: #A0522D;
}

/* Policy Pages */
.policy-content {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.policy-content h1 {
    color: #8B4513;
    margin-bottom: 30px;
    text-align: center;
}

.policy-content h2 {
    color: #8B4513;
    margin: 25px 0 15px;
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Cookie Consent Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 10000;
    display: none;
    max-width: 400px;
}

.cookie-popup.show {
    display: block;
}

.cookie-content p {
    margin-bottom: 20px;
    line-height: 1.5;
}

.cookie-content a {
    color: #d4af37;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons .btn {
    flex: 1;
    padding: 10px;
    font-size: 0.9rem;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
}

.btn-outline:hover {
    background-color: #d4af37;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        gap: 20px;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 70px);
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.3s;
        z-index: 99;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav ul li {
        margin: 15px 0;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-content,
    .game-content {
        flex-direction: column;
    }
    
    .features {
        flex-direction: column;
    }
    
    .feature-card {
        width: 100%;
    }
    
    .partners {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .game-text .btn {
        margin: 30px auto;
    }
    
    .cookie-popup {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: 100%;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
