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

:root {
  --ice-blue: #38bdf8;
  --frost: #e0f2fe;
  --silver: #94a3b8;
  --dark-slate: #0f172a;
  --slate: #1e293b;
  --card-bg: #f8fafc;
  --white: #ffffff;
  --text-dark: #1e293b;
  --text-mid: #475569;
  --border-ice: #bae6fd;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { font-family: 'Nunito', sans-serif; background: var(--frost); color: var(--text-dark); line-height: 1.8; }

.cy-nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--dark-slate);
  height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 2.5rem;
}

.cy-brand { font-weight: 900; font-size: 1.25rem; color: var(--ice-blue); text-decoration: none; letter-spacing: 1px; }

.cy-links { display: flex; gap: 1.5rem; }
.cy-links a { color: var(--silver); text-decoration: none; font-size: 0.88rem; font-weight: 600; transition: color 0.2s; }
.cy-links a:hover { color: var(--ice-blue); }

.cy-ham { display: none; background: none; border: 2px solid var(--ice-blue); color: var(--ice-blue); padding: 4px 10px; border-radius: 4px; cursor: pointer; font-size: 0.8rem; font-weight: 700; }

/* HERO - GRADIENT TOP */
.cy-hero {
  background: linear-gradient(180deg, var(--dark-slate) 0%, #1a365d 60%, var(--frost) 100%);
  padding: 6rem 2rem 8rem;
  text-align: center;
  color: #fff;
}

.cy-hero h1 { font-size: 3rem; font-weight: 900; margin-bottom: 1rem; }
.cy-hero h1 span { color: var(--ice-blue); }
.cy-hero p { color: var(--silver); font-size: 1.05rem; max-width: 600px; margin: 0 auto 2rem; font-weight: 300; }

.cy-btn { display: inline-block; padding: 13px 34px; background: var(--ice-blue); color: var(--dark-slate); text-decoration: none; font-weight: 800; border-radius: 8px; font-size: 0.95rem; border: none; cursor: pointer; transition: background 0.2s; }
.cy-btn:hover { background: #0ea5e9; }

/* NOTICES */
.cy-notice-row {
  display: flex; justify-content: center; gap: 2rem; padding: 0 2rem; margin-top: -3rem; position: relative; z-index: 2; flex-wrap: wrap;
}

.cy-notice-box {
  background: var(--white); border-radius: 12px; padding: 1.5rem 2rem; text-align: center;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.1); flex: 1; max-width: 260px; border: 1px solid var(--border-ice);
}

.cy-notice-box h4 { font-size: 0.85rem; font-weight: 800; color: var(--ice-blue); margin-bottom: 0.3rem; text-transform: uppercase; letter-spacing: 1px; }
.cy-notice-box p { font-size: 0.82rem; color: var(--text-mid); }

/* GAME */
.cy-game-area { padding: 4rem 2rem; max-width: 1400px; margin: 0 auto; }
.cy-game-area h2 { font-size: 1.8rem; font-weight: 900; text-align: center; color: var(--dark-slate); margin-bottom: 0.4rem; }
.cy-game-sub { text-align: center; color: var(--text-mid); margin-bottom: 2rem; }

.cy-game-box { border-radius: 14px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.08); background: #000; border: 1px solid var(--border-ice); }
.cy-game-box iframe { width: 100%; height: 640px; border: none; display: block; }

/* FEATURES */
.cy-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 3rem 2rem; max-width: 1100px; margin: 0 auto; }

.cy-feat-card { background: var(--white); border-radius: 12px; padding: 2rem; border: 1px solid var(--border-ice); }
.cy-feat-card h3 { font-size: 1rem; font-weight: 800; color: var(--dark-slate); margin-bottom: 0.7rem; }
.cy-feat-card p { color: var(--text-mid); font-size: 0.92rem; font-weight: 300; }

/* PROSE */
.cy-prose { padding: 3rem 2rem; max-width: 900px; margin: 0 auto; }
.cy-prose h2 { font-size: 1.6rem; font-weight: 900; color: var(--dark-slate); margin-bottom: 1rem; }
.cy-prose p { color: var(--text-mid); margin-bottom: 1rem; font-weight: 300; }

/* PAGE */
.cy-page { padding: 90px 2rem 50px; max-width: 850px; margin: 0 auto; min-height: 75vh; }
.cy-page h1 { font-size: 2rem; font-weight: 900; color: var(--dark-slate); margin-bottom: 1.5rem; }
.cy-page h2 { font-size: 1.2rem; font-weight: 800; color: var(--ice-blue); margin: 2rem 0 0.7rem; }
.cy-page p { color: var(--text-mid); margin-bottom: 1rem; font-weight: 300; }
.cy-page ul { color: var(--text-mid); margin: 0.5rem 0 1rem 1.5rem; font-weight: 300; }
.cy-page ul li { margin-bottom: 0.3rem; }

/* PLAY */
.cy-play { padding: 80px 2rem 50px; max-width: 1400px; margin: 0 auto; }
.cy-play h1 { font-size: 2rem; font-weight: 900; text-align: center; color: var(--dark-slate); margin-bottom: 0.5rem; }
.cy-play-note { text-align: center; color: var(--text-mid); margin-bottom: 2rem; font-weight: 300; }

/* FOOTER */
.cy-footer { background: var(--dark-slate); color: var(--silver); padding: 2.5rem 2rem; text-align: center; }
.cy-footer-row { margin-bottom: 1rem; }
.cy-footer a { color: var(--ice-blue); text-decoration: none; margin: 0 0.8rem; font-size: 0.85rem; }
.cy-footer a:hover { text-decoration: underline; }
.cy-footer-copy { font-size: 0.75rem; opacity: 0.4; }

/* AGE */
.cy-age-frost { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.85); display: flex; align-items: center; justify-content: center; z-index: 9999; }

.cy-age-card { background: var(--white); border-radius: 16px; padding: 2.5rem; text-align: center; max-width: 400px; width: 90%; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.cy-age-card h2 { font-size: 1.3rem; font-weight: 900; color: var(--dark-slate); margin-bottom: 0.8rem; }
.cy-age-card p { color: var(--text-mid); margin-bottom: 1.5rem; font-size: 0.9rem; }
.cy-age-actions { display: flex; gap: 0.8rem; justify-content: center; }
.cy-age-yes { padding: 10px 28px; background: var(--ice-blue); color: #fff; border: none; border-radius: 8px; font-weight: 800; cursor: pointer; }
.cy-age-no { padding: 10px 28px; background: #f1f5f9; color: var(--text-mid); border: none; border-radius: 8px; font-weight: 700; cursor: pointer; }

/* MOBILE */
@media (max-width: 768px) {
  .cy-ham { display: block; }
  .cy-links { position: fixed; top: 60px; left: 0; width: 100%; background: var(--dark-slate); flex-direction: column; padding: 1.5rem 2.5rem; gap: 1rem; transform: translateY(-150%); transition: transform 0.3s; }
  .cy-links.vis { transform: translateY(0); }
  .cy-hero h1 { font-size: 2rem; }
  .cy-notice-row { flex-direction: column; align-items: center; margin-top: -2rem; }
  .cy-notice-box { max-width: 100%; }
  .cy-feats { grid-template-columns: 1fr; }
  .cy-game-box iframe { height: 400px; }
}
@media (max-width: 480px) { .cy-hero h1 { font-size: 1.5rem; } .cy-game-box iframe { height: 300px; } }
