@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;600;700&family=Work+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --indigo: #3F0071;
  --indigo-deep: #200040;
  --cyan: #00D9FF;
  --cyan-soft: #66E8FF;
  --white: #FFFFFF;
  --soft-bg: #F0F4FF;
  --text-main: #E8E0FF;
  --text-muted: #A699C0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', sans-serif;
  background: var(--indigo-deep);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
}

/* ROUNDED NAV */
.soft-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(32, 0, 64, 0.96);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  border-bottom: 2px solid rgba(0, 217, 255, 0.15);
}

.cel-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.cel-brand svg { width: 34px; height: 34px; }

.cel-name {
  font-family: 'Comfortaa', cursive;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--cyan);
}

.soft-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.soft-links a {
  font-family: 'Comfortaa', cursive;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.soft-links a:hover { color: var(--cyan); }

.bubble-btn {
  display: none;
  background: rgba(0, 217, 255, 0.1);
  border: 2px solid var(--cyan);
  border-radius: 12px;
  width: 42px;
  height: 38px;
  cursor: pointer;
  position: relative;
}

.bubble-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cyan);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s;
  border-radius: 2px;
}

.bubble-btn span:nth-child(1) { top: 10px; }
.bubble-btn span:nth-child(2) { top: 17px; }
.bubble-btn span:nth-child(3) { top: 24px; }

.bubble-btn.pop span:nth-child(1) { top: 17px; transform: translateX(-50%) rotate(45deg); }
.bubble-btn.pop span:nth-child(2) { opacity: 0; }
.bubble-btn.pop span:nth-child(3) { top: 17px; transform: translateX(-50%) rotate(-45deg); }

.bubble-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  background: var(--indigo-deep);
  list-style: none;
  padding: 1rem 0;
  border-bottom: 2px solid var(--cyan);
  border-radius: 0 0 20px 20px;
}

.bubble-menu.popped { display: block; }

.bubble-menu li { text-align: center; padding: 0.7rem; }

.bubble-menu a {
  font-family: 'Comfortaa', cursive;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

.bubble-menu a:hover { color: var(--cyan); }

/* SOFT HERO */
.cloud-hero {
  margin-top: 64px;
  padding: 5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--indigo-deep), var(--indigo));
  border-radius: 0 0 40px 40px;
}

.cloud-hero h1 {
  font-family: 'Comfortaa', cursive;
  font-size: 2.8rem;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.cloud-hero h1 span { color: var(--cyan); }

.cloud-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
}

.soft-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sbadge {
  background: rgba(0, 217, 255, 0.08);
  border: 1px solid rgba(0, 217, 255, 0.3);
  color: var(--cyan-soft);
  padding: 0.5rem 1.3rem;
  border-radius: 20px;
  font-family: 'Comfortaa', cursive;
  font-weight: 600;
  font-size: 0.75rem;
}

/* GAME */
.game-cloud {
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.game-cloud h2 {
  font-family: 'Comfortaa', cursive;
  color: var(--cyan);
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.game-bubble {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--cyan);
  box-shadow: 0 10px 40px rgba(0, 217, 255, 0.1);
}

.game-bubble iframe { width: 100%; height: 100%; border: none; }

/* ROUNDED CARDS */
.card-section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.card-section h2 {
  font-family: 'Comfortaa', cursive;
  color: var(--cyan);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.round-card {
  background: var(--indigo);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 217, 255, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.round-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.1);
}

.round-card .rc-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.round-card h3 {
  font-family: 'Comfortaa', cursive;
  color: var(--cyan-soft);
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.round-card p { color: var(--text-muted); font-size: 0.92rem; }

/* CYAN STRIP */
.cyan-strip {
  background: linear-gradient(90deg, var(--cyan), #33E0FF);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 30px;
  max-width: 1100px;
  margin: 2rem auto;
}

.cyan-strip h2 {
  font-family: 'Comfortaa', cursive;
  color: var(--indigo-deep);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.cyan-strip p {
  color: var(--indigo);
  max-width: 750px;
  margin: 0 auto;
  font-weight: 500;
}

/* SOFT NOTICE */
.soft-notice {
  max-width: 850px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(0, 217, 255, 0.04);
  border-radius: 24px;
  border: 1px solid rgba(0, 217, 255, 0.1);
}

.soft-notice h3 {
  font-family: 'Comfortaa', cursive;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.soft-notice ul { list-style: none; }

.soft-notice li {
  padding: 0.5rem 0 0.5rem 1.8rem;
  position: relative;
  color: var(--text-muted);
}

.soft-notice li::before {
  content: '○';
  position: absolute;
  left: 0;
  color: var(--cyan);
}

/* TEXT PAGES */
.soft-page {
  margin-top: 64px;
  padding: 4rem 2rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.soft-page h1 {
  font-family: 'Comfortaa', cursive;
  color: var(--cyan);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 2rem;
}

.soft-page h2 {
  font-family: 'Comfortaa', cursive;
  color: var(--cyan-soft);
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.soft-page p { margin-bottom: 1rem; color: var(--text-muted); }
.soft-page ul { margin: 0.5rem 0 1.5rem 1.5rem; }
.soft-page li { margin-bottom: 0.5rem; color: var(--text-muted); }

/* PLAY */
.play-cloud {
  margin-top: 64px;
  padding: 3rem 2rem;
  text-align: center;
}

.play-cloud h1 {
  font-family: 'Comfortaa', cursive;
  color: var(--cyan);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.play-cloud > p {
  max-width: 680px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

.cloud-tip {
  max-width: 680px;
  margin: 2rem auto;
  background: var(--indigo);
  border-radius: 16px;
  border-left: 4px solid var(--cyan);
  padding: 1.2rem 1.8rem;
  text-align: left;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* FOOTER */
.soft-footer {
  background: var(--indigo-deep);
  border-top: 1px solid rgba(0, 217, 255, 0.1);
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: 30px 30px 0 0;
}

.soft-footer .sf-brand {
  font-family: 'Comfortaa', cursive;
  color: var(--cyan);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.sf-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.sf-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.sf-links a:hover { color: var(--cyan); }

.rg-soft {
  border-top: 1px solid rgba(0, 217, 255, 0.08);
  padding-top: 1rem;
  margin-top: 1rem;
}

.rg-soft p { font-size: 0.78rem; color: var(--text-muted); opacity: 0.5; margin-bottom: 0.4rem; }

.rg-soft a { color: var(--cyan); text-decoration: none; font-size: 0.78rem; margin: 0 0.5rem; }

.rg-soft a:hover { text-decoration: underline; }

/* AGE */
.age-cloud {
  position: fixed;
  inset: 0;
  background: rgba(32, 0, 64, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-cloud.faded { display: none; }

.age-bubble {
  background: var(--indigo);
  border: 2px solid var(--cyan);
  border-radius: 28px;
  padding: 3rem;
  max-width: 440px;
  width: 90%;
  text-align: center;
}

.age-bubble h2 {
  font-family: 'Comfortaa', cursive;
  color: var(--cyan);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.age-bubble p { color: var(--text-muted); margin-bottom: 2rem; }

.age-pair {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.ap-yes, .ap-no {
  font-family: 'Comfortaa', cursive;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.7rem 2rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.2s;
}

.ap-yes { background: var(--cyan); color: var(--indigo-deep); }

.ap-no { background: transparent; border: 2px solid var(--cyan); color: var(--cyan); }

.ap-yes:hover, .ap-no:hover { transform: scale(1.05); }

.cloud-deny {
  display: none;
  color: #FF5252;
  margin-top: 1rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .soft-links { display: none; }
  .bubble-btn { display: block; }

  .cloud-hero h1 { font-size: 1.8rem; }
  .cloud-hero { padding: 3rem 1.5rem; border-radius: 0 0 20px 20px; }

  .card-grid { grid-template-columns: 1fr; }

  .cyan-strip { border-radius: 16px; margin: 2rem 1rem; }

  .soft-page h1, .play-cloud h1 { font-size: 1.6rem; }

  .sf-links { flex-direction: column; gap: 0.5rem; }
}
