/* ==========================================
   LEGAL PAGES - OMAR YT PLAY
   Estilos para páginas legales y sobre mí
   ========================================== */

:root {
  --primary-color: #00FF41;
  --secondary-color: #00CC33;
  --accent-color: #ff6b35;
  --text-dark: #8b9283;
  --text-light: #b1a5a5;
  --bg-dark: #0A0A0A;
  --bg-darker: #0F0F0F;
  --bg-light: #050505;
  --border-color: #2A2A2A;
  --card-bg: #151515;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  background: transparent;
}

/* ==========================================
   BREADCRUMB
   ========================================== */

.breadcrumb {
  padding: 20px 0;
  font-size: 14px;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent-color);
}

.breadcrumb-separator {
  margin: 0 10px;
  color: var(--border-color);
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 500;
}

/* ==========================================
   LEGAL HEADER
   ========================================== */

.legal-header {
  text-align: center;
  padding: 60px 0 40px;
  border-bottom: 3px solid var(--primary-color);
  margin-bottom: 40px;
}

.legal-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.legal-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  font-size: 14px;
  color: var(--text-light);
  box-shadow: var(--card-shadow);
}

.legal-updated i {
  color: var(--primary-color);
}

/* ==========================================
   LEGAL CONTENT
   ========================================== */

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.legal-section {
  margin-bottom: 50px;
}

.legal-section h2 {
  font-size: 32px;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-light);
}

.legal-section h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin: 30px 0 15px;
}

.legal-section h4 {
  font-size: 20px;
  color: var(--text-dark);
  margin: 20px 0 10px;
}

.legal-section p {
  margin-bottom: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

.legal-section ul,
.legal-section ol {
  margin: 20px 0 20px 30px;
  color: var(--text-light);
}

.legal-section li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.legal-section strong {
  color: var(--text-dark);
  font-weight: 600;
}

.legal-section a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.legal-section a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* ==========================================
   INFO BOXES
   ========================================== */

.info-box,
.warning-box {
  padding: 25px;
  border-radius: 12px;
  margin: 30px 0;
}

.info-box {
  background: var(--card-bg);
  border-left: 4px solid var(--secondary-color);
}

.warning-box {
  background: #1b1b19;
  border-left: 4px solid var(--warning-color);
}

.info-box h3,
.warning-box h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-box p,
.warning-box p {
  margin: 0;
  color: var(--text-light);
}

.info-box ul,
.warning-box ul {
  margin: 15px 0 0 20px;
}

/* ==========================================
   CONTACT INFO
   ========================================== */

.contact-info {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 12px;
  margin: 30px 0;
}

.contact-info p {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.contact-info strong {
  color: var(--secondary-color);
}

/* ==========================================
   DATA TABLE
   ========================================== */

.data-table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}

.data-table th,
.data-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  background: var(--secondary-color);
  color: black
;
  font-weight: 600;
}

.data-table tr:hover {
  background: var(--bg-light);
}

/* ==========================================
   ABOUT PAGE - HERO
   ========================================== */

.about-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, #181818 100%);
}

.about-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-subtitle {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: 500;
}

.about-description {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--text-light);
}

/* Profile Placeholder */
.profile-placeholder {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.profile-avatar {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar i {
  font-size: 70px;
  color: black;
}

.profile-info h3 {
  font-size: 24px;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.profile-info p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.gaming-setup-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 24px;
  color: var(--primary-color);
}

/* ==========================================
   SECTIONS
   ========================================== */

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
}

/* ==========================================
   METHODOLOGY
   ========================================== */

.methodology-intro {
  text-align: center;
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.methodology-steps {
  display: grid;
  gap: 30px;
  margin-bottom: 50px;
}

.method-step {
  display: flex;
  gap: 25px;
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.method-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.step-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.step-content p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ==========================================
   TIMELINE
   ========================================== */

.story-timeline {
  position: relative;
  padding-left: 50px;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-year {
  position: absolute;
  left: -50px;
  width: 80px;
  height: 40px;
  background: var(--primary-color);
  color: var(--text-dark);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.timeline-content {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}

.timeline-content h3 {
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.timeline-content p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ==========================================
   SETUP GRID
   ========================================== */

.setup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.setup-category {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.setup-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.category-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.category-icon i {
  font-size: 32px;
  color: var(--text-dark);
}

.setup-category h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.setup-specs {
  list-style: none;
  margin: 0;
}

.setup-specs li {
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-light);
  color: var(--text-light);
}

.setup-specs li:last-child {
  border-bottom: none;
}

/* ==========================================
   VALUES GRID
   ========================================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background: var(--card-bg);
  padding: 35px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon i {
  font-size: 36px;
  color: var(--text-dark);
}

.value-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.value-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ==========================================
   ACHIEVEMENTS
   ========================================== */

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.achievement-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: var(--transition);
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.achievement-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color), var(--warning-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.achievement-icon i {
  font-size: 32px;
  color: var(--text-dark);
}

.achievement-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.achievement-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.contact-cta {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  padding: 80px 0;
  text-align: center;
  color: black
;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: black
;
  color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: black
;
  border: 2px solid black
;
}

.btn-outline:hover {
  background: black
;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
  .legal-title {
    font-size: 32px;
  }

  .legal-section h2 {
    font-size: 26px;
  }

  .about-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-title {
    font-size: 36px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .story-timeline {
    padding-left: 40px;
  }

  .timeline-year {
    left: -40px;
    width: 70px;
    height: 35px;
    font-size: 14px;
  }

  .setup-grid,
  .values-grid,
  .achievements-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .legal-header {
    padding: 40px 0 30px;
  }

  .legal-title {
    font-size: 28px;
  }

  .legal-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .about-title {
    font-size: 28px;
  }

  .method-step {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin: 0 auto;
  }
}

/* ============================================================
   lega-pages.css
   Estilos base y específicos para contact.html (OMAR YT PLAY)
   ============================================================ */

/* Variables de tema (ajusta colores aquí) */
:root{
  --bg: #071018;                /* fondo general */
  --surface: #0f1720;           /* tarjetas / secciones */
  --muted: #9aa4ae;             /* texto secundario */
  --text: #e6eef6;              /* texto principal */
  --accent: #ff4d1a;            /* color principal (botones) */
  --accent-600: #e63e00;
  --border: rgba(255,255,255,0.06);
  --glass: rgba(255,255,255,0.03);
  --success: #36c57f;
  --warning: #f0b429;
  --radius: 10px;
  --max-width: 1100px;
  --gap: 1rem;
  --transition: 200ms ease;
  --shadow: 0 6px 18px rgba(2,6,23,0.6);
  --ui-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Reset ligero */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--ui-font);
  font-size:16px;
  line-height:1.45;
  color:var(--text);
  background:linear-gradient(180deg,var(--bg) 0%, #05060b 100%);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  -webkit-tap-highlight-color:transparent;
}

/* Container */
.container{
  width:calc(100% - 2rem);
  max-width:var(--max-width);
  margin:0 auto;
  padding:1rem;
}

/* Header */
.site-header{
  padding:1.25rem 0 0.6rem;
  border-bottom:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
}
.brand img{height:48px;display:block}
.page-title{
  margin:.6rem 0 0;
  font-size:1.75rem;
  letter-spacing:-0.02em;
  color:var(--text);
}
.lead{
  margin:.35rem 0 1rem;
  color:var(--muted);
}

/* Grid layout for main content */
.grid{display:grid;gap:var(--gap)}
.grid-2{grid-template-columns: 1fr 360px;align-items:start;}

/* Card / aside */
.card{
  background: linear-gradient(180deg,var(--surface), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding:1.15rem;
  box-shadow: var(--shadow);
}

/* Headings inside cards */
.card h2, .card h3, .card h4{
  margin:0 0 .6rem;
  color:var(--text);
}

/* Form styles */
.contact-form label{
  display:block;
  margin:0.6rem 0 0.25rem;
  font-weight:600;
  color:var(--text);
  font-size:0.95rem;
}

.form-control{
  display:block;
  width:100%;
  padding:.65rem .75rem;
  border-radius:8px;
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
  color:var(--text);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  font-size:0.95rem;
  outline: none;
}

/* Inputs focus */
.form-control:focus{
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45), 0 0 0 4px rgba(255,77,26,0.06);
  transform: translateY(-1px);
}

/* Placeholder color */
.form-control::placeholder{ color: rgba(230,238,246,0.35); }

/* Textarea sizing */
textarea.form-control{ min-height:120px; resize:vertical }

/* Select visual improvement */
select.form-control{
  appearance:none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right:2.25rem;
}

/* Checkbox */
input[type="checkbox"]{ width:1.05rem; height:1.05rem; transform:translateY(0.05rem) }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.55rem .9rem;
  border-radius:8px;
  border:1px solid transparent;
  cursor:pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  font-weight:600;
  text-decoration:none;
  color:inherit;
}

.btn:active{ transform: translateY(1px) }

.btn-primary{
  background: linear-gradient(180deg,var(--accent) 0%, var(--accent-600) 100%);
  color:#fff;
  box-shadow: 0 8px 28px rgba(255,77,26,0.18);
  border-color: rgba(0,0,0,0.12);
}

.btn-primary[disabled]{ opacity:0.6; cursor:not-allowed; transform:none; box-shadow:none; }

.btn-secondary{
  background: transparent;
  border:1px solid rgba(255,255,255,0.06);
  color:var(--text);
}

/* Form actions */
.form-actions, .contact-form > div[style]{
  margin-top:1rem;
  display:flex;
  gap:.75rem;
  align-items:center;
  flex-wrap:wrap;
}

/* Status messages */
#form-status{ font-weight:600; margin-bottom:.5rem; color:var(--muted) }

/* Accessibility: invalid states */
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"]{
  border-color: #ffb4a8;
  box-shadow: 0 6px 18px rgba(255,80,40,0.06);
}

/* Aside list */
.card ul{ padding-left:1rem; margin:0.35rem 0 0; color:var(--muted) }
.card a{ color:var(--accent); text-decoration:none }
.card a:hover{text-decoration:underline}

/* Small utility text */
.small { font-size:0.92rem; color:var(--muted) }

/* Footer */
.site-footer{
  margin-top:2rem;
  padding:1.15rem 0;
  border-top:1px solid var(--border);
  text-align:center;
  color:var(--muted);
}

/* Responsive behavior */
@media (max-width:900px){
  .grid-2{ grid-template-columns: 1fr; }
  .card{ padding:1rem }
  .brand img{ height:44px }
  .page-title{ font-size:1.35rem }
}

/* Hero / global placeholders (si tu plantilla los usa) */
.hero-home{ display:none } /* Oculta hero en la página de contacto si no lo necesitas */

/* Utilities */
.visually-hidden {
  position: absolute!important;
  height:1px;width:1px;overflow:hidden;
  clip:rect(1px,1px,1px,1px);white-space:nowrap;border:0;padding:0;margin:-1px;
}

/* Small improvements for icons inside buttons */
.btn i, .btn svg{ display:inline-block; width:1.05rem; text-align:center; }

/* Focus outlines for keyboard users */
:focus{ outline: 3px solid rgba(255,77,26,0.12); outline-offset:2px; border-radius:6px; }

/* Micro interactions */
.card:hover{ transform: translateY(-2px); transition: transform var(--transition) }

/* Success / warning helpers (inline usage posible desde JS) */
.status-success{ color:var(--success) }
.status-warning{ color:var(--warning) }

/* Optional: hide default spin buttons for number inputs if used later */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
