/*==================================================
        ROHAN NOVACORE
        STYLE.CSS PART 1
==================================================*/

/*========== RESET ==========*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:#050505;
    color:#fff;
    overflow-x:hidden;

}

/*========== SCROLLBAR ==========*/

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#0b0b0b;
}

::-webkit-scrollbar-thumb{
    background:#b8862f;
}

::-webkit-scrollbar-thumb:hover{
    background:#d9aa45;
}

/*========== CONTAINER ==========*/

.container{

    width:1200px;
    max-width:92%;
    margin:auto;

}

/*========== BACKGROUND ==========*/

.background{

    position:fixed;
    inset:0;

    background:url("../images/backgrounds.png") center center/cover;

    z-index:-5;

    animation:bgzoom 25s linear infinite alternate;

}

.overlay{

    position:fixed;
    inset:0;

    background:
    linear-gradient(rgba(0,0,0,.70),rgba(0,0,0,.88));

    z-index:-4;

}

@keyframes bgzoom{

    from{

        transform:scale(1);

    }

    to{

        transform:scale(1.08);

    }

}

/*========== PRELOADER ==========*/

#preloader{

    position:fixed;

    width:100%;
    height:100%;

    background:#050505;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:.6s;

}

.loader{

    text-align:center;

}

.loader img{

    width:130px;

    animation:floatLogo 2s infinite;

}

.loading-bar{

    width:250px;

    height:8px;

    background:#222;

    border-radius:20px;

    overflow:hidden;

    margin:25px auto;

}

.loading-bar span{

    display:block;

    width:0;

    height:100%;

    background:linear-gradient(
    90deg,
    #6f4714,
    #d4a74d,
    #fff0a2);

    animation:loading 3s linear forwards;

}

.loader p{

    margin-top:18px;

    color:#dcb75e;

    letter-spacing:4px;

    font-size:13px;

    text-transform:uppercase;

}

@keyframes loading{

    from{

        width:0;

    }

    to{

        width:100%;

    }

}

@keyframes floatLogo{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-10px);

    }

    100%{

        transform:translateY(0);

    }

}

/*========== HEADER ==========*/

header{

    position:fixed;

    width:100%;

    top:0;
    left:0;

    padding:20px 0;

    background:rgba(0,0,0,.45);

    backdrop-filter:blur(15px);

    border-bottom:1px solid rgba(255,255,255,.08);

    z-index:999;

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

/*========== LOGO ==========*/

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:55px;

}

.logo h2{

    font-family:'Cinzel',serif;

    font-size:32px;

    color:#dfba67;

}

/*========== NAVIGATION ==========*/

nav ul{

    display:flex;

    gap:35px;

    list-style:none;

}

nav a{

    color:white;

    text-decoration:none;

    transition:.3s;

    position:relative;

}

nav a:hover{

    color:#ddb85f;

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:#ddb85f;

    transition:.3s;

}

nav a:hover::after{

    width:100%;

}

/*========== NAV BUTTONS ==========*/

.nav-buttons{

    display:flex;

    gap:15px;

}

.nav-buttons a{

    text-decoration:none;

    color:white;

    padding:12px 28px;

    border:1px solid #b58c39;

    transition:.3s;

}

.nav-buttons a:last-child{

    background:linear-gradient(45deg,#6f4715,#d0a34c);

}

.nav-buttons a:hover{

    transform:translateY(-3px);

}

/*========== HERO ==========*/

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

}

.hero .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.hero-content{

    max-width:700px;

}

.tag{

    display:inline-block;

    padding:10px 20px;

    border:1px solid #d4aa50;

    color:#ddb860;

    margin-bottom:25px;

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:13px;

}

.hero h1{

    font-family:'Cinzel',serif;

    font-size:92px;

    line-height:1;

    margin-bottom:25px;

}

.hero h1 span{

    display:block;

    color:#ddb860;

}

.hero p{

    color:#d2d2d2;

    line-height:34px;

    font-size:18px;

    margin-bottom:40px;

}

/*========== HERO BUTTONS ==========*/

.hero-buttons{

    display:flex;

    gap:20px;

}

.download-btn,
.discord-btn{

    text-decoration:none;

    padding:18px 36px;

    transition:.3s;

}

.download-btn{

    background:linear-gradient(45deg,#714815,#d0a34d);

    color:white;

}

.discord-btn{

    border:1px solid #d0a34d;

    color:white;

}

.download-btn:hover,
.discord-btn:hover{

    transform:translateY(-4px);

}

/*========== SERVER BOX ==========*/

.server-box{

    width:320px;

    background:rgba(15,15,15,.82);

    padding:35px;

    border:1px solid rgba(255,255,255,.08);

}

.server-box h3{

    color:#ddb860;

    margin-bottom:25px;

    font-family:'Cinzel',serif;

}

.status{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:25px;

    color:#00ff88;

}

.circle{

    width:12px;

    height:12px;

    background:#00ff88;

    border-radius:50%;

    animation:pulse 1.2s infinite;

}

.server-stats{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    text-align:center;

}

.server-stats h4{

    color:#888;

    margin-bottom:8px;

}

.server-stats p{

    color:#ddb860;

    font-size:22px;

    font-weight:bold;

}

@keyframes pulse{

    0%{transform:scale(1);}
    50%{transform:scale(1.4);}
    100%{transform:scale(1);}

}

/*========== SCROLL ICON ==========*/

.scroll{

    width:32px;

    height:55px;

    border:2px solid #d0a34d;

    border-radius:30px;

    margin:40px auto;

    position:relative;

}

.scroll span{

    position:absolute;

    left:50%;

    top:10px;

    transform:translateX(-50%);

    width:6px;

    height:12px;

    background:#ddb860;

    border-radius:20px;

    animation:wheel 1.5s infinite;

}

@keyframes wheel{

    from{

        top:10px;
        opacity:1;

    }

    to{

        top:28px;
        opacity:0;

    }

}/*==================================================
        STYLE.CSS PART 2
        ABOUT • FEATURES • NEWS
==================================================*/

/*========== SECTION TITLE ==========*/

section{
    padding:110px 0;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-family:'Cinzel',serif;
    font-size:46px;
    color:#ddb860;
    margin-bottom:15px;
}

.section-title p{
    color:#bfbfbf;
    max-width:700px;
    margin:auto;
    line-height:30px;
}

/*========== ABOUT ==========*/

.about-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;

}

.about-card{

    background:rgba(18,18,18,.92);

    padding:35px;

    border:1px solid rgba(255,255,255,.05);

    transition:.35s;

    text-align:center;

}

.about-card:hover{

    transform:translateY(-10px);

    border-color:#d4aa50;

    box-shadow:0 15px 40px rgba(0,0,0,.45);

}

.about-card h3{

    font-family:'Cinzel',serif;

    color:#ddb860;

    margin-bottom:18px;

    font-size:24px;

}

.about-card p{

    color:#bdbdbd;

    line-height:28px;

}

/*========== FEATURES ==========*/

.features-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.feature-card{

    background:#111;

    border:1px solid rgba(255,255,255,.05);

    padding:40px;

    text-align:center;

    transition:.35s;

}

.feature-card:hover{

    transform:translateY(-10px);

    border-color:#d4aa50;

}

.feature-icon{

    width:80px;

    height:80px;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    background:linear-gradient(45deg,#714815,#d4aa50);

}

.feature-card h3{

    color:#ddb860;

    margin-bottom:15px;

    font-family:'Cinzel',serif;

}

.feature-card p{

    color:#bdbdbd;

    line-height:28px;

}

/*========== NEWS ==========*/

.news-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.news-card{

    background:#111;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.05);

    transition:.35s;

}

.news-card:hover{

    transform:translateY(-10px);

    border-color:#d4aa50;

}

.news-card img{

    width:100%;

    height:240px;

    object-fit:cover;

    display:block;

}

.news-content{

    padding:28px;

}

.news-content span{

    color:#ddb860;

    font-size:14px;

}

.news-content h3{

    margin:15px 0;

    font-family:'Cinzel',serif;

    font-size:26px;

    color:#fff;

}

.news-content p{

    color:#bfbfbf;

    line-height:28px;

    margin-bottom:20px;

}

.news-content a{

    color:#ddb860;

    text-decoration:none;

    transition:.3s;

}

.news-content a:hover{

    color:#fff;

}

/*========== RESPONSIVE ==========*/

@media(max-width:992px){

.about-grid{

grid-template-columns:repeat(2,1fr);

}

.features-grid{

grid-template-columns:repeat(2,1fr);

}

.news-grid{

grid-template-columns:1fr;

}

}

@media(max-width:768px){

.about-grid{

grid-template-columns:1fr;

}

.features-grid{

grid-template-columns:1fr;

}

.section-title h2{

font-size:34px;

}

}/*==================================================
        STYLE.CSS PART 3
        RANKING • GUILDS • DOWNLOAD
        STATISTICS • FOOTER
==================================================*/

/*========== RANKING ==========*/

#ranking{
    background:#0a0a0a;
}

.table-wrapper{
    overflow-x:auto;
}

.ranking-table{
    width:100%;
    border-collapse:collapse;
    background:#111;
    border:1px solid rgba(255,255,255,.08);
}

.ranking-table thead{
    background:linear-gradient(90deg,#6f4715,#d4aa50);
}

.ranking-table th{
    padding:18px;
    color:#fff;
    text-transform:uppercase;
    letter-spacing:1px;
}

.ranking-table td{
    padding:18px;
    text-align:center;
    color:#ddd;
    border-bottom:1px solid rgba(255,255,255,.05);
}

.ranking-table tbody tr{
    transition:.3s;
}

.ranking-table tbody tr:hover{
    background:#1a1a1a;
}

/*========== GUILDS ==========*/

#guilds{
    padding:110px 0;
}

.guild-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.guild-card{
    background:#111;
    padding:40px;
    text-align:center;
    border:1px solid rgba(255,255,255,.05);
    transition:.35s;
}

.guild-card:hover{
    transform:translateY(-10px);
    border-color:#d4aa50;
    box-shadow:0 20px 40px rgba(0,0,0,.45);
}

.guild-card h3{
    color:#ddb860;
    font-family:'Cinzel',serif;
    font-size:28px;
    margin-bottom:12px;
}

.guild-card span{
    color:#bbb;
}

/*========== DOWNLOAD ==========*/

#download{
    padding:120px 0;
}

.download-box{
    background:linear-gradient(135deg,#171717,#0d0d0d);
    padding:70px;
    text-align:center;
    border:1px solid rgba(255,255,255,.08);
}

.download-box h2{
    font-family:'Cinzel',serif;
    color:#ddb860;
    font-size:46px;
    margin-bottom:20px;
}

.download-box p{
    color:#cfcfcf;
    max-width:700px;
    margin:0 auto 40px;
    line-height:30px;
}

.download-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.download-btn-big,
.patch-btn{
    text-decoration:none;
    padding:18px 36px;
    transition:.3s;
}

.download-btn-big{
    background:linear-gradient(45deg,#6f4715,#d4aa50);
    color:#fff;
}

.patch-btn{
    border:1px solid #d4aa50;
    color:#fff;
}

.download-btn-big:hover,
.patch-btn:hover{
    transform:translateY(-4px);
}

.patch-btn:hover{
    background:#d4aa50;
    color:#000;
}

/*========== STATISTICS ==========*/

#statistics{
    background:#0b0b0b;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.stat-card{
    background:#121212;
    text-align:center;
    padding:40px;
    border:1px solid rgba(255,255,255,.05);
    transition:.35s;
}

.stat-card:hover{
    transform:translateY(-8px);
    border-color:#d4aa50;
}

.stat-card h2{
    color:#ddb860;
    font-size:48px;
    margin-bottom:10px;
}

.stat-card p{
    color:#bbb;
}

/*========== FOOTER ==========*/

footer{
    background:#070707;
    padding:70px 0 30px;
    border-top:1px solid rgba(255,255,255,.05);
}

.footer-logo{
    text-align:center;
}

.footer-logo img{
    width:70px;
    margin-bottom:15px;
}

.footer-logo h2{
    font-family:'Cinzel',serif;
    color:#ddb860;
    font-size:34px;
}

.footer-logo p{
    color:#999;
    margin-top:10px;
}

.footer-links{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
    margin:40px 0;
}

.footer-links a{
    color:#bbb;
    text-decoration:none;
    transition:.3s;
}

.footer-links a:hover{
    color:#ddb860;
}

.copyright{
    text-align:center;
    color:#666;
    border-top:1px solid rgba(255,255,255,.05);
    padding-top:25px;
    font-size:14px;
}

/*========== FINAL RESPONSIVE ==========*/

@media(max-width:1100px){

.guild-grid{
    grid-template-columns:repeat(2,1fr);
}

.stats-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.guild-grid{
    grid-template-columns:1fr;
}

.stats-grid{
    grid-template-columns:1fr;
}

.download-box{
    padding:40px 25px;
}

.download-box h2{
    font-size:32px;
}

.download-buttons{
    flex-direction:column;
}

.footer-links{
    flex-direction:column;
    gap:15px;
}

}
nav a.active{
    color:#ddb860;
}

nav a.active::after{
    width:100%;
}
/*==============================
        REGISTER MODAL
==============================*/

.modal{

position:fixed;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,.82);
display:flex;
justify-content:center;
align-items:center;
visibility:hidden;
opacity:0;
transition:.35s;
z-index:99999;

}

.modal.active{

visibility:visible;
opacity:1;

}

.modal-box{

width:420px;
max-width:92%;
background:#111;
border:1px solid #d4aa50;
padding:40px;
position:relative;
text-align:center;
border-radius:8px;
box-shadow:0 20px 50px rgba(0,0,0,.6);

}

.modal-logo{

width:80px;
margin-bottom:20px;

}

.modal-box h2{

font-family:'Cinzel',serif;
color:#ddb860;
margin-bottom:10px;

}

.modal-box p{

color:#999;
margin-bottom:25px;

}

.modal-box input{

width:100%;
height:50px;
background:#1a1a1a;
border:1px solid #333;
color:#fff;
padding:0 15px;
margin-bottom:15px;
outline:none;
transition:.3s;

}

.modal-box input:focus{

border-color:#d4aa50;

}

.modal-box button{

width:100%;
height:52px;
border:none;
background:linear-gradient(45deg,#714815,#d4aa50);
color:#fff;
font-size:15px;
cursor:pointer;
transition:.3s;

}

.modal-box button:hover{

transform:translateY(-2px);

}

.close-modal{

position:absolute;
top:15px;
right:18px;
font-size:30px;
cursor:pointer;
color:#d4aa50;

}

.close-modal:hover{

color:#fff;

}

#registerResult{

margin-top:20px;

}.ranking-tabs{

display:flex;
gap:15px;
margin-bottom:20px;

}


.tab-btn{

background:#111;
color:white;
border:1px solid #b98b32;
padding:12px 25px;
cursor:pointer;
border-radius:5px;

}


.tab-btn.active{

background:#b98b32;

}



.ranking-content{

display:none;

}


.ranking-content.active{

display:block;

}