/* CSS for BrightTreasureZone - Jungle/Ruins Theme */
:root {
    --jungle-green: #2d5016;
    --deep-jungle: #1a300b;
    --light-jungle: #4a7c3d;
    --moss-green: #6b8e23;
    --vine-green: #5a7d32;
    --temple-gold: #ffd700;
    --ruin-stone: #8b7355;
    --ancient-bronze: #cd7f32;
    --kongar-gray: #696969;
    --text-light: #f5f5f5;
    --text-dark: #333;
    --background-dark: #121212;
}

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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--background-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(45, 80, 22, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(103, 140, 35, 0.1) 0%, transparent 20%);
    overflow-x: hidden;
}

.main-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--deep-jungle), var(--jungle-green));
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid var(--temple-gold);
}

header .main-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo a {
    font-family: 'Berkshire Swash', cursive;
    font-size: 1.8rem;
    color: var(--temple-gold);
    text-decoration: none;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.brand-icon {
    height: 2.5rem;
    vertical-align: middle;
    margin-right: 0.5rem;
}

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

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--temple-gold);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--temple-gold);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.welcome-banner {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('assets/images/hero.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    margin-top: 70px;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(103, 140, 35, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.2) 0%, transparent 30%);
    pointer-events: none;
}

.welcome-banner h1 {
    font-family: 'Berkshire Swash', cursive;
    font-size: 4rem;
    color: var(--temple-gold);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
    animation: glow 2s ease-in-out infinite alternate;
}

.welcome-banner p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.action-button {
    display: inline-block;
    background: var(--temple-gold);
    color: var(--text-dark);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid var(--ancient-bronze);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.action-button:hover {
    background: var(--ancient-bronze);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* About Section */
.introduction-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--jungle-green), var(--deep-jungle));
    text-align: center;
}

.introduction-section h2 {
    font-family: 'Berkshire Swash', cursive;
    font-size: 2.5rem;
    color: var(--temple-gold);
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.introduction-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
    padding: 0 20px;
}

/* Game Section */
.play-area {
    padding: 80px 0;
    background: var(--background-dark);
    text-align: center;
}

.play-area h2 {
    font-family: 'Berkshire Swash', cursive;
    font-size: 2.5rem;
    color: var(--temple-gold);
    margin-bottom: 40px;
}

.game-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.game-visual {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.game-visual img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

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

.game-info p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

/* FAQ Section */
.help-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--deep-jungle), var(--jungle-green));
}

.help-section h2 {
    font-family: 'Berkshire Swash', cursive;
    font-size: 2.5rem;
    color: var(--temple-gold);
    text-align: center;
    margin-bottom: 50px;
}

.help-item {
    max-width: 800px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--temple-gold);
}

.help-question h3 {
    background: linear-gradient(to right, var(--jungle-green), var(--light-jungle));
    padding: 20px;
    margin: 0;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--text-light);
}

.help-answer {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    display: none;
}

.help-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

.help-item.active .help-answer {
    display: block;
}

/* Reviews Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--background-dark);
}

.testimonials-section h2 {
    font-family: 'Berkshire Swash', cursive;
    font-size: 2.5rem;
    color: var(--temple-gold);
    text-align: center;
    margin-bottom: 50px;
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: linear-gradient(145deg, var(--jungle-green), var(--deep-jungle));
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--temple-gold);
    transition: transform 0.3s ease;
}

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

.testimonial-card h3 {
    color: var(--temple-gold);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.testimonial-card p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.testimonial-author {
    font-style: italic;
    color: var(--text-light);
    text-align: right;
}

/* Game Container (for game.html) */
.game-display {
    padding: 100px 0 50px;
    background: var(--background-dark);
    min-height: calc(100vh - 120px);
}

.game-display h1 {
    font-family: 'Berkshire Swash', cursive;
    font-size: 2.5rem;
    color: var(--temple-gold);
    text-align: center;
    margin-bottom: 30px;
}

.game-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--temple-gold);
}

/* Contact Section */
.contact-area {
    padding: 100px 0 50px;
    background: linear-gradient(to bottom, var(--jungle-green), var(--deep-jungle));
    min-height: calc(100vh - 120px);
}

.contact-area h1 {
    font-family: 'Berkshire Swash', cursive;
    font-size: 2.5rem;
    color: var(--temple-gold);
    text-align: center;
    margin-bottom: 40px;
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-details {
    flex: 1;
    min-width: 300px;
}

.contact-details h2 {
    font-family: 'Berkshire Swash', cursive;
    color: var(--temple-gold);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-details p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.contact-instructions {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border-left: 3px solid var(--temple-gold);
}

.form-container {
    flex: 1;
    min-width: 300px;
}

.inquiry-form {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--temple-gold);
}

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

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--temple-gold);
    font-weight: bold;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid var(--ruin-stone);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
}

.send-button {
    width: 100%;
    padding: 15px;
    background: var(--temple-gold);
    color: var(--text-dark);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.send-button:hover {
    background: var(--ancient-bronze);
}

/* Legal Pages */
.data-protection,
.usage-agreement,
.tracking-policy {
    padding: 100px 0 50px;
    background: var(--background-dark);
    min-height: calc(100vh - 120px);
}

.data-protection h1,
.usage-agreement h1,
.tracking-policy h1 {
    font-family: 'Berkshire Swash', cursive;
    font-size: 2.5rem;
    color: var(--temple-gold);
    margin-bottom: 30px;
}

.data-protection h2,
.usage-agreement h2,
.tracking-policy h2 {
    font-family: 'Berkshire Swash', cursive;
    font-size: 1.8rem;
    color: var(--temple-gold);
    margin: 30px 0 15px 0;
}

.data-protection p,
.usage-agreement p,
.tracking-policy p {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.data-protection ul,
.usage-agreement ul,
.tracking-policy ul {
    margin: 15px 0 15px 30px;
    padding-left: 20px;
}

.data-protection li,
.usage-agreement li,
.tracking-policy li {
    margin-bottom: 10px;
    color: var(--text-light);
}



/* Footer */
footer {
    background: linear-gradient(to bottom, var(--deep-jungle), #000);
    padding: 50px 0 20px;
    color: var(--text-light);
    border-top: 3px solid var(--temple-gold);
}

.legal-notice {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, var(--jungle-green), var(--light-jungle));
    border-radius: 15px;
    border: 2px solid var(--temple-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.legal-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 30%);
    pointer-events: none;
}

.legal-notice h3 {
    color: var(--temple-gold);
    font-family: 'Berkshire Swash', cursive;
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    text-align: center;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    position: relative;
    z-index: 1;
}

.legal-notice p {
    margin: 10px 0;
    color: var(--text-light);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.page-navigation {
    text-align: center;
    margin-bottom: 20px;
}

.page-navigation ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 20px;
}

.page-navigation ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-navigation ul li a:hover {
    color: var(--temple-gold);
}

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

.contact-info-footer p {
    margin: 5px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.copyright-notice {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--ruin-stone);
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Animations */
@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.6);
    }
}

/* Cookie Consent Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 300px;
    background: linear-gradient(135deg, var(--jungle-green), var(--deep-jungle));
    border: 1px solid var(--temple-gold);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

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

.cookie-content h3 {
    color: var(--temple-gold);
    font-family: 'Berkshire Swash', cursive;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.cookie-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

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

.cookie-btn {
    flex: 1;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accept-btn {
    background: var(--temple-gold);
    color: var(--text-dark);
}

.accept-btn:hover {
    background: var(--ancient-bronze);
}

.decline-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border: 1px solid var(--ruin-stone);
}

.decline-btn:hover {
    background: rgba(255, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .main-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 15px;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .welcome-banner h1 {
        font-size: 2.5rem;
    }
    
    .welcome-banner p {
        font-size: 1.2rem;
    }
    
    .game-layout,
    .contact-layout {
        flex-direction: column;
    }
    
    .help-section h2,
    .testimonials-section h2,
    .play-area h2 {
        font-size: 2rem;
    }
    
    .testimonial-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-card {
        width: 100%;
        max-width: 400px;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }
}