:root {
  --bg: #F2F0EF;
  --banner-pink: #B66D93;
  --banner-text: #811B24;
  --menu-pink: #DBA5C2;
  --title-green: #4A5728;
  --accent-green: #A4A84B;
  --cream: #D3BBAC;
  --bubble: #E4DBD7;
  --text: #303030;
}

/* Fonts */
@font-face { font-family: 'Fredoka'; src: url('fonts/Fredoka-Regular.woff2') format('woff2'); font-weight: 400; }
@font-face { font-family: 'Fredoka'; src: url('fonts/Fredoka-Bold.woff2') format('woff2'); font-weight: 700; }
@font-face { font-family: 'Noto Sans'; src: url('fonts/NotoSans-Regular.woff2') format('woff2'); font-weight: 400; }
@font-face { font-family: 'Noto Sans'; src: url('fonts/NotoSans-Bold.woff2') format('woff2'); font-weight: 700; }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: "Noto Sans"; }

/* ===== Top Banner / Marquee ===== */
.top-banner {
  background: var(--banner-pink);
  color: var(--banner-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  height: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
}

.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee-scroll 20s linear infinite;
  width: 100%;
}

.marquee-item {
  display: inline-block;
  margin-right: 2rem;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Header ===== */
.site-header { border-bottom: 1px solid rgba(0,0,0,0.04); }

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 1440px;
  margin: 30px auto;
  padding: 0 20px;
}

.left-icons-and-search {
  display: flex;
  align-items: center;
  gap: 12px;
}

.left-icons img.icon { width: 32px; height: 32px; }

.search-wrapper input {
  background: var(--accent-green);
  border: none;
  color: var(--text);
  padding: 12px 16px;
  border-radius: 4px;
  width: 180px;
  font-weight: 700;
  font-size: 16px;
}

.search-wrapper input::placeholder { color: var(--text); }

.site-title {
  display: flex;
  justify-content: center;
  text-align: center;
}

.title-link {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 70px;
  color: var(--title-green);
  text-decoration: none;
  letter-spacing: 0.08em;
}

.right-star img.star { width: 60px; height: auto; }

/* ===== Navigation ===== */
.main-nav {
  background: var(--menu-pink);
  margin-top: 30px;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 120px;
  list-style: none;
  margin: 0;
  padding: 12px 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a.active { color: var(--banner-text); }

/* ===== Hero Section ===== */
.hero { display: flex; justify-content: center; padding: 60px 20px; }
.hero-inner { max-width: 1440px; width: 100%; position: relative; }

.hero-card {
  position: relative;
  width: 1385px;
  height: 650px;
  background: #D3BBAC;
  margin: 0 auto;
  padding: 0;
}

.profile {
  width: 560px;
  height: 560px;
  object-fit: cover;
  position: absolute;
  left: 200px;
  bottom: 0;
}

.bubble-png {
  position: absolute;
  right: 180px;
  top: 35%;
  transform: translateY(-50%);
  max-width: 420px;
  height: auto;
}

.btn-more {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--bubble);
  padding: 14px 24px;
  border-radius: 24px;
  font-family: "Noto Sans";
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

/* ===== Footer ===== */
.site-footer {
  text-align: center;
  color: var(--accent-green);
  font-weight: 700;
  font-size: 14px;
  padding: 20px 10px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .title-link { font-size: 40px; }
  .hero-card { width: 100%; height: auto; }
  .profile { position: static; width: 300px; height: 300px; margin: 0 auto; display: block; }
  .bubble-png { position: static; margin: 20px auto; display: block; }
  .btn-more { position: static; display: block; margin: 20px auto; }
}

@media (max-width: 480px) {
  .title-link { font-size: 28px; }
  .search-wrapper input { display: none; }
  .main-nav ul { gap: 20px; }
}
