/* ===========================
   FreeToPlayCS.pl
   STYLE.CSS
   ETAP 1
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --green:#31d67b;
    --green-hover:#28b868;

    --dark:#090909;
    --dark2:#111111;
    --card:#171717;

    --text:#ffffff;
    --gray:#b9b9b9;

    --border:rgba(255,255,255,.08);

    --shadow:0 15px 40px rgba(0,0,0,.35);

    --radius:18px;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--dark);

    color:var(--text);

    overflow-x:hidden;

}

img{

    max-width:100%;

}

a{

    text-decoration:none;

    color:white;

}

.container{

    width:min(1200px,92%);
    margin:auto;

}

/* ===========================
        NAVBAR
=========================== */

.navbar{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:999;

    backdrop-filter:blur(18px);

    background:rgba(0,0,0,.55);

    border-bottom:1px solid rgba(255,255,255,.06);

}

.navbar .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:80px;

}

.logo{

    font-size:30px;

    font-weight:800;

}

.logo span{

    color:var(--green);

}

.nav-links{

    display:flex;

    list-style:none;

    gap:35px;

}

.nav-links a{

    transition:.3s;

    font-weight:500;

}

.nav-links a:hover{

    color:var(--green);

}

.nav-buttons{

    display:flex;

    align-items:center;

    gap:15px;

    flex-shrink:0;

}
/* ===========================
          BUTTONS
=========================== */

.btn{

    padding:14px 26px;

    border-radius:999px;

    display:inline-flex;

    align-items:center;

    gap:10px;

    font-weight:600;

    transition:.3s;

}

.green,
.join-btn{

    background:var(--green);

    color:#fff;

}

.green:hover,
.join-btn:hover{

    background:var(--green-hover);

    transform:translateY(-3px);

}

.discord,
.discord-btn{

    background:#5865F2;

}

.discord:hover,
.discord-btn:hover{

    transform:translateY(-3px);

}

/* ===========================
          HERO
=========================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    position:relative;

    overflow:hidden;

    background-image:url("../img/hero.jpg");

    background-size:cover;

    background-position:center;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(rgba(0,0,0,.70),
    rgba(0,0,0,.85));

}

.hero-content{

    position:relative;

    z-index:2;

    text-align:center;

}

.server-badge{

    display:inline-block;

    padding:10px 18px;

    border-radius:999px;

    background:rgba(49,214,123,.15);

    border:1px solid rgba(49,214,123,.35);

    margin-bottom:25px;

}

.hero h1{

    font-size:72px;

    font-weight:800;

    margin-bottom:20px;

}

.hero p{

    width:min(750px,90%);

    margin:auto;

    font-size:19px;

    color:var(--gray);

    line-height:1.8;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:40px;

    flex-wrap:wrap;

}

/* ===========================
      HERO CARDS
=========================== */

.hero-cards{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

    margin-top:70px;

}

.hero-card{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    border-radius:20px;

    padding:35px 20px;

    transition:.35s;

    box-shadow:var(--shadow);

}

.hero-card:hover{

    transform:translateY(-10px);

    border-color:var(--green);

}

.hero-card i{

    font-size:34px;

    color:var(--green);

    margin-bottom:18px;

}

.hero-card h2{

    font-size:34px;

    margin-bottom:8px;

}

.hero-card p{

    color:var(--gray);

    font-size:15px;

}

/* ===========================
      SECTION TITLE
=========================== */

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    color:var(--green);

    font-weight:700;

    letter-spacing:3px;

    font-size:14px;

}

.section-title h2{

    font-size:46px;

    margin:18px 0;

}

.section-title p{

    max-width:700px;

    margin:auto;

    color:var(--gray);

    line-height:1.8;

}

/* ===========================
      SERVER STATUS
=========================== */

.server-status{

    padding:120px 0;

    background:var(--dark2);

}

.status-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.status-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:20px;

    padding:35px;

    text-align:center;

    transition:.35s;

}

.status-card:hover{

    transform:translateY(-10px);

    border-color:var(--green);

    box-shadow:0 20px 45px rgba(49,214,123,.12);

}

.status-card i{

    font-size:40px;

    color:var(--green);

    margin-bottom:20px;

}

.status-card h3{

    margin-bottom:15px;

}

.status-card p{

    color:var(--gray);

    font-size:18px;

}

.online{

    color:#31d67b !important;

    font-weight:700;

}

/* ===========================
         STATS
=========================== */

.stats{

    padding:90px 0;

    background:#0d0d0d;

}

.stats .container{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.stat-box{

    background:var(--card);

    border-radius:18px;

    padding:40px;

    text-align:center;

    transition:.3s;

}

.stat-box:hover{

    transform:scale(1.04);

}

.stat-box h2{

    color:var(--green);

    font-size:42px;

    margin-bottom:10px;

}

.stat-box p{

    color:var(--gray);

}

/* ===========================
      FEATURES
=========================== */

.features{

    padding:120px 0;

}

.features-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

.feature-card{

    background:var(--card);

    border-radius:20px;

    border:1px solid var(--border);

    padding:35px;

    transition:.35s;

}

.feature-card:hover{

    transform:translateY(-10px);

    border-color:var(--green);

}

.feature-card i{

    font-size:42px;

    color:var(--green);

    margin-bottom:20px;

}

.feature-card h3{

    margin-bottom:15px;

}

.feature-card p{

    color:var(--gray);

    line-height:1.7;

}

/* ===========================
          VIP
=========================== */

.vip-section{

    padding:120px 0;

    background:#0b0b0b;

}

.vip-grid{

    display:flex;

    justify-content:center;

}

.vip-card{

    width:430px;

    background:linear-gradient(180deg,#1b1b1b,#121212);

    border:2px solid rgba(49,214,123,.25);

    border-radius:25px;

    padding:50px;

    text-align:center;

    transition:.35s;

    box-shadow:0 25px 60px rgba(0,0,0,.45);

}

.vip-card:hover{

    transform:translateY(-12px);

    border-color:#31d67b;

}

.vip-icon{

    width:90px;
    height:90px;

    margin:auto;

    border-radius:50%;

    background:#31d67b;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:30px;

}

.vip-icon i{

    font-size:42px;

    color:#fff;

}

.vip-card h3{

    font-size:34px;

    margin-bottom:20px;

}

.vip-price{

    font-size:20px;

    color:#cfcfcf;

    margin-bottom:30px;

}

.vip-price span{

    color:#31d67b;

    font-size:38px;

    font-weight:700;

}

.vip-card ul{

    list-style:none;

    text-align:left;

    margin:35px 0;

}

.vip-card li{

    margin-bottom:18px;

    color:#d8d8d8;

}

.vip-card li i{

    color:#31d67b;

    margin-right:10px;

}

/* ===========================
            NEWS
=========================== */

.news{

    padding:120px 0;

}

.news-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.news-card{

    background:#171717;

    border:1px solid rgba(255,255,255,.06);

    border-radius:20px;

    padding:35px;

    transition:.35s;

}

.news-card:hover{

    transform:translateY(-10px);

    border-color:#31d67b;

}

.news-date{

    display:inline-block;

    background:#31d67b;

    color:#fff;

    padding:8px 16px;

    border-radius:999px;

    font-size:13px;

    margin-bottom:25px;

}

.news-card h3{

    margin-bottom:15px;

}

.news-card p{

    color:#bfbfbf;

    line-height:1.8;

}

/* ===========================
             FAQ
=========================== */

.faq{

    padding:120px 0;

    background:#0d0d0d;

}

.faq-box{

    max-width:900px;

    margin:auto;

}

.faq-item{

    background:#171717;

    border-radius:18px;

    padding:30px;

    margin-bottom:20px;

    border:1px solid rgba(255,255,255,.06);

    transition:.3s;

}

.faq-item:hover{

    border-color:#31d67b;

}

.faq-item h3{

    margin-bottom:15px;

}

.faq-item p{

    color:#bdbdbd;

    line-height:1.8;

}

/* ===========================
          REVIEWS
=========================== */

.reviews{

    padding:120px 0;

}

.reviews-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.review-card{

    background:#171717;

    border-radius:20px;

    border:1px solid rgba(255,255,255,.06);

    padding:40px;

    text-align:center;

    transition:.35s;

    font-size:22px;

}

.review-card:hover{

    transform:translateY(-10px);

    border-color:#31d67b;

}

.review-card p{

    margin:20px 0;

    color:#c4c4c4;

    line-height:1.8;

    font-size:16px;

}

.review-card h4{

    color:#31d67b;

}

/* ===========================
        CONTACT
=========================== */

.contact{

    padding:120px 0;

    background:#0d0d0d;

}

.contact-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.contact-card{

    background:#171717;

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    padding:40px;

    text-align:center;

    transition:.35s;

}

.contact-card:hover{

    transform:translateY(-10px);

    border-color:#31d67b;

}

.contact-card i{

    font-size:48px;

    color:#31d67b;

    margin-bottom:20px;

}

.contact-card h3{

    margin-bottom:15px;

}

.contact-card p{

    color:#bfbfbf;

    margin-bottom:25px;

}

/* ===========================
      DISCORD WIDGET
=========================== */

.discord-widget{

    padding:100px 0;

}

.discord-widget iframe{

    border-radius:20px;

    border:2px solid rgba(255,255,255,.08);

    overflow:hidden;

}

/* ===========================
          FOOTER
=========================== */

footer{

    background:#080808;

    border-top:1px solid rgba(255,255,255,.08);

    padding:70px 0 20px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:40px;

}

.footer-grid h3,
.footer-grid h4{

    margin-bottom:18px;

}

.footer-grid p{

    color:#bdbdbd;

    line-height:1.8;

}

.footer-grid a{

    display:block;

    color:#bdbdbd;

    margin-bottom:12px;

    transition:.3s;

}

.footer-grid a:hover{

    color:#31d67b;

}

.copyright{

    text-align:center;

    margin-top:60px;

    color:#888;

    border-top:1px solid rgba(255,255,255,.06);

    padding-top:25px;

}

/* ===========================
      SCROLL BUTTON
=========================== */

#scrollTop{
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 58px;
    height: 58px;

    display: none;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: var(--green);
    color: #fff;

    cursor: pointer;

    font-size: 22px;
    line-height: 1;

    z-index: 9999;

    transition: .25s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
}

#scrollTop:hover{
    transform: translateY(-4px);
}

/* ===========================
        SCROLLBAR
=========================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:#31d67b;

    border-radius:20px;

}

/* ===========================
        ANIMATIONS
=========================== */

.hero-card,
.status-card,
.feature-card,
.news-card,
.review-card,
.contact-card,
.vip-card{

    animation:fadeUp .7s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ===========================
       RESPONSIVE
=========================== */

@media(max-width:1100px){

.hero-cards,
.status-grid,
.features-grid,
.news-grid,
.reviews-grid,
.contact-grid{

grid-template-columns:repeat(2,1fr);

}

.stats .container{

grid-template-columns:repeat(2,1fr);

}

.footer-grid{

grid-template-columns:1fr;

text-align:center;

}

}

@media(max-width:768px){

.nav-links{

display:none;

}

.hero h1{

font-size:48px;

}

.hero p{

font-size:16px;

}

.hero-cards,
.status-grid,
.features-grid,
.news-grid,
.reviews-grid,
.contact-grid,
.stats .container{

grid-template-columns:1fr;

}

.hero-buttons{

flex-direction:column;

align-items:center;

}

.section-title h2{

font-size:34px;

}

.vip-card{

width:100%;

padding:35px;

}

.container{

width:94%;

}

}

@media(max-width:480px){

.hero h1{

font-size:38px;

}

.btn{

width:100%;

justify-content:center;

}

.hero-card{

padding:25px;

}

.status-card,
.feature-card,
.news-card,
.review-card,
.contact-card{

padding:25px;

}

}

.hidden{

    opacity:0;

    transform:translateY(40px);

}

.show{

    opacity:1;

    transform:translateY(0);

    transition:all .8s ease;

}

/* ===========================
        MOBILE MENU
=========================== */

.menu-toggle{

    display:none;

    flex-direction:column;

    gap:6px;

    cursor:pointer;

    margin-left:20px;

}

.menu-toggle span{

    width:28px;

    height:3px;

    background:#fff;

    border-radius:10px;

    transition:.3s;

}

.menu-toggle.active span:nth-child(1){

    transform:rotate(45deg) translateY(12px);

}

.menu-toggle.active span:nth-child(2){

    opacity:0;

}

.menu-toggle.active span:nth-child(3){

    transform:rotate(-45deg) translateY(-12px);

}

@media (max-width:768px){

    .menu-toggle{

        display:flex;

    }

    .nav-buttons{

        display:none;

    }

    .nav-links{

        display:none;

        position:absolute;

        top:80px;

        left:0;

        width:100%;

        background:#111;

        flex-direction:column;

        text-align:center;

        padding:30px 0;

        gap:25px;

    }

    .nav-links.active{

        display:flex;

    }

}