/* ХУЛИ ЗЫРИШЬ ПИДАРАС 42 HTTPS://СЫНБЛЯДИ.РФ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    overflow-y: auto;
    position: relative;
    background-color: #000; /* На случай если видео не загрузится */
    color: #fff;
}

/* --- ФОН --- */
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* --- КОНТЕЙНЕР --- */
.container {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: flex-start;
    min-height: 100vh;
    gap: 40px;
    max-width: 614px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 0;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* --- СТЕКЛЯННЫЕ КАРТОЧКИ (ОСНОВА) --- */
.neon-box, .music-box, .projects-box, .eat-button-box, .upload-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.6); /* Полупрозрачный черный */
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 614px;
    text-align: center;
    z-index: 2;
    margin-bottom: 20px;
}

/* Эффект свечения вокруг карточки */
.neon-box::before, .music-box::before, .projects-box::before, .eat-button-box::before, .upload-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 30px;
    background: linear-gradient(45deg, #5a5a5a, #000000);
    filter: blur(5px);
    z-index: -1;
}

/* Белая рамка внутри */
.neon-box::after, .music-box::after, .projects-box::after, .eat-button-box::after, .upload-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
    pointer-events: none;
}

/* --- ЗАГОЛОВКИ И ТЕКСТ --- */
h1, h2, h3 {
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}
p {
    color: #ccc;
    margin-bottom: 10px;
}

/* --- ЗОНА ЗАГРУЗКИ (UPLOAD) --- */
.upload-area {
    width: 100%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 50px 20px;
    margin: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 5;
}

.upload-area:hover, .upload-area.highlight {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.upload-area p {
    font-size: 18px;
    color: #fff;
    pointer-events: none; /* Чтобы клик проходил сквозь текст */
}

/* --- КНОПКИ --- */
button, .eat-button, .info-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 300px;
}

button:hover, .eat-button:hover, .info-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

button:disabled {
    background: #555;
    color: #888;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* --- РЕЗУЛЬТАТЫ И ОШИБКИ --- */
.result, .error {
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    z-index: 5;
    position: relative;
}

.result {
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
}

.error {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
}

.result h2 { color: #00ff00; font-size: 20px; }
.error h2 { color: #ff0000; font-size: 20px; }

.link-container {
    margin-top: 15px;
    word-break: break-all;
}
.link-container a {
    color: #fff;
    text-decoration: underline;
    font-size: 14px;
}

.hidden { display: none; }

/* --- АДАПТИВ --- */
@media (max-width: 600px) {
    .container { padding-top: 20px; }
    .neon-box, .upload-card { padding: 20px; }
    .upload-area { padding: 30px 10px; }
}