:root {
  --bg: #0A0A0A;
  --text: #FFFFFF;
  --muted: #CCCCCC;
  --line: rgba(214, 255, 31, 0.2);
  --card: #111111;
  --dark: #050505;
  --green: #D6FF1F;
  --orange: #FF9A1F;
  --white: #FFFFFF;
  --max: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(214, 255, 31, 0.05), transparent 35%),
              radial-gradient(circle at bottom right, rgba(255, 154, 31, 0.04), transparent 28%),
              var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-mexa {
  color: var(--green);
  font-weight: 800;
  font-size: 56px;
}

.logo-eats {
  color: var(--orange);
  font-weight: 800;
  font-size: 56px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  flex-wrap: wrap;
}

.menu a {
  transition: color 0.2s;
}

.menu a:hover {
  color: var(--green);
}

.menu-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  background: rgba(25, 25, 25, 0.95);
  border: 1px solid rgba(214, 255, 31, 0.4);
  border-radius: 40px;
  padding: 10px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  color: white;
  z-index: 10;
  position: relative;
}

.dropdown-btn:hover {
  border-color: var(--green);
  background: rgba(40, 40, 40, 0.98);
  color: white;
}

.dropdown-arrow {
  font-size: 12px;
  transition: transform 0.2s;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0;
  padding-top: 8px;
  background: transparent;
  min-width: 220px;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s, opacity 0.2s;
}

.dropdown:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
}

.dropdown-menu {
  background: #111111;
  border: 1px solid rgba(214, 255, 31, 0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #ddd;
  transition: all 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: rgba(214, 255, 31, 0.15);
  color: var(--green);
  padding-left: 26px;
}

.dropdown-icon {
  font-size: 18px;
  width: 28px;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  background: var(--green);
  color: #000;
  border: none;
}

.btn:hover {
  background: #e6ff3a;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(214, 255, 31, 0.3);
}

.btn-large {
  padding: 0 40px;
  min-height: 56px;
  font-size: 16px;
}

.btn-green,
.btn-primary,
.btn-secondary,
.btn-outline {
  background: var(--green);
  color: #000;
  border: none;
}

.page-hero {
  padding: 80px 0 40px;
  text-align: center;
}

.page-hero h1 {
  font-size: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
}

.content-section {
  padding: 40px 0 60px;
}

.content-card {
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 40px;
  margin-bottom: 30px;
}

.content-card h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--green);
}

.content-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer {
  background: #020202;
  padding: 60px 0 34px;
  border-top: 1px solid rgba(214, 255, 31, 0.1);
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--green);
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 14px;
  font-size: 14px;
  transition: 0.2s;
}

.footer a:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 34px;
  text-align: center;
}

.footer-line-1 {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 700;
}

.footer-line-1 span:last-child {
  color: var(--green);
  text-decoration: underline;
}

.footer-line-2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-socials {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  line-height: 1;
}

.social-icon svg {
  width: 26px;
  height: 26px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  display: block;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-icon.facebook {
  background: #1877F2;
  color: white;
}

.social-icon.instagram {
  background: linear-gradient(135deg, #833AB4, #E4405F, #F56040, #FCAF45);
  color: white;
}

.social-icon.whatsapp {
  background: #25D366;
  color: white;
}

.footer-line-3 {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.participate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 50px 0;
}

.participate-card {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.9));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s;
}

.participate-card:hover {
  transform: translateY(-8px);
  border-color: var(--green);
}

.participate-card .icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.participate-card h3 {
  color: var(--green);
  margin-bottom: 16px;
  font-size: 28px;
}

.participate-card p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 15px;
}

.participate-card .btn {
  margin-top: 8px;
  min-width: 200px;
  background: var(--green);
  color: #000;
  border: none;
}

.features-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 60px 0;
}

.feature-block {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
}

.feature-block h3 {
  color: var(--green);
  margin-bottom: 16px;
  font-size: 22px;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.city-card {
  background: rgba(30, 30, 30, 0.6);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--line);
}

.register-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--orange) 100%);
  padding: 60px 0;
  text-align: center;
  margin: 40px 0;
  border-radius: 28px;
}

.register-banner .btn {
  background: #000;
  color: var(--green);
  border: none;
}

.floating-register {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: none;
  background: var(--orange);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  color: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .participate-grid { grid-template-columns: 1fr; }
  .features-showcase { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .menu { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1 { font-size: 32px; }
  .floating-register { display: block; }
  .participate-card .btn { min-width: auto; width: 100%; }
  .logo-mexa, .logo-eats { font-size: 38px; }
}

@media (max-width: 700px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .btn { min-height: 44px; padding: 0 18px; font-size: 13px; }
  .content-card { padding: 24px; }
  .footer-line-1 { font-size: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .dropdown-content { right: -10px; min-width: 200px; }
  .dropdown-btn { padding: 8px 16px; font-size: 13px; }
  .social-icon { width: 48px; height: 48px; }
  .social-icon svg { width: 24px; height: 24px; }
  .footer-socials { gap: 16px; }
  .page-hero h1 { font-size: 28px; }
  .logo-mexa, .logo-eats { font-size: 38px; }
}
