/*
==================================================
Palworld France
Auteur : ErATOme51
Version : 1.0
==================================================
*/

:root{

    --background:#08111d;
    --background-light:#101b2b;
    --background-card:rgba(18,31,49,.72);

    --primary:#00C2FF;
    --primary-light:#47D6FF;

    --text:#FFFFFF;
    --text-light:#D1D5DB;

    --border:rgba(255,255,255,.10);

    --shadow:
        0 20px 60px rgba(0,0,0,.40);

    --radius:18px;

    --transition:.35s ease;

    --container:1320px;

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--background);

    color:var(--text);

    font-family:'Inter',sans-serif;

    overflow-x:hidden;

    line-height:1.7;

}

img{

    display:block;

    max-width:100%;

}

a{

    color:inherit;

    text-decoration:none;

}

ul{

    list-style:none;

}

.container{

    width:min(92%,var(--container));

    margin:auto;

}
.header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:999;

    backdrop-filter:blur(18px);

    background:rgba(8,17,29,.65);

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

}

.header .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:90px;

}
.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:54px;

}

.logo span{

    font-family:"Cinzel",serif;

    font-size:22px;

    font-weight:700;

}
nav ul{

    display:flex;

    gap:35px;

}

nav a{

    transition:.3s;

    font-weight:600;

}

nav a:hover{

    color:var(--primary);

}
.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:15px 32px;

    border-radius:999px;

    transition:.3s;

    font-weight:700;

    cursor:pointer;

}

.btn-primary{

    background:var(--primary);

    color:#08111d;

}

.btn-primary:hover{

    transform:translateY(-4px);

    box-shadow:0 0 30px rgba(0,194,255,.45);

}

.btn-secondary{

    border:2px solid var(--primary);

    background:none;

    color:white;

}

.btn-secondary:hover{

    background:var(--primary);

    color:#08111d;

}

.btn-outline{

    border:2px solid white;

}

.btn-outline:hover{

    background:white;

    color:#08111d;

}
.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    background:

    linear-gradient(rgba(8,17,29,.65),rgba(8,17,29,.90)),

    url("../img/backgrounds/hero-bg.png");

    background-size:cover;

    background-position:center;

}
.hero-content{

    width:min(900px,92%);

    position:relative;

    z-index:5;

}
.hero-logo{

    width:180px;

    margin:auto;

    margin-bottom:40px;

}
.hero h1{

    font-family:"Cinzel",serif;

    font-size:68px;

    line-height:1.15;

    margin-bottom:30px;

}
.hero p{

    font-size:22px;

    color:var(--text-light);

    max-width:760px;

    margin:auto;

    margin-bottom:45px;

}
.hero-buttons{

    display:flex;

    gap:20px;

    justify-content:center;

    flex-wrap:wrap;

    margin-bottom:40px;

}
.server-ip{

    display:inline-block;

    padding:18px 30px;

    border-radius:999px;

    backdrop-filter:blur(20px);

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

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

    font-size:20px;

    font-weight:700;

    letter-spacing:1px;

}
/* ==================================================
   Sections
================================================== */

section{

    position:relative;

    padding:120px 0;

}

.section-title{

    font-family:"Cinzel",serif;

    font-size:48px;

    text-align:center;

    margin-bottom:25px;

}

.section-subtitle{

    max-width:850px;

    margin:auto;

    margin-bottom:70px;

    text-align:center;

    color:var(--text-light);

    font-size:19px;

}
/* ==================================================
   Cards
================================================== */

.card{

    background:var(--background-card);

    backdrop-filter:blur(20px);

    border:1px solid var(--border);

    border-radius:var(--radius);

    padding:40px;

    transition:.35s;

    box-shadow:var(--shadow);

}

.card:hover{

    transform:translateY(-10px);

    border-color:rgba(0,194,255,.45);

    box-shadow:
        0 0 40px rgba(0,194,255,.15),
        var(--shadow);

}
.grid{

    display:grid;

    gap:30px;

}

.grid-2{

    grid-template-columns:repeat(2,1fr);

}

.grid-3{

    grid-template-columns:repeat(3,1fr);

}

.grid-4{

    grid-template-columns:repeat(4,1fr);

}
.about{

    background:#0D1725;

}

.about .grid{

    align-items:center;

}

.about img{

    border-radius:20px;

    overflow:hidden;

    box-shadow:var(--shadow);

}
.features{

    background:#08111d;

}

.feature{

    text-align:center;

}

.feature i{

    width:90px;

    height:90px;

    margin:auto;

    margin-bottom:30px;

    border-radius:50%;

    background:rgba(0,194,255,.10);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:42px;

    color:var(--primary);

}

.feature h3{

    margin-bottom:20px;

    font-size:26px;

}
.gallery{

    background:#0D1725;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.gallery-grid img{

    width:100%;

    height:300px;

    object-fit:cover;

    border-radius:18px;

    transition:.35s;

    cursor:pointer;

}

.gallery-grid img:hover{

    transform:scale(1.05);

}
.discord-section{

    text-align:center;

    background:linear-gradient(
        180deg,
        #08111d,
        #101b2b
    );

}

.discord-box{

    width:min(850px,90%);

    margin:auto;

    padding:70px;

    border-radius:25px;

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

    backdrop-filter:blur(20px);

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

}
footer{

    background:#050C15;

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

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:50px;

    padding:80px 0;

}

.footer-grid h3{

    margin-bottom:25px;

}

.footer-grid ul{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.footer-grid a{

    color:var(--text-light);

    transition:.3s;

}

.footer-grid a:hover{

    color:var(--primary);

}

.footer-bottom{

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

    text-align:center;

    padding:30px;

    color:#9CA3AF;

}
::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#08111d;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:999px;

}
::selection{

    background:var(--primary);

    color:#08111d;

}
.hero-small{

    min-height:45vh;

    padding-top:120px;

}

.hero-small h1{

    font-size:58px;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:25px;

}

.gallery-grid img{

    aspect-ratio:16/9;

    width:100%;

    object-fit:cover;

    border-radius:20px;

    transition:.35s;

    box-shadow:var(--shadow);

}

.gallery-grid img:hover{

    transform:scale(1.04);

    box-shadow:
        0 0 35px rgba(0,194,255,.35);

}
/* =======================================
   TOP SERVEURS
======================================= */

.vote-section{

    padding:120px 0;

}

.vote-wrapper{

    display:grid;

    grid-template-columns:1.2fr .8fr;

    gap:60px;

    align-items:center;

}

.vote-badge{

    display:inline-block;

    padding:10px 22px;

    border-radius:999px;

    background:rgba(0,191,255,.15);

    border:1px solid rgba(0,191,255,.35);

    color:#6fd7ff;

    margin-bottom:25px;

    font-weight:600;

}

.vote-left h2{

    font-size:46px;

    line-height:1.2;

    margin-bottom:25px;

}

.vote-left p{

    font-size:18px;

    opacity:.9;

    line-height:1.8;

}

.vote-features{

    margin-top:35px;

    display:grid;

    gap:18px;

}

.vote-features div{

    display:flex;

    align-items:center;

    gap:15px;

    font-size:18px;

}

.vote-card{

    position:relative;

    overflow:hidden;

    padding:50px;

    text-align:center;

    border-radius:28px;

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

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

    backdrop-filter:blur(16px);

    transition:.35s;

}

.vote-card::before{

    content:"";

    position:absolute;

    inset:-80px;

    background:radial-gradient(circle,#00bfff33 0%,transparent 70%);

    opacity:0;

    transition:.4s;

    pointer-events:none;

    z-index:0;

}
.vote-card > *{

    position:relative;

    z-index:1;

}

.vote-card:hover{

    transform:translateY(-8px);

    border-color:#00bfff;

    box-shadow:0 0 40px rgba(0,191,255,.25);

}

.vote-card:hover::before{

    opacity:1;

}

.vote-stars{

    font-size:42px;

    color:#FFD700;

    margin-bottom:20px;

    letter-spacing:8px;

}

.vote-card h3{

    font-size:34px;

    margin-bottom:15px;

}

.vote-card p{

    margin-bottom:35px;

    opacity:.85;

}

.vote-btn{

    width:100%;

    justify-content:center;

    font-size:18px;

    padding:18px 30px;

}
/* =======================================
   Lien Vote Menu
======================================= */

nav a.vote-link{

    display:flex;

    align-items:center;

    gap:8px;

    padding:8px 16px;

    border-radius:999px;

    color:#FFD54A;

    font-weight:700;

    transition:all .3s ease;

}

nav a.vote-link:hover{

    color:#08111d;

    background:#FFD54A;

    box-shadow:0 0 20px rgba(255,213,74,.35);

}
/*==================================================
    SERVER STATUS
==================================================*/

.server-status{

    margin-top:50px;

    max-width:560px;

    margin-left:auto;

    margin-right:auto;

}

.server-status-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:15px;

    padding:0 5px;

    font-size:.95rem;

    font-weight:600;

}

.status-online{

    color:#49ff7b;

}

.server-ip{

    color:var(--text-secondary);

}

.battlemetrics-widget{

    border-radius:18px;

    overflow:hidden;

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

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

    backdrop-filter:blur(18px);

    box-shadow:0 20px 50px rgba(0,0,0,.35);

    transition:.3s;

}

.battlemetrics-widget:hover{

    transform:translateY(-3px);

    box-shadow:0 25px 60px rgba(0,194,255,.20);

}

.battlemetrics-widget iframe{

    display:block;

    width:100%;

    min-height:80px;

    border:0;

}