:root {
  --egg-primary: #FFD700;
  --egg-primary-hover: #FBB02D;
  --egg-bg: #0B132B;
  --egg-bg-alt: #1C2541;
  --egg-text: #F8F9FA;
  --egg-text-muted: #B0B5C1;
  --egg-border: rgba(255, 215, 0, 0.2);
  --egg-font-main: 'Inter', system-ui, sans-serif;
  --egg-font-display: 'Cinzel', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--egg-font-main); background-color: var(--egg-bg); color: var(--egg-text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Utility */
.egg-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.egg-text-center { text-align: center; }
.egg-gold-text { color: var(--egg-primary); }
.egg-btn {
  display: inline-block; padding: 1rem 2rem; background: var(--egg-primary); color: var(--egg-bg);
  font-family: var(--egg-font-display); font-weight: 700; border-radius: 4px; transition: 0.3s;
  border: 2px solid var(--egg-primary); cursor: pointer; text-transform: uppercase; letter-spacing: 1px;
}
.egg-btn:hover { background: var(--egg-primary-hover); box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); }
.egg-btn-outline { background: transparent; color: var(--egg-primary); }
.egg-btn-outline:hover { background: rgba(255, 215, 0, 0.1); }

/* Header */
.egg-header { position: fixed; top: 0; width: 100%; background: rgba(11, 19, 43, 0.95); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid var(--egg-border); }
.egg-header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.egg-brand { display: flex; align-items: center; gap: 10px; font-family: var(--egg-font-display); font-size: 1.5rem; font-weight: 700; color: var(--egg-primary); }
.egg-brand img { height: 40px; border-radius: 5px; }
.egg-nav { display: flex; gap: 2rem; align-items: center; }
.egg-nav-link { font-family: var(--egg-font-display); font-size: 1rem; transition: color 0.3s; }
.egg-nav-link:hover { color: var(--egg-primary); }
.egg-menu-toggle { display: none; background: none; border: none; color: var(--egg-primary); font-size: 1.5rem; cursor: pointer; }

/* Hero */
.egg-hero { position: relative; padding-top: 120px; padding-bottom: 80px; min-height: 80vh; display: flex; align-items: center; overflow: hidden; }
.egg-hero-bg { position: absolute; inset: 0; background: url('../images/hero-bg.jpg') center/cover no-repeat; opacity: 0.3; z-index: -1; }
.egg-hero-content { max-width: 800px; text-align: center; margin: 0 auto; }
.egg-badge { display: inline-block; padding: 0.5rem 1rem; border: 1px solid var(--egg-primary); color: var(--egg-primary); font-family: var(--egg-font-display); border-radius: 20px; font-size: 0.85rem; margin-bottom: 1.5rem; letter-spacing: 2px; }
.egg-h1 { font-family: var(--egg-font-display); font-size: 4rem; line-height: 1.1; margin-bottom: 1.5rem; }
.egg-hero-sub { font-size: 1.25rem; color: var(--egg-text-muted); margin-bottom: 2.5rem; }

/* Sections */
.egg-section { padding: 6rem 0; }
.egg-section-alt { background: var(--egg-bg-alt); }
.egg-h2 { font-family: var(--egg-font-display); font-size: 2.5rem; text-align: center; margin-bottom: 3rem; color: var(--egg-primary); }
.egg-p { font-size: 1.1rem; color: var(--egg-text-muted); margin-bottom: 1.5rem; }

/* Game Section */
.egg-game-wrapper { max-width: 1000px; margin: 0 auto; border: 2px solid var(--egg-border); border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 10px 30px rgba(0,0,0,0.5); aspect-ratio: 16/9; position: relative; }
.egg-game-wrapper iframe { width: 100%; height: 100%; border: none; }
.egg-game-notice { text-align: center; margin-top: 1rem; font-size: 0.9rem; color: var(--egg-text-muted); font-family: var(--egg-font-display); }

/* Features */
.egg-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.egg-feature-card { background: rgba(28, 37, 65, 0.5); border: 1px solid var(--egg-border); padding: 2rem; border-radius: 8px; text-align: center; transition: transform 0.3s; }
.egg-feature-card:hover { transform: translateY(-5px); }
.egg-feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.egg-feature-title { font-family: var(--egg-font-display); font-size: 1.25rem; color: var(--egg-primary); margin-bottom: 0.5rem; }
.egg-feature-desc { color: var(--egg-text-muted); font-size: 0.95rem; }

/* FAQ */
.egg-faq-item { background: var(--egg-bg-alt); border: 1px solid var(--egg-border); margin-bottom: 1rem; border-radius: 4px; overflow: hidden; }
.egg-faq-q { width: 100%; text-align: left; background: none; border: none; padding: 1.5rem; color: var(--egg-text); font-family: var(--egg-font-display); font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.egg-faq-q:hover { color: var(--egg-primary); }
.egg-faq-a { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease; color: var(--egg-text-muted); }
.egg-faq-item.active .egg-faq-a { padding-bottom: 1.5rem; max-height: 500px; }

/* Legal Pages */
.egg-legal-content { max-width: 800px; margin: 0 auto; background: var(--egg-bg-alt); padding: 3rem; border-radius: 8px; border: 1px solid var(--egg-border); }
.egg-legal-content h3 { font-family: var(--egg-font-display); color: var(--egg-primary); margin: 2rem 0 1rem; }

/* Footer & Compliance */
.egg-footer { background: var(--egg-bg-alt); padding: 4rem 0 2rem; border-top: 1px solid var(--egg-border); }
.egg-compliance { text-align: center; margin-bottom: 3rem; }
.egg-compliance-logos { display: flex; justify-content: center; gap: 3.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.egg-compliance-logos a { display: inline-block; opacity: 0.8; transition: opacity 0.3s; }
.egg-compliance-logos a:hover { opacity: 1; }
.egg-compliance-logos img { height: 36px; object-fit: contain; }
.egg-badge-19 { border: 2px solid var(--egg-primary); color: var(--egg-primary); border-radius: 50%; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-weight: bold; font-family: var(--egg-font-main); }
.egg-compliance-text { margin-top: 1.5rem; color: var(--egg-text-muted); font-size: 0.9rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.egg-footer-links { display: flex; justify-content: center; gap: 1.5rem; margin: 2rem 0; font-family: var(--egg-font-display); }
.egg-footer-links a:hover { color: var(--egg-primary); }
.egg-copy { text-align: center; color: var(--egg-text-muted); font-size: 0.85rem; }

/* Age Gate & Corner Badge & Cookie */
.egg-corner-badge { position: fixed; bottom: 20px; left: 20px; width: 50px; height: 50px; background: var(--egg-bg-alt); border: 2px solid var(--egg-primary); color: var(--egg-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.1rem; z-index: 999; box-shadow: 0 0 10px rgba(255,215,0,0.3); font-family: var(--egg-font-display); }
.egg-modal-overlay { position: fixed; inset: 0; background: rgba(11, 19, 43, 0.98); z-index: 10000; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
.egg-modal { background: var(--egg-bg-alt); border: 1px solid var(--egg-border); padding: 3rem; text-align: center; max-width: 500px; border-radius: 8px; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
.egg-modal h2 { font-family: var(--egg-font-display); color: var(--egg-primary); margin-bottom: 1rem; font-size: 2rem; }
.egg-modal p { margin-bottom: 2rem; color: var(--egg-text-muted); }
.egg-modal-btns { display: flex; gap: 1rem; justify-content: center; }
.egg-modal.hidden { display: none; }
.egg-modal-overlay.hidden { display: none; }
.egg-cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--egg-bg-alt); border-top: 1px solid var(--egg-border); padding: 1.5rem; z-index: 9999; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; box-shadow: 0 -5px 20px rgba(0,0,0,0.5); }
.egg-cookie-banner.hidden { display: none; }
.egg-cookie-text { font-size: 0.9rem; color: var(--egg-text-muted); max-width: 800px; }

@media (max-width: 768px) {
  .egg-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--egg-bg-alt); padding: 2rem; border-bottom: 1px solid var(--egg-border); }
  .egg-nav.active { display: flex; }
  .egg-menu-toggle { display: block; }
  .egg-h1 { font-size: 2.5rem; }
  .egg-cookie-banner { flex-direction: column; text-align: center; }
}
