
body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  background: #fff;
  color: #333;
  padding-top: 70px; /* fixed header offset */
  width: 100vw;
  max-width: 100%;
  overflow-x: hidden;
}

/* Preloader */
body.loading { overflow: hidden; }
.preloader { position: fixed; inset: 0; background: #0b0f0e; display: flex; align-items: center; justify-content: center; z-index: 10000; transition: opacity .4s ease, visibility .4s ease; }
.preloader .loader { text-align: center; color: #eaf6f1; }
.preloader .spinner { width: 56px; height: 56px; border-radius: 50%; border: 5px solid rgba(255,255,255,0.2); border-top-color: var(--brand); animation: spin 1s linear infinite; margin: 0 auto 12px; }
.preloader .brand { font-weight: 900; letter-spacing: .6px; opacity: .85; }
.preloader.hide { opacity: 0; visibility: hidden; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Section reveal */
.reveal { opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

:root { --brand: #2ECC71; }

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  padding: 14px 0; /* horizontal padding handled by inner container */
  display: flex;
  justify-content: center; /* center inner container */
  align-items: center;
  background: rgba(0,0,0,0.86);
  -webkit-backdrop-filter: saturate(150%) blur(6px);
  backdrop-filter: saturate(150%) blur(6px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 8px 20px rgba(0,0,0,0.35);
  z-index: 9999; /* ensure above all hero layers */
}

/* Full width container */
.container { width: 100%; margin: 0 auto; }
.header-inner { width: 100%; max-width: 1200px; padding: 0 5%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }

header .logo { font-size: 24px; font-weight: 900; color: #2ECC71; letter-spacing: 0.5px; }

header nav a {
  margin: 0 15px;
  text-decoration: none;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

header nav a:hover { color: #2ECC71; }

.consult-btn {
  background: #3FA9F5;
  padding: 10px 18px;
  color: #fff !important;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
}

.hero {
  position: relative;
  width: 100%;
  height: 650px;
  background: #000 url('../images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; }

.hero-content h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.25;
  margin: 12px 0 8px;
}

.hero-content .kicker {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 6px;
}

.hero-content .sub {
  font-size: 16px;
  opacity: 0.95;
}

.hero-content .green { color: #2ECC71; }

.telegram-btn {
  background: #3FA9F5;
  padding: 14px 30px;
  color: #fff;
  font-size: 17px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(63,169,245,0.35);
}

section { text-align: center; padding: 80px 5%; }

/* Video CTA section */
.video-cta { position: relative; padding: 0; color: #fff; }
.video-cta .video-bg { position: absolute; inset: 0; overflow: hidden; }
.video-cta .video-el { width: 100%; height: 100%; object-fit: cover; filter: blur(0.5px); transform: scale(1.02); }
.video-cta .video-overlay { position: absolute; inset: 0; background: radial-gradient(1200px 600px at 70% 50%, rgba(0,0,0,0.35), rgba(0,0,0,0.7)); }
.video-cta .video-inner { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 40px; padding: 90px 5%; min-height: 560px; }
.video-cta .promo-visual { position: absolute; left: 0; bottom: 0; width: 30%; display: flex; justify-content: flex-start; align-items: flex-end; pointer-events: none; z-index: 1; }
.video-cta .phone-hero { width: min(560px, 30vw); height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.45)); }
.video-cta .coin { position: absolute; width: 58px; height: 58px; animation: floatY 4.6s ease-in-out infinite alternate; }
.video-cta .coin-a { left: 6%; top: 10%; width: 50px; height: 50px; animation-duration: 3.2s; }
.video-cta .coin-b { right: 30%; bottom: 6%; width: 64px; height: 64px; animation-delay: .8s; }
.video-cta .promo-copy { grid-column: 2 / span 2; justify-self: start; text-align: left; padding: 0 3%; margin-left: 0; margin-right: 10px; max-width: 900px; position: relative; z-index: 2; }
.video-cta .promo-copy .kicker { color: var(--brand); font-weight: 900; margin-bottom: 8px; }
.video-cta .promo-copy .title { font-size: 44px; line-height: 1.2; margin: 0 0 10px; font-weight: 900; }
.video-cta .promo-copy .subdesc { color: #d2e5dc; margin: 14px 0 26px; max-width: 560px; }

@keyframes floatY { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

@media(max-width: 960px){
  .video-cta .video-inner { grid-template-columns: 1fr; text-align: center; min-height: 680px; }
  .video-cta .promo-copy { grid-column: 1; justify-self: center; }
  .video-cta .promo-copy { text-align: center; padding: 0; }
  .video-cta .promo-visual { width: 100%; padding-left: 0; justify-content: center; }
  .video-cta .phone-hero { width: min(480px, 72vw); }
  .video-cta .coin-a { left: 12%; top: 4%; }
  .video-cta .coin-b { right: 14%; bottom: 12%; }
}
@media(max-width: 600px){
  .header-inner { padding: 0 4%; }
}

@media (prefers-reduced-motion: reduce){
  .video-cta .coin { animation: none; }
}

/* FAQ section */
.faq {
  background: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)), url('../images/faq.avif') center/cover no-repeat;
  background-attachment: fixed;
  will-change: background-position;
  color: #111;
  padding: 110px 5% 120px;
}
.faq .kicker { color: var(--brand); font-weight: 900; text-align: center; margin-bottom: 8px; }
.faq .title { text-align: center; font-size: 40px; font-weight: 900; margin: 0 0 20px; }
.faq-list { max-width: 960px; margin: 0 auto; background: rgba(255,255,255,0.65); border-radius: 8px; padding: 10px 18px; box-shadow: 0 12px 36px rgba(0,0,0,0.06); }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.12); padding: 6px 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { list-style: none; cursor: pointer; position: relative; font-weight: 800; padding: 18px 36px 18px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; color: #444; opacity: 0.7; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .answer { color: #333; padding: 0; line-height: 1.7; max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-6px); transition: max-height .35s ease, opacity .25s ease, transform .35s ease, padding .35s ease; }
.faq-item[open] .answer { padding: 10px 0 16px; max-height: 520px; opacity: 1; transform: translateY(0); }

/* subtle background position nudge when a QA toggles */
.faq.bg-nudge { animation: bgNudge 700ms ease; }
@keyframes bgNudge {
  0% { background-position: 50% 50%; }
  50% { background-position: 50% 53%; }
  100% { background-position: 50% 50%; }
}

@media(max-width: 1024px){
  .faq { background-attachment: scroll; }
}

.faq .askline { max-width: 960px; margin: 16px auto 0; text-align: center; color: #2b2b2b; font-weight: 700; background: rgba(255,255,255,0.65); padding: 10px 14px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,0.05); }
.faq .askline .icon { margin-right: 6px; }
.faq .faq-telegram { color: #3FA9F5; text-decoration: none; border-bottom: 2px solid rgba(63,169,245,0.35); margin-left: 8px; }
.faq .faq-telegram:hover { border-color: rgba(63,169,245,0.7); }

/* Closing CTA (video background) */
.closing-cta { position: relative; padding: 0; color: #fff; min-height: 560px; display: flex; align-items: center; justify-content: center; text-align: center; }
.closing-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.closing-overlay { position: absolute; inset: 0; background: radial-gradient(1200px 600px at 50% 50%, rgba(0,0,0,0.35), rgba(0,0,0,0.75)); z-index: 1; }
.closing-inner { position: relative; z-index: 2; padding: 90px 5%; }
.closing-inner .kicker { color: var(--brand); font-weight: 900; margin-bottom: 10px; }
.closing-inner .title { font-size: 48px; line-height: 1.25; margin: 0 0 8px; font-weight: 900; }
.closing-inner .subdesc { color: #d2e5dc; margin: 12px 0 24px; }
.closing-inner .cta-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.handle-chip { display: inline-block; padding: 14px 22px; border-radius: 8px; background: rgba(0,0,0,0.55); color: #eaf6f1; text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.12); }
.handle-chip:hover { background: rgba(0,0,0,0.65); }

@media(max-width: 720px){
  .closing-inner .title { font-size: 32px; }
}

/* Footer */
.site-footer { background: #080808; color: #aab3b0; text-align: center; padding: 70px 5% 60px; position: relative; }
.site-footer .brand-ghost { font-weight: 900; font-size: 56px; letter-spacing: 2px; color: #ffffff; opacity: 0.06; margin-bottom: 8px; }
.site-footer .footer-title { color: #ffffff; font-weight: 900; font-size: 24px; margin: 6px 0 10px; }
.site-footer .footer-contact { color: #d9e1de; margin: 4px 0 10px; }
.site-footer .footer-contact a { color: #3FA9F5; text-decoration: none; }
.site-footer .footer-contact a:hover { text-decoration: underline; }
.site-footer .footer-tags { max-width: 980px; margin: 8px auto 14px; font-size: 12px; line-height: 1.6; opacity: 0.7; }
.site-footer .copyright { color: #7d8682; font-size: 12px; margin-top: 6px; }

/* Second section (service) */
.service {
  background: linear-gradient(rgba(255, 255, 255, 0.842), rgba(255,255,255,0.5)),url('../images/service.avif') center/cover no-repeat;
}
.service .kicker { color: #2ECC71; font-weight: 900; margin: 0 0 10px; }
.service .title { font-size: 40px; line-height: 1.35; margin: 0 auto 12px; font-weight: 900; }
.service .subdesc { color: #666; margin-bottom: 36px; }

.carrier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 28px;
}

.carrier-card {
  background: #fff;
  border-radius: 18px;
  padding: 38px 30px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.carrier-card img { max-height: 72px; width: auto; }

.pill {
  max-width: 980px;
  margin: 14px auto 0;
  padding: 18px 22px;
  border-radius: 16px;
  background: #fff4f4;
  border: 1px solid #ffb3b3;
  color: #d12a2a;
  font-weight: 700;
}
.pill-soft { font-weight: 500; background: #fff5f5; color: #a11e1e; }

/* Third section (reasons) */
.reasons {
  position: relative;
  /* Add background image with overlay */
  background: linear-gradient(rgba(13,18,16,0.65), rgba(13,18,16,0.65)), url('../images/reason.avif') center/cover no-repeat;
  color: #e9f2ee;
  padding: 120px 0 100px;
  overflow: hidden;
}
.reasons::before {
  content: "";
  position: absolute; left: 50%; top: -300px; transform: translateX(-50%);
  width: 1600px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(33,84,60,0.55), rgba(13,18,16,0) 60%);
  z-index: 0;
}
.reasons .kicker { color: var(--brand); font-weight: 900; text-align: center; margin-bottom: 8px; }
.reasons .title { color: #fff; text-align: center; font-size: 48px; line-height: 1.25; margin: 0 0 10px; font-weight: 900; }
.reasons .subdesc { text-align: center; color: #cfe3db; margin-bottom: 34px; }
.reasons .light { color: #eaf6f1; }

.reason-grid {
  position: relative; z-index: 1;
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 24px 28px;
  max-width: 1200px;
  margin: 10px auto;  /* Changed from 10 to 10px and added auto for horizontal centering */
  padding: 0 5%;
}

.reason-card { 
  background: #f5faf7; 
  border: 1px solid #ffffff; 
  color: #222; 
  border-radius: 18px; 
  padding: 24px 28px; 
  display: grid; 
  grid-template-columns: 72px 1fr; 
  align-items: center; 
  gap: 18px 20px; 
  box-shadow: 0 8px 22px rgba(0,0,0,0.12); 
}
.reason-card .icon { width: 72px; height: 72px; display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; background: #eaf8f0; border: 2px solid #ffffff; color: var(--brand); }
.reason-card .icon svg { width: 55px; height: 50px; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; fill: #00d35b; }
.reason-card .text { text-align: center; }
.reason-card h3 { margin: 2px 0 6px; font-size: 20px; font-weight: 900; }
.reason-card p { margin: 0; color: #4d5a55; font-size: 14px; line-height: 1.6; }

.logo-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  padding: 0 5%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.logo-box {
  background: #fff;
  padding: 22px 40px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.logo-box img { height: 60px; }

.note { margin-top: 25px; font-size: 14px; color: #C70000; }

@media(max-width: 768px){
  body { padding-top: 62px; }
  header nav { display: none; }
  .hero { height: 460px; }
  .hero-content h1 { font-size: 28px; }
  .hero-content .kicker { font-size: 14px; }
  .logo-row { flex-direction: column; gap: 20px; }
  .service .title { font-size: 26px; }
  .carrier-grid { grid-template-columns: 1fr; }
  .reasons .title { font-size: 26px; }
  .reason-grid { grid-template-columns: 1fr; }
  .reason-card { grid-template-columns: 64px 1fr; }
}

/* Fourth section (domains) */
.domains {
  background: #0b0f0e;
  color: #eaf6f1;
  padding: 110px 0 120px;
}
.domains .kicker { color: var(--brand); font-weight: 900; text-align: center; margin-bottom: 8px; }
.domains .title { color: #fff; text-align: center; font-size: 40px; line-height: 1.35; margin: 0 0 8px; font-weight: 900; }
.domains .subdesc { text-align: center; color: #cfe3db; margin-bottom: 36px; }

.domain-grid { display: grid; grid-template-columns: repeat(7, minmax(120px, 1fr)); gap: 26px; justify-items: center; align-items: start; }
/* Staggered reveal */
.domain-item { text-align: center; opacity: 0; animation: fadeUp .55s ease forwards; }
.domain-item:nth-child(1){ animation-delay: .00s; }
.domain-item:nth-child(2){ animation-delay: .08s; }
.domain-item:nth-child(3){ animation-delay: .16s; }
.domain-item:nth-child(4){ animation-delay: .24s; }
.domain-item:nth-child(5){ animation-delay: .32s; }
.domain-item:nth-child(6){ animation-delay: .40s; }
.domain-item:nth-child(7){ animation-delay: .48s; }
.icon-badge { width: 96px; height: 96px; border-radius: 50%; background: #171d1b; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 8px 22px rgba(0,0,0,0.35); display: inline-flex; align-items: center; justify-content: center; color: var(--brand); transform: scale(1); transition: transform .22s ease, box-shadow .22s ease; }
.domain-item:hover .icon-badge { transform: scale(1.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 12px 28px rgba(0,0,0,0.45); }
.icon-badge svg { width: 54px; height: 54px; display: none; }
.icon-badge::before { content: ""; width: 54px; height: 54px; display: block; background-size: contain; background-position: center; background-repeat: no-repeat; }
.domains .domain-item:nth-child(1) .icon-badge::before { background-image: url('../images/icons/casino.svg'); }
.domains .domain-item:nth-child(2) .icon-badge::before { background-image: url('../images/icons/car.svg'); }
.domains .domain-item:nth-child(3) .icon-badge::before { background-image: url('../images/icons/candles.svg'); }
.domains .domain-item:nth-child(4) .icon-badge::before { background-image: url('../images/icons/event.svg'); }
.domains .domain-item:nth-child(5) .icon-badge::before { background-image: url('../images/icons/soccer.svg'); }
.domains .domain-item:nth-child(6) .icon-badge::before { background-image: url('../images/icons/bags.svg'); }
.domains .domain-item:nth-child(7) .icon-badge::before { background-image: url('../images/icons/house.svg'); }
.domain-item .label { margin-top: 10px; color: #d9ece5; font-weight: 700; transition: color .2s ease; }
.domain-item:hover .label { color: #ffffff; }

/* Retain optional one-image layout styles in case needed elsewhere */
.domain-svg-wrap { grid-column: 1 / -1; display: flex; justify-content: center; }
.domains-svg { width: 100%; max-width: 1109px; height: auto; display: block; }

@keyframes fadeUp { 
  from { opacity: 0; transform: translateY(10px); } 
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .domain-item { opacity: 1; animation: none; }
  .icon-badge { transition: none; }
}

.domains .footnote { margin-top: 40px; text-align: center; color: #94a39b; font-size: 13px; }

@media(max-width: 1024px){
  .domain-grid { grid-template-columns: repeat(4, minmax(120px, 1fr)); }
}
@media(max-width: 640px){
  .domains .title { font-size: 26px; }
  .domain-grid { grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 20px; }
}
