:root {
  /* Colors */
  --primary-color: #0173c3;
  --primary-hover: #0165ac;
  --secondary-color: #42aeaa;
  --text-main: #1F2937; /* Gray 800 */
  --text-muted: #6B7280; /* Gray 500 */
  --bg-light: #F9FAFB; /* Gray 50 */
  --bg-white: #FFFFFF;
  --accent-gradient: linear-gradient(135deg, #0173c3 0%, #42aeaa 100%);

  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;
  --section-padding: 80px 0;

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-light);
}

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

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 14px rgba(1, 115, 195, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 115, 195, 0.4);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Header */
header {
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-main);
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: radial-gradient(circle at top right, rgba(1, 115, 195, 0.1), transparent 40%),
              radial-gradient(circle at bottom left, rgba(66, 174, 170, 0.1), transparent 40%);
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.hero-text h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

/* Features / Interface */
.features {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  border-radius: 16px;
  background: var(--bg-light);
  transition: transform 0.3s ease;
}

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

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Winners Section */
.winners {
  padding: var(--section-padding);
}

.winner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.winner-card {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.winner-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ddd;
  margin: 0 auto 1rem;
  object-fit: cover;
}

/* Winner Announcement */
.winner-announcement {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.announcement-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  border: 1px solid rgba(0,0,0,0.02);
}

.announcement-card:hover {
  transform: translateY(-10px);
}

.announcement-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.announcement-card p {
  color: var(--text-muted);
}

/* Countdown */
.countdown-section {
  background: var(--accent-gradient);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-value {
  font-size: 3rem;
  font-weight: 800;
}

.time-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Social Buttons LIVE */
.btn-social-live {
  background: white;
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-social-live::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: -1;
  transition: all 0.4s ease;
}

.btn-social-live:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
  color: white !important;
}

.btn-social-live:hover::before {
  opacity: 0;
}

/* Specific Social Colors & Hover States */
.btn-social-live.fb { color: #1877F2; border-color: rgba(24, 119, 242, 0.3); }
.btn-social-live.fb:hover { background: #1877F2; border-color: #1877F2; }

.btn-social-live.ig { color: #E4405F; border-color: rgba(228, 64, 95, 0.3); }
.btn-social-live.ig:hover { 
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
  border-color: #dc2743;
}

.btn-social-live.yt { color: #FF0000; border-color: rgba(255, 0, 0, 0.3); }
.btn-social-live.yt:hover { background: #FF0000; border-color: #FF0000; }

.btn-social-live i {
  font-size: 1.4rem;
  transition: transform 0.4s ease;
}

.btn-social-live:hover i {
  transform: rotate(10deg) scale(1.2);
}

.footer-social a {
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.footer-social a:hover {
  transform: translateY(-3px);
  color: white !important;
}

/* Contact */
.contact {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Footer */
footer {
  background: #111827;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  margin-bottom: 1.5rem;
  color: white;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: #9CA3AF;
}

.footer-col a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #6B7280;
}

.contact-container {
  gap: 3rem;
  align-items: flex-start;
}

.contact-image-wrapper {
  text-align: center;
  width: 100%;
}

.contact-image {
  border-radius: 24px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border: 8px solid white;
}

.contact-form-wrapper {
  width: 100%;
}

.contact-form {
  max-width: 100%;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-container {
    gap: 2rem;
  }

  .contact-image-wrapper {
    order: 2; /* Imagen abajo en móvil */
  }

  .contact-form-wrapper {
    order: 1; /* Formulario arriba en móvil */
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: none; /* Simple hide for now, would need JS for toggle */
  }
  
  .countdown-timer {
    gap: 1rem;
  }
  
  .time-value {
    font-size: 2rem;
  }

  .interface-content {
    text-align: center;
  }
  
  .interface-logo {
    margin: 0 auto 1.5rem;
  }
}

.interface-content {
  text-align: left;
}

.interface-logo {
  height: 64px;
  margin-bottom: 1.5rem;
  display: block;
}
