/* ============================================= */
/* 🌌 TITAN DONATIONS PAGE STYLES */
/* ============================================= */

/* Base layout (keeps Titan aesthetic but isolated) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.5;
}

/* Global container for consistent centering */
section, header, footer, .hero, .profile, .retro-arcade {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}

.bg-fallback {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.bg-fallback video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.ticker {
  background: linear-gradient(to right, #ff0000, #8b0000);
  padding: 0.5rem;
  text-align: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  animation: scroll 15s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

header {
 padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 9;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  width: 160px;
}

nav input {
  padding: 0.5rem 1rem;
  border: 1px solid crimson;
  border-radius: 20px;
  background: #111;
  color: #fff;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

/* === NAV BUTTONS (Match Titan Button Style) === */
.menu a {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  background: #111;
  border: 2px solid red;
  box-shadow: 0 0 10px red;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: heartbeat 4s infinite ease-in-out;
}

/* Hover glow and pulse */
.menu a:hover {
  background: red;
  color: #000;
  box-shadow: 0 0 25px crimson, 0 0 50px red;
  transform: scale(1.05);
}

/* Shine sweep animation */
.menu a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  animation: shine 4s infinite linear;
}
.menu a:hover {
  color: crimson;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.modal-content {
  background: #111;
  padding: 2rem;
  border-radius: 10px;
  border: 2px solid crimson;
  max-width: 400px;
  width: 90%;
}

.modal-close {
  float: right;
  cursor: pointer;
  font-size: 1.5rem;
}
/* 🌐 Language selector styling */
.language-selector-footer label,
.language-selector-footer select {
  color: var(--text-color);
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

body.light-mode .language-selector-footer label,
body.light-mode .language-selector-footer select {
  color: #a00000;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

body {
  font-family: 'Orbitron', sans-serif;
  background: radial-gradient(circle at 50% 20%, #111 0%, #000 70%);
  color: #fff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.6;
  text-align: center;
  transition: background 1s ease, color 0.5s ease;
}

body.light-mode {
  background: linear-gradient(160deg, #e3f2fd 0%, #fff9c4 40%, #ffe0b2 100%);
  color: #111;
}

/* Keep your existing Titan feel */
canvas#stars {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
}

/* === TITAN GLOW EFFECT === */
.titan-glow {
  font-weight: 900;
  color: #ff2b2b;
  text-shadow:
    0 0 8px rgba(255, 0, 0, 0.8),
    0 0 16px rgba(255, 30, 30, 0.5),
    0 0 25px rgba(255, 0, 0, 0.4);
  animation: titanPulse 3s infinite ease-in-out;
}

@keyframes titanPulse {
  0%, 100% {
    text-shadow:
      0 0 8px rgba(255, 0, 0, 0.8),
      0 0 16px rgba(255, 30, 30, 0.5),
      0 0 25px rgba(255, 0, 0, 0.4);
  }
  50% {
    text-shadow:
      0 0 16px rgba(255, 60, 60, 1),
      0 0 30px rgba(255, 0, 0, 0.7),
      0 0 45px rgba(255, 0, 0, 0.5);
  }
}

/* Light mode variant */
body.light-mode .titan-glow {
  color: #b80000;
  text-shadow:
    0 0 4px rgba(255, 120, 120, 0.5),
    0 0 10px rgba(255, 50, 50, 0.4);
}

/* === Donation Section === */
section.fade-in {
  max-width: 900px;
  margin: 4rem auto;
  background: rgba(0, 0, 0, 0.65);
  border: 2px solid red;
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.4);
  animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === TITLES === */
h2, h3 {
  text-transform: uppercase;
  text-shadow: 0 0 15px red, 0 0 25px crimson;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.4rem;
}

h3 {
  font-size: 1.6rem;
}

/* === Donation List === */
ul.donation-list {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem auto;
  text-align: left;
  max-width: 650px;
}

ul.donation-list li {
  font-size: 1.1rem;
  margin: 0.7rem 0;
  padding-left: 1.2rem;
  position: relative;
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
}

ul.donation-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: red;
  text-shadow: 0 0 8px red;
}

/* === Buttons === */
.cta {
  display: inline-block;
  background: #111;
  border: 2px solid red;
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 0 15px red;
  transition: all 0.3s ease;
  animation: heartbeat 4s infinite ease-in-out;
}

.cta:hover {
  background: red;
  color: #000;
  box-shadow: 0 0 25px crimson, 0 0 50px red;
  transform: scale(1.05);
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px red, 0 0 20px crimson; }
  50% { transform: scale(1.03); box-shadow: 0 0 25px red, 0 0 40px crimson; }
}

/* === Footer === */
footer {
  margin-top: 4rem;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 8px red;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
}

footer a:hover {
  color: red;
  text-shadow: 0 0 10px crimson;
}

/* === ✨ ADD LEFT-TO-RIGHT SHINE EFFECT TO DONATION BUTTONS === */
.cta {
  position: relative;
  overflow: hidden; /* ensures the shine stays inside the button */
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 4s infinite linear;
}

/* ✨ Shine animation keyframes */
@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

/* === Adjust Donate Button Spacing === */
.cta {
  margin-top: 2rem;   /* pushes it down slightly */
  margin-bottom: 2rem; /* adds breathing room below */
}

/* === TITAN STRONG GLOW EFFECT === */
strong {
  color: #ff2b2b; /* Titan red */
  font-weight: 900;
  text-shadow:
    0 0 8px rgba(255, 0, 0, 0.8),
    0 0 16px rgba(255, 30, 30, 0.5),
    0 0 25px rgba(255, 0, 0, 0.4);
  letter-spacing: 0.5px;
  transition: all 0.3s ease-in-out;
}

/* Optional hover pulse */
strong:hover {
  text-shadow:
    0 0 12px rgba(255, 50, 50, 0.9),
    0 0 25px rgba(255, 0, 0, 0.6);
  transform: scale(1.05);
}

/* Light mode variant */
body.light-mode strong {
  color: #b80000;
  text-shadow:
    0 0 5px rgba(255, 100, 100, 0.5),
    0 0 10px rgba(255, 50, 50, 0.3);
}

.language-selector select,
.language-selector-footer select {
  background: #111;
  color: #fff;
  border: 2px solid red;
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  box-shadow: 0 0 10px red;
}

.language-selector select:hover,
.language-selector-footer select:hover {
  background: red;
  color: #000;
  box-shadow: 0 0 25px crimson, 0 0 50px red;
}

/* Button toggle */
button#theme-toggle {
  background: none;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: 8px;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.2rem;
}
button#theme-toggle:hover {
  background: var(--accent-color);
  color: var(--bg-color);
  box-shadow: 0 0 10px var(--accent-color);
}

/* === Footer List Cleanup === */
footer ul {
  list-style: none;       /* 🚫 removes bullets */
  padding: 0;             /* removes default spacing */
  margin: 0;              /* ensures tight alignment */
  display: flex;          /* places links in a row */
  justify-content: center;/* centers horizontally */
}

footer li {
  margin: 0;              /* no extra padding on items */
  padding: 0;
}
