body {
    font-family: Arial, sans-serif;
    background: transparent;
    color: #eee;
    margin: 0; padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#background-video {
    position: fixed;
    right: 0; bottom: 0;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    z-index: -2;
    object-fit: cover;
    filter: brightness(0.35);
}

#video-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

main {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 4rem;
    padding: 0 1rem;
    z-index: 0;
}

h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffcc00;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #ffcc00aa;
}

p, li {
    color: #ddd;
}

.features {
    margin-top: 2rem;
    padding: 2rem 2.5rem;
    max-width: 720px;
    margin-left: auto; margin-right: auto;
    color: #f0e68c;
    font-weight: 500;
    border-radius: 18px;
    box-shadow: 0 4px 25px rgba(255, 204, 0, 0.15);
    background: rgba(26, 26, 26, 0.3);
}

.features p {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffdd55;
    text-align: center;
}

.features ul {
    list-style: inside disc;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.features ul li {
    margin-bottom: 0.5rem;
}

.btn {
    display: inline-block;
    margin: 1rem 0.8rem 2rem 0;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 10px transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
    user-select: none;
}

.btn:focus-visible {
    outline: 3px solid #ffcc00;
    outline-offset: 3px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px #ffcc00aa;
}

.btn-register {
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
    box-shadow: 0 6px 12px #1c7a29cc;
}

.btn-register:hover {
    background: linear-gradient(45deg, #218838, #1c6f28);
    box-shadow: 0 10px 30px #1c7a29ee;
}

.btn-login {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 6px 15px #004a8ccc;
}

.btn-login:hover {
    background: linear-gradient(45deg, #0056b3, #004086);
    box-shadow: 0 10px 35px #004a8cee;
}

.btn-dashboard {
    background: linear-gradient(45deg, #ffc107, #e0a800);
    color: #1a1a1a;
    box-shadow: 0 6px 12px #b38600cc;
}

.btn-dashboard:hover {
    background: linear-gradient(45deg, #e0a800, #b38600);
    box-shadow: 0 10px 30px #b38600ee;
}

#minijeu {
    margin-top: 50px;
    background: rgba(26, 26, 26, 0.3);
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 6px 30px rgba(255, 204, 0, 0.15);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

#minijeu h3 {
    font-size: 1.8rem;
    color: #ffcc00;
    margin-bottom: 25px;
    text-shadow: 0 0 15px #ffcc00bb;
}

#playGameLink {
    background: linear-gradient(45deg, #ffb900, #ff8000);
    color: #1a1a1a;
    padding: 14px 48px;
    border-radius: 40px;
    font-weight: 900;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.6);
    user-select: none;
    transition: 0.35s ease;
}

#playGameLink:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 0 40px rgba(255, 193, 7, 1);
}

.side-panel {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 300px;
    padding: 25px 30px;
    color: #fff;
    font-size: 0.95rem;
    z-index: 1;
    backdrop-filter: blur(8px);
    background-color: transparent; /* Pas de fond opaque */
    border-radius: 16px;
    box-shadow: 0 0 35px #0008;
}

.side-panel h4 {
    color: #ffcc00;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 900;
    text-shadow: 0 0 8px #ffcc00cc;
}

.side-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-panel ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.side-panel ul li strong {
    color: #00e0ff;
}

@media screen and (max-width: 1000px) {
    .side-panel {
        display: none;
    }
}
