/* ==========================================================================
   ZenBerry Team — www.zenberryteam.com
   Recreated from the original Google Sites design (Wayback Machine archive)
   Theme: Amatic SC headings + Lato body, pink #dc367b accent
   ========================================================================== */

:root {
  --accent: #dc367b;
  --accent-dark: #b02461;
  --teal: #5ba08c;
  --teal-dark: #3d7263;
  --ink: #1c1c1c;
  --bg: #f9f9f9;
  --card: #ffffff;
  --muted: #6b6b6b;
  --line: #e8e8e8;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(28, 28, 28, .09);
  --shadow-lg: 0 14px 40px rgba(28, 28, 28, .16);
  --maxw: 1020px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Lato', 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

h1, h2, h3, .nav-brand, .btn, .hero-tag, .badge {
  font-family: 'Amatic SC', 'Trebuchet MS', cursive;
}

h1, h2, h3 { line-height: 1.1; margin: 0 0 .4em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: .5px; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3rem); letter-spacing: .5px; }
h3 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); letter-spacing: .5px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 56px 0; }
.section--alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.section-head h2 span { color: var(--accent); }
.section-head p { color: var(--muted); margin: 0; }

.eyebrow {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(220, 54, 123, .09);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 12px;
}

/* ---------- Header / nav (mirrors original Google Sites bar) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none !important;
}

.nav-brand img { width: 46px; height: 46px; border-radius: 12px; }

.nav-brand .brand-name {
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  font-family: 'Amatic SC', cursive;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 10px;
}

.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-links a[aria-current="page"] { color: #fff; background: var(--accent); }

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 6px 14px;
  font-family: 'Amatic SC', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 22px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; text-align: center; }
}

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../../images/banner.jpg') center 30% / cover no-repeat;
  opacity: .38;
}

.hero-inner {
  position: relative;
  text-align: center;
  padding: 96px 22px 104px;
  max-width: 780px;
  margin: 0 auto;
}

.hero-logo {
  width: 128px;
  height: 128px;
  border-radius: 26px;
  margin: 0 auto 22px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .9), var(--shadow-lg);
}

.hero h1 { color: #fff; text-shadow: 0 3px 18px rgba(0, 0, 0, .55); }

.hero-tag {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 1px;
  color: #ffe9f3;
  margin: 2px 0 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}

.hero-sub {
  color: rgba(255, 255, 255, .92);
  max-width: 620px;
  margin: 0 auto 30px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Buttons (original Google Sites pill style) ---------- */
.btn {
  display: inline-block;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 30px;
  border-radius: 999px;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  line-height: 1.25;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { color: #fff; background: var(--accent-dark); }

.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .22); }

.btn--outline { background: #fff; color: var(--accent); border-color: var(--accent); }
.btn--outline:hover { color: #fff; background: var(--accent); }

.btn--steam { background: #171a21; color: #fff; }
.btn--steam:hover { color: #fff; background: #2a475e; }

.btn--switch { background: #e60012; color: #fff; }
.btn--switch:hover { color: #fff; background: #b3000e; }

.btn--video { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--video:hover { color: #fff; background: var(--ink); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: linear-gradient(135deg, rgba(220, 54, 123, .12), rgba(91, 160, 140, .14)), #fff;
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 58px 22px 48px;
}

.page-hero h1 span { color: var(--accent); }
.page-hero p { color: var(--muted); max-width: 640px; margin: 6px auto 0; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .85rem; color: var(--muted); padding: 14px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- Game cards / project blocks ---------- */
.game-block {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 34px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 44px;
  overflow: hidden;
}

.game-block--flip .game-media { order: 2; }

.game-media { position: relative; }
.game-media img { border-radius: 12px; width: 100%; box-shadow: var(--shadow); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.badge--teal { background: var(--teal); }

.game-info h2 { margin-bottom: 6px; }
.game-info h2 span { color: var(--accent); }
.game-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.chip {
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: #f1f1f1;
  border-radius: 999px;
  padding: 4px 12px;
}
.chip--free { background: rgba(91, 160, 140, .16); color: var(--teal-dark); }
.chip--soon { background: rgba(220, 54, 123, .12); color: var(--accent-dark); }
.chip--platform { background: rgba(28, 28, 28, .07); }

.game-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.game-extra { margin-top: 14px; font-size: .95rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }

@media (max-width: 820px) {
  .game-block { grid-template-columns: 1fr; padding: 20px; }
  .game-block--flip .game-media { order: 0; }
}

/* ---------- Screenshot gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.gallery a { display: block; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; transition: transform .25s ease; }
.gallery a:hover img { transform: scale(1.03); }

@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Cards (home games preview) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 720px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-cover { position: relative; }
.card-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 4px; }
.card-body h3 span { color: var(--accent); }
.card-body p { color: var(--muted); margin: 0 0 14px; flex: 1; }


/* ---------- Team grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

.member {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 20px;
  text-align: center;
}

.member img {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  margin: 0 auto 14px;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}

.member h3 { margin-bottom: 0; }
.member .role {
  display: inline-block;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(91, 160, 140, .14);
  padding: 3px 12px;
  border-radius: 999px;
  margin: 2px 0 10px;
}
.member p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- About / MISION ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: center; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

.about-copy p { margin: 0 0 14px; }

.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fact-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: .95rem;
}
.fact-list li + li { border-left-color: var(--teal); }
.fact-list li:nth-child(3) { border-left-color: var(--ink); }
.fact-list strong { font-family: 'Amatic SC', cursive; font-size: 1.5rem; letter-spacing: .5px; display: block; }

/* ---------- Social strip ---------- */
.social-strip { text-align: center; }

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}

.social-links a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.social-links img { width: 30px; height: 30px; }

/* ---------- Contact ---------- */
.contact-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px 34px;
  text-align: center;
}

.contact-card .big-mail {
  font-family: 'Amatic SC', cursive;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 1px;
  word-break: break-all;
}

.contact-notes { text-align: left; margin: 26px auto 0; max-width: 460px; }
.contact-notes ul { margin: 0; padding-left: 20px; color: var(--muted); }
.contact-notes li { margin-bottom: 6px; }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--ink); color: #fff; text-align: center; padding: 54px 22px; }
.cta-strip h2 { color: #fff; }
.cta-strip h2 span { color: #ff7bb1; }
.cta-strip p { color: rgba(255, 255, 255, .82); max-width: 560px; margin: 0 auto 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .85); }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  font-size: .9rem;
}
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }
.footer-nav a { color: rgba(255, 255, 255, .85); }
.footer-nav a:hover { color: #ff7bb1; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 50%;
}
.footer-social img { width: 24px; height: 24px; }
.footer-social a:hover { opacity: .85; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.legal-note { font-size: .8rem; color: var(--muted); }

