/* ==========================================================================
   giveaway.css — SKINHAJP Premium Campaign Page
   Dark Luxury · Cinematic · Atmospheric
   ========================================================================== */

/* ─── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  --primary:        #22c55e;
  --primary-dim:    rgba(34, 197, 94, 0.18);
  --primary-glow:   rgba(34, 197, 94, 0.40);
  --primary-glow-s: rgba(34, 197, 94, 0.12);
  --accent:         #4ade80;
  --indigo-glow:    rgba(99, 102, 241, 0.22);
  --bg-dark:        #050507;
  --bg-card:        #0d0d0f;
  --text-white:     #ffffff;
  --text-silver:    #e2e8f0;
  --text-gray:      #9ca3af;
  --glass:          rgba(13, 13, 15, 0.75);
  --glass-border:   rgba(255, 255, 255, 0.07);
  --ease:           cubic-bezier(0.23, 1, 0.32, 1);
  --transition:     all 0.55s var(--ease);
  --font:           'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Atmospheric Canvas ─────────────────────────────────────────────────── */
/* Fixed multi-layer background that gives the page its cinematic depth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 20%,  rgba(34, 197, 94,  0.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 85% 75%,  rgba(99, 102, 241, 0.11) 0%, transparent 60%),
    radial-gradient(ellipse 80% 40% at 50% 110%, rgba(34, 197, 94,  0.08) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* Soft floating orb — top right */
body::after {
  content: '';
  position: fixed;
  top: -10%;
  right: -5%;
  width: 55vw;
  height: 55vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.09) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: orbDrift 18s ease-in-out infinite alternate;
}

@keyframes orbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 60px) scale(1.08); }
}

/* ─── Navbar ─────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.25rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 200;
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.4s ease, border-color 0.4s ease;
}

nav.scrolled {
  background: rgba(5, 5, 7, 0.95);
  border-bottom-color: rgba(34, 197, 94, 0.12);
}

.logo-link { display: flex; align-items: center; }

.logo-link img {
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.25));
  transition: filter 0.4s ease, transform 0.4s var(--ease);
}

.logo-link:hover img {
  filter: drop-shadow(0 0 14px rgba(34, 197, 94, 0.45));
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.35s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  border-radius: 99px;
  transition: width 0.4s var(--ease);
}

.nav-links a:hover { color: var(--text-white); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.nav-link,
.nav-links a[href*="giveaway"] {
  color: var(--primary);
}
.nav-links a.nav-link::after,
.nav-links a[href*="giveaway"]::after { width: 100%; }

.nav-links a.nav-link-highlight {
  background: linear-gradient(135deg, var(--primary), #4ade80);
  color: var(--bg-dark);
  padding: 6px 14px;
  border-radius: 20px;
  animation: giveaway-pulse 2s ease-in-out infinite;
}
.nav-links a.nav-link-highlight:hover { color: var(--bg-dark); }
.nav-links a.nav-link-highlight::after { display: none; }

@keyframes giveaway-pulse {
  0%, 100% { box-shadow: 0 0 6px var(--primary-glow); }
  50% { box-shadow: 0 0 16px var(--primary-glow); }
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.giveaway-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 7.5rem 5% 3rem; /* padded top for navbar */
  overflow: hidden;
  z-index: 1;
}

/* Hero: inner radial burst */
.giveaway-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(34, 197, 94, 0.14) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  0%   { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 1;   transform: translate(-50%, -50%) scale(1.07); }
}

/* Hero: subtle grid texture overlay */
.giveaway-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Hero inner content */
.giveaway-hero .hero-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem; /* unified gap system for everything in hero */
}

/* Eyebrow label */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 99px;
  padding: 0.35rem 1rem;
  margin-bottom: 2rem;
  animation: fadeSlideUp 0.8s var(--ease) both;
}

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

/* Main headline */
.giveaway-hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: linear-gradient(160deg, #ffffff 0%, #e2e8f0 45%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 650px;
  margin-bottom: 0;
  animation: fadeSlideUp 0.9s 0.1s var(--ease) both;
}

/* Accent word highlight */
.giveaway-hero h1 span {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub-headline */
.giveaway-hero .hero-sub {
  font-size: 0.95rem;
  color: var(--text-gray);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 2rem;
  animation: fadeSlideUp 0.9s 0.2s var(--ease) both;
}

/* ─── CTA Button ─────────────────────────────────────────────────────────── */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.2rem 2.8rem;
    background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
    color: #000;
    font-size: 1.04rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 0 1px rgba(34,197,94,0.3), 0 10px 30px rgba(34,197,94,0.35);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s ease;
}

/* Inner shine layer */
.btn-hero::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
  z-index: 2;
}

.btn-hero:hover::before { left: 120%; }

.btn-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.4),
    0 12px 36px rgba(34, 197, 94, 0.42),
    0 4px 12px rgba(0, 0, 0, 0.5);
}

.btn-hero:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-hero svg, .btn-hero .btn-icon {
  font-size: 1rem;
  transition: transform 0.3s var(--ease);
}
.btn-hero:hover .btn-icon { transform: translateX(3px); }

/* ─── Ticket Info Section ────────────────────────────────────────────────── */
#ticket-card {
  width: 100%;
  max-width: 440px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1rem 1.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

#ticket-card:hover {
  border-color: rgba(34, 197, 94, 0.2);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.08);
}

/* subtle top shine */
#ticket-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.5), transparent);
}

.ticket-info {
  font-size: 0.88rem;
  color: var(--text-gray);
  letter-spacing: 0.04em;
}

.ticket-info strong {
  color: var(--primary);
  font-weight: 700;
}

/* ─── Discord notice ─────────────────────────────────────────────────────── */
.discord-notice {
  width: 100%;
  max-width: 600px;
  margin-top: 1.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.35s var(--ease);
}

.discord-notice:hover {
  border-color: rgba(88, 101, 242, 0.4);
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.15);
  transform: translateY(-2px);
}

.discord-notice > .fa-discord {
  font-size: 1.8rem;
  color: #5865f2;
  flex-shrink: 0;
}

.discord-notice strong {
  display: block;
  color: var(--text-white);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.discord-notice p {
  color: var(--text-gray);
  font-size: 0.8rem;
  line-height: 1.4;
}

.discord-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #5865f2;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .discord-notice { flex-wrap: wrap; }
  .discord-btn { margin-left: auto; }
}

/* ─── Featured Giveaway Card ─────────────────────────────────────────────── */
.featured-card {
  width: 100%;
  max-width: 600px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(15px);
  padding: 0.8rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45), 0 0 12px rgba(34,197,94,0.2);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Animated top border glow */
.featured-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(34, 197, 94, 0.6) 30%,
    rgba(74, 222, 128, 0.8) 50%,
    rgba(34, 197, 94, 0.6) 70%,
    transparent 100%
  );
  animation: shimmerBorder 4s ease-in-out infinite;
  z-index: 2;
}

@keyframes shimmerBorder {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* Skin visual */
    .skin-image {
    width: 100%;
    max-width: 520px;
    height: 320px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1rem auto;
    filter:
        drop-shadow(0 0 20px rgba(0,255,120,0.35))
        drop-shadow(0 0 40px rgba(0,255,120,0.18));
    animation: subtleScale 6s ease-in-out infinite alternate;
    position: relative;
    z-index: 1;
}

/* skin hover parallax via CSS */
.skin-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(34, 197, 94, 0.15) 0%, transparent 70%),
    linear-gradient(180deg, transparent 50%, rgba(5, 5, 7, 0.9) 100%);
}

/* Breathing animation on skin */
.skin-image {
  animation: skinFloat 7s ease-in-out infinite alternate;
}

@keyframes skinFloat {
  from { background-position: center 48%; }
  to   { background-position: center 52%; }
}

/* Featured info block */
.featured-info {
  padding: 2.5rem;
  text-align: center;
  position: relative;
}

.countdown {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: 'Courier New', monospace;
  animation: fadeIn 0.8s var(--transition) both;
  margin-bottom: 2rem;
}

.ticket-require {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.featured-info#cw4d95 h1 {
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 750;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
}

.featured-info .value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

/* ─── Section Fade-in ────────────────────────────────────────────────────── */
[data-fade] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-fade].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .skin-image { height: 200px; }
  #ticket-card { padding: 0.9rem; }
  #previous-winners { grid-template-columns: 1fr; }
  nav { padding: 1rem 5%; }
  .logo-link img { height: 42px; }
  .nav-links { gap: 1.5rem; }
  .nav-links a { font-size: 0.8rem; }

  .giveaway-hero { padding: 6.5rem 5% 2rem; }
  .giveaway-hero h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .giveaway-hero .hero-sub { font-size: 1rem; }

  .featured-info { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.75rem; }
  .btn-hero { padding: 0.85rem 1.8rem; font-size: 0.85rem; }
}

/* ─── Footer (matches style.css so it looks the same as every other page) ─── */
footer {
  padding: 80px 5% 40px;
  background: #000;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.footer-content { margin-bottom: 40px; }

.payments {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  opacity: 0.5;
  font-size: 1.5rem;
}

.payments .payment-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.copyright {
  color: #475569;
  font-size: 0.85rem;
  opacity: 0.6;
}
