@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;600&family=Rubik:wght@400;500&display=swap');

:root {
  --color-primary: #ff6b6b;
  --color-secondary: #4ecdc4;
  --color-accent: #ffe66d;
  --color-deep: #1a2a6c;
  --color-light: #f7f9fc;
  --color-dark: #1f2333;
  --color-card-border: rgba(255, 255, 255, 0.6);
  --shadow-soft: 0 18px 40px rgba(26, 42, 108, 0.2);
  --shadow-pop: 0 12px 22px rgba(255, 107, 107, 0.4);
  --max-width: 1180px;
  --radius-large: 32px;
  --radius-medium: 20px;
  --radius-small: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Rubik', sans-serif;
  color: var(--color-dark);
  background: var(--color-light);
  min-height: 100vh;
}

body.page-home {
  background: radial-gradient(circle at 15% 20%, #ffe66d 0%, #ffd166 25%, #f7f9fc 55%, #a2d2ff 100%);
}

body.page-strategy {
  background: radial-gradient(circle at 80% 10%, #b8f2e6 0%, #4ecdc4 30%, #1a2a6c 80%);
  color: #f7f9fc;
}

body.page-cards {
  background: radial-gradient(circle at 20% 80%, #f72585 0%, #b5179e 30%, #560bad 70%, #240046 100%);
  color: #fff;
}

body.page-arenas {
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 50%, #fad0c4 100%);
}

body.page-community {
  background: linear-gradient(160deg, #57cc99 0%, #80ed99 45%, #c7f9cc 100%);
  color: #114b34;
}

body.page-privacy {
  background: radial-gradient(circle at center, #c2f970 0%, #87e293 45%, #126d44 100%);
  color: #102d23;
}

main {
  display: block;
}

.page-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 24px 80px;
  position: relative;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

body.page-strategy header.site-header {
  background: rgba(17, 33, 78, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

header.site-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffd166 0%, #ff6b6b 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-pop);
  font-family: 'Baloo 2', cursive;
  color: #1a2a6c;
  font-weight: 600;
  font-size: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: 'Baloo 2', cursive;
  line-height: 1;
}

.brand-text span:first-child {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.brand-text span:last-child {
  font-size: 14px;
  color: rgba(31, 35, 51, 0.7);
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  font-weight: 500;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 30px;
  color: inherit;
  transition: background 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(78, 205, 196, 0.2);
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 42px;
  align-items: center;
  padding: 40px 0;
}

.hero .headline {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--color-deep);
}

.hero .lede {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 26px;
  color: rgba(31, 35, 51, 0.82);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff922b 100%);
  color: #fff;
  box-shadow: var(--shadow-pop);
}

.btn-ghost {
  background: rgba(78, 205, 196, 0.15);
  color: var(--color-deep);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.hero-visual {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius-large);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.hero-visual canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--radius-medium);
}

.hero-visual .badge-stack {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.badge {
  padding: 10px 16px;
  border-radius: 18px;
  background: rgba(26, 42, 108, 0.85);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 18px rgba(26, 42, 108, 0.25);
}

.badge svg {
  width: 24px;
  height: 24px;
}

.section-title {
  font-family: 'Baloo 2', cursive;
  font-size: 2.4rem;
  margin: 0 0 12px;
}

.section-subtitle {
  color: rgba(31, 35, 51, 0.75);
  max-width: 640px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.feature-card {
  border-radius: var(--radius-large);
  padding: 28px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 10% -40%;
  background: radial-gradient(circle, rgba(255, 230, 109, 0.35) 0%, transparent 60%);
  transform: rotate(18deg);
}

.feature-card h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem;
  margin: 0 0 12px;
}

.feature-card p {
  margin: 0;
  line-height: 1.6;
}

.badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.9), rgba(255, 230, 109, 0.9));
  margin-bottom: 16px;
}

.timeline {
  margin-top: 60px;
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 107, 107, 0.6) 0%, rgba(78, 205, 196, 0.6) 100%);
}

.timeline-item {
  position: relative;
  padding: 24px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-medium);
  margin-bottom: 22px;
  box-shadow: var(--shadow-soft);
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 24px;
  left: -30px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b6b, #ffe66d);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.6);
}

.timeline-item h4 {
  margin: 0 0 8px;
  font-family: 'Baloo 2', cursive;
  font-size: 1.3rem;
}

.timeline-item p {
  margin: 0;
  line-height: 1.6;
}

.strategy-layers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.layer-card {
  backdrop-filter: blur(12px);
  border-radius: var(--radius-large);
  padding: 28px;
  background: rgba(12, 25, 66, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.layer-card h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  margin: 0 0 14px;
  color: #ffe66d;
}

.layer-card p {
  margin: 0;
  line-height: 1.6;
  color: rgba(247, 249, 252, 0.85);
}

.card-gallery {
  margin-top: 40px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card-chip {
  padding: 24px;
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.card-chip h3 {
  margin: 0 0 10px;
  font-family: 'Baloo 2', cursive;
  font-size: 1.35rem;
}

.card-chip span.tier {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 16px;
  background: rgba(255, 230, 109, 0.4);
  color: #ffe66d;
  font-weight: 600;
  margin-bottom: 12px;
}

.card-chip p {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.arena-flex {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1fr);
  gap: 32px;
  margin-top: 40px;
  align-items: stretch;
}

.arena-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-large);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.arena-card h3 {
  margin: 0 0 12px;
  font-family: 'Baloo 2', cursive;
  font-size: 1.6rem;
}

.arena-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.arena-meta span {
  background: rgba(78, 205, 196, 0.2);
  padding: 6px 12px;
  border-radius: 14px;
  font-weight: 500;
  color: #125d98;
}

.arena-graphic {
  border-radius: var(--radius-large);
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.85), rgba(255, 230, 109, 0.85));
  box-shadow: var(--shadow-pop);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.arena-graphic h4 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem;
  margin: 0 0 12px;
}

.arena-graphic p {
  margin: 0 0 16px;
  line-height: 1.5;
}

.arena-graphic .mini-bars {
  display: grid;
  gap: 12px;
}

.mini-bars span {
  display: block;
  height: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.28);
  position: relative;
  overflow: hidden;
}

.mini-bars span::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
}

.mini-bars span:nth-child(1)::after {
  width: 78%;
}

.mini-bars span:nth-child(2)::after {
  width: 62%;
}

.mini-bars span:nth-child(3)::after {
  width: 88%;
}

.privacy-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  margin-top: 40px;
}

.privacy-copy {
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-large);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  line-height: 1.7;
}

.privacy-copy h2,
.privacy-copy h3 {
  font-family: 'Baloo 2', cursive;
  color: #146b49;
}

.privacy-form {
  background: rgba(17, 75, 52, 0.85);
  color: #f0fff4;
  border-radius: var(--radius-large);
  padding: 32px;
  box-shadow: 0 18px 36px rgba(10, 49, 35, 0.4);
}

.privacy-form h2 {
  margin-top: 0;
  font-family: 'Baloo 2', cursive;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  border-radius: var(--radius-small);
  border: none;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: #0f5132;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.privacy-form .btn-primary {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, #ffe66d, #ff6b6b);
  color: #114b34;
}

.message-success {
  background: rgba(255, 230, 109, 0.85);
  color: #0f5132;
  padding: 12px 16px;
  border-radius: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer {
  margin-top: 80px;
  padding: 32px 24px;
  background: rgba(31, 35, 51, 0.85);
  color: #fff;
  border-radius: var(--radius-large) var(--radius-large) 0 0;
}

.footer a {
  color: #ffe66d;
  text-decoration: none;
  font-weight: 500;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.footer small {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.icon-bubble {
  padding: 18px;
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 8px;
  justify-items: center;
}

.icon-bubble svg {
  width: 48px;
  height: 48px;
  fill: currentColor;
}

.strategy-map {
  margin-top: 40px;
  border-radius: var(--radius-large);
  background: rgba(10, 23, 60, 0.7);
  border: 2px dashed rgba(255, 230, 109, 0.5);
  padding: 32px;
  display: grid;
  gap: 18px;
}

.strategy-map h3 {
  margin: 0;
  font-family: 'Baloo 2', cursive;
  color: #ffe66d;
}

.strategy-map p {
  margin: 0;
  color: rgba(247, 249, 252, 0.85);
}

.strategy-map .map-rows {
  display: grid;
  gap: 14px;
}

.map-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(12, 25, 66, 0.9);
  border-radius: var(--radius-medium);
  padding: 18px 22px;
}

.map-row span {
  font-weight: 600;
  color: #ffe66d;
}

.meta-pill {
  background: rgba(78, 205, 196, 0.18);
  padding: 6px 12px;
  border-radius: 30px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.community-section {
  margin-top: 50px;
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.78);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.community-section h3 {
  margin-top: 0;
  font-family: 'Baloo 2', cursive;
}

.community-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}

.community-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: var(--radius-medium);
  background: rgba(78, 205, 196, 0.16);
  padding: 18px 24px;
  font-weight: 500;
  color: #14495f;
}

.community-list li span {
  background: rgba(255, 230, 109, 0.5);
  padding: 6px 12px;
  border-radius: 20px;
}

.floating-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.floating-chips span {
  padding: 10px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  color: #1a2a6c;
  box-shadow: 0 8px 14px rgba(26, 42, 108, 0.2);
}

.glow-card {
  padding: 28px;
  border-radius: var(--radius-large);
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.85), rgba(26, 42, 108, 0.85));
  color: #fff;
  box-shadow: 0 20px 38px rgba(26, 42, 108, 0.4);
  margin-top: 40px;
}

.glow-card h3 {
  margin-top: 0;
  font-family: 'Baloo 2', cursive;
}

.glow-card p {
  margin-bottom: 0;
  line-height: 1.6;
}

@media (max-width: 920px) {
  header.site-header .inner {
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .arena-flex {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .page-wrapper {
    padding: 100px 16px 60px;
  }

  .feature-grid,
  .card-gallery {
    grid-template-columns: 1fr;
  }

  .community-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

