:root {
  /* --- Brand palette (from the logo) --- */
  --sunset:  #ff8a3d;
  --gold:    #ffcf5e;
  --ocean:   #2e9fd6;
  --mint:    #7fe3c0;
  --sand:    #fadc9e;   /* requested tropical sand tone */

  /* --- Tropical 3-color gradient (ocean -> mint -> sand) --- */
  --tropical: linear-gradient(155deg, #38aee0 0%, #7fe3c0 48%, #fadc9e 100%);

  /* --- Frosted "window" cards --- */
  --card-bg:     rgba(18, 26, 38, 0.55);
  --card-border: rgba(255, 255, 255, 0.18);
  --ink:         #fff6ee;
  --ink-soft:    rgba(255, 246, 238, 0.88);

  /* --- Brand button colors --- */
  --discord:      #5865F2;
  --discord-deep: #4752c4;

  --radius: 22px;
  --maxw: 1080px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.65;

  /* Tropical gradient fills the whole viewport, even on short pages */
  background: var(--tropical) fixed;
  background-size: cover;
}

/* ---------------- Layout ---------------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 1.8rem) clamp(1rem, 4vw, 2rem) 2.5rem;
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3vw, 2.2rem);
}

/* ---------------- Top banner ---------------- */
.top-banner {
  border-radius: var(--radius);
  overflow: hidden;                    /* clip the image to the rounded corners */
  border: 1px solid var(--card-border);/* minimal 1px frame, nothing heavier    */
  box-shadow: var(--shadow);
  line-height: 0;
}

.banner-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------------- Two-column body ---------------- */
.content-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  align-items: start;
}

/* ---------------- Left column: logo + buttons ---------------- */
.left-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.left-col .logo {
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.30));
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.button-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
  max-width: 280px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  will-change: transform;
}

.btn:hover  { transform: translateY(-3px) scale(1.02); filter: brightness(1.06); }
.btn:active { transform: translateY(-1px) scale(0.99); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.btn-icon { display: inline-flex; }

.btn-discord {
  background: linear-gradient(135deg, var(--discord), var(--discord-deep));
  box-shadow: 0 10px 26px rgba(88, 101, 242, 0.42);
}

.btn-instagram {
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%);
  box-shadow: 0 10px 26px rgba(214, 41, 118, 0.42);
}

/* ---------------- Card (About Us "window") ---------------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
}

.card p { margin: 0 0 1rem; color: var(--ink-soft); }
.card p:last-child { margin-bottom: 0; }

.section-title {
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 1rem;
  color: var(--ink);
  position: relative;
  padding-bottom: 0.6rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sunset), var(--gold));
}

/* ---------------- Footer ---------------- */
.site-footer {
  text-align: center;
  margin-top: 0.25rem;
}

.site-footer p {
  font-size: 0.8rem;
  color: rgba(60, 42, 24, 0.72);   /* dark tone for the light sandy gradient */
  margin: 0;
  font-style: italic;
}

/* ---------------- Responsive: stack on narrow screens ---------------- */
@media (max-width: 720px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .left-col {
    margin-bottom: 0.4rem;
  }
}

/* ---------------- Motion preferences ---------------- */
@media (prefers-reduced-motion: reduce) {
  .left-col .logo { animation: none; }
  .btn { transition: none; }
  html { scroll-behavior: auto; }
}
