/* Style commun */
body {
    font-family:  Noto, sans-serif;
    text-align: center;
    padding-top: 50px;
}

/* Accueil */
.page-accueil {
    background-color: #1e1e1e;
    color: white;
}

/* Page 2 */
.page-2 {
    background-color: #112c54;
    color: #fff;
}

/* Page 3 */
.page-3 {
    background-color: #0a270b;
    color: #fff;
}

.page-4 {
    background-color: #052a06;
    color: #ffffff;
}

/* Boutons */
button {
     background: #1976d2;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}
.menu {
    background-color: #111;
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.menu-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.3s;
}

.menu-link:hover {
    background-color: #333;
}
.menu-link.active {
    background-color: #1976d2;
    color: white;
}
.cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.card {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    width: 200px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}
.progress {
    width: 300px;
    height: 20px;
    background: #333;
    border-radius: 10px;
}

.bar {
    height: 100%;
    border-radius: 10px;
}

.html { width: 70%; background: orange; }

.hero {
  position: relative;
  text-align: center;
  color: white;
}

.hero-p4 img {
  width: 100%;
  height: 400px;
  display: block;
  opacity: 40%;
}

.hero-text-p4 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color:#a9ff77 
}
.hero-accueil img {
 display: block;
  max-width: 80%;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.hero-text-accueil {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color:#a9ff77 
}
.credit {
    font-family: comic, sans-ms;
    font-size: 15px;
    text-align: left;
    bottom: 10px;
}
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.widget {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.dashboard {
    background: #222;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.widgets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

body.page-5 {
    font-family: Noto, sans-serif;
    text-align: center;
    padding-top: 50px;
    background:#1e1e2f;
    color:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    min-height:100vh;
    margin:0;
}
.widgets.speedtest {
    background:#2e2e4f;
    padding:20px;
    border-radius:12px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;
    width:320px;
}
.widgetspeed {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
button#start {
    padding:10px 20px;
    border:none;
    border-radius:8px;
    background:#ff6600;
    color:#fff;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}
button#start:disabled {
    background:#888;
    cursor:not-allowed;
}
.progress-bar {
    width:100%;
    background:#555;
    height:20px;
    border-radius:10px;
    overflow:hidden;
}
.progress-fill {
    height:100%;
    width:0;
    background:#0f0;
    transition:width 0.2s;
}
.menu-link.active.speed, .menu-link:hover {
    background:#ff6600;
}
.testp6 {
    background: #1e1e1e;
    color:#0f0;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}
.lien {
    color: rgb(152, 174, 245);
}

/* ========== index.html + discord.html (commun) ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

.bg-grid {
    position: fixed;
    inset: 0;
    background-size: 40px 40px;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    pointer-events: none;
}

.lk {
    width: 100%;
    max-width: 460px;
    padding: 3rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.lnk {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff06;
    border: 1px solid #ffffff12;
    color: white;
    text-decoration: none;
    padding: 18px 20px;
    border-radius: 16px;
    transition: all 0.2s;
}

.lnk:hover {
    background: #ffffff10;
    border-color: #ffffff25;
    transform: translateY(-1px);
}

.lnk i { font-size: 20px; width: 24px; }
.lnk span { flex: 1; text-align: left; font-size: 15px; }
.arrow { font-size: 16px; color: #444; }

.links { display: flex; flex-direction: column; gap: 12px; }

.back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 24px;
    transition: color 0.2s;
}
.back:hover { color: #aaa; }

.sub { font-size: 14px; color: #666; margin-bottom: 32px; }

/* ========== index.html ========== */
body.page-index {
    background: #0a0a0f;
    color: white;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 0;
}

.bg-grid-index {
    background-image:
        linear-gradient(#ff4a4a08 1px, transparent 1px),
        linear-gradient(90deg, #ff4a4a08 1px, transparent 1px);
}

.bg-glow-index {
    background: radial-gradient(ellipse, #ff4a4a18 0%, transparent 70%);
}

.avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.2rem;
    border: 3px solid #ff4a4a55;
    box-shadow: 0 0 30px #ff4a4a33;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.aka { font-size: 14px; color: #666; margin-bottom: 16px; }

.bio {
    font-size: 15px;
    color: #999;
    line-height: 1.7;
    background: #ffffff08;
    border: 1px solid #ffffff10;
    padding: 18px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    text-align: left;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
}
.tag {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    background: #ff4a4a15;
    color: #ff6b6b;
    border: 1px solid #ff4a4a33;
}

.disc i { color: #7289da; }
.gh i   { color: #e6e6e6; }
.tw i   { color: #9147ff; }
.mp i   { color: #5b8dd9; }

/* ========== discord.html ========== */
body.page-discord {
    background: #0a0a0f;
    color: white;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 0;
}

.bg-grid-discord {
    background-image:
        linear-gradient(#7289da08 1px, transparent 1px),
        linear-gradient(90deg, #7289da08 1px, transparent 1px);
}

.bg-glow-discord {
    background: radial-gradient(ellipse, #7289da18 0%, transparent 70%);
}

.icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #7289da22;
    border: 2px solid #7289da55;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 0 30px #7289da33;
    font-size: 32px;
    color: #7289da;
}

.lnk-discord:hover {
    background: #7289da15;
    border-color: #7289da44;
}
.lnk-discord i { color: #7289da; }
/* ========== 8n7o6v2A.html ========== */
body.page-pwd {
    background: #0a0a0f;
    color: white;
    font-family: sans-serif;
    min-height: 100vh;
    padding-top: 0;
}

.login-wrap {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    background: #0a0a0fcc;
    backdrop-filter: blur(6px);
}

.login-box {
    background: #111;
    border: 1px solid #222;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    width: 100%;
    max-width: 340px;
}

.login-box .lock { font-size: 40px; margin-bottom: 1rem; }
.login-box h2 { font-size: 1.4rem; margin-bottom: 6px; }
.login-box p { color: #666; font-size: 13px; margin-bottom: 24px; }

.login-box input {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 12px;
    outline: none;
}

.login-box button {
    width: 100%;
    background: #ff4a4a22;
    border: 1px solid #ff4a4a44;
    color: #ff6b6b;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
}

.error { color: #ff4a4a; font-size: 13px; margin-top: 8px; display: none; }

.app {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
    display: none;
}

.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.header h1 { font-size: 1.5rem; }
.header button {
    background: #ffffff08;
    border: 1px solid #ffffff15;
    color: #aaa;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
}

.add-form {
    background: #ffffff06;
    border: 1px solid #ffffff12;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 10px;
    align-items: end;
}

.add-form label { font-size: 12px; color: #666; display: block; margin-bottom: 4px; }
.add-form input {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.add-btn {
    background: #ff4a4a22;
    border: 1px solid #ff4a4a44;
    color: #ff6b6b;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
}

table { width: 100%; border-collapse: collapse; }
thead th { text-align: left; font-size: 12px; color: #555; padding: 8px 12px; border-bottom: 1px solid #ffffff10; }
tbody tr { border-bottom: 1px solid #ffffff08; transition: background 0.15s; }
tbody tr:hover { background: #ffffff05; }
td { padding: 14px 12px; font-size: 14px; }

.pwd { color: #555; letter-spacing: 2px; cursor: pointer; }
.pwd.visible { color: white; letter-spacing: normal; }

.del-btn { background: none; border: none; color: #444; cursor: pointer; font-size: 16px; padding: 4px 8px; border-radius: 6px; }
.del-btn:hover { color: #ff4a4a; background: #ff4a4a15; }

.empty { text-align: center; color: #444; padding: 3rem; font-size: 14px; }