 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: Arial, Helvetica, sans-serif;
 }

 /* Scrollbar moderna y delgada */
 html {
     scrollbar-width: thin;
     scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
 }

 /* Para Chrome, Edge, Safari y Opera */
 html::-webkit-scrollbar {
     width: 6px;
     height: 6px;
 }

 html::-webkit-scrollbar-track {
     background: transparent;
 }

 html::-webkit-scrollbar-thumb {
     background: rgba(255, 255, 255, 0.25);
     border-radius: 20px;
     transition: 0.3s ease;
 }

 html::-webkit-scrollbar-thumb:hover {
     background: rgba(255, 255, 255, 0.45);
 }

 /* También aplicamos al body por seguridad */
 body {
     background: #050505;
     color: white;
     min-height: 100vh;
     overflow-x: hidden;
     /* Evita scroll horizontal no deseado */
 }



 /* ================= HEADER ================= */

 header {
     width: 100%;
     padding: 10px 30px;
     background: #000;
     border-bottom: 1px solid rgba(255, 255, 255, 0.08);
     position: sticky;
     top: 0;
     z-index: 100;
 }

 /* Parte superior */
 .top-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 20px;
     margin-bottom: 10px;
     flex-wrap: wrap;
 }

 /* Logo */
 .logo {
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .logo i {
     font-size: 38px;
     color: #ff00ff;
 }

 .logo h1 {
     font-size: 2.25rem;
     /* Más flexible y escalable */
     font-weight: 900;
     letter-spacing: -0.02em;
     /* Espaciado más moderno y equilibrado */
     text-transform: uppercase;
     /* Opcional: suele quedar bien en logos */

     /* Gradiente de texto mejorado */
     background: linear-gradient(90deg, #ff00ff, #00d9ff, #ff00ff);
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;

     /* Mejoras visuales */
     position: relative;
     display: inline-block;
     margin: 0;

     /* Suavizado y calidad */
     -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
 }

 /* Buscador */
 .search-box {
     flex: 1;
     max-width: 700px;
     position: relative;
 }

 .search-box input {
     width: 100%;
     padding: 10px 55px 10px 20px;
     border-radius: 10px;
     border: 2px solid #222;
     background: #0d0d0d;
     color: white;
     font-size: 18px;
     outline: none;
     transition: 0.3s;
 }

 .search-box input:focus {
     border-color: #ff00ff;
     box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
 }

 .search-box i {
     position: absolute;
     right: 20px;
     top: 50%;
     transform: translateY(-50%);
     color: #aaa;
     font-size: 18px;
 }

 /* Usuario */
 .user-area {
     display: flex;
     align-items: center;
     gap: 20px;
 }

 .coins {
     display: flex;
     align-items: center;
     gap: 10px;
     background: #111;
     padding: 10px 18px;
     border-radius: 15px;
     border: 1px solid #222;
     font-size: 22px;
     font-weight: bold;
     color: #ffd700;
 }

 .coins i {
     color: #ffd700;
 }

 .profile {
     width: 55px;
     height: 55px;
     border-radius: 50%;
     background: linear-gradient(135deg, #ff00ff, #00d9ff);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 24px;
     cursor: pointer;
     transition: 0.3s;
 }

 .profile img {
    width: 90%;
    height: 90%;
    margin: auto;
    border-radius:50%;
    object-fit: cover;
    display: block;
}

 .profile:hover {
     transform: scale(1.08);
     box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
 }

 /* ================= MENU ================= */

 nav {
     display: flex;
     justify-content: center;
     gap: 25px;
     flex-wrap: wrap;
 }

 nav button {
     min-width: 200px;
     padding: 8px 20px;
     border-radius: 8px;
     border: 2px solid #222;
     background: #050505;
     color: white;
     font-size: 17px;
     font-weight: 700;
     cursor: pointer;
     transition: 0.3s;
     position: relative;
     overflow: hidden;
 }

 nav button:hover {
     border-color: #ff00ff;
     transform: translateY(-4px);
     box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
 }

 nav button.active {
     border-color: #ff00ff;
     box-shadow: 0 0 20px rgba(255, 0, 255, 0.4);
 }

 nav button::before {
     content: "";
     position: absolute;
     width: 0%;
     height: 100%;
     background: linear-gradient(90deg, #ff00ff33, #00d9ff33);
     top: 0;
     left: 0;
     transition: 0.4s;
 }

 nav button:hover::before {
     width: 100%;
 }

 /* RESPONSIVE */

 @media(max-width:900px) {

     .top-header {
         flex-direction: column;
         align-items: stretch;
     }

     .search-box {
         max-width: 100%;
     }

     nav button {
         min-width: 140px;
         font-size: 16px;
     }

 }


 /* ================= FOOTER COMPACTO ================= */
 .footer {
     width: 100%;
     background: #0a0a0a;
     padding: 35px 30px 25px;
     margin-top: 70px;
     border-top: 1px solid #1f1f1f;
 }

 .footer-content {
     max-width: 1300px;
     margin: 0 auto;
 }

 /* Parte superior */
 .footer-top {
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
     gap: 20px;
     margin-bottom: 20px;
 }

 .footer-logo h2 {
     font-size: 28px;
     font-weight: 700;
     margin: 0;
     letter-spacing: -0.5px;
     background: linear-gradient(90deg, #ff00ff, #00d9ff, #00ffcc);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     transition: all 0.4s ease;
     position: relative;
 }

 /* Efecto hover opcional (recomendado) */
 .footer-logo h2:hover {
     background: linear-gradient(90deg, #00ffcc, #ff00ff, #00d9ff);
     transform: scale(1.05);
     filter: brightness(1.1);
 }

 /* Para mejor compatibilidad y calidad */
 .footer-logo h2 {
     -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.1);
 }

 /* Links */
 .footer-links {
     display: flex;
     gap: 25px;
     flex-wrap: wrap;
 }

 .footer-links a {
     color: #aaaaaa;
     text-decoration: none;
     font-size: 14.5px;
     transition: 0.3s;
 }

 .footer-links a:hover {
     color: white;
 }

 /* Parte inferior */
 .footer-bottom {
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
     gap: 15px;
     padding-top: 20px;
     border-top: 1px solid #1f1f1f;
 }

 .footer-bottom span {
     color: #666;
     font-size: 13.5px;
 }

 .footer-extra {
     display: flex;
     gap: 20px;
 }

 .footer-extra a {
     color: #777;
     text-decoration: none;
     font-size: 13.5px;
     transition: 0.3s;
 }

 .footer-extra a:hover {
     color: #00d9ff;
 }

 /* Responsive */
 @media (max-width: 768px) {
     .footer {
         padding: 30px 20px 20px;
     }

     .footer-top {
         flex-direction: column;
         text-align: center;
         gap: 15px;
     }

     .footer-bottom {
         flex-direction: column;
         text-align: center;
         gap: 12px;
     }
 }



  /* ================= TITULO DE SECION ================= */


.titulo-de-secion{
    color:white;
    font-size:25px;
    font-weight:700;
    margin:5px 0px;
    position:relative;
    display:inline-block;
    letter-spacing:1px;
}

/* LINEA DEBAJO */

.titulo-de-secion::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:100%;
    height:4px;
    border-radius:20px;
    background:linear-gradient(90deg,#ff00ff,#00d9ff);
}


.filtros button{
    padding:8px 13px;
    border:none;
    border-radius:10px;
    background:#181818;
    color:#cfcfcf;
    cursor:pointer;
    transition:0.3s;
    font-size:14px;
}

.filtros button:hover{
    background:#242424;
    transform:translateY(-2px);
}

/* ACTIVO */

.filtros .active{
    background:linear-gradient(
        90deg,
        #ff00ff,
        #00d9ff
    );
    color:white;
    font-weight:bold;
}
