/* =========================================
   RAW EXOTICS - GIVEAWAY PAGE
   Techno Countdown Timer Theme
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
  --accent: #dc2626;
  --accent-glow: #ef4444;
  --accent-2: #f59e0b;
  --accent-dark: #991b1b;
  --card-bg: rgba(10, 10, 10, 0.92);
  --card-border: rgba(220, 38, 38, 0.35);
  --muted: #a1a1aa;
  --text: #fafafa;
  --bg: #09090b;
  --gradient-accent: linear-gradient(135deg, #dc2626 0%, #f59e0b 100%);
  --gradient-dark: linear-gradient(180deg, #09090b 0%, #18181b 100%);
  --neon-cyan: #00f5ff;
  --neon-pink: #ff00ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  overflow-x: hidden;
  font-family: 'Rajdhani', 'Audiowide', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   BACKGROUND LAYERS
   ========================================= */
.geo-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  background: var(--bg);
}

.geo-grid {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23dc2626' fill-opacity='0.15'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: gridFloat 20s ease-in-out infinite;
}

@keyframes gridFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.02); }
}

.geo-lines {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(-45deg, transparent, transparent 80px, rgba(220, 38, 38, 0.03) 80px, rgba(220, 38, 38, 0.03) 81px);
}

.geo-glow {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 800px at 0% 100%, rgba(220, 38, 38, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 600px 600px at 100% 0%, rgba(245, 158, 11, 0.1) 0%, transparent 60%);
  animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% { opacity: 1; }
  100% { opacity: 0.5; }
}

/* TECHNO GRID OVERLAY */
.techno-grid {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.techno-particle {
  position: absolute;
  width: 2px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: 0.3;
  animation: particleFall linear infinite;
}

@keyframes particleFall {
  0% { transform: translateY(-100px); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(100vh); opacity: 0; }
}

.scan-line {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), var(--accent), var(--accent-glow), transparent);
  z-index: 5;
  animation: scanMove 4s ease-in-out infinite;
  opacity: 0.6;
  box-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent);
}

@keyframes scanMove {
  0%, 100% { top: 0; }
  50% { top: calc(100vh - 4px); }
}

/* CONTENT WRAPPER */
.mph-overlay {
  position: relative;
  z-index: 20;
  text-align: center;
  color: var(--text);
}

/* =========================================
   NAVIGATION
   ========================================= */
.sidebar {
  position: fixed;
  left: -280px;
  top: 0;
  width: 260px;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  z-index: 1000;
  padding: 30px 20px;
  border-right: 1px solid var(--card-border);
  transition: left 0.3s ease;
  overflow-y: auto;
}

.sidebar.open { left: 0; }

.sidebar h2 {
  color: var(--accent);
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.sidebar a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}

.sidebar a:hover { color: var(--accent); }

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: 1px solid var(--muted);
  color: var(--muted);
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 14px;
}

.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--card-border);
}

.menu-btn {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 18px;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
}

.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 3px;
}

/* =========================================
   HERO - GIVEAWAY
   ========================================= */
.giveaway-hero {
  padding: 16vh 2rem 8vh;
}

.glow-badge {
  display: inline-block;
  padding: 8px 24px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  border: 1px solid var(--accent);
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
  animation: badgePulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(220, 38, 38, 0.5); }
  50% { box-shadow: 0 0 40px rgba(220, 38, 38, 0.8), 0 0 60px rgba(220, 38, 38, 0.4); }
}

.hero h1 {
  font-size: 3.5rem;
  letter-spacing: 6px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  margin: 0 0 15px 0;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255, 107, 0, 0.4));
  line-height: 1.2;
}

.hero h1 .highlight {
  display: block;
  font-size: 4.5rem;
  animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
  0% { filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.5)); }
  100% { filter: drop-shadow(0 0 40px rgba(245, 158, 11, 0.8)); }
}

.hero .tagline {
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.prize-value {
  font-size: 1.3rem;
  color: var(--accent-2);
  font-weight: 600;
  margin-top: 15px;
}

/* =========================================
   COUNTDOWN TIMER - TECHNO STYLE
   ========================================= */
.countdown-container {
  padding: 40px 20px 60px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.5), transparent);
}

.countdown-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 4px;
  color: var(--muted);
  margin-bottom: 25px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.time-block {
  position: relative;
  background: linear-gradient(180deg, rgba(20,20,20,0.9), rgba(10,10,10,0.95));
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 20px 25px;
  min-width: 100px;
  box-shadow:
    0 0 20px rgba(220, 38, 38, 0.3),
    inset 0 0 30px rgba(220, 38, 38, 0.1);
  overflow: hidden;
}

.time-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent);
  pointer-events: none;
}

.time-block::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.time-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.3), transparent);
  pointer-events: none;
  animation: innerGlow 2s ease-in-out infinite;
}

@keyframes innerGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.time-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text);
  text-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent-glow);
  position: relative;
  z-index: 2;
}

.time-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--accent);
  margin-top: 8px;
  text-transform: uppercase;
}

.time-separator {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  color: var(--accent);
  animation: separatorBlink 1s ease-in-out infinite;
}

@keyframes separatorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.time-block.pulse {
  animation: blockPulse 0.1s ease-out;
}

@keyframes blockPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); border-color: var(--accent-2); }
  100% { transform: scale(1); }
}

.countdown-date {
  margin-top: 25px;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 1px;
}

.ended-message {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: 4px;
  padding: 30px;
  animation: endedBlink 1s ease-in-out infinite;
}

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

/* =========================================
   CONTENT SECTIONS
   ========================================= */
.content-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 25px;
}

.content-section h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: 3px;
  margin-bottom: 30px;
}

/* Prize Section */
.prize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.prize-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 35px 25px;
  transition: all 0.3s ease;
}

.prize-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(220, 38, 38, 0.2);
}

.prize-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  border-radius: 50%;
}

.prize-icon svg {
  width: 30px;
  height: 30px;
  stroke: white;
}

.prize-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 12px;
}

.prize-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================
   GIVEAWAY FORM
   ========================================= */
.form-section {
  background: linear-gradient(180deg, rgba(0,0,0,0.3), transparent, rgba(0,0,0,0.3));
}

.form-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.giveaway-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666;
}

.form-group select {
  cursor: pointer;
}

.form-divider {
  text-align: center;
  margin: 30px 0;
  position: relative;
}

.form-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--card-border);
}

.form-divider span {
  background: var(--bg);
  padding: 0 20px;
  position: relative;
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.form-terms {
  margin: 30px 0;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.checkbox-container input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  margin-top: 2px;
}

.submit-btn {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  border-radius: 8px;
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 30px rgba(220, 38, 38, 0.4);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(220, 38, 38, 0.6);
}

.submit-btn svg {
  width: 20px;
  height: 20px;
}

/* =========================================
   RULES
   ========================================= */
.rules-section {
  text-align: left;
}

.rules-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}

.rules-list li {
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--muted);
  position: relative;
}

.rules-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* =========================================
   CTA & FOOTER
   ========================================= */
.cta-strip {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(245, 158, 11, 0.1));
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 50px 25px;
  margin-top: 40px;
}

.cta-strip h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text);
}

.cta-strip p {
  color: var(--muted);
  margin-bottom: 25px;
}

.cta-button {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid var(--accent);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.6);
}

.cta-button.alt {
  border-color: var(--muted);
  color: var(--muted);
}

.cta-button.alt:hover {
  border-color: var(--text);
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

.footer {
  padding: 40px 25px;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer p { margin: 5px 0; }
.footer a { color: inherit; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero h1 .highlight { font-size: 2.8rem; }

  .time-block {
    min-width: 70px;
    padding: 15px;
  }
  .time-value { font-size: 2.2rem; }
  .time-separator { font-size: 2rem; }

  .form-row,
  .form-row.three-col {
    grid-template-columns: 1fr;
  }

  .prize-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .countdown-timer {
    gap: 5px;
  }
  .time-block {
    min-width: 60px;
    padding: 12px 10px;
  }
  .time-value { font-size: 1.8rem; }
  .time-separator { font-size: 1.5rem; }
  .time-label { font-size: 0.65rem; }
}

/* SITE CREDIT - rea.media */
.site-credit { font-size: 0.75rem; color: #666; text-align: center; padding: 1rem 0; margin-top: 1rem; border-top: 1px solid rgba(128, 128, 128, 0.15); }
.site-credit a { color: inherit; text-decoration: none; font-weight: 500; transition: opacity 0.2s ease; }
.site-credit a:hover { opacity: 0.6; }
