* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    max-width: 650px;
    margin: auto;
    background: #050505;
    color: #eaeaea;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    position: relative;
}

#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* ========== BOUTON MENU FLOTTANT LÉGER ========== */
.menu-float {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    z-index: 100;
    color: rgba(255, 80, 80, 0.8);
}

.menu-float:hover {
    transform: scale(1.05);
    background: rgba(255, 0, 0, 0.3);
    border-color: rgba(255, 0, 0, 0.7);
    color: #ff4040;
}

/* ========== MENU LATÉRAL GAUCHE ========== */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: linear-gradient(145deg, #0a0a0a, #050505);
    border-right: 2px solid #ff0000;
    box-shadow: 5px 0 30px rgba(255, 0, 0, 0.3);
    z-index: 2000;
    transition: left 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.side-menu.open {
    left: 0;
}

.menu-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #ff0000;
    margin-bottom: 20px;
}

.menu-header h3 {
    color: #ff0000;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.menu-buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-btn {
    padding: 14px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.menu-btn.whatsapp {
    background: #25D366;
    color: #000;
}

.menu-btn.telegram {
    background: #0088cc;
    color: #fff;
}

.menu-btn.owner {
    background: #ff0000;
    color: #fff;
}

.menu-btn:hover {
    transform: translateX(5px);
    filter: brightness(1.1);
}

.menu-footer {
    border-top: 1px solid #ff4040;
    padding-top: 20px;
    margin-top: 20px;
}

.uid-section {
    background: #080808;
    border: 1px solid #ff4040;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
}

.uid-label {
    font-size: 0.7rem;
    color: #ff8080;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.uid-value {
    font-family: monospace;
    font-size: 0.9rem;
    color: #ff4040;
    word-break: break-all;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.copy-uid-btn {
    background: #ff0000;
    border: none;
    color: white;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    width: 100%;
    transition: 0.2s;
}

.copy-uid-btn:hover {
    background: #cc0000;
}

.close-menu-btn {
    background: #222;
    color: white;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: 0.2s;
}

.close-menu-btn:hover {
    background: #333;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.menu-overlay.active {
    display: block;
}

.video-wrapper {
    width: 100%;
    max-width: 520px;
    margin: 20px auto 30px;
    border: 5px solid #ff0000;
    border-radius: 20px;
    box-shadow: 0 0 50px #ff0000;
    background: #0a0a0a;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    color: #ff0000;
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 8px;
    text-shadow: 0 0 20px #ff0000;
}

.subtitle {
    color: #ff4040;
    text-align: center;
    font-size: 1.15rem;
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.report-box {
    background: linear-gradient(145deg, #0a0a0a, #050505);
    padding: 25px;
    border-radius: 18px;
    border: 2px solid #ff0000;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
    width: 100%;
    max-width: 480px;
}

.phone-input {
    display: flex;
    align-items: center;
    background: #080808;
    border: 2px solid #ff0000;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.phone-input input {
    flex: 1;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    outline: none;
    font-family: monospace;
}

.phone-input span {
    font-size: 1.8rem;
    margin-right: 12px;
    color: #ff0000;
}

.motifs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
}

.motif-btn {
    padding: 18px 10px;
    border: 2px solid #ff0000;
    background: #0a0a0a;
    color: #ff4040;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.motif-btn.selected {
    background: #ff0000;
    color: #000;
    box-shadow: 0 0 25px #ff4040;
    transform: scale(1.05);
}

.envoyer-btn {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, #800000, #ff0000);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 14px;
    font-size: 1.45rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 0 25px #ff0000;
    transition: 0.3s;
}

.envoyer-btn:hover {
    box-shadow: 0 0 40px #ff0000;
    transform: translateY(-3px);
}

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #1a1a1a;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideUp 0.3s ease;
    white-space: nowrap;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.toast.fade-out {
    animation: fadeOut 0.3s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
        visibility: hidden;
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #ff0000;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== DISCLAIMER ========== */
.disclaimer {
    text-align: center;
    font-size: 0.7rem;
    color: #666;
    margin-top: 30px;
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 0, 0, 0.3);
    max-width: 480px;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

.disclaimer br {
    display: none;
}

@media (max-width: 480px) {
    .disclaimer br {
        display: inline;
    }
}