/* ================================
   ROOT
================================ */
:root {
  --primary: #e03835;
  --white: #ffffff;
  --dark: #111111;
  --maxw: 1160px;
}

/* ================================
   RESET
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--primary);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ================================
   CONTAINER
================================ */
.container {
  width: min(100%, var(--maxw));
  margin-inline: auto;
  padding-inline: 20px;
}

/* ================================
   NAVBAR
================================ */
#topbar {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* ================================
   HERO
================================ */
#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: 40px;
}

/* Background Character */
/* Character Background */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("./images/cupidcon.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: clamp(320px, 40vw, 600px);
  pointer-events: none;
}


/* Logo Wrapper */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Logo */
.brand-img {
  width: clamp(100px, 30vw, 280px);
  height: auto;
}

/* ================================
   OFFICIAL LINKS SECTION
================================ */
#official-links {
  background: #ffffff;
  color: var(--dark);
  padding: 60px 0;
  text-align: center;
}

.links-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Social Icons */
.links-grid {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 40px;
}

.links-grid a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.links-grid a:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.12),
    0 8px 20px rgba(0,0,0,.12);
}

.links-grid img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

/* ================================
   CONTRACT ADDRESS
================================ */
.ca-grid {
  display: flex;
  justify-content: center;
}

.ca-box {
  width: 100%;
  max-width: 600px;
  text-align: left;
}

.ca-box label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #555;
}

.ca-input {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f3f3f3;
  border-radius: 8px;
  padding: 10px 14px;
}

.ca-input input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: monospace;
  font-size: 14px;
  text-align: center;
  outline: none;
}

.copy-btn {
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: 16px;
  transition: opacity .2s ease;
}

.copy-btn:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {

  .hero-bg {
    background-size: 70vw;   /* lebih kecil */
    background-position: center bottom;
  }

  .brand-img {
    width: 70vw;
  }

}

/* =====================================
   ABOUT SECTION — GROUNDED VERSION
===================================== */

#about {
  background: #e03835;
  color: #ffffff;
  padding: clamp(80px, 10vw, 120px) 0 0 0; /* no bottom padding */
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: stretch; /* important */
}

/* IMAGE SIDE */
.about-image {
  display: flex;
  align-items: flex-end; /* force image to bottom */
}

.about-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
}

.about-content {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.about-content h2 {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(34px, 4vw, 48px);
  margin-bottom: 28px;
  letter-spacing: 2px;
}

.about-content p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  margin-bottom: 22px;
  color: #ffeaea;
}

.about-highlight {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(28px, 3vw, 38px);
  margin-top: 30px;
  color: #ffffff;
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 900px) {

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-image {
    justify-content: center;
  }

  .about-image img {
    max-width: 85%;
  }

  .about-content {
    text-align: center;
    padding: 40px 20px 60px;
  }
}
