@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Rubik",  sans-serif;
  --nav-font: "Kanit",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #211201; /* Background color for the entire website, including individual sections */
  --default-color: #40372e; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #281a0c; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #f87500; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #f87500; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #40372e; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #f87500; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #fffbf7;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #100901;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(34, 18, 2, 0.9);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

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

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background: linear-gradient(to bottom, #a16c31, #040200);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/bg1.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    min-height: 90vh;
  }
}

.hero .background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--background-color), transparent 30%) 0%, color-mix(in srgb, var(--background-color), transparent 50%) 100%);
  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 0 80px;
}

@media (max-width: 768px) {
  .hero .hero-content {
    padding: 100px 0 60px;
  }
}

.hero .hero-text {
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .hero .hero-text {
    margin-bottom: 40px;
  }
}

.hero .hero-title {
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
}

@media (max-width: 1200px) {
  .hero .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero .hero-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }
}

.hero .hero-subtitle {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .hero .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
}

.hero .cta-section {
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .hero .cta-section {
    margin-bottom: 50px;
  }
}

.hero .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 576px) {
  .hero .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

.hero .btn-cta {
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
}

@media (max-width: 768px) {
  .hero .btn-cta {
    padding: 14px 28px;
    font-size: 1rem;
    min-width: 160px;
  }
}

.hero .btn-cta.btn-primary {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.hero .btn-cta.btn-primary:hover {
  transform: translateY(-2px);
}

.hero .btn-cta.btn-secondary {
  background: transparent;
  border: 2px solid var(--default-color);
  color: var(--default-color);
}

.hero .btn-cta.btn-secondary:hover {
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Sección Estadísticas
--------------------------------------------------------------*/

/* Contenedor de pestañas / botones de selección de servidor */
.estadisticas .estadisticas-tabs {
  margin-bottom: 2rem;
  text-align: center;
}

/* Items de las pestañas */
.estadisticas .estadisticas-tabs .nav-pills .nav-item {
  margin: 0 8px;
}

/* Pestañas inactivas */
.estadisticas .estadisticas-tabs .nav-pills .nav-item .nav-link {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Hover en pestañas */
.estadisticas .estadisticas-tabs .nav-pills .nav-item .nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

/* Pestaña activa */
.estadisticas .estadisticas-tabs .nav-pills .nav-item .nav-link.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

/* Título de sección */
.estadisticas .section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #fff;
}

.estadisticas .section-title p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Contenedor de tarjetas de estadísticas */
.estadisticas .stat-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 200px;
  box-sizing: border-box;
  color: #fff;
}

.estadisticas .stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.estadisticas .stat-card h4 {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #fff;
}

.estadisticas .stat-card p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

.estadisticas .stat-icon i {
  font-size: 2.5rem;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.estadisticas .stat-card:hover .stat-icon i {
  transform: scale(1.2);
}

/* Controles de tabla: buscador + selector de filas */
.estadisticas .table-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* Subpestañas Wipe / Global */
.estadisticas .tab-content .nav-tabs .nav-link {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-right: 8px;
}

.estadisticas .tab-content .nav-tabs .nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.estadisticas .tab-content .nav-tabs .nav-link.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

/* Buscador y selector redondeado */
.estadisticas .table-controls .search-input,
.estadisticas .table-controls select {
  width: auto;
  max-width: 250px;
  padding: 6px 14px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.estadisticas .table-controls .search-input::placeholder {
  color: rgba(255,255,255,0.6);
}

.estadisticas .table-controls .search-input:focus,
.estadisticas .table-controls select:focus {
  border-color: var(--accent-color);
  background: rgba(0,0,0,0.5);
  color: #fff;
}

.estadisticas .table-controls .search-input:hover,
.estadisticas .table-controls select:hover {
  border-color: var(--accent-color);
  background: rgba(0,0,0,0.5);
  color: #fff;
}

/* Paginación debajo de la tabla */
.estadisticas .pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
  gap: 5px;
  flex-wrap: wrap;
}

.estadisticas .pagination-container button {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.estadisticas .pagination-container button:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.estadisticas .pagination-container button.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

/* Estilo redondeado para buscador */
.estadisticas .rounded-input {
  border-radius: 50px !important;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.35);
  color: #fff;
  padding: 6px 14px;
  font-size: 0.95rem;
  outline: none;
  cursor: text;
  text-align: center;
  transition: all 0.3s ease;
}

.estadisticas .rounded-input:focus,
.estadisticas .rounded-input:hover {
  border-color: var(--accent-color);
  background: rgba(0,0,0,0.5);
  color: #fff;
}

/*--------------------------------------------------------------
# Tabla estilo oscuro integrada al tema
--------------------------------------------------------------*/
.estadisticas table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  color: #fff;
}

.estadisticas table thead {
  background: rgba(255,255,255,0.08);
}

.estadisticas table thead th {
  padding: 12px;
  color: #fff;
  font-weight: 700;
  border-bottom: 2px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.25);
  text-align: center;
}

.estadisticas table tbody tr {
  transition: all 0.25s ease;
}

.estadisticas table tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.03);
}

.estadisticas table tbody tr:hover {
  background: rgba(255,255,255,0.12);
}

.estadisticas table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: #000000;
}

.estadisticas table tbody tr:last-child td {
  border-bottom: none;
}

/* Paginación DataTables adaptada */
.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: rgba(255,255,255,0.08) !important;
  border: 2px solid rgba(255,255,255,0.2) !important;
  color: #fff !important;
  border-radius: 50px !important;
  margin: 0 4px;
  padding: 4px 10px;
  transition: all 0.25s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: var(--accent-color) !important;
  color: var(--accent-color) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: var(--contrast-color) !important;
}

/* Buscador DataTables */
.dataTables_filter input {
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.35);
  padding: 6px 14px;
  color: #fff;
  outline: none;
  transition: all .3s ease;
}

.dataTables_filter input::placeholder {
  color: rgba(255,255,255,0.6);
}

.dataTables_filter input:focus,
.dataTables_filter input:hover {
  border-color: var(--accent-color);
  background: rgba(0,0,0,0.5);
}

/* Selector de filas DataTables */
.dataTables_length select {
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.35);
  padding: 6px 14px;
  color: #fff;
  outline: none;
  transition: .3s ease;
}

.dataTables_length select:hover,
.dataTables_length select:focus {
  border-color: var(--accent-color);
  background: rgba(0,0,0,0.5);
}

/* Responsive tablets */
@media (max-width: 992px) {
  .estadisticas .estadisticas-tabs .nav-pills {
    flex-wrap: wrap;
  }
}

/* Responsive móviles */
@media (max-width: 768px) {
  .estadisticas .estadisticas-tabs .nav-pills .nav-item .nav-link {
    width: 100%;
    max-width: 250px;
    margin: 0.5rem auto;
    display: block;
    text-align: center;
  }

  .estadisticas .section-title h2 {
    font-size: 1.7rem;
  }

  .estadisticas .section-title p {
    font-size: 1rem;
  }

  .estadisticas .stat-card {
    padding: 1.5rem;
    min-height: auto;
  }

  .estadisticas .stat-card h4 {
    font-size: 1rem;
  }

  .estadisticas .stat-card p {
    font-size: 0.9rem;
  }

  .estadisticas .stat-icon i {
    font-size: 2rem;
  }

  .estadisticas .table-controls {
    justify-content: center;
  }

  .estadisticas .table-controls .search-input,
  .estadisticas .table-controls select {
    width: 100%;
    max-width: 300px;
  }
}

/*--------------------------------------------------------------
# Servidores Section
--------------------------------------------------------------*/

/* Título de sección */
.servidores .section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--contrast-color); /* Texto principal visible */
}

.servidores .section-title p {
  color: color-mix(in srgb, var(--contrast-color), black 30%);
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* ============================
   Stats y Jugadores Uniformes
=============================== */

/* Contenedor grid para stats y jugadores */
.servidores .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* Tarjetas unificadas */
.servidores .stat-card,
.server-card {
  background-color: rgba(0,0,0,0.6); /* Fondo oscuro semitransparente */
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 250px;
  box-sizing: border-box;
  color: var(--contrast-color); /* Asegura que todo el texto sea legible */
}

/* Hover: levanta la tarjeta y agrega sombra */
.servidores .stat-card:hover,
.server-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Iconos naranjas y animación al hover */
.servidores .stat-icon i {
  font-size: 2.5rem;
  color: orange;
  transition: all 0.3s ease;
}

.servidores .stat-card:hover .stat-icon i {
  transform: scale(1.2);
}

/* Texto dentro de las tarjetas */
.servidores .stat-card h4,
.server-card h4 {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: var(--contrast-color);
}

.servidores .stat-card p,
.server-card p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--contrast-color), black 30%);
}

/* ----------------------------
   Caja con la IP
---------------------------- */
.server-ip-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
  transition: 0.3s ease;
}

.server-ip-box:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Texto de IP */
.ip-label {
  font-weight: 600;
  opacity: 0.85;
  color: var(--contrast-color);
}

.ip-value {
  font-family: "Roboto Mono", monospace;
  cursor: pointer;
  color: var(--accent-color);
  user-select: all;
}

/* Botón copiar */
.copy-ip-btn {
  position: relative; /* Necesario para posicionar tooltip */
  border: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
  color: var(--contrast-color);
}

.copy-ip-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Tooltip de “copiado” */
.copy-ip-btn::after {
  content: "";
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Mostrar tooltip cuando se copia */
.copy-ip-btn.copied::after {
  content: "IP copiada!";
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

.badge {
  font-family: 'Kanit', sans-serif;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 400;
}
.server-card {
  transition: transform 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
}
.server-card:hover {
  transform: translateY(-5px);
  border-color: #ff4b2b; /* O el color principal de La Macarena */
}
/* ----------------------------
   Responsive
---------------------------- */
@media (max-width: 992px) {
  .servidores .stats-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .servidores .stat-card,
  .server-card {
    padding: 1.5rem;
    min-height: auto;
  }

  .servidores .stat-card h4,
  .server-card h4 {
    font-size: 1rem;
  }

  .servidores .stat-card p,
  .server-card p {
    font-size: 0.9rem;
  }

  .servidores .stat-icon i {
    font-size: 2rem;
  }

  .server-ip-box {
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
  }

  .copy-ip-btn {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Normas Section - Tema Oscuro
--------------------------------------------------------------*/

/* Contenedor principal */
.normas-page .page-content {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 10px; /* Solo padding interno, sin fondo sólido */
}

/* Cada regla */
.rules-accordion .rule-item {
  background-color: rgba(255,255,255,0.05); /* Fondo oscuro muy sutil */
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover más “flotante” */
.rules-accordion .rule-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

/* Toggle de cada regla */
.rules-accordion .rule-toggle {
  width: 100%;
  padding: 15px 20px;
  background-color: rgba(255,165,0,0.9); /* Naranja acento */
  color: #000;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Hover toggle */
.rules-accordion .rule-toggle:hover {
  background-color: rgba(255,165,0,1);
}

/* Contenido de la regla */
.rules-accordion .rule-content {
  display: none;
  padding: 15px 25px;
  background-color: rgba(20,20,20,0.5); /* Fondo oscuro semi-transparente */
  color: #ddd;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.rules-accordion .rule-content ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #ccc;
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}
/* Botón Steam - forzar estilo naranja */
.steam-login,
.steam-btn {
    background-color: var(--accent-color) !important; /* naranja */
    color: var(--contrast-color) !important;         /* texto claro */
    border: none !important;
    padding: 0.5rem 1rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
}

.steam-login:hover,
.steam-btn:hover {
    background-color: color-mix(in srgb, var(--accent-color), black 10%) !important;
    transform: translateY(-2px) !important;
}

/* ================================
   NAVBAR - AVATAR Y NOMBRE STEAM
================================ */

.steam-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.steam-avatar {
    width: 32px;   /* tamaño fijo */
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.steam-btn span {
    font-size: 0.9rem;  /* texto más pequeño */
    max-width: 120px;   /* evitar que el nombre se salga */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dropdown Steam */
.steam-dropdown {
    position: relative;
}

.steam-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #151515;
    min-width: 140px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    border-radius: 5px;
    z-index: 1000;
}

.steam-dropdown-content a {
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.steam-dropdown-content a:hover {
    background-color: #ff6a00;
    color: #151515;
}

.steam-dropdown:hover .steam-dropdown-content {
    display: block;
}

.player-link {
        text-decoration: none;
        color: inherit;
        display: flex;
        align-items: center;
        gap: 10px; /* Separa la imagen del texto */
    }
    .avatar-img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-color: #2c2c2c; /* Fondo oscuro por si tarda en cargar */
        border: 1px solid #555;
        flex-shrink: 0; /* Evita que la imagen se aplaste */
    }
    .player-link:hover strong {
        color: #ffc107;
        transition: 0.3s;
    }

/* =======================================================
   TIENDA LA MACARENA - CSS INTEGRAL RESTAURADO
========================================================== */

:root {
  --accent-color: #f87500;
  --nav-font: 'Kanit', sans-serif;
}

/* SECCIÓN PRINCIPAL CON EL FONDO SOLICITADO */
.pricing-section {
  padding: 100px 0;
  position: relative;
  /* El degradado exacto de tierra a negro */
  background: #a16c31; 
  background: linear-gradient(to bottom, #a16c31, #040200) !important;
  min-height: 80vh;
  overflow: hidden;
}

.pricing-wrapper {
  max-width: 1280px; 
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* TARJETAS DE LOS KITS (Estética Glassmorphism) */
.pricing-card {
  background: rgba(0, 0, 0, 0.5); /* Fondo oscuro traslúcido */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 50px 30px 40px 30px; 
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  backdrop-filter: blur(15px); /* Desenfoque del fondo */
  -webkit-backdrop-filter: blur(15px);
}

.pricing-card:hover {
  transform: translateY(-12px);
  border-color: var(--accent-color);
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* EFECTO DE LAS IMÁGENES (Máscara radial) */
.card-img {
  width: 100%;
  height: 150px; 
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-img img {
  max-height: 100%;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 20px;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.8));
  
  /* Difuminado de bordes de la imagen */
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  
  transition: transform 0.3s ease;
}

.pricing-card:hover .card-img img {
  transform: scale(1.1) rotate(2deg);
}

/* ETIQUETAS (TAGS) */
.sv-tag {
  position: absolute;
  top: 15px; right: 15px;
  padding: 4px 14px;
  font-family: var(--nav-font);
  font-size: 0.7rem; font-weight: 700;
  color: #fff; text-transform: uppercase;
  border-radius: 8px;
  z-index: 5;
}
.tag-vanilla { background: #007bff; box-shadow: 0 0 10px rgba(0, 123, 255, 0.4); }
.tag-5x { background: #ff2d55; box-shadow: 0 0 10px rgba(255, 45, 85, 0.4); }

.pricing-card.featured { border: 2px solid var(--accent-color); }
.featured-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: #fff;
  padding: 6px 25px;
  font-size: 0.65rem; font-weight: 800;
  text-transform: uppercase;
  border-radius: 0 0 12px 12px;
}

/* TEXTOS Y PRECIOS */
.pricing-header h3 {
  font-family: var(--nav-font);
  font-size: 1.6rem; font-weight: 700;
  color: #fff; margin-bottom: 5px;
}

.price-value {
  font-family: var(--nav-font);
  font-size: 3.2rem; font-weight: 700;
  color: var(--accent-color); margin-bottom: 20px;
}
.price-value span { font-size: 1rem; color: rgba(255, 255, 255, 0.4); font-weight: 400; }

/* LISTA DE BENEFICIOS */
.perks-list {
  list-style: none; padding: 0;
  margin: 10px 0 35px 0; width: 100%;
  flex-grow: 1;
}

.perks-list li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem; margin-bottom: 12px;
  display: flex; align-items: center;
  padding-left: 10%; 
}

.perks-list li i {
  color: var(--accent-color);
  margin-right: 12px; font-size: 1.1rem;
}

/* BOTONES */
.btn-buy, .btn-buy-outline {
  display: block; width: 100%;
  padding: 15px; border-radius: 50px;
  font-family: var(--nav-font); font-weight: 700;
  text-transform: uppercase; text-decoration: none;
  transition: 0.3s; text-align: center;
}

.btn-buy {
  background: var(--accent-color); color: #fff;
  border: none; box-shadow: 0 4px 15px rgba(248, 117, 0, 0.3);
}

.btn-buy-outline {
  background: transparent; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-buy:hover { background: #ff8c00; transform: scale(1.03); color: #fff; }
.btn-buy-outline:hover { 
  border-color: var(--accent-color); 
  color: var(--accent-color); 
  background: rgba(255, 255, 255, 0.05); 
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .perks-list li { padding-left: 5%; }
  .price-value { font-size: 2.5rem; }
}

/*--------------------------------------------------------------
# Perfil Section - La Macarena Style
--------------------------------------------------------------*/
.perfil-section {
    padding: 60px 0;
}

/* Tarjeta principal estilo "server-card" */
.profile-card {
    background-color: rgba(0,0,0,0.6); 
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--contrast-color);
    backdrop-filter: blur(10px);
}

.profile-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Imagen de perfil con el naranja de los iconos */
.profile-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid orange; /* Usando el naranja de tus iconos */
    padding: 3px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

/* Forzar que los títulos y textos de datos sean blanco puro */
.profile-card h4, 
.profile-card .value, 
.profile-card h2 {
    color: #ffffff !important;
    opacity: 1 !important;
}

.profile-card h2 {
    font-size: 2.2rem;
    letter-spacing: -1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Stats del perfil similares a las "stat-card" */
.profile-stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    transition: 0.3s;
}

.profile-stat-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.profile-stat-box i {
    color: orange;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.profile-stat-box .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    display: block;
}

.profile-stat-box .value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--contrast-color);
}

/* Botón personalizado naranja */
.btn-macarena {
    background: orange;
    color: black;
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 20px;
    border: none;
    transition: 0.3s;
}

.btn-macarena:hover {
    background: #e69500;
    transform: scale(1.05);
    color: black;
}

.ranking-badge {
    background: rgba(255, 165, 0, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.2);
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
    min-width: 120px;
}
.ranking-badge span {
    text-transform: uppercase;
}

