:root {
  --red: #FF4848;
  --red-2: #E32D2D;
  --blue: #006CFF;
  --blue-2: #0059D2;
  --green: #9BD359;
  --green-2: #72AD2B;
  --purple: #9671FC;
  --purple-2: #7C56E4;
  --yellow: #FFD371;
  --yellow-2: #E6B444;
  --white: 255,255,255;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
}
body {
  font-family: 'Nunito Sans', sans-serif;
  font-style: italic;
  background: #000000;
  color: #FFFFFF;
  line-height: 1.5;
  overflow-x: hidden;
}
ul {
  padding-left: 20px;
  margin: 20px 0;
}

/* ====================
HEADER
==================== */

.search-box{
  width: fit-content;
  height: fit-content;
  position: relative;
}
input[type=text].input-search{
  height: 50px;
  width: 50px;
  border-style: none;
  padding: 10px;
  margin: 0;
  font-size: 18px;
  outline: none;
  transition: all .5s ease-in-out;
  padding-right: 40px;
  color: #FFFFFF;
}
input[type=text].input-search::placeholder{
  color:rgba(255,255,255,.5);
  font-size: 18px;
  font-weight: 100;
}
.btn-search{
  width: 50px;
  height: 50px;
  border-style: none;
  font-size: 20px;
  font-weight: bold;
  outline: none;
  cursor: pointer;
  position: absolute;
  right: 0;
  color: #FFFFFF;
  background-color:transparent;
  pointer-events: painted;
  z-index: 1;
}
.btn-search:focus ~ input[type=text].input-search{
  width: 250px;
  border-radius: 0px;
  background-color: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
}
input[type=text].input-search:focus{
  width: 250px;
  border-radius: 0px;
  background-color: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
}

/*USER MENU*/

/* Estilos para header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}
.btn-icon {
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.2s;
}
.btn-icon:hover {
  background: rgba(255,255,255,0.2);
}
.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--red);
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 10px;
  cursor: pointer;
  background: rgba(255,255,255,0.05);
  transition: background 0.2s;
}
.user-menu:hover {
  background: rgba(255,255,255,0.1);
}
.user-avatar {
  width: 40px;
  height: 40px;
  overflow: hidden;
}
.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-arrow {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

/* Flyout específicos (reutilizan .flyout-menu) */
.flyout-menu {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.2);
}
.flyout-item {
  color: #eee;
}
.flyout-item:hover {
  background: var(--red);
}

/* ====================
SIDEBAR MENU DESKTOP
==================== */

.sidebar {
  width: 260px;
  background-color: #000000;
  border-right: 1px solid rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
  transition: width 0.25s ease-in-out;
  z-index: 15;
  overflow-y: auto;
  overflow-x: hidden;
  flex-shrink: 0;
}
.sidebar.collapsed {
  width: 80px;
}
.sidebar-logo {
  border-bottom: 1px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}
.logo-img {
  display: block;
  max-width: 100%;
  height: auto;
}
.logo-normal {
  display: block;
}
.logo-icon {
  display: none;
}
.sidebar.collapsed .logo-normal {
  display: none;
}
.sidebar.collapsed .logo-icon {
  display: block;
}
.sidebar-nav {
  flex: 1;
  overflow-y: scroll;
}
.nav-menu {
  list-style: none;
  padding: 0;
}
.menu-item {
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  text-decoration: none;
  color: rgba(255,255,255,1);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.menu-link:hover, .menu-link:active {
  background-color: var(--red);
}
.menu-link i {
  width: 24px;
  font-size: 1.2rem;
  text-align: center;
  color: rgba(255,255,255,1);
}
.menu-text {
  white-space: nowrap;
  font-size: 0.95rem;
}
.dropdown-arrow {
  margin-left: auto;
  font-size: 0.75rem;
  transition: transform 0.2s;
}
.submenu {
  list-style: none;
  padding-left: 20px;
  margin-top: 4px;
  margin-bottom: 6px;
  display: none;
}
.submenu .menu-item {
  border-bottom: none;
}
.submenu .menu-item .menu-link {
  color: rgba(255,255,255,0.5);
}
.submenu .menu-item .menu-link:hover {
  background-color: transparent;
  color: var(--red);
}
.submenu .menu-item .menu-link i {
  color: rgba(255,255,255,0.5);
  font-size: 15px;
}
.submenu.open {
  display: block;
}
.submenu .menu-link {
  padding: 8px 15px;
  font-size: 0.9rem;
}
.submenu .submenu {
  padding-left: 15px;
}
.sidebar.collapsed .menu-text,
.sidebar.collapsed .dropdown-arrow {
  display: none;
}
.sidebar.collapsed .submenu {
  display: none !important;
}
.sidebar.collapsed .menu-link {
  justify-content: center;
  gap: 0;
  padding: 12px 0;
}
.sidebar.collapsed .menu-link i {
  margin: 0;
  font-size: 1.4rem;
}
.flyout-menu {
  position: fixed;
  background: #000000;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.02);
  padding: 8px 0;
  min-width: 200px;
  z-index: 2000;
  border: 1px solid rgba(255,255,255,0.5);
}
.flyout-item {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.15s;
  white-space: nowrap;
}
.flyout-item i {
  width: 20px;
  font-size: 1rem;
}
.flyout-item:hover {
  background-color: var(--red);
}
.flyout-divider {
  height: 1px;
  background: #eef2f6;
  margin: 6px 0;
}
/* Para submenús anidados dentro del flyout (segundo nivel) */
.flyout-submenu {
  position: absolute;
  left: 100%;
  top: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
  min-width: 180px;
  padding: 8px 0;
  display: none;
  border: 1px solid #e9eef3;
}
.flyout-item.has-flyout {
  position: relative;
}
.flyout-item.has-flyout .flyout-item-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}
.flyout-arrow {
  margin-left: auto;
  font-size: 0.7rem;
}

/* Botón colapsar fijo */
.collapse-btn-wrapper {
  padding: 16px 8px 20px;
  display: flex;
  justify-content: center;
}
.collapse-btn {
  background: rgba(255,255,255,0.1);
  color: #FFFFFF;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px 12px;
  width: 90%;
  transition: 0.2s;
}
.sidebar.collapsed .collapse-btn {
  width: 48px;
  padding: 8px 0;
}
.collapse-btn i {
  margin-right: 6px;
}
.sidebar.collapsed .collapse-btn span {
  display: none;
}
.launcher-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 250px;
  border-top: 1px solid rgba(255,255,255,0.5);
  overflow: hidden;
}
.video-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: 100%;
  opacity: 0.3;
}

/* ====================
SIDEBAR MENU MOBILE
==================== */



/* ====================
GRID
==================== */

.app {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background-color: #000000;
}
.sticky-header {
  color: #FFFFFF;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
  min-height: 80px;
}
.mobile-menu-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  display: none;
  color: #FFFFFF;
}
.sticky-header h2 {
  font-size: 1.4rem;
  font-weight: 600;
}
.dashboard-content {
  padding: 28px 24px;
}
.grid-section {
  margin-bottom: 48px;
}
.grid {
  display: grid;
  gap: 20px;
}
.grid-1 {
  grid-template-columns: 1fr;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-5 {
  grid-template-columns: 2fr 1fr;
}
.grid-6 {
  grid-template-columns: repeat(6, 1fr);
}
.m0 {
  margin: 0px !important;
}
.m10 {
  margin: 10px !important;
}
.m20 {
  margin: 20px !important;
}
.m30 {
  margin: 30px !important;
}
.m40 {
  margin: 40px !important;
}
.mt10 {
  margin-top: 10px !important;
}
.mt20 {
  margin-top: 20px !important;
}
.mt30 {
  margin-top: 30px !important;
}
.mt40 {
  margin-top: 40px !important;
}
.mb10 {
  margin-top: 10px !important;
}
.mb20 {
  margin-top: 20px !important;
}
.mb30 {
  margin-top: 30px !important;
}
.mb40 {
  margin-top: 40px !important;
}
.mlr0 {
  margin-left: 0px !important;
  margin-right: 0px !important;
}
.mlr10 {
  margin-left: 10px !important;
  margin-right: 10px !important;
}
.mlr20 {
  margin-left: 20px !important;
  margin-right: 20px !important;
}
.mlr30 {
  margin-left: 30px !important;
  margin-right: 30px !important;
}
.mlr40 {
  margin-left: 40px !important;
  margin-right: 40px !important;
}
.mtb0 {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}
.mtb10 {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}
.mtb20 {
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}
.mtb30 {
  margin-top: 30px !important;
  margin-bottom: 30px !important;
}
.mtb40 {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}
.p0 {
  padding: 0px !important;
}
.p10 {
  padding: 10px !important;
}
.p20 {
  padding: 20px !important;
}
.p30 {
  padding: 30px !important;
}
.p40 {
  padding: 40px !important;
}
.plr0 {
  padding-left: 0px !important;
  padding-right: 0px !important;
}
.plr10 {
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.plr20 {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
.plr30 {
  padding-left: 30px !important;
  padding-right: 30px !important;
}
.plr40 {
  padding-left: 40px !important;
  padding-right: 40px !important;
}
.ptb0 {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}
.ptb10 {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
.ptb20 {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}
.ptb30 {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}
.ptb40 {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
.card {
  background: rgba(255,255,255,0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}
.scroll-box {
  overflow-y: scroll;
  min-height: 300px;
  max-height: 400px;
}

/* ====================
SECTIONS
==================== */

/*GENERAL*/


.card-banner {
  position: relative;
  width: auto;
  height: 250px;
}
.card-polygon-bg {
  background-color: var(--red);
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0,100% 0,100% 100%,0 calc(100% - 20px));
}
.card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}
.card-image img {
  width: auto;
  height: 120%;
}
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, var(--red) 0%, rgba(255,255,255,0) 70%);
  width: 200px;
  height: 200px;
  margin: 0 auto 20px auto;
}
.icon-box img {
  width: 60%;
  height: auto;
}

/*STORE*/

.item-box {
  padding: 0;
  position: relative;
}
.item-box:hover {
  transform: scale(1.05);
  transition: all 0.3s;
}
.item-box .badge {
  position: absolute;
  z-index: 1;
  top: 7px;
  right: 5px;
}
.item-box:hover .item-box-picture {
  background: rgba(150, 113, 252, 0);
  background: radial-gradient(circle, var(--red) 0%, rgba(0,0,0,1) 100%);
  transition: all 0.3s;
}
.item-box-picture {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,1) 100%);
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.item-box-picture img {
  width: 100%;
  height: auto;
}
.item-box-content {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 15px;
  border-top: 1px solid rgba(255,255,255,0.5);
}
.item-box-content h4 {
  margin: 0 0 10px 0;
}
.item-box-content p {
  margin: 0;
}

/* ====================
SLIDER
==================== */

.slider-container {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.25);
  background: #000;
  border: 1px solid rgba(255,255,255,0.5);
}
.slider-wrapper {
  position: relative;
  overflow: hidden;
  cursor: grab;
}
.slider-wrapper:active {
  cursor: grabbing;
}
.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
  background: #1e1e2f;
}
.slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.slide-content {
  position: absolute;
  bottom: 12%;
  left: 5%;
  right: 5%;
  z-index: 10;
  color: white;
  text-shadow: 0 2px 15px rgba(0,0,0,0.5);
  max-width: 550px;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 100%);
  padding: 1.2rem 2rem;
  border-radius: 24px;
  backdrop-filter: blur(3px);
  pointer-events: none;
}
.slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  cursor: pointer;
}
.slide-link .slide-content {
  pointer-events: none;
}
.slide-title {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide-desc {
  font-size: clamp(0.9rem, 3vw, 1.3rem);
  font-weight: 500;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}
.slide.active .slide-title,
.slide.active .slide-desc {
  opacity: 1;
  transform: translateY(0);
}
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 28px;
  font-weight: bold;
}
.nav-btn:hover {
  background: rgba(0,0,0,0.85);
  transform: translateY(-50%) scale(1.05);
}
.btn-prev {
  left: 20px;
}
.btn-next {
  right: 20px;
}
.dots-container {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 20;
  padding: 8px;
}
.dot {
  width: 12px;
  height: 12px;
  background-color: transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid rgba(255,255,255,0.3);
}
.dot.active {
  background-color: var(--red);
  width: 28px;
  border-radius: 12px;
  box-shadow: 0 0 8px var(--red);
  border: 1px solid var(--red);
}
.slider-wrapper.dragging {
  cursor: grabbing;
}
.slider-wrapper.dragging .slider-track {
  transition: none;
}

/* ====================
ACCORDION
==================== */

.accordion-item {
  border: 1px solid rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.accordion-item:hover, .accordion-item:active {
  border: 1px solid rgba(255,255,255,1);
}
.accordion-item:hover .accordion-header, .accordion-item:active .accordion-header {
  background-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,1);
}
.accordion-header {
  color: rgba(255,255,255,0.5);
  font-family: 'Bebas Neue';
  font-size: 18pt;
  padding: 15px 70px 15px 15px;
  cursor: pointer;
  font-weight: bold;
}
.accordion-header-icon {
  background-color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 10px;
  right: 10px;
  color: #000000;
  width: 45px;
  height: 45px;
  font-size: 40pt;
  transition: all 0.3s;
}
.accordion-header-icon i {
  transform: rotate(90deg);
  transition: all 0.3s;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.accordion-content p {
  margin-bottom: 0;
  padding: 20px 0;
}
.accordion-item.active {
  border: 1px solid var(--red);
}
.accordion-item.active .accordion-header {
  color: var(--red);
}
.accordion-item.active .accordion-header-icon {
  background-color: rgba(255,255,255,1);
}
.accordion-item.active .accordion-content {
  max-height: 200px;
  padding: 0 20px;
}
.accordion-item.active .accordion-header-icon i {
  transform: rotate(0deg);
}

/* ====================
TABS
==================== */

.tabs-container {
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.tabs-header {
  font-family: 'Bebas Neue';
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.tabs-header::-webkit-scrollbar {
  height: 4px;
}
.tabs-header::-webkit-scrollbar-track {
  border-radius: 8px;
}
.tabs-header::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 8px;
}
.tab-button {
  background-color: rgba(0,0,0,0.2);
  flex: 0 0 auto;
  border: none;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  margin-bottom: -1px;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  letter-spacing: 0.01em;
}
.tab-button:hover {
  color: rgba(255,255,255,0.5);
}
.tab-button.active {
  color: rgba(255,255,255,1);
  margin-bottom: -1px;
}
.tabs-content {
  padding: 20px 0 0 0;
}
.tab-pane {
  display: none;
  animation: fadeIn 0.2s ease;
}
.tab-pane.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px);}
  to   { opacity: 1; transform: translateY(0);}
}
.tab-pane p {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.tab-pane p:last-child {
  margin-bottom: 0;
}
.badge {
  background: rgba(255,255,255,0.2);
  color: #FFFFFF;
  font-size: 0.75rem;
  padding: 5px 20px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.5);
  display: inline-block;
  backdrop-filter: blur(20px);
}
.badge-yellow {
  color: var(--yellow);
  border-color: var(--yellow);
}
.badge-green {
  color: var(--green);
  border-color: var(--green);
}
.badge-blue {
  color: var(--blue);
  border-color: var(--blue);
}
.badge-red {
  color: var(--red);
  border-color: var(--red);
}
.badge-purple {
  color: var(--purple);
  border-color: var(--purple);
}
hr {
  margin: 0.5rem 0;
  border-color: #edf2f7;
}
.note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #5b6e8c;
  text-align: right;
  border-top: 1px dashed #e2e8f0;
  padding-top: 0.75rem;
}

/* ====================
TEXT
==================== */

h1,h2,h3,h4,h5 {
  font-style: normal;
  padding: 0;
  margin: 10px 0;
  line-height: normal;
}
h1 {
  font-size: 40pt;
}
h2 {
  font-size: 30pt;
}
h3 {
  font-size: 20pt;
}
h4 {
  font-size: 14pt;
}
p {
  padding: 0;
  margin: 0 0 20px 0;
}
.primary-font {
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1em;
}
.secondary-font {
  font-family: 'Bebas Neue';
  line-height: 1em;
}
.title-large {
  width: 100%;
  font-size: 60pt;
  line-height: normal;
}
.title-large .title-small {
  line-height: 0;
}
.title-medium {
  width: 100%;
  font-size: 35pt;
  line-height: normal;
}
.title-small {
  width: 100%;
  font-size: 20pt;
  line-height: normal;
}
.text-lines {
  width: 920px;
  height: 200px;
  margin-bottom: -35px;
}
.text-lines text {
  display: block;
  width: 100%;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  stroke: var(--red);
  animation: dash 5s linear forwards, filling 4s ease-in forwards;
  font-size: 150pt;
  text-align: center;
}
.text-center {
  text-align: center;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes filling {
  from{
    fill: var(--red);
    fill-opacity: 0;
  }
  to {
    fill: var(--red);
    fill-opacity: 1;
  }
}

/* ====================
COLORS
==================== */

.color-red {
  color: var(--red);
}
.color-blue {
  color: var(--blue);
}
.color-green {
  color: var(--green);
}
.color-purple {
  color: var(--purple);
}
.color-yellow {
  color: var(--yellow);
}
.bg-red {
  background-color: var(--red);
}
.bg-blue {
  background-color: var(--blue);
}
.bg-green {
  background-color: var(--green);
}
.bg-purple {
  background-color: var(--purple);
}

/* ====================
LOGIN
==================== */

.login-container {
  display: flex;
  height: 100vh;
  width: 100%;
}
.login-image {
  flex: 1; /* ocupa 50% en flex */
  background: url('../img/bg-neighborhood.webp') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  padding: 2rem;
  text-align: center;
}
.login-logo {
  width: 300px;
  height: auto;
}
.login-logo img {
  width: 100%;
  height: auto;
}
.login-image h1 {
  font-size: 2.8rem;
  font-weight: 300;
  letter-spacing: 2px;
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem 2rem;
  backdrop-filter: blur(4px);
}
.login-form-wrapper {
  flex: 1;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.login-form {
  width: 100%;
  max-width: 380px;
  background: rgba(255,255,255,0.1);
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: all 1s ease;
}
.login-form h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.login-form p.subtitle {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.login-form .form-group {
  margin-bottom: 1.5rem;
}
.login-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.login-form .input-group {
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  padding: 10px 20px;
  transition: background 0.2s, box-shadow 0.2s;
}
.login-form .input-group i {
  color: var(--red);
  font-size: 1rem;
  margin-right: 0.6rem;
}
.login-form .input-group input {
  width: 100%;
  padding: 7px 0;
  margin: 0;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  outline: none;
}
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0 1.8rem;
  font-size: 0.9rem;
}
.form-options label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}
.form-options a {
  color: var(--red);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.form-options a:hover {
  text-decoration: underline;
}
.btn-login {
  font-size: 1.5em !important;
  width: 100%;
}
.register-link {
  text-align: center;
  margin-top: 1.8rem;
  font-size: 0.9rem;
}
.register-link a {
  color: var(--red);
  text-decoration: none;
  font-weight: 500;
}
.register-link a:hover {
  text-decoration: underline;
}

/* Mensaje de error/éxito */
#message {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  padding: 0.5rem;
  border-radius: 8px;
  display: none;
}

#message.error {
  display: block;
  background: #fee2e2;
  color: #b91c1c;
}

#message.success {
  display: block;
  background: #dcfce7;
  color: #166534;
}

/* ====================
FORMS
==================== */

input[type=text], input[type=number], input[type=password], input[type=tel], input[type=search], input[type=date], input[type=time], input[type=email], textarea {
  width: 100%;
  color: #FFFFFF;
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 15px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 12pt;
  margin: 10px 0;
  outline: none;
  transition: border-color 0.3s ease;
}
input:focus, textarea:focus {
  border-color: rgba(255,255,255,1);
}

/* ====================
BUTTONS
==================== */

.btn-red {
  background-color: var(--red);
}
.btn-red:hover {
  background-color: var(--red-2);
}
.btn-blue {
  background-color: var(--blue);
}
.btn-blue:hover {
  background-color: var(--blue-2);
}
.btn-green {
  background-color: var(--green);
}
.btn-green:hover {
  background-color: var(--green-2);
}
.btn-purple {
  background-color: var(--purple);
}
.btn-purple:hover {
  background-color: var(--purple-2);
}
.btn-outline {
  background: rgba(var(--white),0.1);
  text-decoration: none;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(var(--white),0.5);
  font-size: 0.85rem;
  color: rgba(var(--white),1);
  transition: 0.2s;
}
.btn-outline:hover {
  background: rgba(var(--white),1);
  color: #000000;
  transform: translateY(-5%);
}
.btn {
  color: white;
  text-align: center;
  text-decoration: none;
  font-style: normal;
  padding: 0.4rem 1.2rem;
  font-size: 0.85rem;
  transition: 0.2s;
  line-height: normal;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-5%);
}
.btn-primary {
  background: var(--red);
  border: 1px solid var(--red);
}
.btn-primary:hover {
  background:  var(--red-2);
  border: 1px solid var(--red-2);
  transform: translateY(-5%);
}
.btn-large {
  display: inline-block;
  font-family: 'Bebas Neue';
  font-size: 25pt;
  padding: 0.6rem 3rem;
  margin-bottom: 20px;
}
.btn-launcher {
  display: flex;
  flex-wrap: wrap;
  background: url('../img/bg-blood.jpg') center var(--red);
  background-size: 100% auto;
  color: rgba(var(--white),1);
  padding: 10px 30px;
  margin: 0 0 20px 0;
  text-decoration: none;
  font-size: 30pt;
  text-transform: uppercase;
  font-style: normal;
  align-items: center;
  transition: all 0.3s;
}
.btn-launcher:hover, .btn-launcher:active {
  background-size: 120% auto;
  cursor: pointer;
  transform: translateY(-5%);
  box-shadow: 0 5px 10px rgba(0,0,0,0.8);
}
.btn-launcher-icon {
  width: 60px;
  height: 60px;
  font-size: 40pt;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}
.btn-launcher-content {
  font-family: 'Bebas Neue';
  line-height: normal;
}
.btn-launcher-content h3 {
  margin: 0;
}
.btn-launcher-content p {
  font-size: 14pt;
  margin: 0;
}
.btn-close {
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 30px;
  border: none;
  border-radius: 50%;
  margin: 0;
  padding: 0;
}
.btn-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 20px;
  padding: 0;
}
.linked-icon {
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 30px;
  text-align: center;
  display: block;
  text-decoration: none;
  transition: all 0.3s;
}
.linked-icon:hover {
  transform: translateY(-5px);
}
