/* =============================================
   CHIPIRON CLAD — SECTIONS
   ============================================= */

/* ===== ABOUT ===== */
#about {
  background: var(--warm-white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.about__glow {
  width: 340px;
  height: 340px;
  background: radial-gradient(ellipse, rgba(240, 184, 85, 0.18) 0%, rgba(15, 123, 120, 0.1) 55%, transparent 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about__center-icon {
  font-size: 6.5rem;
  filter: drop-shadow(0 10px 28px rgba(200, 132, 42, 0.4));
  animation: float 4.5s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.about__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(200, 132, 42, 0.28);
  top: 50%; left: 50%;
}

.about__orbit--1 {
  width: 240px; height: 240px;
  margin-top: -120px; margin-left: -120px;
  animation: spin-slow 14s linear infinite;
}

.about__orbit--2 {
  width: 320px; height: 320px;
  margin-top: -160px; margin-left: -160px;
  border-color: rgba(15, 123, 120, 0.2);
  animation: spin-slow 22s linear infinite reverse;
}

.orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  top: -5px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(200, 132, 42, 0.7);
}

.orbit-dot--teal {
  background: var(--teal-light);
  box-shadow: 0 0 10px rgba(25, 176, 172, 0.7);
  top: auto; bottom: -5px;
}

.about__text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}

.about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 132, 42, 0.08);
  border: 1px solid rgba(200, 132, 42, 0.2);
  border-radius: var(--r-full);
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bronze);
  transition: background var(--t-fast), border-color var(--t-fast);
}

.chip:hover {
  background: rgba(200, 132, 42, 0.14);
  border-color: rgba(200, 132, 42, 0.4);
}

.chip__dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== GAME ===== */
#game {
  background: linear-gradient(160deg, #FEF0CC 0%, var(--cream) 50%, #E2F5F4 100%);
  position: relative;
  overflow: hidden;
}

#game::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(ellipse, rgba(15, 123, 120, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

#game::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(ellipse, rgba(200, 132, 42, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.game__header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.game__header .section-sub {
  max-width: 680px;
  margin: 0 auto;
}

/* ── GAME FRAME ── */
.game__wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 2px solid rgba(200, 132, 42, 0.32);
  box-shadow:
    0 24px 80px rgba(200, 132, 42, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.10);
  background: var(--deep-brown);
  aspect-ratio: 16 / 9;
  max-height: 540px;
  position: relative;
  z-index: 2;
}

.game__iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── PLAY OVERLAY ── */
.game__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(58, 32, 8, 0.9) 0%, rgba(15, 71, 68, 0.9) 100%);
  cursor: pointer;
  transition: opacity var(--t-slow);
  z-index: 10;
}

.game__overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.game__play-btn {
  width: 96px; height: 96px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  box-shadow: 0 0 50px rgba(240, 184, 85, 0.55);
  margin-bottom: 1.5rem;
  animation: pulse-glow 2.2s ease-in-out infinite;
  transition: transform var(--t-base);
  border: none;
  cursor: pointer;
}

.game__play-btn:hover {
  transform: scale(1.1);
}

.game__overlay-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-pale);
  margin-bottom: 0.5rem;
  text-align: center;
}

.game__overlay-sub {
  color: rgba(255, 252, 245, 0.65);
  font-size: 0.9rem;
  text-align: center;
}

.game__overlay-badge {
  margin-top: 1.25rem;
  background: rgba(200, 132, 42, 0.2);
  border: 1px solid rgba(200, 132, 42, 0.4);
  border-radius: var(--r-full);
  padding: 0.35rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-pale);
}

/* ── GAME INFO STRIP ── */
.game__info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.game-info-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.1rem 0.75rem;
  text-align: center;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.game-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.game-info-card__icon {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
  display: block;
}

.game-info-card__title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.2rem;
}

.game-info-card__val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--deep-brown);
}

.game__disclaimer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

/* ===== FEATURES ===== */
#features {
  background: var(--warm-white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal-light));
  opacity: 0;
  transition: opacity var(--t-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(200, 132, 42, 0.14);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(200, 132, 42, 0.10), rgba(15, 123, 120, 0.07));
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
}

.feature-card h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep-brown);
  margin-bottom: 0.65rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FAQ ===== */
#faq {
  background: var(--cream);
}

.faq__wrap {
  max-width: 760px;
  margin-top: 3rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  background: var(--warm-white);
  transition: box-shadow var(--t-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item.open {
  border-color: var(--border-strong);
}

.faq__q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep-brown);
  text-align: left;
  transition: color var(--t-fast);
}

.faq__q:hover {
  color: var(--gold);
}

.faq__arrow {
  width: 28px; height: 28px;
  flex-shrink: 0;
  background: rgba(200, 132, 42, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--gold);
  transition: transform 0.32s ease, background var(--t-fast), color var(--t-fast);
}

.faq-item.open .faq__arrow {
  transform: rotate(180deg);
  background: var(--gold);
  color: #fff;
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  transition: max-height 0.38s ease, padding 0.28s ease;
}

.faq__a.open {
  max-height: 320px;
  padding: 0 1.5rem 1.4rem;
}

/* ===== CONTACT ===== */
#contact {
  background: linear-gradient(135deg, rgba(253, 246, 227, 0.98) 0%, rgba(226, 245, 244, 0.65) 100%);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

/* ── INFO SIDE ── */
.contact__info-intro p {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.info-item__icon {
  width: 46px; height: 46px;
  background: rgba(200, 132, 42, 0.09);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-item__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.2rem;
}

.info-item__val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--deep-brown);
}

/* ── FORM ── */
.contact__form {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.form__heading {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep-brown);
  margin-bottom: 1.75rem;
}

.form__row {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.form__input,
.form__textarea {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.78rem 1rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 132, 42, 0.12);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__privacy {
  font-size: 0.73rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.85rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .about__grid      { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__visual    { display: none; }
  .features__grid   { grid-template-columns: 1fr 1fr; }
  .game__info       { grid-template-columns: repeat(2, 1fr); }
  .contact__grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  section           { padding: 4rem 0; }
}

@media (max-width: 600px) {
  .features__grid { grid-template-columns: 1fr; }
  .game__info     { grid-template-columns: 1fr 1fr; }
  section         { padding: 3rem 0; }
}
