/* Mythora - Fresh Social Casino Styles */
/* Green fruity theme */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green: #22c55e; --green-dark: #16a34a; --bg: #052e16; --bg-light: #14532d;
    --text: #f0fdf4; --text-dim: #86efac; --glow: rgba(34, 197, 94, 0.3);
}

html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; font-size: 16px; }
h1, h2, h3 { font-family: 'Philosopher', serif; font-weight: 700; line-height: 1.3; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
a { color: var(--green); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--text); }

/* Gate */
.gate-wrap { position: fixed; inset: 0; background: rgba(5, 46, 22, 0.98); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.gate-wrap.hidden { display: none; }
.gate-card { background: var(--bg-light); border: 2px solid var(--green); border-radius: 24px; padding: 50px 40px; max-width: 480px; text-align: center; }
.gate-emoji { font-size: 56px; margin-bottom: 15px; }
.gate-card h2 { font-size: 1.6rem; margin-bottom: 12px; color: var(--green); }
.gate-card p { color: var(--text-dim); margin-bottom: 28px; }
.gate-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-fresh, .btn-leave { padding: 14px 28px; font-family: 'Philosopher', serif; font-size: 0.95rem; border: none; border-radius: 30px; cursor: pointer; transition: all 0.3s; }
.btn-fresh { background: var(--green); color: var(--bg); }
.btn-fresh:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-leave { background: transparent; border: 1px solid var(--text-dim); color: var(--text-dim); }
.btn-leave:hover { border-color: #ef4444; color: #ef4444; }

/* Header */
.myth-header { position: fixed; top: 0; left: 0; width: 100%; background: rgba(5, 46, 22, 0.95); z-index: 1000; border-bottom: 1px solid rgba(34, 197, 94, 0.2); }
.header-wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1400px; margin: 0 auto; }
.myth-brand { display: flex; align-items: center; gap: 8px; font-family: 'Philosopher', serif; font-size: 1.5rem; color: var(--text); }
.myth-brand:hover { color: var(--green); }
.toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.toggle span { display: block; width: 26px; height: 2px; background: var(--green); transition: all 0.3s; }
.toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.toggle.active span:nth-child(2) { opacity: 0; }
.toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.myth-nav { display: flex; gap: 35px; }
.myth-nav a { font-size: 0.9rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; padding: 6px 0; position: relative; }
.myth-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--green); transition: width 0.3s; }
.myth-nav a:hover, .myth-nav a.active { color: var(--text); }
.myth-nav a:hover::after, .myth-nav a.active::after { width: 100%; }

/* Hero */
.fruit-hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 24px; background: radial-gradient(ellipse at 50% 50%, rgba(34, 197, 94, 0.1), transparent 60%); }
.hero-box { max-width: 800px; }
.hero-box h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); margin-bottom: 20px; color: var(--text); }
.hero-box p { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-dim); margin-bottom: 35px; }
.myth-btn { display: inline-block; padding: 16px 45px; background: var(--green); color: var(--bg); font-family: 'Philosopher', serif; font-size: 1rem; font-weight: 700; border-radius: 30px; transition: all 0.3s; }
.myth-btn:hover { background: var(--green-dark); transform: translateY(-3px); box-shadow: 0 10px 30px var(--glow); color: var(--bg); }

/* Info */
.fresh-info { padding: 100px 0; background: var(--bg-light); }
.info-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.info-item { padding: 40px 30px; background: var(--bg); border-radius: 20px; text-align: center; border: 1px solid rgba(34, 197, 94, 0.2); transition: all 0.3s; }
.info-item:hover { border-color: var(--green); transform: translateY(-5px); }
.info-icon { font-size: 48px; margin-bottom: 18px; display: block; }
.info-item h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--green); }
.info-item p { color: var(--text-dim); }

/* Game */
.game-zone { padding: 100px 0; background: var(--bg); }
.game-head { text-align: center; margin-bottom: 45px; }
.game-tag { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--green); padding: 6px 16px; border: 1px solid var(--green); border-radius: 20px; margin-bottom: 15px; }
.game-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 8px; }
.game-head p { color: var(--text-dim); }
.game-window { max-width: 1100px; margin: 0 auto; aspect-ratio: 16/10; border: 3px solid var(--green); border-radius: 20px; overflow: hidden; box-shadow: 0 0 50px var(--glow); }
.game-window iframe { width: 100%; height: 100%; border: none; }

/* Story */
.story-zone { padding: 100px 0; background: var(--bg-light); text-align: center; }
.story-zone h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 30px; color: var(--green); }
.story-zone p { max-width: 800px; margin: 0 auto 20px; color: var(--text-dim); }

/* CTA */
.cta-zone { padding: 100px 0; background: var(--bg); }
.cta-card { text-align: center; padding: 70px 40px; border: 3px solid var(--green); border-radius: 24px; max-width: 700px; margin: 0 auto; background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), transparent); }
.cta-card h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 12px; }
.cta-card p { color: var(--text-dim); margin-bottom: 28px; }

/* Page */
.page-top { padding: 150px 24px 70px; text-align: center; background: var(--bg-light); }
.page-tag { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--green); margin-bottom: 12px; }
.page-top h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.page-top p { color: var(--text-dim); }

/* Play */
.play-zone { padding: 60px 0 100px; background: var(--bg); }
.how-play { max-width: 900px; margin: 0 auto 45px; padding: 30px; background: var(--bg-light); border-radius: 16px; border: 1px solid rgba(34, 197, 94, 0.2); }
.how-play h2 { font-size: 1.3rem; margin-bottom: 20px; color: var(--green); }
.how-play ul { list-style: disc inside; display: grid; gap: 10px; margin-bottom: 20px; }
.how-play li { color: var(--text-dim); }
.play-note { color: var(--text-dim); font-size: 0.85rem; padding-top: 15px; border-top: 1px solid rgba(34, 197, 94, 0.2); }
.full-game { max-width: 1200px; margin: 0 auto; aspect-ratio: 16/10; border: 3px solid var(--green); border-radius: 20px; overflow: hidden; box-shadow: 0 0 60px var(--glow); }
.full-game iframe { width: 100%; height: 100%; border: none; }
.play-msg { max-width: 900px; margin: 35px auto 0; padding: 20px 25px; background: rgba(34, 197, 94, 0.1); border-radius: 12px; text-align: center; }
.play-msg p { color: var(--text-dim); }

/* Legal */
.legal-zone { padding: 60px 0 100px; background: var(--bg); }
.legal-item { margin-bottom: 35px; }
.legal-item h2 { font-size: 1.2rem; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid rgba(34, 197, 94, 0.2); }
.legal-item p { color: var(--text-dim); margin-bottom: 12px; }
.legal-date { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(34, 197, 94, 0.2); color: var(--text-dim); font-size: 0.85rem; }
.alert-card { padding: 30px; background: var(--bg-light); border-radius: 16px; border-left: 4px solid var(--green); margin-bottom: 25px; }
.alert-card h2 { font-size: 1.15rem; margin-bottom: 12px; color: var(--text); border: none; padding: 0; }
.alert-card p { color: var(--text-dim); }

/* Footer */
.myth-footer { background: var(--bg-light); padding: 60px 0 25px; border-top: 1px solid rgba(34, 197, 94, 0.2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
.foot-logo { font-family: 'Philosopher', serif; font-size: 1.4rem; color: var(--text); display: block; margin-bottom: 12px; }
.foot-info p { color: var(--text-dim); font-size: 0.9rem; }
.foot-links h4, .foot-help h4 { font-size: 0.9rem; margin-bottom: 18px; color: var(--text); }
.foot-links a, .foot-help a { display: block; color: var(--text-dim); font-size: 0.85rem; padding: 5px 0; }
.foot-links a:hover, .foot-help a:hover { color: var(--green); }
.foot-bottom { text-align: center; padding-top: 25px; border-top: 1px solid rgba(34, 197, 94, 0.1); }
.foot-bottom p { color: var(--text-dim); font-size: 0.8rem; }

/* Responsive */
@media (max-width: 1024px) { .info-row { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; } .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .toggle { display: flex; }
    .myth-nav { position: fixed; top: 0; right: -100%; width: 260px; height: 100vh; background: var(--bg-light); flex-direction: column; padding: 100px 35px; gap: 22px; transition: right 0.3s; border-left: 1px solid rgba(34, 197, 94, 0.2); }
    .myth-nav.active { right: 0; }
    .fruit-hero { min-height: auto; padding: 150px 24px 100px; }
    .foot-grid { grid-template-columns: 1fr; text-align: center; }
    .gate-card { margin: 16px; padding: 40px 25px; }
}
