* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #0c0c0f;
    color: white;
}

/* NAVBAR */
.navbar {
    padding: 20px 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

/* SECTION */
.stats-section {
    padding: 80px 40px;
    text-align: center;
    min-height: 150vh;
    /* permet scroll */
}

.stats-section h1 {
    font-size: 48px;
    margin-bottom: 60px;
}

/* CARDS */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    width: 250px;
    height: 260px;
    background: #17171c;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    border: 1px solid white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.icon {
    font-size: 30px;
    margin-bottom: 20px;
}

.card h2 {
    font-size: 40px;
}

.card p {
    color: #aaa;
}

/* BOUTON PANEL */
.bottom-button {
    margin-top: 100px;
}

.panel-btn {
    background: #17171c;
    padding: 15px 40px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.panel-btn:hover {
    border: 1px solid white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* PAGES CENTRÉES */
.centered-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* LOGIN */
.login-box,
.panel-box {
    background: #17171c;
    padding: 50px;
    border-radius: 20px;
    width: 350px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 10px;
    border: none;
    background: #0c0c0f;
    color: white;
}

.login-box button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: white;
    color: black;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.login-box button:hover {
    box-shadow: 0 0 15px white;
}

#error {
    margin-top: 10px;
    color: red;
}

/* PANEL */
.panel-box textarea {
    width: 100%;
    height: 150px;
    margin-top: 20px;
    background: #0c0c0f;
    border: none;
    border-radius: 10px;
    padding: 10px;
    color: white;
}

.admin-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

.admin-card {
    background: linear-gradient(145deg, #141414, #1c1c1c);
    padding: 60px 20px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease;
    border: 1px solid #222;
}

.admin-card h2 {
    font-weight: normal;
}

.admin-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.4);
    border-color: #00ff88;
}

.admin-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 30px;
    background: #141414;
    border-radius: 20px;
}

/* Compteur */
.license-counter {
    position: fixed;
    top: 20px;
    left: 30px;
    font-size: 20px;
    font-weight: bold;
}

/* Titre centré */
.admin-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 50px;
    font-size: 36px;
}

/* Grid principal */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

/* Cards */
.admin-card {
    background: #161616;
    padding: 60px 20px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease;
    border: 1px solid #222;
}

.admin-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0,255,136,0.4);
    border-color: #00ff88;
}

/* Section dynamique */
.admin-content {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background: #141414;
    border-radius: 20px;
}

/* Sélection type license */
.license-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.type-card {
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.type-card:hover {
    transform: scale(1.05);
}

/* Couleurs */
.day { background: #3498db; }
.week { background: #9b59b6; }
.month { background: #e67e22; }
.lifetime { background: #2ecc71; }

.type-selected {
    box-shadow: 0 0 20px white;
}

body {
    background: #0a0a0f;
    color: white;
    font-family: Arial, sans-serif;
}

.centered-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Neon */
.neon-text {
    text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
}

.neon-box {
    box-shadow: 0 0 20px rgba(0,255,200,0.4);
}

.neon-card {
    background: #14141a;
    padding: 60px;
    border-radius: 20px;
    transition: 0.3s;
    cursor: pointer;
}

.neon-card:hover {
    box-shadow: 0 0 30px #00ffcc;
    transform: translateY(-10px);
}

.neon-btn {
    padding: 12px 25px;
    background: #00ffcc;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.neon-btn:hover {
    box-shadow: 0 0 20px #00ffcc;
}

.success-neon {
    color: #00ffcc;
    text-shadow: 0 0 15px #00ffcc;
    font-weight: bold;
}

/* Layout */
.admin-title {
    text-align: center;
    margin-top: 40px;
    font-size: 40px;
}

.license-counter {
    position: fixed;
    top: 20px;
    left: 30px;
    font-size: 22px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 60px auto;
}

.admin-content {
    max-width: 900px;
    margin: auto;
    padding: 40px;
}

.input-neon {
    width: 100%;
    padding: 15px;
    background: #1c1c25;
    border: none;
    border-radius: 10px;
    color: white;
    margin-bottom: 30px;
}

/* Type cards */
.license-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.type-card {
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.type-card:hover {
    transform: scale(1.05);
}

.day { background: #3498db; }
.week { background: #9b59b6; }
.month { background: #e67e22; }
.lifetime { background: #2ecc71; }

.type-selected {
    box-shadow: 0 0 20px white;
}

/* Animation compteur */
.counter-animate {
    transform: scale(1.4);
    transition: 0.3s;
}

body{background:#0a0a0f;color:white;font-family:Arial,sans-serif;}
.centered-page{display:flex;justify-content:center;align-items:center;height:100vh;}
.panel-box{background:#141418;padding:50px;border-radius:20px;text-align:center;}
.neon-text{text-shadow:0 0 10px #00ffcc,0 0 20px #00ffcc;}
.neon-btn{padding:12px 25px;background:#00ffcc;border:none;border-radius:10px;cursor:pointer;font-weight:bold;transition:0.3s;}
.neon-btn:hover{box-shadow:0 0 20px #00ffcc;}
.success-neon{color:#00ffcc;text-shadow:0 0 15px #00ffcc;font-weight:bold;}
.license-types{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:30px;}
.type-card{padding:30px;border-radius:15px;text-align:center;font-weight:bold;cursor:pointer;transition:0.3s;}
.type-card:hover{transform:scale(1.05);}
.day{background:#3498db;} .week{background:#9b59b6;} .month{background:#e67e22;} .lifetime{background:#2ecc71;}
.type-selected{box-shadow:0 0 20px white;}

.panel-box input, .panel-box textarea, .panel-box .license-display {
    padding:15px;
    border-radius:12px;
    border:none;
    background:#1c1c25;
    color:white;
    width:100%;
    box-sizing:border-box;
    font-size:16px;
}