/* Pigma Modern Design System - Ultra Premium V3 */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Ultra Modern Palette - Light Mode Version */
  --primary-dark: #0f172a;
  /* Slate 900 */
  --primary-base: #1e293b;
  /* Slate 800 */
  --primary-light: #334155;
  /* Slate 700 */

  --accent-base: #09B0DA;
  /* Cyan */
  --accent-glow: #0a93b6;
  /* Darker Cyan */
  --accent-gradient: linear-gradient(135deg, #09B0DA 0%, #0891b2 100%);
  /* Cyan Gradient */

  --text-heading: #0f172a;
  /* Slate 900 */
  --text-body: #475569;
  /* Slate 600 */
  --text-highlight: #334155;
  /* Slate 700 */

  --bg-body: #f8fafc;
  /* Light Slate Background */
  --bg-card: rgba(255, 255, 255, 0.9);
  /* Glassy White */
  --border-glass: rgba(0, 0, 0, 0.06);
  /* Subtle dark border */

  --shadow-glow: 0 0 20px rgba(9, 176, 218, 0.15);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.1);

  --radius-xl: 1.5rem;
  --container-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-body);
  background-image:
    radial-gradient(circle at 15% 50%, rgba(9, 176, 218, 0.05), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(8, 145, 178, 0.05), transparent 25%);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-heading);
  line-height: 1.1;
  font-weight: 700;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Glass Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.brand-logo span {
  color: var(--accent-base);
  background: none;
  -webkit-text-fill-color: initial;
}

.brand-logo img {
  height: 42px;
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  background: rgba(0, 0, 0, 0.03);
  padding: 0.35rem;
  border-radius: 9999px;
  border: 1px solid var(--border-glass);
}

.nav-link {
  color: var(--text-heading);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
}

.nav-link:hover {
  color: var(--accent-base);
  background: rgba(0, 0, 0, 0.05);
}

.nav-link.active {
  background: var(--primary-light);
  color: white;
  box-shadow: inset 0 0 0 1px var(--border-glass);
}

.nav-link.btn-action {
  background: var(--accent-gradient);
  color: white !important;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  box-shadow: 0 4px 15px rgba(9, 176, 218, 0.3);
}

.nav-link.btn-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(9, 176, 218, 0.4);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-heading);
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: rgba(9, 176, 218, 0.1);
  color: var(--accent-base);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--primary-dark);
  font-size: 1.2rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

/* Cinematic Hero Section */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  text-align: center;
  overflow: hidden;
}

/* Compact Hero for inner pages */
.hero.hero-compact {
  padding: 9rem 0 3rem;
}

.hero.hero-compact h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

/* Animated Glow behind Hero */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(9, 176, 218, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  animation: pulse-glow 8s infinite alternate;
}

@keyframes pulse-glow {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.9);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4.5rem;
  /* Massive Headline */
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  background: linear-gradient(to bottom, #0f172a 0%, #475569 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(9, 176, 218, 0.1));
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

/* Layout refinements */
.main-layout {
  position: relative;
  z-index: 10;
  padding-bottom: 8rem;
  display: block;
}

.main-layout::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(9, 176, 218, 0.03) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.results-section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  margin-bottom: 4rem;
}

.results-section-title h2 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-body);
  font-weight: 500;
  opacity: 0.9;
  max-width: 600px;
}

/* Results Grid - Enhanced Premium Layout */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 1rem 0;
  perspective: 1500px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  animation: fade-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  opacity: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.event-card:nth-child(1) {
  animation-delay: 0.1s;
}

.event-card:nth-child(2) {
  animation-delay: 0.15s;
}

.event-card:nth-child(3) {
  animation-delay: 0.2s;
}

.event-card:nth-child(4) {
  animation-delay: 0.25s;
}

.event-card:nth-child(5) {
  animation-delay: 0.3s;
}

.event-card:nth-child(6) {
  animation-delay: 0.35s;
}

.event-card:nth-child(7) {
  animation-delay: 0.4s;
}

.event-card:nth-child(8) {
  animation-delay: 0.45s;
}

.event-card:nth-child(9) {
  animation-delay: 0.5s;
}

.event-card:nth-child(10) {
  animation-delay: 0.55s;
}

.event-card:nth-child(11) {
  animation-delay: 0.6s;
}

.event-card:nth-child(12) {
  animation-delay: 0.65s;
}

/* ... more delays if needed */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: #ffffff;
  border-color: rgba(9, 176, 218, 0.3);
  box-shadow: var(--shadow-card), 0 0 20px rgba(9, 176, 218, 0.1);
}

.event-image {
  height: 240px;
  position: relative;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.1);
}

.event-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-body) 0%, transparent 60%);
}

.event-content {
  padding: 2rem;
  position: relative;
}

.assoc-badge {
  position: absolute;
  top: -30px;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  /* Changed to pure white */
  border: 2px solid var(--accent-base);
  padding: 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* Lighter shadow */
  z-index: 5;
}

.assoc-badge img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.event-date {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: var(--accent-glow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.event-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-heading);
  /* Fixed color for light mode */
}

.card-stats {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-body);
  font-size: 0.95rem;
}

.stat i {
  color: var(--accent-base);
}

.btn-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(9, 176, 218, 0.1);
  color: var(--accent-base);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
  color: var(--text-body);
  font-size: 0.95rem;
}

.contact-form-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-glass);
}

.contact-form-card h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: var(--text-heading);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-base);
  background: white;
  box-shadow: 0 0 0 4px rgba(9, 176, 218, 0.1);
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--accent-gradient);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(9, 176, 218, 0.25);
}

/* Alerts & Notifications */
.alert {
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  position: relative;
  animation: slide-in-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.alert h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  flex-grow: 1;
  text-align: center;
}

.close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 0 0.5rem;
  margin-left: 1rem;
  z-index: 10;
  position: relative;
  display: block;
}

.close:hover {
  opacity: 1;
}

.alert-success {
  background-color: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.alert-success h4::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 0.5rem;
}

.alert-danger {
  background-color: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.alert-danger h4::before {
  content: '\f071';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 0.5rem;
}

.alert-warning {
  background-color: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.alert-info {
  background-color: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Footer */
.premium-footer {
  margin-top: 5rem;
  padding: 5rem 0;
  border-top: 1px solid var(--border-glass);
  background: radial-gradient(circle at 50% 0%, rgba(9, 176, 218, 0.05), transparent 50%);
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-nav a {
  color: var(--text-body);
  font-size: 1.1rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--accent-glow);
}

.copyright {
  color: rgba(0, 0, 0, 0.3);
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mobile-menu-btn {
    display: block;
    color: var(--text-heading);
    border-color: var(--border-glass);
    z-index: 1200;
    position: absolute;
    right: 1.5rem;
    /* Match container padding */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
  }

  .nav-container {
    justify-content: flex-start;
    position: relative;
    min-height: 50px;
  }

  .brand-logo {
    margin-right: auto;
  }

  nav {
    width: auto;
    height: auto;
    overflow: visible;
  }

  /* Navigation Mobile State */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    padding: 1rem;
    z-index: 1050;
    /* Ensure it stays above other content */
    display: none;
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
  }

  .nav-links.active {
    display: flex;
    animation: fade-down 0.3s ease forwards;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }

  /* Dropdown in Mobile Menu */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, 0.02);
    margin-top: 0;
    padding: 0;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-item {
    padding-left: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
    line-height: 1.2;
  }
}



@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .brand-logo {
    font-size: 1.25rem;
  }

  .brand-logo img {
    height: 32px;
  }

  .results-grid {
    grid-template-columns: 1fr;
    /* Full width cards on very small screens */
  }

  .event-image {
    height: 200px;
  }

  .event-content {
    padding: 1.5rem;
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Podium Ranking Styles - Premium Edition */
.podium-container {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.9) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.podium-container::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(9, 176, 218, 0.08) 0%, transparent 70%);
  z-index: 0;
}

.podium-header {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}

.podium-header i {
  color: #fbbf24;
  filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.4));
}

.podium-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.podium-row:hover {
  transform: translateX(5px);
  border-color: rgba(9, 176, 218, 0.3);
  box-shadow: 0 10px 15px -3px rgba(9, 176, 218, 0.1), 0 4px 6px -2px rgba(9, 176, 218, 0.05);
}

.podium-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.rank-1 {
  background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #f59e0b 100%);
  border: 2px solid #fff;
}

.rank-2 {
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 50%, #9ca3af 100%);
  border: 2px solid #fff;
}

.rank-3 {
  background: linear-gradient(135deg, #fdba74 0%, #fb923c 50%, #ea580c 100%);
  border: 2px solid #fff;
}

.podium-name {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-grow: 1;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.podium-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.podium-speed {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-base);
  background: rgba(9, 176, 218, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
}

/* Event Card Enhancements */
.event-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.event-content {
  background: white;
}

.card-stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(248, 250, 252, 0.5);
  padding: 1.25rem 2rem;
  margin: 0 -2rem -2rem -2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  margin-top: 1.5rem;
}

.stat i {
  font-size: 1.1rem;
  filter: drop-shadow(0 0 10px rgba(9, 176, 218, 0.2));
}

/* Stagger animation for ranking rows */
.podium-row {
  opacity: 0;
  animation: slide-in-right 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.podium-row:nth-child(2) {
  animation-delay: 0.1s;
}

.podium-row:nth-child(3) {
  animation-delay: 0.2s;
}

.podium-row:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.assoc-badge {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
  transition: all 0.3s ease;
  background: white;
  border-color: var(--accent-base);
}

.event-card:hover .assoc-badge {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 12px 24px rgba(9, 176, 218, 0.2);
}

.stat {
  font-weight: 500;
}

.event-date i,
.event-title i {
  margin-right: 6px;
  opacity: 0.7;
}

.etape-badge {
  position: absolute;
  top: 0;
  right: 1.5rem;
  background: var(--accent-gradient);
  color: white;
  padding: 0.6rem 1rem;
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 25;
  box-shadow: 0 10px 20px rgba(9, 176, 218, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.etape-badge i {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Clock Page Styles */
.clock-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  position: relative;
}

.clock-card {
  background: white;
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--border-glass);
  border-radius: 4rem;
  padding: 6rem 4rem;
  text-align: center;
  position: relative;
  box-shadow:
    0 40px 80px -20px rgba(15, 23, 42, 0.1),
    0 0 40px rgba(9, 176, 218, 0.05);
  transition: transform 0.3s ease;
  z-index: 10;
}

.clock-card:hover {
  transform: translateY(-5px);
}

.clock-label {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--accent-base);
  margin-bottom: 2rem;
}

#ejs_heure {
  font-size: 10rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(to bottom, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.clock-date {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-body);
  opacity: 0.7;
}

@media (max-width: 991px) {
  #ejs_heure {
    font-size: 6rem;
  }

  .clock-card {
    padding: 4rem 2rem;
  }
}

@media (max-width: 480px) {
  #ejs_heure {
    font-size: 4rem;
  }

  .clock-card {
    padding: 3rem 1.5rem;
    border-radius: 2.5rem;
  }
}