/* ─── RESET & VARIABLES ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --celeste: #92B1DC;
  --negro-off: #1F1F1F;
  --negro: #000000;
  --blanco: #ffffff;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: var(--blanco);
  color: var(--negro);
  overflow-x: hidden;
}

/* ─── HEADER ─── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--blanco);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 80px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 960px;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 22px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  font-size: 13px;
  font-weight: 400;
  color: var(--negro);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
}

.header-nav a:hover {
  opacity: 0.5;
}

.btn-jugar {
  display: none;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-jugar img {
  height: 36px;
  width: auto;
}

.btn-jugar:hover {
  opacity: 0.8;
}

/* ─── MOBILE NAV TOGGLE ─── */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger img {
  height: 24px;
  width: auto;
  display: block;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background-color: var(--blanco);
  padding: 24px 24px 32px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  z-index: 99;
  flex-direction: column;
  gap: 0;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--negro);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ─── PAGE CONTENT ─── */
.page-content {
  margin-top: 64px;
  min-height: calc(100vh - 64px - 280px);
}

.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  line-height: 1.6;
}

.content h1 {
  font-size: 36px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 12px;
  color: var(--negro);
}

.content .subtitle {
  color: #888;
  font-size: 15px;
  margin-bottom: 32px;
}

.content .updated {
  color: #888;
  font-size: 13px;
  margin-bottom: 32px;
}

.content h2 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 10px;
  color: var(--negro);
}

.content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--negro);
}

.content p {
  margin-bottom: 14px;
  font-size: 15px;
  color: #444;
}

.content ul {
  margin-left: 20px;
  margin-bottom: 14px;
}

.content ol {
  margin-left: 20px;
  margin-bottom: 14px;
}

.content li {
  margin-bottom: 6px;
  font-size: 15px;
  color: #444;
}

.content ol li {
  margin-bottom: 10px;
}

.content a {
  color: var(--celeste);
}

.content strong {
  font-weight: 700;
}

.content table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
}

.content th,
.content td {
  border: 1px solid #e0e0e0;
  padding: 10px 14px;
  text-align: left;
  font-size: 14px;
}

.content th {
  background-color: #f5f5f5;
  font-weight: 700;
}

.content .cta {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 32px;
  background-color: var(--celeste);
  color: var(--blanco);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: opacity 0.2s;
}

.content .cta:hover {
  opacity: 0.85;
}

.content .coming-soon {
  text-align: center;
  padding: 64px 0;
  color: #888;
  font-size: 18px;
}

.content .warning-box {
  margin-top: 32px;
  padding: 20px 24px;
  background-color: #fff3e0;
  border-radius: 10px;
  border-left: 4px solid #ff9800;
}

.content .warning-box p {
  margin-bottom: 0;
  font-size: 14px;
  color: #e65100;
}

.content .contact-box {
  margin-top: 32px;
  padding: 24px;
  background-color: #f7f7f7;
  border-radius: 10px;
}

.content .contact-box p {
  margin-bottom: 0;
}

/* ─── FORMS ─── */
.contact-form {
  margin-top: 40px;
  padding: 32px;
  background-color: #f7f7f7;
  border-radius: 12px;
}

.contact-form h2 {
  margin-top: 0;
}

.contact-form .note {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--negro);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  background: var(--blanco);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--celeste);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 32px;
  background-color: var(--celeste);
  color: var(--blanco);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.form-submit:hover {
  opacity: 0.85;
}

.form-success {
  display: none;
  padding: 16px;
  background-color: #e8f5e9;
  border-radius: 8px;
  color: #2e7d32;
  font-size: 14px;
  margin-top: 16px;
}

/* ─── FOOTER ─── */
footer {
  background-color: var(--celeste);
  padding: 64px 80px 48px;
  display: flex;
  justify-content: center;
}

.footer-inner {
  width: 100%;
  max-width: 960px;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--blanco);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 13px;
  font-weight: 400;
  color: var(--blanco);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-col ul li a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.3);
}

.footer-copy {
  font-size: 12px;
  color: var(--blanco);
  opacity: 0.6;
}

.footer-logo img {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  header {
    padding: 0 24px;
  }

  .header-inner {
    max-width: none;
  }

  .header-nav {
    display: none;
  }

  .btn-jugar {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  footer {
    padding: 40px 24px 32px;
  }

  .footer-inner {
    max-width: none;
  }

  .footer-columns {
    flex-direction: column;
    gap: 0;
    margin-bottom: 32px;
  }

  .footer-col {
    border-bottom: 1px solid rgba(255,255,255,0.25);
  }

  .footer-col:first-child {
    border-top: 1px solid rgba(255,255,255,0.25);
  }

  .footer-col h4 {
    font-size: 14px;
    margin-bottom: 0;
    padding: 16px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-col h4::after {
    content: '+';
    font-size: 18px;
    font-weight: 400;
    opacity: 0.7;
    transition: transform 0.25s;
  }

  .footer-col.open h4::after {
    content: '-';
  }

  .footer-col ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    gap: 12px;
    padding: 0;
  }

  .footer-col.open ul {
    max-height: 200px;
    padding-bottom: 16px;
  }

  .footer-col ul li a {
    font-size: 13px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-copy {
    font-size: 11px;
  }

  .footer-logo img {
    height: 16px;
  }

  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .contact-form {
    padding: 24px 20px;
  }
}
