/*
Theme Name: Green Fortune TH
Theme URI: https://example.com/green-fortune-th
Author: Developer
Description: Elegant Green & Gold Nature-inspired Casino Theme
Version: 1.0
Text Domain: green-fortune-th
*/

@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-bg: #064e3b;
    --secondary-bg: #065f46;
    --accent-gold: #d4af37;
    --accent-gold-light: #f0d060;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-gray: #b8c9c0;
    --card-bg: #0a5c45;
    --dark-green: #032d22;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Prompt', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Leaf decorative elements */
.leaf-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 0 50% 50% 50%;
    background: rgba(212, 175, 55, 0.05);
    transform: rotate(45deg);
}

.site-header {
    background: linear-gradient(180deg, var(--dark-green) 0%, var(--primary-bg) 100%);
    padding: 18px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

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

.site-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-gold);
    letter-spacing: 1px;
}
.site-logo span { color: var(--text-white); font-weight: 400; }

.main-nav ul { display: flex; list-style: none; gap: 20px; }
.main-nav ul li a {
    color: var(--text-white);
    font-weight: 400;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
}
.main-nav ul li a:hover {
    color: var(--dark-green);
    background: var(--accent-gold);
}

.mobile-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.mobile-toggle span { width: 26px; height: 2px; background: var(--accent-gold); border-radius: 2px; }

/* Hero */
.hero-section {
    margin-top: 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-bg) 40%, var(--secondary-bg) 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 10%; right: -5%;
    width: 500px; height: 500px;
    border-radius: 0 50% 50% 50%;
    background: rgba(212, 175, 55, 0.03);
    transform: rotate(45deg);
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 10%; left: -5%;
    width: 400px; height: 400px;
    border-radius: 50% 0 50% 50%;
    background: rgba(212, 175, 55, 0.03);
    transform: rotate(-30deg);
}

.hero-content { position: relative; z-index: 2; text-align: center; width: 100%; padding: 80px 20px; }
.hero-content h1 {
    font-size: 3.2rem; font-weight: 800; margin-bottom: 25px;
    color: var(--text-white);
}
.hero-content h1 span { color: var(--accent-gold); }
.hero-content p { font-size: 1.2rem; color: var(--text-gray); margin-bottom: 40px; max-width: 550px; margin-left: auto; margin-right: auto; }

.btn-primary {
    display: inline-block; padding: 16px 42px;
    background: var(--accent-gold);
    color: var(--dark-green); font-size: 1rem; font-weight: 700;
    border-radius: 50px; border: none;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5); background: var(--accent-gold-light); }

/* Features */
.features-section { padding: 100px 0; background: var(--secondary-bg); position: relative; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.4rem; font-weight: 700; color: var(--text-white); margin-bottom: 15px; }
.section-title h2 span { color: var(--accent-gold); }
.section-title p { color: var(--text-gray); font-size: 1.05rem; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px; padding: 40px 30px; text-align: center;
    transition: all 0.3s ease; backdrop-filter: blur(5px);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); border-color: var(--accent-gold); background: rgba(255,255,255,0.08); }
.feature-icon { font-size: 2.8rem; margin-bottom: 20px; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; background: rgba(212, 175, 55, 0.1); border-radius: 50%; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--accent-gold); }
.feature-card p { color: var(--text-gray); font-size: 0.9rem; }

/* Games */
.games-section { padding: 100px 0; background: var(--primary-bg); }
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.game-card {
    background: rgba(255,255,255,0.04); border-radius: 20px; overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1); transition: all 0.3s ease;
}
.game-card:hover { border-color: var(--accent-gold); box-shadow: 0 15px 40px rgba(0,0,0,0.3); transform: translateY(-5px); }
.game-card-image { height: 170px; background: linear-gradient(135deg, var(--dark-green), var(--secondary-bg)); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.game-card-content { padding: 22px; }
.game-card-content h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text-white); }
.game-card-content p { color: var(--text-gray); font-size: 0.85rem; margin-bottom: 15px; }
.game-card .btn-small { display: inline-block; padding: 8px 22px; background: var(--accent-gold); color: var(--dark-green); border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.game-card .btn-small:hover { background: var(--accent-gold-light); }

/* Promotions */
.promotions-section { padding: 100px 0; background: linear-gradient(180deg, var(--secondary-bg), var(--primary-bg)); }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.promo-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 20px; padding: 35px;
    transition: all 0.3s ease;
}
.promo-card:hover { border-color: var(--accent-gold); box-shadow: var(--shadow-soft); }
.promo-badge { display: inline-block; background: var(--accent-gold); color: var(--dark-green); padding: 5px 15px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; margin-bottom: 15px; }
.promo-card h3 { font-size: 1.3rem; color: var(--text-white); margin-bottom: 10px; }
.promo-card p { color: var(--text-gray); margin-bottom: 20px; font-size: 0.9rem; }

/* Why Section */
.why-section { padding: 100px 0; background: var(--dark-green); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.why-card { text-align: center; padding: 35px 20px; background: rgba(255,255,255,0.03); border-radius: 20px; border: 1px solid rgba(212, 175, 55, 0.1); }
.why-card .why-number { font-size: 2.8rem; font-weight: 900; color: var(--accent-gold); margin-bottom: 10px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text-white); }
.why-card p { color: var(--text-gray); font-size: 0.85rem; }

/* Footer */
.site-footer { background: var(--dark-green); padding: 60px 0 30px; border-top: 1px solid rgba(212, 175, 55, 0.2); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--accent-gold); font-size: 1.05rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-gray); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--accent-gold); }
.footer-col p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.8; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(212, 175, 55, 0.15); color: var(--text-gray); font-size: 0.85rem; }

/* Responsive */
@media (max-width: 768px) {
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark-green); padding: 20px; border-bottom: 1px solid rgba(212, 175, 55, 0.3); }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 10px; }
    .mobile-toggle { display: flex; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .section-title h2 { font-size: 1.8rem; }
    .features-grid, .games-grid, .promo-grid, .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.7rem; }
    .site-logo { font-size: 1.3rem; }
    .btn-primary { padding: 12px 30px; font-size: 0.95rem; }
}
