/* ====== GLOBAL RESET ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at top, #ff4500 0%, #1a1a1a 80%) !important;
  color: #e6e6e6;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

/* ====== HEADER ====== */
header {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(0,0,0,0.7);
  border-bottom: 3px solid #ff4500;
}

header .logo {
  max-width: 280px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 6px rgba(255,69,0,0.6));
}

header .tagline {
  font-family: 'Permanent Marker', cursive;
  font-size: 2rem;
  margin-top: 1rem;
  color: #fff;
  text-shadow: 0 0 8px #ff4500, 0 0 15px #ff6347;
  letter-spacing: 2px;
  animation: neon-pulse 4s ease-in-out infinite;
}

/* Smooth neon pulse animation */
@keyframes neon-pulse {
  0%, 100% {
    text-shadow: 0 0 6px #ff4500, 0 0 12px #ff6347;
    opacity: 0.9;
  }
  50% {
    text-shadow: 0 0 14px #ff4500, 0 0 28px #ff6347;
    opacity: 1;
  }
}

/* === Shared Bar Style (Nav + Footer) === */
.bar-style {
  position: relative;              /* needed for pseudo-elements */
  background: rgba(0,0,0,0.7);     /* dark translucent background */
  color: #fafafa;
  backdrop-filter: blur(4px);
  box-shadow: 0 -1px 6px #FF6A00, 0 -1px 12px rgba(255, 106, 0, 0.6);
  overflow: hidden;                /* keep sparks contained */
}

/* Animated fiery lines (top & bottom) */
.bar-style::before,
.bar-style::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    #ff4500,
    #ff6a00,
    #ff4500,
    #ff6a00,
    #ff4500
  );
  background-size: 300% 100%;
  animation: fire-line 6s linear infinite, fire-flicker 1.5s ease-in-out infinite;

  /* jagged edge effect */
  mask-image: repeating-linear-gradient(
    -45deg,
    rgba(0,0,0,1) 0 4px,
    rgba(0,0,0,0) 4px 8px
  );
  -webkit-mask-image: repeating-linear-gradient(
    -45deg,
    rgba(0,0,0,1) 0 4px,
    rgba(0,0,0,0) 4px 8px
  );
}

.bar-style::before { top: 0; }
.bar-style::after  { bottom: 0; }

/* Sparks layer */
.bar-style .sparks {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,106,0,0.8) 0%, transparent 70%);
  background-size: 6px 6px;
  animation: sparks-rise 2s linear infinite;
  opacity: 0.6;
}

/* Animations */
@keyframes fire-line {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes fire-flicker {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.3); }
}

@keyframes sparks-rise {
  0% {
    background-position: 0 100%;
    opacity: 0.8;
  }
  100% {
    background-position: 0 0;
    opacity: 0;
  }
}


/* === NAVIGATION === */
nav {
  @extend .bar-style; /* if using SCSS; otherwise just add class="bar-style" in HTML */
  padding: 1rem;
  text-align: center;
}

nav a {
  color: #fff;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s, text-shadow 0.3s;
}

nav a:hover,
nav a.active {
  color: #FF4500;
  text-shadow: 0 0 10px #FF4500, 0 0 20px #FF6A00;
}

/* === FOOTER === */
#footer {
  font-size: 14px;
  padding: 1.5rem 1rem;
  text-align: center;
  line-height: 1.3;
}

#footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #ccc;
}

#footer .separator {
  margin: 0 0.5rem;
  opacity: 0.6;
  color: #666;
}

#footer .neon-icon {
  margin: 0 0.25rem;
  color: #FF4500;
  font-size: 1.15em;
  vertical-align: middle;
  text-shadow: 0 0 3px #FF4500,
               0 0 6px #FF6A00,
               0 0 9px #FF4500;
  transition: text-shadow 0.3s ease, transform 0.3s ease;
}

#footer .neon-icon:hover {
  transform: scale(1.08);
  text-shadow: 0 0 4px #FF4500,
               0 0 8px #FF6A00,
               0 0 12px #FF4500;
}

#footer .brand-link {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: text-shadow 0.3s ease, transform 0.3s ease;
}

#footer .brand-link:hover {
  transform: scale(1.03);
  text-shadow: 0 0 4px #FF4500,
               0 0 8px #FF6A00,
               0 0 12px #FF4500;
}

#footer .neon-tm {
  color: #FF4500;
  text-shadow: 0 0 3px #FF4500,
               0 0 6px #FF6A00,
               0 0 9px #FF4500;
  font-size: 1.0em;
  margin-left: 3px;
}

@keyframes flameFlicker {
   0%	   { text-shadow: 0 0 3px #FF4500, 0 0 6px #FF6A00, 0 0 9px #FF4500; transform: scale(1); }
  20%      { text-shadow: 0 0 4px #FF6A00, 0 0 8px #FF4500, 0 0 12px #FF6A00; transform: scale(1.03); }
  40%      { text-shadow: 0 0 2px #FF4500, 0 0 4px #FF6A00, 0 0 6px #FF4500;  transform: scale(0.98); }
  60%      { text-shadow: 0 0 5px #FF6A00, 0 0 10px #FF4500, 0 0 15px #FF6A00; transform: scale(1.02); }
  80%      { text-shadow: 0 0 3px #FF4500, 0 0 6px #FF6A00, 0 0 9px #FF4500; transform: scale(1.01); }
}

.flame-flicker {
  animation: flameFlicker 1.5s infinite ease-in-out;
}

/* ====== CONTENT CONTAINERS ====== */
.container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.section {
  margin-bottom: 2rem;
}

.section h2 {
  color: #ff4500;
  margin-bottom: 1rem;
  text-shadow: 0 0 6px #ff4500, 0 0 12px #ff6347;
}

/* ====== UTILITY CLASSES ====== */
.text-center {
  text-align: center;
}

.neon-tm {
  font-size: 0.8em;
  vertical-align: super;
  color: #ff4500;
}
/* === THANK YOU PAGE === */
body.thanks {
  background: linear-gradient(180deg, #111 0%, #1a1a1a 100%);
  color: #f0f0f0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  text-align: center;
  padding: 3rem 1rem;
}

/* Hero Section */
.thanks-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 2rem;
}

.thanks-content {
  max-width: 640px;
  background: #1a1a1a;
  border: 2px solid #ff4500;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 12px rgba(255,69,0,0.3);
}

/* Logo */
.thanks-logo {
  width: 160px;
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  border: 2px solid #ff4500;
  box-shadow: 0 0 10px rgba(255,69,0,0.4);
}

/* Title */
.thanks-title {
  font-family: 'Permanent Marker', cursive;
  font-size: 2.5rem;
  color: #ff4500;
  text-shadow: 0 0 6px #ff4500, 0 0 12px #ff6a00;
  margin-bottom: 1rem;
}

/* Message */
.thanks-message {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #e6e6e6;
  line-height: 1.6;
}

/* Button */
.manual-btn {
  display: inline-block;
  background: #ff4500;
  color: #fff;
  font-family: 'Permanent Marker', cursive;
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 0 10px #ff4500, 0 0 20px #ff6a00;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.manual-btn:hover {
  background: #ff6a00;
  box-shadow: 0 0 12px #ff4500, 0 0 24px #ff6a00;
}

/* Countdown Message */
#countdown-message {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #ccc;
}

#countdown {
  font-weight: bold;
  color: #ff6a00;
  text-shadow: 0 0 6px #ff4500;
}

/* Responsive */
@media (max-width: 768px) {
  .thanks-title {
    font-size: 2rem;
  }

  .thanks-message {
    font-size: 1rem;
  }

  .manual-btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}
