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

body {
    font-family: 'Press Start 2P', cursive;
    background-color: #0a0a1a; /* Dark desert background */
    color: #f0e6d2; /* Parchment text color */
    line-height: 1.8;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9IiMwYTBhMWEiLz48Y2lyY2xlIGN4PSIxMCUiIGN5PSIxMCUiIHI9IjEiIGZpbGw9IiNmMGU2ZDIiIGZpbGwtb3BhY2l0eT0iMC4xIi8+PGNpcmNsZSBjeD0iMjAlIiBjeT0iNTAlIiByPSIxLjUiIGZpbGw9IiNmMGU2ZDIiIGZpbGwtb3BhY2l0eT0iMC4xIi8+PGNpcmNsZSBjeD0iNDAlIiBjeT0iMjAlIiByPSIxIiBmaWxsPSIjZjBlNmQyIiBmaWxsLW9wYWNpdHk9IjAuMSIvPjxjaXJjbGUgY3g9IjcwJSIgY3k9IjQwJSIgcj0iMiIgZmlsbD0iI2YwZTZkMiIgZmlsbC1vcGFjaXR5PSIwLjEiLz48Y2lyY2xlIGN4PSI5MCUiIGN5PSI3MCUiIHI9IjEiIGZpbGw9IiNmMGU2ZDIiIGZpbGwtb3BhY2l0eT0iMC4xIi8+PC9zdmc+');
    font-size: 12px;
}

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

/* Header Styles */
header {
    background-color: #8B4513; /* Saddle brown */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #DAA520; /* Goldenrod border */
}

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

.brand {
    font-size: 18px;
    font-weight: 700;
    color: #FFD700; /* Gold color for logo */
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.header-logo {
    height: 40px;
    width: auto;
    margin-right: 15px;
}

.brand::after {
    content: ""; /* Removed cowboy emoji */
    position: absolute;
    right: -35px;
    top: -5px;
    font-size: 24px;
}

/* Burger Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background: #FFD700; /* Gold color */
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

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

nav ul li {
    margin-left: 30px;
    position: relative;
}


nav ul li a {
    text-decoration: none;
    color: #f0e6d2; /* Parchment text for nav items */
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    padding: 8px 0px;
    border-radius: 5px;
    border: 1px solid transparent;
    font-size: 10px;
}

nav ul li a:hover {
    color: #FFD700; /* Gold color on hover */
    background-color: rgba(139, 69, 19, 0.3);
    border: 1px solid #DAA520;
    transform: translateY(-2px);
}

/* Hero Section */
.landing {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: #f0e6d2;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #8B4513;
}


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

.landing h1 {
    font-size: 24px;
    margin-bottom: 25px;
    line-height: 1.4;
    color: #FFD700; /* Gold color for heading */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.landing p {
    font-size: 10px;
    margin-bottom: 35px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.action-btn {
    display: inline-block;
    background: linear-gradient(to bottom, #8B4513, #5D2906); /* Brown gradient button */
    color: #FFD700;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 3px solid #DAA520; /* Goldenrod border */
    cursor: pointer;
    font-size: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}



.action-btn:hover {
    background: linear-gradient(to bottom, #A0522D, #8B4513);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.7);
    border-color: #FFD700;
}

/* Section Styles */
section {
    padding: 90px 0;
    border-bottom: 2px dashed #8B4513;
}

section h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 50px;
    color: #FFD700;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}



/* About Section */
.story {
    background: url('img/about-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-top: 5px solid #8B4513;
}



.story-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-text {
    flex: 1;
    max-width: 800px;
    text-align: center;
}

.story-text h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #FFD700;
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.story-text p {
    margin-bottom: 25px;
    font-size: 10px;
    background: rgba(139, 69, 19, 0.4);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #8B4513;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    backdrop-filter: blur(2px);
    line-height: 1.8;
}

/* Features Section */
.advantages {
    background: url('img/features-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-top: 5px solid #8B4513;
}

.advantages::before {
    content: "⭐";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 40px;
    opacity: 0.3;
}

.advantages::after {
    content: "⭐";
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 40px;
    opacity: 0.3;
    transform: rotate(180deg);
}

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

.advantage-card {
    background: rgba(45, 27, 16, 0.85);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    border: 3px solid #8B4513; /* Brown border */
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(0deg);
    backdrop-filter: blur(3px);
}



.advantage-card:hover {
    transform: perspective(1000px) translateY(-10px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.6);
    border-color: #DAA520;
}

.advantage-icon {
    font-size: 36px;
    margin-bottom: 25px;
    color: #FFD700; /* Gold color for icons */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.advantage-card h3 {
    margin-bottom: 20px;
    font-size: 14px;
    color: #FFD700; /* Gold color for headings */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Game Description Section */
.game-info {
    background: url('img/game-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-top: 5px solid #8B4513;
}


.game-info-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-info-text {
    flex: 1;
    max-width: 800px;
    text-align: center;
}

.game-info-text h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #FFD700;
    font-size: 18px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.game-info-text p {
    margin-bottom: 25px;
    font-size: 10px;
    background: rgba(139, 69, 19, 0.5);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #8B4513;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    backdrop-filter: blur(3px);
    line-height: 1.8;
}

/* Game Section */
.play-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #16213E, #0F3460); /* Dark blue gradient */
    border-top: 5px solid #8B4513;
}

.play-section h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #FFD700; /* Gold color */
    position: relative;
    font-size: 28px;
}

.play-section h1::before {
    content: "";
    position: absolute;
    left: -50px;
    top: -5px;
}


.play-container {
    background: #0a0a1a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 5px solid #8B4513; /* Brown border */
    position: relative;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: #f0e6d2;
    position: relative;
    border-top: 5px solid #8B4513;
}

.contact-section h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #FFD700;
    position: relative;
    font-size: 28px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h2,
.contact-form-container h2 {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 12px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item h3 {
    color: #FFD700;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 12px;
}

.contact-form-container {
    background: rgba(45, 27, 16, 0.85);
    padding: 30px;
    border-radius: 15px;
    border: 3px solid #8B4513;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #FFD700;
    font-size: 12px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #8B4513;
    border-radius: 8px;
    background: rgba(139, 69, 19, 0.3);
    color: #f0e6d2;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #DAA520;
    background: rgba(139, 69, 19, 0.5);
}

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

.contact-form-container .action-btn {
    width: 100%;
    padding: 12px;
    font-size: 12px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background: linear-gradient(to bottom, #8B4513, #5D2906);
    margin: 10% auto;
    padding: 30px;
    border: 3px solid #DAA520;
    border-radius: 15px;
    width: 80%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.modal-content h2 {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 24px;
}

.modal-content p {
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 1.8;
}

.close {
    color: #f0e6d2;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
}

.close:hover {
    color: #FFD700;
}

/* FAQ Section */
.questions {
    background: url('img/faq-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-top: 5px solid #8B4513;
}

.question-item {
    max-width: 850px;
    margin: 0 auto 35px;
    background: rgba(45, 27, 16, 0.85);
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-left: 5px solid #DAA520; /* Goldenrod accent border */
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.question-item:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
    transform: translateY(-5px);
}

.question-item.active {
    padding: 0 30px 30px 30px;
}

.question-item::before {
    content: "❓";
    position: absolute;
    top: -20px;
    left: 25px;
    background: #8B4513;
    color: #FFD700;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 2px solid #DAA520;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2;
}

.question-item.active::before {
    transform: rotate(0deg);
}

.question-item:last-child {
    margin-bottom: 0;
}

.question-item:last-child.active {
    padding: 0 30px 30px 30px;
}

.question-item h3 {
    margin-bottom: 0;
    color: #FFD700; /* Gold color for questions */
    font-size: 12px;
    cursor: pointer;
    padding: 25px 60px 15px 15px;
    position: relative;
}

.question-item h3::after {
    content: "❯";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transition: transform 0.3s ease;
}

.question-item.active h3::after {
    transform: translateY(-50%) rotate(-90deg);
}

.question-item p {
    margin-bottom: 0;
    display: none;
    padding: 10px 0;
}

.question-item.active p {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Policy Content */
.legal-content {
    padding: 60px 0;
    background-color: #1a1a2e; /* Dark blue background */
    border-top: 5px solid #8B4513;
}

.legal-content .wrapper {
    max-width: 950px;
}

.legal-content h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #FFD700; /* Gold color */
    font-size: 28px;
}

.legal-content h2 {
    text-align: left;
    margin: 35px 0 20px;
    color: #FFD700; /* Gold color */
    position: relative;
    font-size: 20px;
}

.legal-content h2::before {
    content: "📜";
    position: absolute;
    left: -35px;
    top: -5px;
    font-size: 24px;
}

.legal-content p {
    margin-bottom: 20px;
    background: rgba(139, 69, 19, 0.2);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #8B4513;
    font-size: 10px;
    line-height: 1.8;
}

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

.legal-content ul li {
    margin-bottom: 12px;
    position: relative;
}


/* Footer */
footer {
    background: linear-gradient(to right, #2D1B10, #1A1006); /* Dark brown gradient */
    color: #f0e6d2;
    padding: 60px 0 25px;
    position: relative;
    border-top: 5px solid #8B4513;
}

footer::before {
    content: "🌵";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 30px;
    opacity: 0.3;
}

footer::after {
    content: "🌵";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    opacity: 0.3;
}

.notice {
    text-align: center;
    margin-bottom: 35px;
}

.notice p:first-child {
    font-size: 18px;
    font-weight: bold;
    color: #FF4500; /* OrangeRed color */
    text-shadow: 0 0 15px rgba(255, 69, 0, 0.7);
    animation: pulse 2s infinite;
}

.notice p {
    margin: 12px 0;
    text-align: center;
    font-size: 10px;
    line-height: 1.8;
}

@keyframes pulse {
    0% { text-shadow: 0 0 10px rgba(255, 69, 0, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 69, 0, 0.8); }
    100% { text-shadow: 0 0 10px rgba(255, 69, 0, 0.5); }
}

.sponsors {
    display: flex;
    justify-content: center; /* Horizontal layout for desktop */
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 35px;
}

.sponsors img {
    height: 55px;
    filter: grayscale(0%); /* Remove grayscale to show original colors */
    opacity: 1; /* Full opacity */
    max-width: 220px; /* Limit width for better alignment */
    transition: transform 0.3s ease;
}

.sponsors img:hover {
    transform: scale(1.1);
}

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

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 15px;
    border-radius: 5px;
}


.footer-nav a:hover {
    color: #FFD700; /* Gold color on hover */
    background-color: rgba(139, 69, 19, 0.3);
    transform: translateY(-2px);
}

.rights {
    text-align: center;
    color: #aaa;
    font-size: 15px;
    padding-top: 25px;
    border-top: 1px solid #8B4513;
}

/* Cookie Consent Popup */
.cookie-notice {
    position: fixed;
    bottom: 25px;
    left: 25px;
    right: 25px;
    background: linear-gradient(to right, #8B4513, #5D2906);
    color: #f0e6d2;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s ease;
    border: 3px solid #DAA520;
}

.cookie-notice.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-notice-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-notice-content p {
    margin-bottom: 25px;
    font-size: 12px;
    line-height: 1.8;
}

.cookie-notice-content a {
    color: #FFD700;
    text-decoration: underline;
    font-weight: bold;
}

.cookie-notice-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-notice-buttons .action-btn {
    padding: 10px 20px;
    font-size: 12px;
    margin: 0;
}

.cookie-notice-buttons .action-btn.secondary {
    background: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
}

.cookie-notice-buttons .action-btn.secondary:hover {
    background: rgba(255, 215, 0, 0.2);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* Responsive Design */
@media (max-width: 968px) {
    header .wrapper {
        flex-direction: row;
        text-align: center;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(to right, #8B4513, #5D2906);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 5;
    }
    
    .navigation.active {
        transform: translateX(0);
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 20px 0;
        padding: 20px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav ul li::before {
        left: 50%;
        top: 10px;
        transform: translateX(-50%);
    }
    
    nav ul li a {
        font-size: 14px;
        padding: 15px 0;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
    }
    
    .landing h1 {
        font-size: 26px;
    }
    
    .landing {
        padding: 70px 0;
    }
    
    section {
        padding: 70px 0;
    }
    
    section h2 {
        font-size: 22px;
    }
    
    .sponsors {
        flex-direction: column; /* Vertical layout for mobile */
        align-items: center;
    }
    
    .footer-nav {
        flex-direction: column;
        align-items: center;
    }
    
    section h2::before,
    section h2::after,
    .play-section h1::before,
    .play-section h1::after {
        display: none;
    }
    
    /* Responsive for about section */
    .story-content {
        flex-direction: column-reverse;
    }
    
    .about-image {
        margin-bottom: 35px;
    }
    
    /* Responsive for game description */
    .game-info-content {
        flex-direction: column;
    }
    
    .game-image {
        margin-top: 35px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .notice p:first-child {
        font-size: 16px;
    }
    
    /* Contact section responsive */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}