
/* NEXUS2 — tema Metin2 com cenário de fundo dedicado */
:root{
 --nx-gold:#d7b36b; --nx-gold-light:#f2dca5; --nx-red:#8f2424;
 --nx-ink:#08090d; --nx-panel:rgba(10,12,17,.88);
 --nx-border:rgba(205,164,87,.42);
}
html{min-height:100%;background:#08090d}
body{
 min-height:100vh;
 color:#e9e1d2;
 background-color:#08090d!important;
 background-image:
  linear-gradient(180deg,rgba(4,5,9,.35) 0%,rgba(4,5,9,.60) 36%,rgba(4,5,9,.88) 100%),
  url('/images/nexus2-fundo-metin2.webp')!important;
 background-position:center top,center top!important;
 background-size:cover,cover!important;
 background-repeat:no-repeat,no-repeat!important;
 background-attachment:fixed,fixed!important;
}
body>header{
 background:linear-gradient(180deg,rgba(5,6,10,.40),rgba(5,6,10,.86))!important;
 border-bottom:1px solid var(--nx-border);
 box-shadow:0 12px 36px rgba(0,0,0,.55);
}
body>header:before{content:none!important}
body>header>nav{
 background:rgba(5,7,11,.84)!important;
 border-bottom:1px solid var(--nx-border);
 backdrop-filter:blur(9px);
}
.home-container.home-footer-bg,
.home-container.home-news-bg,
.home-footer-bg,.home-news-bg{
 background:linear-gradient(135deg,rgba(8,10,15,.94),rgba(14,12,13,.90))!important;
 border-top:1px solid rgba(205,164,87,.28);
 border-bottom:1px solid rgba(205,164,87,.16);
}
.top-players-home h1,.home-news-bg h2,.home-footer-bg h2{
 color:var(--nx-gold-light);
 text-shadow:0 2px 12px #000;
 letter-spacing:.06em;
}
.top-players-home span{color:#d7c9a8}
.player-card{
 background:linear-gradient(145deg,rgba(25,22,20,.96),rgba(5,7,10,.96));
 border:1px solid var(--nx-border);
 box-shadow:0 9px 25px rgba(0,0,0,.55);
}
.player-card:hover{border-color:var(--nx-gold-light);transform:translateY(-3px)}
.news-home-list li{border-bottom:1px solid rgba(205,164,87,.16)}
.news-home-list li a{color:#eee3cd!important}
.news-home-list li a:hover{color:var(--nx-gold-light)!important}
.carousel-size,.carousel-size .carousel-item{
 border:1px solid var(--nx-border);
 box-shadow:0 10px 28px rgba(0,0,0,.6);
 overflow:hidden;
}
.content-title{
 background:linear-gradient(100deg,#421613,#852522 55%,#401512)!important;
 border-bottom:1px solid var(--nx-gold);
}
.home-content>.container>.content-bg,.content-bg{
 background:rgba(9,12,17,.94)!important;
 border:1px solid var(--nx-border);
 box-shadow:0 12px 32px rgba(0,0,0,.42);
}
.btn-primary{
 background:linear-gradient(135deg,#e1c27d,#9f7133)!important;
 border:1px solid #e7cd91!important;
 color:#1b1308!important;font-weight:700;
}
.btn-primary:hover{filter:brightness(1.12)}
input,select,textarea,.form-control{
 background:#11151d!important;border:1px solid rgba(205,164,87,.3)!important;
 color:#eee4d2!important;
}
.user-forms{background:rgba(9,12,17,.92);border:1px solid var(--nx-border)}
.copyright{background:rgba(4,5,8,.96)!important;border-top:1px solid var(--nx-border)}
.social-icons .icon{
 background:rgba(8,10,15,.90)!important;border:1px solid var(--nx-border)!important;
 color:var(--nx-gold-light)!important;box-shadow:0 5px 18px rgba(0,0,0,.5);
}
.social-icons .icon:hover{background:#852522!important}
@media(max-width:767.98px){
 body{background-attachment:scroll,scroll!important;background-position:center top,center top!important}
 .home-news-bg,.home-footer-bg{background:rgba(7,9,13,.96)!important}
}


/* Logo oficial Nexus2 no cabeçalho */
.navbar-brand{display:flex;align-items:center;padding:5px 0;}
.navbar-brand>img{height:auto!important;width:clamp(145px,22vw,205px);max-height:78px;object-fit:contain;}
.home-logo-decorator .logo{width:clamp(300px,34vw,430px);height:auto;max-height:310px;object-fit:contain;top:72px;left:22px;filter:drop-shadow(0 8px 18px rgba(0,0,0,.75));}
.home-logo-decorator .decorator-render{filter:drop-shadow(0 8px 15px rgba(0,0,0,.65));}
@media(max-width:991.98px){
 body>header>nav .container{justify-content:space-between;}
 .navbar-brand>img{width:clamp(145px,42vw,190px);max-height:66px;}
}
@media(max-width:767.98px){
 .navbar-brand{margin-right:auto;}
}


/* Ajuste fino solicitado: logo principal menor e sem ultrapassar o cabeçalho */
.home-logo-decorator .logo{
    width: min(330px, 27vw) !important;
    max-width: 330px !important;
    max-height: 245px !important;
    height: auto !important;
    object-fit: contain !important;
    top: 82px !important;
    left: 18px !important;
}
.navbar-brand>img{
    width: 170px !important;
    max-width: 42vw !important;
    max-height: 62px !important;
    height: auto !important;
    object-fit: contain !important;
}
@media(max-width: 991.98px){
    .home-logo-decorator .logo{
        width: min(250px, 34vw) !important;
        max-width: 250px !important;
        max-height: 190px !important;
        top: 55px !important;
        left: 12px !important;
    }
    .navbar-brand>img{
        width: 150px !important;
        max-height: 56px !important;
    }
}
