:root {
  --bg-dark: #0d0b18;
  --bg-card: rgba(26, 21, 46, 0.75);
  --bg-card-border: rgba(248, 204, 123, 0.25);
  --gold: #f8cc7b;
  --gold-glow: rgba(248, 204, 123, 0.4);
  --fuchsia: #e51eff;
  --fuchsia-glow: rgba(229, 30, 255, 0.35);
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --accent-green: #10b981;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(229, 30, 255, 0.12), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(248, 204, 123, 0.15), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(30, 27, 75, 0.4), transparent 60%);
  background-attachment: fixed;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--gold-glow);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 1px;
}

.logo-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--gold-glow);
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

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

.btn-nav {
  background: linear-gradient(135deg, var(--gold), #d4a04e);
  color: #000 !important;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 4px 12px var(--gold-glow);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--gold-glow);
}

/* HERO SECTION */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(248, 204, 123, 0.12);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #fff 20%, var(--gold) 70%, #e51eff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #17142b;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 24px;
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-store:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(248, 204, 123, 0.25);
  color: #fff;
}

.btn-store svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.btn-store .store-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  line-height: 1;
}

.btn-store .store-title {
  font-size: 1.05rem;
  font-weight: 800;
}

/* APP PREVIEW MOCKUP */
.hero-mockup {
  position: relative;
  max-width: 800px;
  margin: 0 auto 60px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--bg-card-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(229, 30, 255, 0.2);
}

.hero-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

/* FEATURES GRID */
.features-section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 32px 26px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(248, 204, 123, 0.15);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(248, 204, 123, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  border: 1px solid rgba(248, 204, 123, 0.3);
}

.card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* MISS 17 SPECIAL SECTION */
.miss17-banner {
  background: linear-gradient(135deg, rgba(38, 26, 60, 0.9), rgba(20, 18, 36, 0.9));
  border: 2px solid var(--gold);
  border-radius: 24px;
  padding: 40px;
  margin: 60px 0;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px var(--gold-glow);
}

.miss17-banner img {
  width: 140px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.miss17-text h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 10px;
}

.miss17-text p {
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* CONTENT PAGES (Privacidad, Soporte, Términos) */
.page-header {
  padding: 50px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 60px;
}

.legal-content h2 {
  font-size: 1.45rem;
  color: var(--gold);
  margin: 28px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(248, 204, 123, 0.2);
}

.legal-content p, .legal-content li {
  color: #d1d5db;
  font-size: 1rem;
  margin-bottom: 14px;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

/* SUPPORT FORM */
.contact-form {
  display: grid;
  gap: 18px;
  max-width: 600px;
  margin: 30px 0;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: rgba(18, 15, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.btn-submit {
  background: linear-gradient(135deg, var(--gold), #d4a04e);
  color: #000;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-green);
  color: #34d399;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-weight: 700;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 0 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 80px;
  background: rgba(10, 8, 20, 0.9);
}

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

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
}

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

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .navbar { flex-direction: column; gap: 16px; }
  .miss17-banner { flex-direction: column; text-align: center; }
  .footer-content { flex-direction: column; text-align: center; }
}
