/* ========== RESET ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #E91E63;
}

/* Background grid pattern */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/bg_mobile.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ========== CONTENT ========== */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem 1rem;
  flex-shrink: 0;
}

/* Logo */
.logo-link {
  display: inline-block;
  margin-bottom: 1rem;
}

.logo-img {
  height: 42px;
  width: auto;
}

/* Headline */
.headline {
  text-align: center;
  margin-bottom: 1.2rem;
}

.line1 {
  font-family: 'Lilita One', cursive;
  font-size: 1.5rem;
  color: #fff;
  font-style: italic;
  text-shadow: 2px 3px 0 rgba(0,0,0,0.12);
  line-height: 1.1;
}

.line2 {
  font-family: 'Lilita One', cursive;
  font-size: 2.6rem;
  color: #2196F3;
  font-style: italic;
  line-height: 1;
  text-shadow:
    3px 3px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    0 3px 0 #fff,
    0 -2px 0 #fff,
    3px 0 0 #fff,
    -2px 0 0 #fff;
  margin: 0.15rem 0;
}

.line3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
  text-shadow: 2px 3px 0 rgba(0,0,0,0.12);
  line-height: 1.1;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
  max-width: 280px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 50px;
  background: #fff;
  color: #E91E63;
  text-decoration: none;
  border: 3px solid #E91E63;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn:active {
  transform: scale(0.97);
}

.btn-icon {
  font-size: 1.1rem;
}

.btn-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* Web button - hidden on mobile */
.btn-web {
  display: none;
}

/* ========== CHARACTER ========== */
.hero-character {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  min-height: 0;
}

.character-img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

/* ========== DESKTOP (768px+) ========== */
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
  }

  .hero-bg {
    background-image: url('assets/bg_pc.png');
  }

  .hero-content {
    width: 55%;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem 3rem 5%;
  }

  .logo-img {
    height: 60px;
  }

  .headline {
    margin-bottom: 2rem;
  }

  .line1 {
    font-size: 2rem;
  }

  .line2 {
    font-size: 3.8rem;
  }

  .line3 {
    font-size: 2rem;
  }

  .cta-buttons {
    max-width: 400px;
  }

  .btn {
    padding: 0.9rem 1.8rem;
  }

  .btn-text {
    font-size: 1.15rem;
  }

  .btn-web {
    display: flex;
  }

  .hero-character {
    position: relative;
    width: 45%;
    flex: 0 0 45%;
    align-self: stretch;
    overflow: hidden;
    display: block;
    min-height: 0;
  }

  .hero-character picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .character-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}

/* ========== LARGE DESKTOP (1200px+) ========== */
@media (min-width: 1200px) {
  .hero-content {
    padding: 3rem 3rem 3rem 8%;
  }

  .logo-img {
    height: 72px;
  }

  .line1 {
    font-size: 2.4rem;
  }

  .line2 {
    font-size: 4.5rem;
  }

  .line3 {
    font-size: 2.4rem;
  }

  .cta-buttons {
    max-width: 440px;
  }

  .btn {
    padding: 1rem 2rem;
  }

  .btn-text {
    font-size: 1.3rem;
  }
}

/* ========== SMALL MOBILE (max 380px) ========== */
@media (max-width: 380px) {
  .hero-content {
    padding: 1.5rem 1rem 0.5rem;
  }

  .logo-img {
    height: 34px;
  }

  .line1 {
    font-size: 1.2rem;
  }

  .line2 {
    font-size: 2rem;
  }

  .line3 {
    font-size: 1.2rem;
  }

  .cta-buttons {
    max-width: 240px;
  }

  .btn {
    padding: 0.55rem 1rem;
  }

  .btn-text {
    font-size: 0.8rem;
  }
}
