@font-face {
    font-family: 'Maiandra GD';
    src: url('/font/MaiandraGD-Regular.woff2') format('woff2'),
        url('/font/MaiandraGD-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */

body {


    font-family: 'Maiandra GD', Arial, sans-serif;
	height: 100%; 
	 overflow-x: hidden;


}
/* HEADER */

.header {
    background-image: url("/images/menu.png");
    background-size: cover;
    background-position: center;
	background-repeat: no-repeat;
	height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* MENU */

.menu {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;
}

.menu-center {
    display: flex;
    align-items: center;
    gap: 60px;
}

.menu a {
    color: #BCAD83;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.menu a:hover {
    color: white;
}

/* Contenaire du milieu */


.logo {
    height: 300px;
    background-image: url("/images/logo.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.background{
	background-image: url("/images/background.png");
	background-size: cover;        /* ← Très important */
    background-position: center;   /* ← Important */
    background-repeat: no-repeat;

}

/* CONTAINER */

.container {
    width: min(1300px, 95%);
    margin: auto;
}


/* LAYOUT */

.main-layout {
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    gap: 0px;
}
.main-layout > * {
    min-width: 0;
}

@media (max-width: 1100px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 100%;
    }
}


/* FOOTER */

.footer {
	background-image: url("/images/footer.png");
	height: 150px;
	    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
}

/* Tableau TOP PLAYERS */
.top-players-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    color: #fff;
}

.top-players-table th,
.top-players-table td {
    padding: 6px;
    text-align: left;
    border-bottom: 1px solid #4a2c2a;
}

.top-players-table th {
    color: #d4af37;
    font-weight: bold;
}

.top-players-table tr:last-child td {
    border-bottom: none;
}

/* Bouton de téléchargement (si tu l'utilises) */
btn-download {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 260 / 186;
    height: auto;
}

.btn-download:hover {
    background-image: url("/images/download/download_hover.png");
}

.btn-download:active {
    background-image: url("/images/download/download_press.png");
}


/* Style pour les statistiques */
.info-server-stats {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Espacement vertical entre les lignes */
    font-size: 14px; /* Taille de police plus petite */
    margin-top: 10px; /* Espacement après l'image */
}

.stat-row {
    display: flex;
    justify-content: space-between; /* Aligne le libellé à gauche et la valeur à droite */
    padding: 0; /* Supprime le padding */
    border: none; /* Supprime la bordure */
}

.stat-label {
    color: #ccc;
    margin-right: 10px; /* Espacement entre le libellé et la valeur */
}

.stat-value {
    color: #d4af37;
    font-weight: bold;
}

/* ===================== REGISTER BOX ===================== */
.register-box {
    border-radius: 8px;
    padding: 30px 40px;
    margin-top: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.register-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #8b5a2b;
}

.header-icon {
    color: #d4af37;
    font-size: 28px;
    line-height: 1;
}

.register-header h2 {
    margin: 0;
    font-size: 1.35rem;
    color: #f0d9a8;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Inputs */
.input-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #d4af37;
    z-index: 2;
}

.input-wrapper input {
    width: 100%;
    background: #0f0a05;
    border: 2px solid #6b4a2a;
    color: #f0d9a8;
    padding: 14px 14px 14px 48px;
    font-size: 16px;
    border-radius: 6px;
    transition:
    background 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}

.input-wrapper input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
    outline: none;
}

/* Terms */
.terms {
    margin: 18px 0 25px;
    font-size: 14.5px;
}

.terms label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #ccc;
}

.terms input[type="checkbox"] {
    accent-color: #d4af37;
}

/* Bouton REGISTER */
.btn-register {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(to right, #8b5a2b, #b37a3d, #8b5a2b);
    color: #f0d9a8;
    font-size: 1.4rem;
    font-weight: bold;
    border: 3px solid #d4af37;
    border-radius: 50px;
    cursor: pointer;
    transition:
    background 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.btn-register:hover {
    background: linear-gradient(to right, #b37a3d, #e0a55f, #b37a3d);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.4);
}

.btn-register:active {
    transform: translateY(2px);
}

/* ===================== SUCCESS SCREEN ===================== */
.success-screen {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(145deg, #1f160d, #2c2118);
    border: 2px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    color: #e8d5b8;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.success-screen h3 {
    color: #ffd700;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

.success-screen p {
    font-size: 1.25rem;
    margin: 12px 0;
    color: #f0d9a8;
}

.success-screen strong {
    color: #ffd700;
}

/* Bouton de succès */
.btn-success {
    display: inline-block;
    margin-top: 25px;
    padding: 16px 40px;
    background: linear-gradient(to right, #8b5a2b, #b37a3d);
    color: #f0d9a8;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    border: 3px solid #d4af37;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition:
    background 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.btn-success:hover {
    background: linear-gradient(to right, #b37a3d, #e0a55f);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.5);
}

/* Messages d'erreur */
.error-messages {
    background: rgba(200, 40, 40, 0.2);
    border: 1px solid #c04040;
    color: #ff8888;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.error-messages p {
    margin: 8px 0;
}

.lang-dropdown {
    position: absolute;
    right: 30px;
    top: 50%;

    transform: translateY(-50%);
}

.lang-btn {
    background: #220000;
    color: white;
    border: 1px solid #552222;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    min-width: 90px;
    text-align: left;
}

.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #220000;
    border: 1px solid #552222;
    min-width: 90px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 14px;
    color: white;
    text-decoration: none;

    transition: background 0.2s;
}

.lang-menu a:hover {
    background: #440000;
}

.lang-dropdown:hover .lang-menu {
    display: block;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.news {
    background-image: url("/images/center.png");
	height: auto;

}
.news-box {
    background-image: url("/images/news.png");
	height : 310px;
	margin-bottom: 10px;
}

.news-box h1 {
		text-align : center;

}

.news-box p {
		text-align : center;

}

.golda {
    color: #c9a44c;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}
.golda:hover {
    color: #ffd700;
    text-decoration: underline;
}

#starpassBtn.payment-btn{
    width: 95%;
    height: 54px;
    border: 0;
    border-radius: 4px;
    background: #2d3136;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    transition: .3s ease;
}

#starpassBtn.payment-btn:hover{
    background: #383d43;
}

#starpassBtn .icon{
    font-size: 22px;
    color: #ffffff;
}

#starpassContainer{
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

#starpassContainer.open{
    max-height: 1000px;
    margin-top: 15px;
}