/* ==========================================================
   1. RESET GLOBAL
========================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;

  box-sizing: border-box;
}


/* ==========================================================
   2. FUENTES EXTERNAS
========================================================== */

@import url("https://fonts.googleapis.com/css2?family=Arial&display=swap");


/* ==========================================================
   3. VARIABLES GLOBALES
========================================================== */

:root {

  /* ========================================================
     COLORES BASE
  ======================================================== */

  --color-background-app: #020617;
  --color-background-post: #071c2d;

  --color-surface-2: #0b253a;
  --color-surface-3: #10283c;

  --color-item-inactive: rgba(138, 171, 193, 1);


  /* ========================================================
     DORADOS LETRAPAR
  ======================================================== */

  --color-gold: #dfbf4a;
  --color-gold-light: #f2d865;
  --color-gold-dark: #c8a838;
  --color-gold-soft: #e6cb73;


  /* ========================================================
     TEXTOS
  ======================================================== */

  --color-text: #cbd5f5;
  --color-text-title: #ffffff;
  --color-text-secondary: #8aabc1;
  --color-text-disabled: #61758b;


  /* ========================================================
     BORDES
  ======================================================== */

  --color-border: rgba(255, 255, 255, 0.05);
  --color-border-light: rgba(255, 255, 255, 0.10);
  --color-border-avatar: rgba(255, 255, 255, 0.45);


  /* ========================================================
     BOTONES OSCUROS
  ======================================================== */

  --color-button-dark: rgba(35, 35, 35, 0.78);
  --color-button-dark-hover: rgba(35, 35, 35, 0.92);


  /* ========================================================
     SUPERPOSICIONES
  ======================================================== */

  --color-overlay: rgba(10, 20, 30, 0.72);
  --color-overlay-light: rgba(10, 20, 30, 0.60);
  --color-overlay-soft: rgba(10, 20, 30, 0.16);


  /* ========================================================
     SLIDER
  ======================================================== */

  --color-slider-active: #dfbf4a;
  --color-slider-inactive: #8ba4b7;


  /* ========================================================
     VIDEO
  ======================================================== */

  --color-play: #f33434;
  --color-play-hover: #ff4949;


  /* ========================================================
     ENLACES
  ======================================================== */

  --color-link: #dfbf4a;
  --color-link-hover: #f2d865;


  /* ========================================================
     SOMBRAS
  ======================================================== */

  --shadow-small: 0 2px 4px rgba(0, 0, 0, 0.35);
  --shadow-medium: 0 6px 16px rgba(0, 0, 0, 0.35);
  --shadow-large: 0 10px 28px rgba(0, 0, 0, 0.45);


  /* ========================================================
     ALERTAS
  ======================================================== */

  --color-success: #3bb273;
  --color-warning: #f2b134;
  --color-danger: #e74c3c;
  --color-info: #58a6ff;


  /* ========================================================
     AZULES DE LA INTERFAZ
  ======================================================== */

  --color-navy-800: #071c2d;
  --color-navy-700: #0b253a;
  --color-navy-600: #12344b;


  /* ========================================================
     ESCALA DE DORADOS
  ======================================================== */

  --color-gold-100: #f7e9a8;
  --color-gold-200: #f2d865;
  --color-gold-300: #e6cb73;
  --color-gold-400: #dfbf4a;
  --color-gold-500: #c8a838;


  /* ========================================================
     GRISES AZULADOS
  ======================================================== */

  --color-gray-100: #ffffff;
  --color-gray-200: #cbd5f5;
  --color-gray-300: #b7c4dd;
  --color-gray-400: #8da0b4;
  --color-gray-500: #61758b;
}


/* ==========================================================
   4. DOCUMENTO PRINCIPAL
========================================================== */

html {
  width: 100%;
  min-width: 0;
  min-height: 100%;

  margin: 0;
  padding: 0;

  background-color: var(--color-background-app);

  overflow-x: hidden;
}


/* ==========================================================
   5. CUERPO DE LA APLICACIÓN
========================================================== */

body {
  width: 100%;
  min-width: 0;
  min-height: 100vh;

  margin: 0;
  padding: 0;

  background-color: var(--color-background-app);

  color: var(--color-text-title);
  font-family: Arial, Helvetica, sans-serif;

  overflow-x: hidden;
}


/* ==========================================================
   6. CONTENEDOR RAÍZ DE ANGULAR
========================================================== */

app-root {
  display: block;

  width: 100%;
  min-width: 0;
  min-height: 100vh;

  margin: 0;
  padding: 0;

  overflow-x: hidden;
}


/* ==========================================================
   7. ELEMENTOS MULTIMEDIA
========================================================== */

img,
svg,
video,
canvas,
iframe {
  display: block;

  max-width: 100%;
}


/* ==========================================================
   8. ELEMENTOS INTERACTIVOS
========================================================== */

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}


/* ==========================================================
   9. ENLACES
========================================================== */

a {
  color: inherit;
  text-decoration: none;
}


/* ==========================================================
   10. LISTAS
========================================================== */

ul,
ol {
  list-style: none;
}


/* ==========================================================
   11. SOPORTE PARA VIEWPORTS MÓVILES MODERNOS
========================================================== */

@supports (min-height: 100dvh) {

  body,
  app-root {
    min-height: 100dvh;
  }

}


/* ==========================================================
   12. SOPORTE PARA OVERFLOW MODERNO
========================================================== */

@supports (overflow: clip) {

  html,
  body,
  app-root {
    overflow-x: clip;
  }

}


/* ==========================================================
   13. REDUCCIÓN GLOBAL DE MOVIMIENTO
========================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;

    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;
  }

}