:root {
  --sea-blue: #042d6a;
  --sea-blue-2: #0a5bad;
  --button-blue: #0a5bc7;
  --button-blue-2: #083f84;
  --button-glow: rgba(28, 148, 255, 0.45);
  --white: #f4f4f4;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  font-family: "Inter", sans-serif;
  background: var(--sea-blue);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.page-wrap {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-image: url("maintain_system.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-bottom: clamp(24px, 5vh, 72px);
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.content h1 {
  margin: 0;
  color: #f5f6f8;
  font-size: clamp(2.6rem, 4vw, 6rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.05em;
  white-space: nowrap;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.content h2 {
  margin: 2rem 0;
  color: #f7ce22;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(3rem, 5vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-shadow: 0 0 14px rgba(255, 203, 35, 0.42);
}

.fanpage-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 1rem 2rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--button-blue) 0%, #0d6bc6 32%, var(--button-blue-2) 100%);
  color: var(--white);
  text-decoration: none;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 30px rgba(6, 92, 170, 0.45), inset 0 1px 0 rgba(255,255,255,0.28);
  transition: transform 0.24s ease, box-shadow 0.28s ease, filter 0.28s ease;
  overflow: hidden;
}

.fanpage-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.32), rgba(255,255,255,0.08), rgba(255,255,255,0.26));
  transform: translateX(-130%);
  transition: transform 0.6s ease;
}

.fanpage-btn:hover,
.fanpage-btn:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 36px rgba(10, 124, 220, 0.54), 0 0 0 6px var(--button-glow);
  filter: brightness(1.08) saturate(1.15);
}

.fanpage-btn:hover::before,
.fanpage-btn:focus-visible::before {
  transform: translateX(130%);
}

.fanpage-btn:active {
  transform: translateY(0) scale(0.99);
}

.fanpage-btn {
  z-index: 1;
}

.fanpage-btn::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  background: rgba(61, 170, 255, 0.12);
  filter: blur(14px);
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: 0;
}

.fanpage-btn:hover::after,
.fanpage-btn:focus-visible::after {
  opacity: 1;
}

@media (max-width: 1024px) {
  .page-wrap {
    background-position: center center;
    background-size: cover;
  }

  .hero {
    padding-bottom: 42px;
    gap: 1.5rem;
  }

  .content h1 {
    white-space: normal;
    max-width: 90%;
  }

  .fanpage-btn {
    min-width: 230px;
    padding: 0.95rem 1.8rem;
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: 22px;
    gap: 1.25rem;
  }

  .content h1 {
    font-size: clamp(2.1rem, 6vw, 3.2rem);
    white-space: normal;
  }

  .content h2 {
    font-size: clamp(2.4rem, 8vw, 4rem);
  }

  .fanpage-btn {
    min-width: 200px;
    padding: 0.85rem 1.3rem;
    font-size: 0.96rem;
  }
}

@media (max-width: 480px) {
  .page-wrap {
    background-position: center center;
    background-size: cover;
  }

  .hero {
    padding-bottom: 20px;
    gap: 1rem;
  }

  .content h1 {
    max-width: 86%;
    font-size: clamp(1.25rem, 6vw, 2rem);
  }

  .content h2 {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .fanpage-btn {
    width: min(78vw, 260px);
    min-width: auto;
    padding: 0.8rem 1.1rem;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fanpage-btn,
  .fanpage-btn::before,
  .fanpage-btn::after {
    transition: none;
  }
}
