/* ============================================================
   ANIMALITOS PEGASUS - Main Stylesheet
   Cosmic/Celestial Theme with Gold Accents
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Background */
  --bg-dark: #0a0015;
  --bg-deep: #1a0a2e;
  --bg-gradient: linear-gradient(135deg, #0a0015 0%, #1a0a2e 50%, #0d0020 100%);

  /* Primary & Secondary */
  --primary: #2d1b69;
  --primary-light: #3d2b7a;
  --primary-dark: #1e1050;
  --secondary: #6b3fa0;
  --secondary-light: #8b5fc0;

  /* Gold / Accent */
  --gold: #d4a017;
  --gold-bright: #ffd700;
  --gold-dark: #b8860b;
  --gold-gradient: linear-gradient(135deg, #d4a017, #ffd700, #d4a017);
  --gold-gradient-hover: linear-gradient(135deg, #ffd700, #ffe44d, #ffd700);

  /* Purple Tones */
  --purple-light: #9b59b6;
  --purple-muted: #7b4a9e;
  --purple-faint: #e0d0ff;

  /* Card & Glass */
  --card-bg: rgba(45, 27, 105, 0.6);
  --card-bg-hover: rgba(60, 37, 130, 0.75);
  --glass-bg: rgba(10, 0, 21, 0.85);
  --glass-border: rgba(107, 63, 160, 0.3);

  /* Text */
  --text-white: #ffffff;
  --text-light: #e0d0ff;
  --text-muted: #a89bc7;
  --text-gold: #ffd700;

  /* Status */
  --success: #27ae60;
  --success-dark: #1e8449;
  --danger: #e74c3c;
  --danger-dark: #c0392b;
  --info: #3498db;
  --warning: #f39c12;

  /* Social Brand Colors */
  --facebook: #1877f2;
  --twitter: #14171a;
  --instagram-gradient: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  --tiktok: #fe2c55;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 20px rgba(212, 160, 23, 0.4);
  --shadow-gold-intense: 0 0 30px rgba(255, 215, 0, 0.6);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Typography */
  --font-body: 'Poppins', sans-serif;
  --font-heading: 'Orbitron', sans-serif;

  /* Layout */
  --container-max: 1280px;
  --header-height: 70px;
  --sidebar-width: 260px;
}


/* ============================================================
   2. GLOBAL RESET & BASE STYLES
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-white);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-bright);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}


/* ============================================================
   3. HEADER / NAVBAR
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: background var(--transition-base);
}

.header.scrolled {
  background: rgba(10, 0, 21, 0.95);
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.header-logo img {
  max-height: 60px;
  width: auto;
  transition: transform var(--transition-base);
}

.header-logo:hover img {
  transform: scale(1.05);
}

.header-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-bright);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Header Social Icons */
.header-social {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(107, 63, 160, 0.3);
  color: var(--text-light);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.header-social a:hover {
  background: var(--gold);
  color: var(--bg-dark);
  transform: scale(1.1);
  box-shadow: var(--shadow-gold);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 0, 21, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-light);
  padding: var(--space-sm) var(--space-xl);
  transition: color var(--transition-fast);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold-bright);
}

.mobile-nav .mobile-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}


/* ============================================================
   4. HERO / BANNER SECTION
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  background: linear-gradient(180deg, rgba(45, 27, 105, 0.4) 0%, rgba(10, 0, 21, 0) 100%);
  overflow: hidden;
}

/* Starry background overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(255, 215, 0, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 50% 30%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 70% 70%, rgba(212, 160, 23, 0.5), transparent),
    radial-gradient(1px 1px at 90% 15%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 15% 80%, rgba(255, 215, 0, 0.4), transparent),
    radial-gradient(1px 1px at 85% 50%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 45% 90%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 60% 10%, rgba(255, 215, 0, 0.5), transparent),
    radial-gradient(1px 1px at 25% 45%, rgba(255, 255, 255, 0.4), transparent);
  animation: sparkle 4s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(212, 160, 23, 0.4));
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  font-weight: 300;
  letter-spacing: 1px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-date {
  display: inline-block;
  margin-top: var(--space-md);
  padding: var(--space-xs) var(--space-lg);
  background: rgba(107, 63, 160, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  color: var(--text-light);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}


/* ============================================================
   5. SEARCH / FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  margin: calc(-1 * var(--space-xl)) auto var(--space-2xl);
  max-width: 600px;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  flex-wrap: wrap;
}

.filter-bar label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  white-space: nowrap;
}

.filter-bar input[type="date"],
.filter-bar select {
  padding: 0.6rem 1rem;
  background: rgba(30, 16, 80, 0.8);
  color: var(--text-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
  min-width: 160px;
}

.filter-bar input[type="date"]:focus,
.filter-bar select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212, 160, 23, 0.2);
}

/* Custom date input icon color */
.filter-bar input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) saturate(3) hue-rotate(10deg);
  cursor: pointer;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.6rem 1.5rem;
  background: var(--gold-gradient);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.filter-btn:active {
  transform: translateY(0);
}


/* ============================================================
   6. SECTION HEADINGS
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  padding-bottom: var(--space-md);
}

.section-title h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

/* Decorated heading with side lines */
.section-title-decorated {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.section-title-decorated::before,
.section-title-decorated::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-title-decorated h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-bright);
  white-space: nowrap;
}

/* Lottery/schedule name heading */
.lottery-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold-bright);
  text-align: center;
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) var(--space-lg);
  border-bottom: 1px solid rgba(212, 160, 23, 0.3);
  display: inline-block;
}


/* ============================================================
   7. RESULTS GRID
   ============================================================ */
.results-section {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  padding: 0 var(--space-sm);
}

/* Result Card */
.result-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 160, 23, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  animation: fadeInUp 0.6s ease-out both;
  position: relative;
  overflow: hidden;
}

/* Stagger animation for cards */
.result-card:nth-child(1)  { animation-delay: 0.05s; }
.result-card:nth-child(2)  { animation-delay: 0.10s; }
.result-card:nth-child(3)  { animation-delay: 0.15s; }
.result-card:nth-child(4)  { animation-delay: 0.20s; }
.result-card:nth-child(5)  { animation-delay: 0.25s; }
.result-card:nth-child(6)  { animation-delay: 0.30s; }
.result-card:nth-child(7)  { animation-delay: 0.35s; }
.result-card:nth-child(8)  { animation-delay: 0.40s; }
.result-card:nth-child(9)  { animation-delay: 0.45s; }
.result-card:nth-child(10) { animation-delay: 0.50s; }
.result-card:nth-child(11) { animation-delay: 0.55s; }
.result-card:nth-child(12) { animation-delay: 0.60s; }

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top center, rgba(212, 160, 23, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.result-card:hover {
  transform: scale(1.05);
  border-color: var(--gold);
  background: var(--card-bg-hover);
  box-shadow: var(--shadow-gold-intense);
}

/* Animal Image */
.result-card .animal-img-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-full);
  border: 3px solid var(--gold);
  overflow: hidden;
  background: rgba(30, 16, 80, 0.5);
  box-shadow: 0 0 15px rgba(212, 160, 23, 0.2);
  transition: all var(--transition-base);
}

.result-card:hover .animal-img-wrapper {
  border-color: var(--gold-bright);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

.result-card .animal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Animal Number */
.result-card .animal-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: var(--space-xs);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Animal Name */
.result-card .animal-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}

/* Schedule/Time */
.result-card .animal-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.result-card .animal-schedule {
  font-size: 0.8rem;
  color: var(--purple-light);
  font-weight: 500;
  margin-top: var(--space-xs);
}


/* ============================================================
   8. "SIN IMAGEN" PLACEHOLDER
   ============================================================ */
.animal-img-placeholder {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-full);
  border: 3px solid var(--gold);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(212, 160, 23, 0.2);
  transition: all var(--transition-base);
}

.animal-img-placeholder::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('../imagenes/logo.png') center/60% no-repeat;
  opacity: 0.3;
}

.animal-img-placeholder::after {
  content: '?';
  position: relative;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 215, 0, 0.5);
  z-index: 1;
}

.result-card:hover .animal-img-placeholder {
  border-color: var(--gold-bright);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}


/* ============================================================
   9. FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, var(--bg-dark), #050010);
  border-top: 1px solid var(--glass-border);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
}

.footer .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-brand img {
  height: 50px;
  width: 50px;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-bright);
  padding-left: var(--space-xs);
}

/* ============================================================
   Rules / Premios Section
   ============================================================ */
.rules-section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.rules-section .section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 2rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2xl);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 700px;
  margin: 0 auto;
}

.rule-card {
  background: rgba(45, 27, 105, 0.5);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 16px;
  padding: var(--space-xl);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.rule-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.15);
}

.rule-card-special {
  background: linear-gradient(135deg, rgba(45, 27, 105, 0.6), rgba(107, 63, 160, 0.4));
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.rule-icon {
  color: var(--gold-bright);
  margin-bottom: var(--space-md);
}

.rule-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.rule-payout {
  font-family: var(--font-display);
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.rule-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.rule-card p strong {
  color: var(--gold-bright);
}

.btn-download-reglamento {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a0a3e;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-download-reglamento:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
  background: linear-gradient(135deg, var(--gold-bright), #fff8a0);
}

@media (max-width: 576px) {
  .rules-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Social */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-social h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-social-icons {
  display: flex;
  gap: var(--space-sm);
}

.footer-social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(107, 63, 160, 0.25);
  color: var(--text-light);
  font-size: 1.1rem;
  transition: all var(--transition-base);
}

.footer-social-icons a:hover {
  background: var(--gold);
  color: var(--bg-dark);
  transform: scale(1.15);
  box-shadow: var(--shadow-gold);
}

/* Footer Bottom / Copyright */
.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(107, 63, 160, 0.2);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--gold);
}

.footer-bottom a:hover {
  color: var(--gold-bright);
}


/* ============================================================
   10. SOCIAL MEDIA BUTTONS (Branded)
   ============================================================ */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  color: var(--text-white);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.social-btn:hover {
  transform: scale(1.15);
  color: var(--text-white);
}

/* Facebook */
.social-btn-facebook {
  background: var(--facebook);
}
.social-btn-facebook:hover {
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.5);
}

/* Twitter / X */
.social-btn-twitter {
  background: var(--twitter);
}
.social-btn-twitter:hover {
  box-shadow: 0 0 20px rgba(20, 23, 26, 0.5);
  background: #333;
}

/* Instagram */
.social-btn-instagram {
  background: var(--instagram-gradient);
}
.social-btn-instagram:hover {
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.5);
}

/* TikTok */
.social-btn-tiktok {
  background: var(--tiktok);
}
.social-btn-tiktok:hover {
  box-shadow: 0 0 20px rgba(254, 44, 85, 0.5);
}


/* ============================================================
   11. ANIMATIONS / KEYFRAMES
   ============================================================ */
@keyframes sparkle {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes pulseGlow {
  0%   { box-shadow: 0 0 5px rgba(212, 160, 23, 0.2); }
  50%  { box-shadow: 0 0 20px rgba(212, 160, 23, 0.5); }
  100% { box-shadow: 0 0 5px rgba(212, 160, 23, 0.2); }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Apply pulse to logo */
.logo-pulse {
  animation: pulse 3s ease-in-out infinite;
}


/* ============================================================
   12. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-title {
    font-size: 2rem;
  }

  .footer .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    gap: var(--space-md);
  }

  .nav-links a {
    font-size: 0.88rem;
  }
}

/* Mobile: < 768px */
@media (max-width: 767px) {
  :root {
    --header-height: 60px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  /* Header Mobile */
  .hamburger {
    display: flex;
  }

  .nav-links,
  .header-social {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  .header-logo-text {
    font-size: 0.9rem;
  }

  .header-logo img {
    max-height: 45px;
  }

  /* Hero Mobile */
  .hero {
    min-height: 240px;
    padding: calc(var(--header-height) + var(--space-2xl)) var(--space-md) var(--space-2xl);
  }

  .hero-title {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  /* Grid Mobile */
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .result-card {
    padding: var(--space-md);
  }

  .result-card .animal-img-wrapper,
  .animal-img-placeholder {
    width: 90px;
    height: 90px;
  }

  .result-card .animal-number {
    font-size: 1.3rem;
  }

  .result-card .animal-name {
    font-size: 0.85rem;
  }

  /* Section Titles Mobile */
  .section-title h2 {
    font-size: 1.3rem;
  }

  .section-title-decorated h2 {
    font-size: 1.1rem;
  }

  /* Filter Bar Mobile */
  .filter-bar {
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-md);
    margin: 0 var(--space-md) var(--space-xl);
    max-width: none;
  }

  .filter-bar input[type="date"],
  .filter-bar select {
    width: 100%;
  }

  .filter-btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer Mobile */
  .footer .container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-social {
    align-items: center;
  }

  .footer-social-icons {
    justify-content: center;
  }
}

/* Small Mobile: < 480px */
@media (max-width: 479px) {
  .results-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 1.25rem;
  }

  .section-title h2 {
    font-size: 1.1rem;
  }
}


/* ============================================================
   13. ADMIN PANEL STYLES
   ============================================================ */

/* Admin Layout */
.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

.admin-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: var(--space-xl);
}

/* Admin Header */
.admin-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: rgba(10, 0, 21, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  z-index: 900;
}

.admin-header img {
  max-height: 36px;
}

.admin-header-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--gold-bright);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.admin-header-user {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Admin Sidebar */
.admin-sidebar {
  position: fixed;
  top: 56px;
  left: 0;
  width: var(--sidebar-width);
  height: calc(100vh - 56px);
  background: rgba(15, 5, 35, 0.95);
  border-right: 1px solid var(--glass-border);
  padding: var(--space-xl) 0;
  overflow-y: auto;
  z-index: 800;
}

.admin-sidebar-nav {
  display: flex;
  flex-direction: column;
}

.admin-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem var(--space-xl);
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
}

.admin-sidebar-nav a:hover {
  background: rgba(107, 63, 160, 0.15);
  color: var(--text-white);
  border-left-color: var(--secondary);
}

.admin-sidebar-nav a.active {
  background: rgba(107, 63, 160, 0.2);
  color: var(--gold-bright);
  border-left-color: var(--gold);
}

.admin-sidebar-nav a i,
.admin-sidebar-nav a .icon {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.admin-sidebar-section {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: var(--space-lg) var(--space-xl) var(--space-sm);
  opacity: 0.6;
}

/* Admin Main Content */
.admin-main {
  margin-left: var(--sidebar-width);
  margin-top: 56px;
  padding: var(--space-2xl);
  min-height: calc(100vh - 56px);
  flex: 1;
}

.admin-page-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-white);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--glass-border);
}

/* Admin Cards */
.admin-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.admin-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold-bright);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Admin Stats Row */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.admin-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
}

.admin-stat-card .stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-bright);
  display: block;
}

.admin-stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: var(--space-xs);
}

/* Admin Table */
.admin-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table thead {
  background: rgba(45, 27, 105, 0.8);
}

.admin-table th {
  padding: 0.85rem var(--space-md);
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(212, 160, 23, 0.3);
  white-space: nowrap;
}

.admin-table td {
  padding: 0.75rem var(--space-md);
  color: var(--text-light);
  border-bottom: 1px solid rgba(107, 63, 160, 0.15);
  vertical-align: middle;
}

.admin-table tbody tr {
  transition: background var(--transition-fast);
}

.admin-table tbody tr:nth-child(even) {
  background: rgba(45, 27, 105, 0.2);
}

.admin-table tbody tr:nth-child(odd) {
  background: rgba(30, 16, 80, 0.15);
}

.admin-table tbody tr:hover {
  background: rgba(107, 63, 160, 0.25);
}

.admin-table img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--gold);
}

/* Admin Forms */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.admin-form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.3px;
}

.admin-form-group input[type="text"],
.admin-form-group input[type="email"],
.admin-form-group input[type="password"],
.admin-form-group input[type="number"],
.admin-form-group input[type="date"],
.admin-form-group input[type="time"],
.admin-form-group input[type="url"],
.admin-form-group textarea {
  padding: 0.7rem var(--space-md);
  background: rgba(30, 16, 80, 0.6);
  color: var(--text-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.admin-form-group input:focus,
.admin-form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.25);
  background: rgba(30, 16, 80, 0.8);
}

.admin-form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.admin-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

/* Admin Select */
.admin-select {
  padding: 0.7rem var(--space-md);
  background: rgba(30, 16, 80, 0.6);
  color: var(--text-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e0d0ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  transition: all var(--transition-fast);
}

.admin-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.25);
}

.admin-select option {
  background: var(--primary-dark);
  color: var(--text-white);
}

/* Admin Buttons */
.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--gold-gradient);
  color: var(--bg-dark);
}

.admin-btn:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.admin-btn:active {
  transform: translateY(0);
}

.admin-btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

.admin-btn-danger {
  background: linear-gradient(135deg, var(--danger), #c0392b);
  color: var(--text-white);
}

.admin-btn-danger:hover {
  background: linear-gradient(135deg, #e74c3c, #e55039);
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.4);
}

.admin-btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--glass-border);
}

.admin-btn-secondary:hover {
  border-color: var(--secondary-light);
  background: rgba(107, 63, 160, 0.15);
  box-shadow: none;
}

.admin-btn-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Admin Login */
.admin-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--space-xl);
}

.admin-login-card {
  width: 100%;
  max-width: 420px;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
}

.admin-login-card img {
  max-height: 70px;
  margin: 0 auto var(--space-xl);
}

.admin-login-card h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold-bright);
  margin-bottom: var(--space-xl);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-login-card .admin-form-group {
  text-align: left;
}

.admin-login-card .admin-btn {
  width: 100%;
  margin-top: var(--space-md);
}

/* Admin Alerts */
.admin-alert {
  padding: 0.85rem var(--space-lg);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  animation: fadeIn 0.3s ease-out;
}

.admin-alert-success {
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid rgba(39, 174, 96, 0.4);
  color: #2ecc71;
}

.admin-alert-error {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.4);
  color: #e74c3c;
}

.admin-alert-warning {
  background: rgba(243, 156, 18, 0.15);
  border: 1px solid rgba(243, 156, 18, 0.4);
  color: #f39c12;
}

.admin-alert-info {
  background: rgba(52, 152, 219, 0.15);
  border: 1px solid rgba(52, 152, 219, 0.4);
  color: #3498db;
}

/* Admin Nav Tabs */
.admin-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--glass-border);
  margin-bottom: var(--space-xl);
  overflow-x: auto;
}

.admin-nav a,
.admin-nav button {
  padding: 0.75rem var(--space-xl);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--transition-fast);
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.admin-nav a:hover,
.admin-nav button:hover {
  color: var(--text-white);
  background: rgba(107, 63, 160, 0.1);
}

.admin-nav a.active,
.admin-nav button.active {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}

/* Admin Responsive */
@media (max-width: 1024px) {
  .admin-sidebar {
    width: 220px;
  }

  .admin-main {
    margin-left: 220px;
  }
}

@media (max-width: 767px) {
  .admin-sidebar {
    position: fixed;
    left: -280px;
    width: 260px;
    transition: left var(--transition-base);
    z-index: 850;
  }

  .admin-sidebar.open {
    left: 0;
  }

  .admin-main {
    margin-left: 0;
    padding: var(--space-lg);
  }

  .admin-header {
    padding: 0 var(--space-md);
  }

  .admin-form-row {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-nav {
    gap: 0;
  }

  .admin-nav a,
  .admin-nav button {
    padding: 0.65rem var(--space-md);
    font-size: 0.8rem;
  }
}


/* ============================================================
   14. UTILITY CLASSES
   ============================================================ */

/* Text */
.text-gold {
  color: var(--gold-bright) !important;
}

.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-success {
  color: var(--success) !important;
}

.text-danger {
  color: var(--danger) !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.text-sm {
  font-size: 0.85rem !important;
}

/* Margins */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }

/* Padding */
.p-1 { padding: 0.5rem !important; }
.p-2 { padding: 1rem !important; }
.p-3 { padding: 1.5rem !important; }

/* Display */
.d-flex {
  display: flex !important;
}

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.align-center {
  align-items: center !important;
}

.justify-center {
  justify-content: center !important;
}

.justify-between {
  justify-content: space-between !important;
}

.gap-1 { gap: 0.5rem !important; }
.gap-2 { gap: 1rem !important; }
.gap-3 { gap: 1.5rem !important; }

.flex-wrap {
  flex-wrap: wrap !important;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.65rem 1.5rem;
  background: var(--gold-gradient);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
  color: var(--bg-dark);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.65rem 1.5rem;
  background: transparent;
  color: var(--purple-light);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid var(--purple-light);
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-secondary:hover {
  background: rgba(155, 89, 182, 0.15);
  border-color: var(--secondary-light);
  color: var(--secondary-light);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* No Results */
.no-results {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  color: var(--text-muted);
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  opacity: 0.4;
}

.no-results h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.no-results p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto;
}

/* Loading Spinner */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(107, 63, 160, 0.3);
  border-top-color: var(--gold);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: rgba(212, 160, 23, 0.2);
  color: var(--gold-bright);
  border: 1px solid rgba(212, 160, 23, 0.4);
}

.badge-success {
  background: rgba(39, 174, 96, 0.2);
  color: #2ecc71;
  border: 1px solid rgba(39, 174, 96, 0.4);
}

.badge-danger {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.4);
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: var(--space-xl) 0;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 0, 21, 0.5);
}

::-webkit-scrollbar-thumb {
  background: rgba(107, 63, 160, 0.4);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(107, 63, 160, 0.6);
}

/* Selection */
::selection {
  background: rgba(212, 160, 23, 0.3);
  color: var(--text-white);
}

/* Focus Visible (accessibility) */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Visually Hidden (screen readers) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
