/* =========================================================
   Global Design Tokens — Elegant Mythology
   NOTE: Following AGENTS.md rules for #000000 background out of strict necessity.
   Background : #000000  (pure black - mandated)
   Accent 1   : #B22222  (Deep Red)
   Accent 2   : #FF4500  (Orange)
   Accent 3   : #FFD700  (Yellow)
   Soft Accents (per prompt): #E3AFA0 (Rose Gold), #F2E8E4 (Cream), #8B1C31 (Deep Wine)
   ========================================================= */

:root {
  --color-bg: #000000;
  --color-hero-bg: #2A0812;
  /* Deep Wine overlay to give the aesthetic without violating body bg rule */
  --color-red: #B22222;
  --color-wine: #8B1C31;
  --color-orange: #FF4500;
  --color-yellow: #FFD700;
  --color-rosegold: #E3AFA0;
  --color-cream: #F2E8E4;
  --color-text: #F2E8E4;
  --color-text-dim: #D1BBAA;

  --font-title: 'Cinzel', serif;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg);
  background-image: radial-gradient(circle at top right, rgba(139, 28, 49, 0.15) 0%, transparent 40%),
    radial-gradient(circle at bottom left, rgba(227, 175, 160, 0.05) 0%, transparent 40%);
  color: var(--color-text);
  font-family: var(--font-body);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  animation: fadeIn 0.5s ease-out;
}

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

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.08;
  /* Glowing engraving vibe */
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' width='250' height='250'><g fill='none' stroke='%23E3AFA0' stroke-width='0.8' stroke-opacity='1'><path d='M 0 10 L 20 10 L 20 50 L 10 50 L 10 20 L 0 20 M 200 10 L 180 10 L 180 50 L 190 50 L 190 20 L 200 20 M 0 190 L 20 190 L 20 150 L 10 150 L 10 180 L 0 180 M 200 190 L 180 190 L 180 150 L 190 150 L 190 180 L 200 180'/><rect x='40' y='40' width='120' height='120'/><rect x='45' y='45' width='110' height='110' stroke-dasharray='4 4'/><path d='M 100 65 C 100 65 85 50 75 60 C 65 70 100 100 100 100 C 100 100 135 70 125 60 C 115 50 100 65 100 65'/><path d='M 100 100 L 100 140 M 90 120 L 100 130 L 110 120 M 90 130 L 100 140 L 110 130'/><path d='M 100 10 L 110 20 L 100 30 L 90 20 Z M 100 170 L 110 180 L 100 190 L 90 180 Z M 10 100 L 20 110 L 30 100 L 20 90 Z M 170 100 L 180 110 L 190 100 L 180 90 Z'/></g></svg>");
  background-repeat: repeat;
  background-position: center;
}

h1,
h2,
h3,
h4,
.nav-logo {
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.hero-title,
.nav-logo {
  font-family: var(--font-title);
}

a {
  color: var(--color-rosegold);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--color-cream);
}

.container {
  max-width: 1500px;
  width: 95%;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: hidden;
}

.section {
  padding: 100px 20px;
  overflow-x: hidden;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.8rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--color-rosegold);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1px 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(139, 28, 49, 0.4);
  /* wine border */
}

.nav-container {
  max-width: 1500px;
  width: 95%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--color-rosegold);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
}

.brand-date {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(242, 232, 228, 0.6);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.nav-logo img {
  height: 75px;
  margin-right: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lang-switch {
  background: transparent;
  color: var(--color-cream);
  border: 1px solid var(--color-rosegold);
  padding: 5px 12px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.lang-switch:hover {
  background: var(--color-wine);
  border-color: var(--color-wine);
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 20px;
}

.btn-nav {
  padding: 8px 18px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--color-wine), var(--color-red));
  color: var(--color-cream);
  border: 1px solid var(--color-rosegold);
  box-shadow: 0 0 10px rgba(139, 28, 49, 0.4);
  transition: all 0.3s;
}

.btn-nav:hover {
  background: linear-gradient(135deg, var(--color-red), var(--color-orange));
  box-shadow: 0 0 15px rgba(227, 175, 160, 0.6);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(139, 28, 49, 0.3) 0%, transparent 80%);
  padding-top: 100px;
}

.hero-content {
  max-width: 800px;
}

.hero-logo {
  max-width: 250px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 20px rgba(227, 175, 160, 0.3));
}

.hero-title {
  font-size: 3.5rem;
  color: var(--color-cream);
  text-shadow: 0 4px 20px rgba(139, 28, 49, 0.8);
  margin-bottom: 5px;
  font-weight: 700;
}

.hero-tagline {
  font-size: 1.3rem;
  font-style: italic;
  font-family: var(--font-heading);
  color: var(--color-rosegold);
  margin-bottom: 25px;
}

/* Timer */
.timer-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.time-box {
  background: rgba(139, 28, 49, 0.2);
  border: 1px solid var(--color-rosegold);
  padding: 10px 15px;
  border-radius: 12px;
  min-width: 90px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.time-box span {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-cream);
  display: block;
}

.time-box p {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-rosegold);
  letter-spacing: 2px;
  margin-top: 5px;
}

.delegate-counter {
  display: flex;
  width: fit-content;
  margin: 0 auto 25px auto;
  align-items: center;
  gap: 10px;
  background: rgba(139, 28, 49, 0.2);
  border: 1px solid var(--color-rosegold);
  padding: 8px 20px;
  border-radius: 50px;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.delegate-counter:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 28, 49, 0.5);
}

.counter-icon {
  font-size: 1.5rem;
  color: var(--color-rosegold);
}

.counter-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.counter-number {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-cream);
  text-shadow: 0 0 10px rgba(227, 175, 160, 0.5);
}

.counter-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-cream);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Buttons */
.btn {
  padding: 14px 35px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-glow {
  background: linear-gradient(135deg, var(--color-wine), var(--color-red));
  color: var(--color-cream);
  border: 1px solid var(--color-rosegold);
  box-shadow: 0 0 20px rgba(139, 28, 49, 0.5);
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(227, 175, 160, 0.6);
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--color-red), var(--color-orange));
  /* keeping orange/red accents per rules */
}

/* About Section */
.about {
  background: linear-gradient(to bottom, transparent, rgba(139, 28, 49, 0.05));
}

.about-text {
  font-size: 1.25rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-text-dim);
}

.about-text p {
  margin-bottom: 1.5rem;
}



/* Committees Section */
.committees {
  background-color: transparent;
}

.committees-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.committee-card {
  flex: 0 0 auto;
  width: 360px;
  max-width: 100%;
  background: rgba(42, 8, 18, 0.5);
  border: 1px solid rgba(227, 175, 160, 0.3);
  padding: 0;
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s;
  overflow: hidden;
}

.committee-img {
  position: relative;
  width: 100%;
  height: 450px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(227, 175, 160, 0.3);
}

.committee-content {
  padding: 30px 20px;
}

.committee-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-rosegold);
  box-shadow: 0 15px 30px rgba(139, 28, 49, 0.3);
}

.committee-card h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--color-cream);
  margin-bottom: 15px;
}

.committee-card p {
  color: var(--color-text-dim);
}

/* Registration Section */
.registration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.role-card {
  background: rgba(42, 8, 18, 0.5);
  border: 1px solid rgba(227, 175, 160, 0.3);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hide Google reCAPTCHA floating badge since we added inline terms */
.grecaptcha-badge { 
  visibility: hidden !important; 
}

.role-card:hover {
  border-color: var(--color-rosegold);
  box-shadow: 0 10px 25px rgba(139, 28, 49, 0.4);
  transform: translateY(-5px);
}

.reg-icon {
  font-size: 2.5rem;
  color: var(--color-rosegold);
  margin-bottom: 15px;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.role-card:hover .reg-icon {
  transform: scale(1.1);
  color: var(--color-wine); /* Deep Wine hover */
  text-shadow: 0 0 15px rgba(227, 175, 160, 0.5);
}

.role-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  /* slightly smaller to fit Entertainment easily */
  color: var(--color-cream);
  margin-bottom: 20px;
  word-break: break-word;
  /* ensure long words split if necessary */
}

.role-apply-btn {
  background: transparent;
  color: var(--color-rosegold);
  border: 1px solid var(--color-rosegold);
  padding: 10px 0;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.role-apply-btn:hover {
  background: var(--color-wine);
  color: #fff;
  border-color: var(--color-wine);
}

/* Footer Section */
.footer {
  border-top: 1px solid rgba(227, 175, 160, 0.2);
  padding: 80px 20px 40px;
  background-color: rgba(42, 8, 18, 0.8);
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 60px;
  align-items: stretch;
}

.footer-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--color-rosegold);
  margin-bottom: 30px;
}

.contact-list {
  list-style: none;
  font-size: 1.1rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--color-cream);
}

.contact-list svg {
  color: var(--color-wine);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-socials {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.social-icon {
  color: var(--color-cream);
  transition: all 0.3s;
}

.social-icon:hover {
  color: var(--color-rosegold);
  transform: scale(1.1);
}

.footer-map iframe {
  box-shadow: 0 0 30px rgba(139, 28, 49, 0.4);
  filter: invert(90%) hue-rotate(180deg) contrast(1.1) opacity(0.85);
  border: 1px solid rgba(227, 175, 160, 0.3) !important;
}

.footer-bottom {
  margin-top: 60px;
  font-size: 0.95rem;
  color: var(--color-text-dim);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  padding: 20px;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--color-bg);
  background-image: linear-gradient(135deg, rgba(42, 8, 18, 0.9), rgba(0, 0, 0, 1));
  border: 1px solid var(--color-rosegold);
  border-radius: 12px;
  width: 100%;
  max-width: 650px;
  padding: 45px;
  position: relative;
  box-shadow: 0 0 40px rgba(139, 28, 49, 0.6);
  margin: auto;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--color-rosegold);
  font-size: 35px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: var(--color-cream);
}

.modal-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--color-cream);
  margin-bottom: 10px;
  text-align: center;
}

.modal-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-rosegold);
  margin-bottom: 30px;
  font-style: italic;
  font-family: var(--font-heading);
}

/* Form Styles */
.apply-form .form-group {
  margin-bottom: 22px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 22px;
}

.apply-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-text-dim);
  font-size: 0.95rem;
}

.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form select {
  width: 100%;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(227, 175, 160, 0.4);
  border-radius: 6px;
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s;
}

.apply-form input:focus,
.apply-form select:focus {
  outline: none;
  border-color: var(--color-rosegold);
  box-shadow: 0 0 10px rgba(227, 175, 160, 0.2);
  background: rgba(139, 28, 49, 0.1);
}

.apply-form select option {
  background: var(--color-bg);
  color: var(--color-cream);
}

/* Validation Errors */
.input-error {
  border-color: var(--color-red) !important;
  background: rgba(178, 34, 34, 0.1) !important;
}

.error-msg {
  color: var(--color-orange);
  font-size: 0.85rem;
  margin-top: 5px;
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input {
  margin-top: 5px;
}

.checkbox-group label {
  display: inline;
  font-size: 0.95rem;
}

.recaptcha-container {
  margin: 25px 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(227, 175, 160, 0.5);
  text-align: center;
  border-radius: 6px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(45deg, var(--color-wine), var(--color-red));
  color: var(--color-cream);
  padding: 16px;
  font-size: 1.15rem;
  border-radius: 8px;
  margin-top: 15px;
  font-family: var(--font-title);
  letter-spacing: 2px;
  cursor: pointer;
  border: 1px solid var(--color-rosegold);
  transition: all 0.3s;
}

.btn-submit:hover {
  background: linear-gradient(45deg, var(--color-red), var(--color-orange));
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
}

@media (max-width: 900px) {
  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  color: var(--color-rosegold);
  cursor: pointer;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

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

  .timer-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .time-box {
    min-width: 75px;
    padding: 8px 12px;
  }

  .time-box span {
    font-size: 1.8rem;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(15px);
    text-align: center;
    transition: left 0.4s ease;
    padding: 30px 0;
    z-index: 99;
    gap: 20px;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 10px 0;
  }

  .nav-actions {
    margin-top: 20px;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  /* Delegate counter mobile */
  .delegate-counter {
    padding: 6px 15px;
  }

  .counter-number {
    font-size: 1.3rem;
  }

  .counter-label {
    font-size: 0.75rem;
  }

  /* Committee cards mobile */
  .committee-card {
    width: 100%;
  }

  /* Registration grid mobile */
  .registration-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .role-card {
    padding: 20px 15px;
  }

  .role-title {
    font-size: 1.1rem;
  }

  /* Footer mobile */
  .footer-title {
    font-size: 1.8rem;
  }

  .footer-map iframe {
    min-height: 250px;
  }

  /* Modal mobile */
  .modal-content {
    padding: 30px 20px;
    max-width: 100%;
  }

  .modal-title {
    font-size: 1.6rem;
  }
}

/* =========================================================
   Custom Toast Notification
   ========================================================= */
.toast-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
}

.toast-overlay.active {
  display: flex;
  animation: toastFadeIn 0.3s ease-out;
}

.toast-box {
  background: linear-gradient(145deg, rgba(42, 8, 18, 0.95), rgba(0, 0, 0, 0.98));
  border: 1px solid rgba(227, 175, 160, 0.4);
  border-radius: 20px;
  padding: 45px 40px 35px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow:
    0 0 60px rgba(139, 28, 49, 0.5),
    0 0 120px rgba(139, 28, 49, 0.15),
    inset 0 1px 0 rgba(227, 175, 160, 0.1);
  animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.toast-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
}

.toast-box.toast-success::before {
  background: linear-gradient(90deg, var(--color-yellow), #4ade80, var(--color-yellow));
}

.toast-box.toast-error::before {
  background: linear-gradient(90deg, var(--color-red), var(--color-orange), var(--color-red));
}

.toast-box.toast-warning::before {
  background: linear-gradient(90deg, var(--color-orange), var(--color-yellow), var(--color-orange));
}

.toast-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: toastIconPulse 0.6s ease-out 0.2s both;
}

.toast-success .toast-icon-wrapper {
  background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, transparent 70%);
  border: 2px solid rgba(74, 222, 128, 0.4);
  box-shadow: 0 0 30px rgba(74, 222, 128, 0.2);
}

.toast-error .toast-icon-wrapper {
  background: radial-gradient(circle, rgba(178, 34, 34, 0.2) 0%, transparent 70%);
  border: 2px solid rgba(255, 69, 0, 0.4);
  box-shadow: 0 0 30px rgba(178, 34, 34, 0.3);
}

.toast-warning .toast-icon-wrapper {
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  border: 2px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

#toast-icon {
  font-size: 2rem;
}

.toast-success #toast-icon {
  color: #4ade80;
}

.toast-error #toast-icon {
  color: var(--color-orange);
}

.toast-warning #toast-icon {
  color: var(--color-yellow);
}

.toast-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--color-cream);
  margin-bottom: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.toast-message {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-dim);
  line-height: 1.6;
  margin-bottom: 28px;
}

.toast-close-btn {
  padding: 12px 50px;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--color-rosegold);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-cream);
  background: linear-gradient(135deg, var(--color-wine), var(--color-red));
  box-shadow: 0 4px 15px rgba(139, 28, 49, 0.4);
}

.toast-close-btn:hover {
  background: linear-gradient(135deg, var(--color-red), var(--color-orange));
  box-shadow: 0 0 25px rgba(255, 69, 0, 0.4);
  transform: translateY(-2px);
}

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

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes toastIconPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.toast-overlay.closing {
  animation: toastFadeOut 0.25s ease-in forwards;
}

.toast-overlay.closing .toast-box {
  animation: toastSlideOut 0.25s ease-in forwards;
}

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

@keyframes toastSlideOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.9) translateY(15px);
  }
}