:root{
    --bg:#0f1318;
    --card:#141922;
    --text:#ffffff;
    --muted:#9aa3b2;

    --accent1:#22c55e;
    --accent2:#f59e0b;
    --accent3:#ef4444;

    --radius:12px;
}

/* ==========================================================================
   BASE / GLOBAL RESET
   ========================================================================== */

html{
    font-size:18px;
    scrollbar-gutter:stable;
}

body{
    margin:0;
    padding:0;
    font-family:Arial!important;
    font-size:18px;
    color:white;
    background-color:#0f1115!important;
    height:100%;
    position: relative;
}

/* solo en pantallas grandes */
@media (min-width: 1920px) {

  body::before {
    content: "";
    position: fixed;
    inset: 0;

    background-image: url("/images/circuit-bg2.svg?v2");
    background-repeat: repeat;
    background-size: 600px 600px;

mask-image: linear-gradient(
  to right,
  rgba(0,0,0,1) 0%,
  rgba(0,0,0,0.3) 15%,
  rgba(0,0,0,0) 35%,
  rgba(0,0,0,0) 65%,
  rgba(0,0,0,0.3) 85%,
  rgba(0,0,0,1) 100%
);

-webkit-mask-image: linear-gradient(
  to right,
  rgba(0,0,0,1) 0%,
  rgba(0,0,0,0.3) 15%,
  rgba(0,0,0,0) 35%,
  rgba(0,0,0,0) 65%,
  rgba(0,0,0,0.3) 85%,
  rgba(0,0,0,1) 100%
);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
  }
}
main, header, footer, section, .container {
  position: relative;
  z-index: 1;
}

.main-wrapper{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.content-wrapper{
    width:100%;
    max-width:1160px;
    min-width:360px;
    margin:0 auto;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.hiddenmobile{
    display:block;
}

@media (max-width:1800px){
    .hiddenmobile{
        display:none!important;
    }
}

/* FONT SIZES */
.f12{font-size:.67rem;}
.f14{font-size:.78rem;}
.f16{font-size:.89rem;}
.f18{font-size:1rem;}
.f20{font-size:1.11rem;}
.f22{font-size:1.22rem;}
.f24{font-size:1.33rem;}
.f26{font-size:1.44rem;}
.f28{font-size:1.56rem;}
.f30{font-size:1.67rem;}

.fs-7{
    font-size:.75rem!important;
}

.bold{
    font-weight:bold;
}

/* ==========================================================================
   HELPERS VISUALES
   ========================================================================== */

.hr-orange{
    border:0!important;
    height:3px!important;
    background:linear-gradient(
        to right,
        rgba(255,255,255,0),
        rgba(254,146,0,.75),
        rgba(255,255,255,0)
    )!important;
    margin:25px 0!important;
}

.hl-title,
.hl-title-noline{
   position:relative;
   display:flex;
   align-items:center;
   padding:12px 18px;
   background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
   border: 1px solid rgba(255,255,255,0.08);
   box-shadow: 0 12px 35px rgba(0,0,0,0.35);
   color:#fff;
   font-size:20px;
   font-weight:700;
   letter-spacing:1px;
   border-radius:16px;
overflow:hidden;
}


/* línea gradient */
.hl-title::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    width:100%;
    height:3px;
    background:linear-gradient(
        to right,
        #00c853 0%,
        #ffd600 50%,
        #d50000 100%
    );
    opacity:0.6;
}

.gold{
    color:#d8c8a2;
}

/* ==========================================================================
   FILTER ICONS
   ========================================================================== */

.filter-white{filter:invert(100%) sepia(9%) saturate(239%) hue-rotate(236deg) brightness(112%) contrast(84%);}
.filter-gold{filter:invert(98%) sepia(71%) saturate(657%) hue-rotate(317deg) brightness(91%) contrast(84%);}
.filter-goldb{filter:invert(78%) sepia(79%) saturate(1965%) hue-rotate(1deg) brightness(106%) contrast(102%);}
.filter-silver{filter:invert(84%) sepia(0%) saturate(0%) hue-rotate(154deg) brightness(93%) contrast(88%);}
.filter-bronze{filter:invert(49%) sepia(12%) saturate(1177%) hue-rotate(349deg) brightness(99%) contrast(85%);}
.filter-green{filter:invert(75%) sepia(82%) saturate(5304%) hue-rotate(83deg) brightness(124%) contrast(116%);}
.filter-red{filter:invert(10%) sepia(99%) saturate(7461%) hue-rotate(5deg) brightness(102%) contrast(110%);}

.filter-white,
.filter-gold,
.filter-goldb,
.filter-silver,
.filter-bronze,
.filter-green,
.filter-red{
    vertical-align:middle;
}

/* ==========================================================================
   LEGACY / NAV
   ========================================================================== */

.topnav{
    position:relative;
    background:#121212;
    padding:8px;
}

.topnav #myLinks{
    display:none;
    text-align:left;
    background-color:#16181a;
    font-size:16px;
}

.bg-darkest{
    background-color:#16181a;
    color:#eaeaea;
}

.bg-darkestb{
    background-color:#282c31;
    color:#eaeaea;
}

/* ==========================================================================
   1. PALETAS DE COLORES Y GENERALES
   ========================================================================== */
.bg-gold {
  background-color: #c7b58a;
  color: #232323;
}

.hl-color {
  color: #fead00;
}

.card {
  background-color: #16181A;
  color: #eaeaea;
}

.shadow-bottom {
  box-shadow: 0 20px 60px -6px black;
}

/* ==========================================================================
   2. LIGHTBOX
   ========================================================================== */
.modal-content {
  background-color: rgba(0, 0, 0, .75);
} 

#LightboxCanvas {
  max-width: 100%; 
  max-height: 100%;
}

/* ==========================================================================
   3. MENÚ WEB (NAVBAR Y DROPDOWNS)
   ========================================================================== */
.navbar .dropdown-menu {
  color: #ffe4a3;
  background-color: #343a40;
  font-size: 16px;
} 

/* Enlaces del contenedor principal y dropdowns */
#navbarSupportedContent a,
.dropdown .dropdown-menu a {
  text-decoration: none;
  font-size: 14px;
}

#navbarSupportedContent a {
  color: #ffe4a3;
}

.dropdown .dropdown-menu a {
  color: #fff;
}

/* Estados Hover y Active */
#navbarSupportedContent a:hover {
  color: #ffcf34; /* Ajustado a dorado claro para que no se vuelva invisible sobre #171a1c */
  background: #171a1c;
} 

.dropdown .dropdown-menu a:hover {
  color: #0e0e0e;
} 

#navbarSupportedContent a:active {
  color: #fead00;
}

#navbarnone:hover {
  color: #343a40 !important;
  background-color: transparent !important;
  text-decoration: none !important;
}

#dropdowngames .dropdown-menu a:hover {
  background-color: #121212 !important;
}

/* ==========================================================================
   4. ENLACES GLOBALES Y TIPOGRAFÍAS
   ========================================================================== */
.smallwords {
  font-size: 11px;
  color: #666666;
  text-transform: uppercase;
}

img.cleanimage {
  border: 0;
  padding: 0;
  margin: 0;
  background-color: transparent;
}

/* Enlaces Dorados Globales */
a:link, a:visited {
  color: #fead00 !important;
  text-decoration: none;
}
a:hover {
  color: #ffcf34 !important;
}

/* Enlaces Blancos */
a.white:link, a.white:visited {
  color: #fff !important;
  text-decoration: none;
}
a.white:hover, a.white:active {
  color: #ffe4a3 !important;
}

/* Enlaces de Texto planos */
a.tlink:link, a.tlink:visited, a.tlink:hover, a.tlink:active {
  text-decoration: none;
}

#tweet a:link, #tweet a:visited, #tweet a:hover, #tweet a:active { 
  color: #1e1e8c !important; 
}

/* ==========================================================================
   5. SECCIÓN JUGADORES, CARDS Y FUT
   ========================================================================== */
.player-title {
  font-size: 30px;
}

.rankingbadge {
  font-size: 20px;
  width: 35px;
}

/* Contenedores de cabecera */
.playerheader, .playerheaderm {
  overflow: auto;
  color: #fff;
  text-align: left;
  margin: 0;
  padding: 0;
}

.playerheader {
  background-image: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(22, 24, 26, 1)), 
                    url('https://www.moddingway.com/fifadbimages/backgroundplayer.webp');
}

#titulo {
  color: #fead00;
  background-color: #2C2C2C;
}

/* Colores de rendimiento FUT / Career */
#redp    { background-color: #d13913; color: #eaeaea; }
#orangep { background-color: #ffa423; color: #232323; }
#yellowp { background-color: #eed715; color: #232323; }
#dgreenp { background-color: #6a8f26; color: #eaeaea; }
#lgreenp { background-color: #03a02c; color: #eaeaea; }

/* Escalado de mini cartas (No mobile / Mobile) */
#divminiplayernm {
  transform: scale(0.9);
  margin: 0;
  border: 1px solid #000;
}

#divminiplayerm {
  transform: scale(0.6);
  margin: -40px -40px -50px -41px; /* Simplificado en una sola línea superior derecho inferior izquierdo */
}

img.trait {
  height: 10%;
  width: 10%;
}

/* ==========================================================================
   6. BUSCADOR DE JUGADORES
   ========================================================================== */
.search-box {
  width: 100%;
  position: relative;
  display: inline-block;
  font-size: 16px;
}  

input:focus, textarea:focus, select:focus {
  outline: none;
}

.search-box input[type="text"] {
  height: 32px;
  padding: 5px 10px;
  border: 1px solid #444a50;
  background-color: #343a40;
  font-size: 16px;
  color: #ddd;
}

.result {
  position: absolute;        
  z-index: 999;
  top: 100%;
  left: 0;
}

.search-box input[type="text"], .result {
  width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   7. ESTRUCTURAS FIJAS (CONTAINERS VIEJOS)
   ========================================================================== */
.left  { float: left; }
.right { float: right; }
.clear { clear: both; overflow: visible; }

.containerc, .containerxl {
  margin: 0 0 3px 0;
  padding: 0 0 5px 0;
  background-color: #232323;
  overflow: visible;
  float: none;
  text-align: left;
}
.containerc   { width: 623px; }
.containerxl  { width: 976px; }

/* ==========================================================================
   8. NOTICIAS Y ARTÍCULOS
   ========================================================================== */
.post-title {
  margin: 0 10px;
  height: 50px;
  text-align: left;
  overflow: visible;
  float: none;
}

.post-content {
  margin: 5px 10px 0 10px;
  line-height: 1.4em;
  font-size: 14px;
  text-align: justify;
  overflow: visible;
  float: none;
  clear: both;
  color: #444444;
}

.post-bottom {
  background-color: #eeeeee;
  border-right: 1px solid #aaa;
  border-left: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  height: 15px;
  overflow: visible;
  float: none;
  text-align: left;
}

.newslistb {
  margin: 0 5px 3px 0;
  padding-bottom: 2px;
  border-bottom: 1px solid #DDDDDD;
  width: 320px;
  float: left;
  font-size: 14px;
  text-align: left;
}

.filelistthumb {
  width: 75px;
  height: 60px;
  background-position: 50% 50%;
  float: left;
  border: 1px solid #000;
  font-size: 14px; /* Tenía un punto y coma faltante aquí abajo */
  margin: 0 8px 3px 0;
}

div.file-thumb {
  float: left;
  overflow: visible;
}

img.file-thumb {
  border: 1px solid #CCC;
  background-color: #FFFFFF;
  height: 90px;
  margin: 0 5px 5px 0;
}

/* CONTENEDOR DE ZOOM EN NOTICIAS */
.news-img-link {
  display: block;      
  overflow: hidden;    
}

.news-img-link img {
  transition: transform 0.3s ease-in-out;
}

.card:hover .news-img-link img {
  transform: scale(1.05); 
}

/* ==========================================================================
   9. CATEGORÍAS Y FOOTER
   ========================================================================== */
.category {
  font-size: 16px;
  color: #666666;
  padding-left: 20px;
  text-transform: uppercase;
}

#footer {
  clear: both;
  text-align: center;
  color: #fff;
  font-size: 15px;
  margin-top: 10px;
}

#footer ul li {
  list-style-type: none;
  float: left;
  border-left: 1px solid #5c707c;
  padding: 0 5px 2px 5px;
  margin-bottom: 7px;
  line-height: 13px;
}

#footer ul li.first-clear {
  clear: left;
  border-left: 0;
  padding-left: 0;
}

/* ==========================================================================
   10. ICONOS SVG (MÁSCARAS)
   ========================================================================== */
.svg-icon {
  display: inline-flex;
  align-self: center;
  vertical-align: middle;
  position: relative;
  top: -1px; 

  --size: 18px;
  --mg-right: 8px;
  --icon-color: #ffffff; 
  
  width: var(--size);
  height: var(--size);
  margin-right: var(--mg-right);
  background-color: var(--icon-color);
  
  -webkit-mask-image: var(--url);
  mask-image: var(--url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.icon-white  { --icon-color: #ffffff; }
.icon-gold   { --icon-color: #D4AF37; }
.icon-red    { --icon-color: #dc3545; }
.icon-blue   { --icon-color: #0d6efd; }
.icon-orange { --icon-color: #fead00; }


/* ==========================================================================
   10. MENU
   ========================================================================== */

.bg-darkest{
  background:#0f1115;
}

.navbar{
  backdrop-filter: blur(12px);
  height: 90px;
}

.nav-link{
  padding:.8rem 1.1rem;
}

.top-logo{
  height:52px;
  width:auto;
  transition:.25s ease;
}

.top-logo:hover{
  transform:scale(1.03);
}

.nav-pill{
  color:#d6d6d6 !important;
  font-size:.95rem;
  font-weight:600;
  padding:.6rem 1rem !important;
  border-radius:999px;
  transition:all .2s ease;
}

.nav-pill:hover{
  background:#1d232c;
  color:#fff !important;
}

.nav-highlight{
  background:#f5c542;
  color:#111 !important;
}

.nav-highlight:hover{
  background:#ffd966;
  color:#000 !important;
}

.dropdown-modern{
  border-radius:16px;
  min-width:240px;
  padding:.5rem;
  margin-top:.7rem;
  background:#161b22;
}

.dropdown-item{
  border-radius:10px;
  padding:.7rem .9rem;
  font-size:.95rem;
  font-weight:600;
  transition:all .18s ease;
}

.dropdown-item:hover{
  background:#252c36;
  color:#fff;
}

.dropdown-scroll{
  max-height:350px;
  overflow-y:auto;
}

.dropdown-scroll::-webkit-scrollbar{
  width:6px;
}

.dropdown-scroll::-webkit-scrollbar-thumb{
  background:#3a4350;
  border-radius:20px;
}

.navbar-toggler:focus{
  box-shadow:none;
}

@media (max-width:991px){

  .navbar-collapse{
    margin-top:1rem;
    padding:1rem;
    border-radius:18px;
    background:#12161d;
  }

  .navbar-nav{
    gap:.4rem;
  }

  .dropdown-menu{
    border:none;
    background:#1a2028;
  }

  .nav-pill{
    border-radius:12px;
  }

}

/* ==========================================================================
   11. TOP NEWS
   ========================================================================== */
   
   
 .top-news-card{

    background:#161b22;

    border:1px solid rgba(255,255,255,.05);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

    min-height:100%;
}

.top-news-card:hover{

    transform:translateY(-4px);

    border-color:rgba(255,255,255,.12);

    box-shadow:
        0 10px 30px rgba(0,0,0,.35);
}

.top-news-image{

    display:block;

    width:100%;

    aspect-ratio:16/9;

    object-fit:cover;
}

.top-news-overlay{

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.92) 0%,
            rgba(0,0,0,.75) 35%,
            rgba(0,0,0,.15) 70%,
            transparent 100%
        );

    z-index:1;
}

.top-news-content{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    z-index:2;

    padding:1.25rem;
}

.top-news-category{
    position:absolute;
    top:12px;
    left:12px;

    z-index:2;

    display:inline-flex;
    align-items:center;
    gap:.45rem;

    background:rgba(20,20,20,.55);
    backdrop-filter:blur(8px);

    border:1px solid rgba(255,255,255,.08);

    color:#fff;

    font-size:.74rem;
    font-weight:700;

    padding:.38rem .8rem;

    border-radius:999px;

    margin:0;
    
    box-shadow:0 2px 8px rgba(0,0,0,.35);
}
.top-news-title{

    font-size:1.8rem;

    font-weight:800;

    line-height:1.20;

    margin-bottom:.7rem;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;
    text-shadow:0 2px 8px rgba(0,0,0,.7);
}


.top-news-title a{

    color:#fff !important;

    text-decoration:none;
}

.top-news-title a:hover{

    color:#ffd54a !important;
}

.top-news-excerpt{

    color:#d1d5db;

    font-size:.95rem;

    line-height:1.45;

    margin-bottom:0;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:991px){

    .top-news-title{

        font-size:1.3rem;
    }

    .top-news-content{

        padding:1rem;
    }

    .top-news-excerpt{

        font-size:.78rem;
    }
}

/* ==========================================================================
   12. LOW AND MOBILE NEWS
   ========================================================================== */
  
  /* =========================
   CARD BASE
========================= */

.news-modern-card {
    position: relative;
    background: #0f141b;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.news-modern-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

.news-grid .top-news-title{
    font-size:1.2rem;
    margin-bottom:0;
}

  /* =========================
   LISTA
========================= */

.news-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
}

/* Mobile */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr !important;
    }
}

/* opcional: mejora estética */
.news-item {
    min-width: 0;
    width: 100%;
}

/* =========================
   FOOTER
========================= */

.news-modern-footer {
    margin-top: 8px;
    font-size: .78rem;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    color: #fff;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 991px) {

    .news-modern-img {
        height: 200px;
    }

    .news-modern-title {
        font-size: .95rem;
    }

    .news-modern-text {
        font-size: .78rem;
    }
}


/* ==========================================================================
   13. GAME REVIEW
   ========================================================================== */

.game-review-card{
    background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 22px 0;
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
    position: relative;
    overflow: hidden;
}

/* subtle glow line */
.game-review-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:2px;
    background: linear-gradient(90deg,#22c55e,#facc15,#ef4444);
    opacity:0.6;
}

/* LEFT SIDE */
.game-review-main{
    display:flex;
    flex-direction:column;
    gap:6px;
    min-width:150px;
}

.average-score{
    font-size:42px;
    font-weight:900;
    line-height:1;
    letter-spacing:-1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.average-label{
    font-size:11px;
    letter-spacing:1.5px;
    text-transform:uppercase;
    opacity:0.6;
}

/* META CHIPS */
.meta-row{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:6px;
}

.meta-row span{
    font-size:11px;
    padding:4px 10px;
    border-radius:999px;
    background: rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(6px);
}

/* RIGHT SIDE */
.game-review-details{
    display:flex;
    flex-direction:column;
    gap:6px;
    text-align:right;
}

.detail-line{
    font-size:12px;
    opacity:0.75;
}

/* CONFIDENCE emphasis */
.confidence-label{
    font-weight:600;
}

/* HOVER (important feel) */
.game-review-card:hover{
    transform: translateY(-2px);
    transition: 0.25s ease;
    box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}

/* MOBILE IMPROVED */
@media (max-width:600px){
    .game-review-card{
        flex-direction:column;
        align-items:flex-start;
    }

    .game-review-details{
        text-align:left;
        width:100%;
    }

    .average-score{
        font-size:46px;
    }
}

/* ==========================================================================
   14. NOTICIAS
   ========================================================================== */

.article-title::after{
    content:"";
    display:block;
    width:110px;
    height:3px;
    margin:12px auto 0;
    border-radius:999px;
    background:linear-gradient(90deg,#22c55e,#facc15,#ef4444);
}

.article-content h2::after{
    content:"";
    display:block;
    width:70px;
    height:3px;
    margin:12px auto 0;
    margin-top:8px;
    border-radius:999px;
    background:linear-gradient(90deg,#22c55e,#facc15,#ef4444);
    opacity:0.8;
}

.article-content h2{
    font-size:22px;
    line-height:1.3;
    margin-top:32px;
    margin-bottom:12px;
    font-weight:700;
}

/* ==========================================================================
   15. AVERTISEMENT 300x250 x 2
   ========================================================================== */

.hot-download-card{
    background:#121418;
    border-radius:18px;
    overflow:hidden;
    min-height:250px;
    padding:18px;
    gap:20px;
    transition:all .25s ease;
    border:1px solid rgba(255,255,255,.05);
}

.hot-download-card:hover{
    transform:translateY(-2px);
    border-color:rgba(255,255,255,.08);
}

.hot-download-content{
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-width:0;
}

.hot-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 12px;
    border-radius:999px;
    background:rgba(130,130,130,.12);
    color:#bbb;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.6px;
    margin-bottom:16px;
}

.hot-packshot{
    width:auto;
    max-height:120px;
    object-fit:contain;
    margin-bottom:16px;
    transition:transform .25s ease;
}

.hot-download-card:hover .hot-packshot{
    transform:scale(1.04);
}

.hot-title{
    color:#fff;
    font-size:15px;
    font-weight:700;
    line-height:1.45;
    margin-bottom:16px;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;

    max-width:220px;
    min-height:44px;
}

.hot-download-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    background:#1b2330;
    color:#fff !important;
    text-decoration:none;

    padding:10px 18px;
    border-radius:12px;

    font-size:13px;
    font-weight:700;

    transition:all .2s ease;
}

.hot-download-btn:hover{
    background:#1b2330;
    color:#fff;
    transform:translateY(-1px);
}

.hot-ad-wrapper{
    width:320px;
    height:250px;

    flex-shrink:0;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:14px;
    overflow:hidden;

    background:#0d0f13;
}


/* ==========================================================================
   15. FILES CENTER
   ========================================================================== */

.modern-file-card{

    background:#0f1318;
    border:1px solid rgba(255,255,255,.06);

    border-radius:16px;

    overflow:hidden;

    transition:all .25s ease;

    height:100%;
}

.modern-file-card:hover{
    border-color:rgba(255,183,3,.35);
    background:#141922;
}

.modern-file-meta{

    padding:10px 14px;

    font-size:12px;

    color:#9ca3af;

    background:rgba(255,255,255,.02);

    border-bottom:1px solid rgba(255,255,255,.04);

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;
}

.meta-separator{
    opacity:.5;
    margin:0 6px;
}

.modern-file-content{

    display:flex;

    align-items:center;

    gap:18px;

    padding:18px;
}

.modern-thumb-wrapper{

    width:120px;
    height:120px;

    flex-shrink:0;

    overflow:hidden;

    border-radius:12px;

    background:#090b0f;

    border:1px solid rgba(255,255,255,.05);
}

.modern-thumb{

    width:100%;
    height:100%;

    object-fit:contain;

    transition:transform .3s ease;
}

.modern-file-card:hover .modern-thumb{
    transform:scale(1.05);
}

.modern-file-info{

    flex:1;

    min-width:0;

    display:flex;

    flex-direction:column;

    justify-content:center;
}

.modern-file-title{

    color:#fff;

    font-size:18px;

    line-height:1.35;

    font-weight:700;

    margin-bottom:10px;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;
}

.modern-author{

    font-size:13px;

    color:#7b8190;

    margin-bottom:14px;
}

.modern-download-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    align-self:center;

    padding:10px 16px;

    border-radius:10px;

    background:#1b2330;

    color:#ffb703;

    text-decoration:none;

    font-size:14px;

    font-weight:700;

    transition:all .2s ease;
}

.mobile-download-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    align-self:flex-start;

    min-width:160px;

    margin-top:4px;
}

.modern-mobile-layout{

    display:flex;

    align-items:center;

    gap:14px;

    padding:14px;
}


/* THUMB EXACTAMENTE IGUAL AL DE DOS COLUMNAS */

.mobile-thumb-wrapper{

    width:120px;
    height:120px;

    min-width:120px;

    flex-shrink:0;

    display:block;
}

.mobile-thumb-wrapper .modern-thumb{

    width:100%;
    height:100%;

    object-fit:contain;

    display:block;
}

/* INFO */

.mobile-file-info{

    min-width:0;

    flex:1;

    display:flex;

    flex-direction:column;

    justify-content:center;
}

/* META */

.mobile-meta{

    background:none;

    border:none;

    padding:0;

    margin-bottom:6px;

    font-size:12px;
    
    color:#9aa3b2;
}

/* TITLE */

.mobile-title{

    font-size:18px;

    margin-bottom:8px;
}

/* BUTTON CENTRADO */

.mobile-download-btn{

    align-self:center;

    min-width:160px;
}

.mobile-file-info .modern-author{

    margin-bottom:12px;
    color:#9aa3b2;
}

/* MOBILE */

@media (max-width:576px){

    .modern-mobile-layout{

        gap:12px;

        padding:12px;
    }

    .mobile-thumb-wrapper{

        width:120px;
        height:120px;

        min-width:120px;

        flex-shrink:0;

        display:flex;

        align-items:center;

        justify-content:center;

        overflow:hidden;

        border-radius:12px;

        background:#090b0f;

        border:1px solid rgba(255,255,255,.05);
    }

    .mobile-title{

        font-size:16px;
    }

    .mobile-download-btn{

        width:100%;

        justify-content:center;
    }
}

.mods-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    width:100%;
}

@media (min-width:1200px){
    .mods-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   16. GAME SUBHEADER
   ========================================================================== */

.game-header{
    background:#0f1318;
    padding:14px 18px 0 18px;
}

.game-header-inner{
    display:flex;
    align-items:flex-start;
    gap:14px;
}

/* CONTENIDO TEXTO */
.game-header-content{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:flex-start;
    min-width:0;
}

/* THUMB */
.game-header-thumb img{
    width:80px;
    height:80px;
    border-radius:12px;
    object-fit:cover;
    border:1px solid rgba(255,255,255,.06);
}

/* TITLE */
.game-title{
    font-size:30px;
    font-weight:800;
    line-height:1.2;
    margin:2px 0 6px 0;
    color:#fff !important;
    letter-spacing:.2px;
}

.game-title a{
    color:#fff !important;
    text-decoration:none;
}

.game-title a:hover{
    color:#ffb703 !important;
}

/* META */
.game-meta{
    font-size:12px;
    color:#9aa3b2;
    margin-top:4px;
}

.game-meta .sep{
    margin:0 6px;
    opacity:.4;
}

/* SEPARADOR (verde ? amarillo ? rojo) */
.game-header-separator{
    height:2px;
    margin-top:12px;
    background: linear-gradient(
        90deg,
        #22c55e 0%,
        #f59e0b 50%,
        #ef4444 100%
    );
    opacity:.9;
}

/* MOBILE */

.game-header-mobile .game-header-inner{
    align-items:flex-start;
}

.game-header-mobile .game-header-thumb img{
    width:62px;
    height:62px;
}

.game-header-mobile .game-header-content{
    justify-content:flex-start;
    align-items:flex-start;
}

.game-header-mobile .game-title{
    font-size:20px;
}

.game-header-mobile .game-meta{
    margin-top:2px;
}


/* ==========================================================================
   17. Combo Mods
   ========================================================================== */


.mods-categories-bar{
    background:#0f1318;
    padding:10px 14px;
}

/* BOTÓN PRINCIPAL */
.mods-categories-btn{
    background:#1b2330;
    border:1px solid rgba(255,255,255,.06);
    color:#fff;
    font-weight:700;
    letter-spacing:.4px;
    padding:10px 14px;
    border-radius:10px;
    transition:all .2s ease;
}

.mods-categories-btn:hover{
    background:#222c3d;
    border-color:rgba(255,183,3,.35);
}

/* DROPDOWN */
.mods-categories-menu{
    background:#0f1318;
    border:1px solid rgba(255,255,255,.06);
    padding:6px;
    border-radius:12px;
    min-width:240px;
}

/* ITEMS */
.mods-categories-item{
    display:block;
    padding:10px 12px;
    color:#9aa3b2;
    text-decoration:none;
    font-size:13px;
    border-radius:8px;
    transition:all .15s ease;
}

.mods-categories-item:hover{
    background:rgba(255,183,3,.08);
    color:#ffb703;
}

/* MOBILE ADJUST */
@media (max-width:576px){
    .mods-categories-btn{
        width:100%;
        text-align:center;
    }

    .mods-categories-menu{
        width:100%;
    }
}


/* ==========================================================================
   18. Descarga
   ========================================================================== */

/*TITULO ==================== */
.file-page-header{
    background:#0f1318;
    border-bottom:2px solid transparent;
    border-image:linear-gradient(90deg,#22c55e,#f59e0b,#ef4444) 1;
}

/* BREADCRUMBS */
.file-breadcrumbs{
    font-size:13px;
    color:#9aa3b2;
    margin-bottom:6px;
}

.file-link{
    color:#fff !important;
    text-decoration:none;
    font-weight:600;
}

.file-link:hover{
    color:#ffb703 !important;
}

.file-breadcrumbs .sep{
    margin:0 6px;
    opacity:.4;
}

/* TITLE */
.file-title{
    font-size:32px;
    font-weight:900;
    line-height:1.2;
    color:#fff;
    margin:6px 0 10px 0;
    letter-spacing:.2px;
}

/* META */
.file-meta-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    font-size:12px;
    color:#9aa3b2;
}

.file-meta-right{
    display:flex;
    align-items:center;
    gap:10px;
}

/* HOVER ICONS */
.file-meta-right a{
    opacity:.75;
    transition:.2s ease;
}

.file-meta-right a:hover{
    opacity:1;
    transform:translateY(-1px);
}

/* MOBILE */
@media (max-width:576px){

    .file-title{
        font-size:20px;
    }

    .file-meta-row{
        flex-direction:column;
        align-items:flex-start;
    }
}


/*SECTION MODS*/
.mod-section-card{
    background:#0f1318;
    border-radius:14px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.06);
    margin-bottom: 12px;
}

.mod-section-header{
    padding:10px 14px;
    font-size:17px;
    font-weight:700;
    color:#fff;
    background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
    border-bottom:1px solid rgba(255,255,255,.06);
    display:flex;
    align-items:center;
    gap:8px;
}

.mod-section-body{
    padding:14px;
    font-size:18px;
    line-height:1.6;
    color:#eaeaea;
}

.mod-section-body img{
    max-width:100%;
    border-radius:10px;
    margin:8px 0;
}

.tweet-embed{
    margin:10px 0;
    justify-content:center;
}

/*Author ==================== */

.modder-avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.modder-name {
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
}

.modder-social {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.social-item {
    display: inline-flex;
    align-items: center;
    max-height: 30px;
}

/* ==========================================================================
   19. ADS
   ========================================================================== */

.ad-slot-320x250 {
  width: 320px;
  height: 250px;
  background: #111 url("https://www.moddingway.com/images/moddy-add.png") center center no-repeat;
  background-size: 150px auto;
  position: relative;
}

.ad-slot-320x250b {
  width: 320px;
  height: 250px;
  background: #111 url("https://www.moddingway.com/images/moddy-add.png") center center no-repeat;
  background-size: 150px auto;
  position: relative;
}


/* ==========================================================================
   20. MODS DB
   ========================================================================== */
.modsdb-header{
    background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);

    border-bottom:1px solid rgba(255,255,255,.08);

    position:relative;
    border-radius:16px;
}

.modsdb-header::after{
    content:"";

    position:absolute;

    left:0;
    bottom:0;

    width:100%;
    height:3px;

    background:linear-gradient(
        90deg,
        #00c853,
        #ffd600,
        #d50000
    );
}

.modsdb-subtitle{
    font-size:.7rem;
    font-weight:700;
    letter-spacing:2px;
    opacity:.6;
}

.modsdb-title{
    font-size:2rem;
    font-weight:800;
    color:#fff;
}

.modsdb-actions{
    display:flex;
    gap:.5rem;
    flex-wrap:wrap;
}

.modsdb-btn{
    display:inline-flex;
    align-items:center;

    padding:.55rem .9rem;

    border-radius:999px;

    text-decoration:none;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    color:#fff;

    font-weight:600;

    transition:.2s;
}

.modsdb-btn:hover{
    background:#ff9a3c;
    color:#111;
}

/* ==========================================================================
   22. PAGINACION
   ========================================================================== */
   
.pagination .page-link{
    transition: all .2s ease;
    border-radius: 8px;
    margin: 0 2px;
}

.pagination .page-link:hover{
    transform: translateY(-2px);
    background:#2c3034 !important;
}

.pagination .active .page-link{
    box-shadow: 0 0 12px rgba(255,193,7,.35);
    color:#000 !important;
}

/* ==========================================================================
   22. CATEGORY
   ========================================================================== */

.category-search{
    min-width:280px;
}

.category-search .form-control{
    border-radius:10px;
}

.category-search .btn{
    border-radius:10px;
    transition:.2s ease;
}

.category-search .btn:hover{
    transform:translateY(-1px);
}