/* assets/style.css */
/* Based on provided style + minimal dark-neon theme */

* { box-sizing: border-box; }
body {
    position: relative;
    background: #000 url('https://qdcfw.space/background.jpg') center center / cover no-repeat fixed;
    color: #ffffff;
    font-family: Verdana, Arial, sans-serif;
    padding-bottom: 120px;
    margin: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    z-index: -1;
}

hr { border: 2px dashed #ff00ff; }

.blink { color: #ff0000; font-weight: bold; }

table.menu { border-collapse: collapse; margin-bottom:12px; }
table.menu td {
    background-color: #0000ff;
    border: 2px solid #ff00ff;
    padding: 6px;
    text-align: center;
}
table.menu td a { text-decoration: none; color: #ffff00; font-weight: bold; }
table.menu td a:hover { color: #ff0000; }

table.content {
    border: 2px solid #00ffff;
    padding: 10px;
    margin: 16px auto;
    background-color: rgba(0, 0, 0, 0.55);
    width: 80%;
    max-width: 1000px;
}

.sidebar img { border: 2px solid #ff00ff; margin: 2px; }

.wave-text {
    text-align: center;
    font-size: 3em;
    font-weight: bold;
    margin-top: 18px;
}
.wave-text span { display: inline-block; animation: wave 2s ease-in-out infinite; }
.wave-text span:nth-child(1) { animation-delay: 0s; }
.wave-text span:nth-child(2) { animation-delay: 0.1s; }
.wave-text span:nth-child(3) { animation-delay: 0.2s; }
.wave-text span:nth-child(4) { animation-delay: 0.3s; }
.wave-text span:nth-child(5) { animation-delay: 0.4s; }
.wave-text span:nth-child(6) { animation-delay: 0.5s; }
.wave-text span:nth-child(7) { animation-delay: 0.6s; }
.wave-text span:nth-child(8) { animation-delay: 0.7s; }
.wave-text span:nth-child(9) { animation-delay: 0.8s; }
.wave-text span:nth-child(10){ animation-delay: 0.9s; }
.wave-text span:nth-child(11){ animation-delay: 1s; }

@keyframes wave {
    0%, 100% { transform: translateY(0px); color: #00ff00; }
    50% { transform: translateY(-5px); color: #00ff88; }
}

.floating-box {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 380px;
    height: auto;
    border: 3px solid #00ff00;
    background-color: rgba(0, 0, 0, 1);
    z-index: 10;
    padding: 8px;
    margin: 10px;
}

button, input[type="submit"] {
    background: linear-gradient(90deg, #2b2b2b, #111);
    border: 2px solid #00ff88;
    color: #ccffcc;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}
button:hover { box-shadow: 0 0 10px rgba(0,255,136,0.12); transform: translateY(-1px); }
button.danger {
    border-color: #ff00ff;
    color: #ffb3ff;
}

.small-link {
    color: #66ffcc;
    text-decoration: none;
    margin-right: 8px;
}
.small-link:hover { color:#00ff88; text-decoration:underline; }

/* Modal styles */
.modal-backdrop {
    position: fixed;
    inset:0;
    background: rgba(0,0,0,0.6);
    display:none;
    align-items:center;
    justify-content:center;
    z-index: 1000;
}
.modal {
    width: 420px;
    background: rgba(0,0,0,0.95);
    border: 2px solid #ff00ff;
    padding: 12px;
    color: #fff;
}
.modal input[type="text"] {
    width: 100%;
    padding:8px;
    border:1px solid #00ff88;
    background: #000;
    color:#fff;
}

/* make attachments box responsive */
@media (max-width: 700px) {
    .wave-text { font-size: 2em; }
    table.content { width: 95%; }
    .floating-box { width: 95%; left: 0; right: 0; margin: 0 auto 12px; }
}
