/* ===================================
   일프로카지노 평생주소 안내 랜딩페이지
   원본 디자인 1:1 재현
   =================================== */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000000;
  color: #ffffff;
  font-family: 'Noto Sans KR', 'Malgun Gothic', '맑은 고딕', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Page Wrapper ── */
.page-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #0a0a0a;
  min-height: 100vh;
  position: relative;
}

/* ── Hero Section ── */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-section img {
  width: 100%;
  height: auto;
  display: block;
  /* 이미지 하단의 접속가능주소 골드바 부분 전체를 숨기기 위한 크롭 */
  margin-bottom: -12.2%;
}

/* 히어로 이미지 위에 투명 클릭 영역 (한글 도메인) */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay .clickable-domain {
  position: absolute;
  display: block;
  text-decoration: none;
  cursor: pointer;
  z-index: 10;
}

/* 일프로카지노.com 위치 (이미지 내 실제 텍스트 좌표 기반) */
.hero-overlay .domain-com {
  top: 72%;
  left: 5%;
  width: 90%;
  height: 5.5%;
}

/* 일프로카지노.net 위치 */
.hero-overlay .domain-net {
  top: 79%;
  left: 5%;
  width: 90%;
  height: 5.5%;
}

.hero-overlay .clickable-domain {
  transition: all 0.3s ease;
}

.hero-overlay .clickable-domain:hover {
  transform: scale(1.03);
}

/* ── URL 섹션 공통 ── */
.url-section {
  position: relative;
  z-index: 2; /* 텔레그램 이미지 상단 크롭 영역을 가리기 위해 z-index 추가 */
  width: 91.4%;
  margin: 0 auto;
  background-color: #0a0a0a;
  padding: 0;
  border-left: 2px solid #9a7b2e;
  border-right: 2px solid #9a7b2e;
  border-bottom: 2px solid #9a7b2e;
  border-top: none;
}

.urls-container {
  padding: 24px 30px;
}

.url-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 20px 24px;
  background-color: #1e1e1e;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.url-slot:last-of-type {
  margin-bottom: 0;
}

.url-slot:hover {
  background-color: #2a2a2a;
  transform: translateX(4px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.url-slot a {
  color: #ffffff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.url-slot a:hover {
  color: #d4b85c;
  text-shadow: 0 0 12px rgba(212, 184, 92, 0.4);
}

/* ── Gold Header Bar ── */
.gold-bar {
  background: linear-gradient(
    180deg,
    #c9a84c 0%,
    #a07c2e 40%,
    #b8963a 60%,
    #d4b85c 100%
  );
  text-align: center;
  padding: 18px 20px;
  font-size: 38px;
  font-weight: 900;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  position: relative;
  overflow: hidden;
}

/* 골드바 시머 효과 */
.gold-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 100%
  );
  animation: goldShimmer 3.5s ease-in-out infinite;
}

/* ── Notice Section ── */
.notice-section {
  background-color: #0a0a0a;
  text-align: center;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #c9a84c;
  letter-spacing: 0.5px;
}

/* ── Notice Text (URL 박스 내부) ── */
.notice-text {
  text-align: center;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #c9a84c;
  letter-spacing: 0.5px;
  margin-top: 12px;
}

/* ── Telegram CTA Section ── */
.cta-section {
  background-color: #0a0a0a;
  padding: 30px 0 0;
  text-align: center;
  position: relative;
}

.telegram-img-link {
  display: block;
  width: 100%;
  transition: all 0.3s ease;
  animation: pulse 2s infinite ease-in-out;
}

.telegram-img-link:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.telegram-img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -10.5%; /* 상단 안내 문구 텍스트 영역만 크롭 (105px) */
  clip-path: inset(28.15% 0 0 0); /* 실제 잘라낼 높이 비율 적용 (105/373 = 28.15%) */
}

/* ===================================
   Animation Keyframes
   =================================== */

/* 골드바 시머 */
@keyframes goldShimmer {
  0% { left: -100%; }
  60% { left: 150%; }
  100% { left: 150%; }
}

/* 텔레그램 버튼 시머 */
@keyframes btnShimmer {
  0% { left: -100%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

/* 섹션 페이드인 */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── 페이지 로드 순차 페이드인 ── */
.hero-section {
  animation: fadeInUp 0.6s ease-out forwards;
}

.url-section {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out 0.3s forwards;
}

.notice-section {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out 0.6s forwards;
}

.cta-section {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out 0.9s forwards;
}

/* ── Sparkle (장식) ── */
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1); }
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #d4b85c;
  border-radius: 50%;
  animation: sparkle 2s ease-in-out infinite;
  pointer-events: none;
}


/* ===========================
   Responsive Breakpoints
   =========================== */

/* 태블릿 */
@media (max-width: 768px) {
  .page-wrapper {
    max-width: 100%;
  }

  .url-section {
    padding: 10px 24px 14px;
  }

  .url-slot a {
    font-size: 20px;
  }
}

/* 모바일 */
@media (max-width: 480px) {
  .url-section {
    padding: 8px 16px 12px;
  }

  .url-slot {
    min-height: 56px;
    padding: 14px 16px;
  }

  .url-slot a {
    font-size: 17px;
    letter-spacing: 0;
  }

  .gold-bar {
    font-size: 20px;
    font-weight: 900;
    padding: 10px 16px;
    letter-spacing: 0;
  }

  .notice-section {
    font-size: 13px;
    padding: 12px 16px;
  }

  .cta-section {
    padding: 24px 0 0;
  }
}

/* 아주 작은 모바일 */
@media (max-width: 360px) {
  .url-slot a {
    font-size: 15px;
  }
}
