/* --- Основни стилове --- */
body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Header --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo { font-size: 1.5em; font-weight: bold; }

nav .btn {
    margin-left: 15px;
    padding: 8px 16px;
    background: #00bcd4;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}
nav .btn:hover {
    background: #ffab00;
    transform: scale(1.05);
}

/* --- Hero --- */
.hero {
    text-align: center;
    padding: 100px 20px;
    animation: fadeIn 2s ease;
}
.hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 0 0 12px rgba(0,229,255,0.6);
    animation: glowPulse 2.5s infinite alternate;
}
.hero p { font-size: 1.2em; margin-bottom: 25px; }

.cta {
    display: inline-block;
    padding: 12px 30px;
    background: #00bcd4;
    border-radius: 30px;
    color: #fff;
    font-size: 1.2em;
    text-decoration: none;
    transition: 0.3s;
}
.cta:hover { background: #ffab00; transform: scale(1.1); }

.hero-buttons {
    display: inline-flex;   /* подрежда бутоните хоризонтално */
    gap: 30px;              /* разстояние между бутоните */
    margin-top: 20px;       /* малко пространство от текста */
}
/* --- Features --- */
.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 60px 20px;
}
.card {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 25px;
    width: 280px;
    text-align: center;
    transition: 0.4s;
    backdrop-filter: blur(8px);
}
.card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 15px rgba(0,229,255,0.4);
}
.card img { width: 80px; margin-bottom: 15px; }

/* --- About секция --- */
.about {
    max-width: 900px;
    margin: 60px auto;
    padding: 30px;
    text-align: center;
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    animation: fadeUp 1s ease;
}
.about h2 {
    margin-bottom: 20px;
    font-size: 2em;
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0,229,255,0.7);
}

/* --- Rules секция --- */
.rules {
    max-width: 900px;
    margin: 40px auto;
    padding: 25px;
    background: rgba(255,0,0,0.15);
    border-left: 5px solid #ff4444;
    border-radius: 12px;
    font-weight: bold;
    animation: fadeUp 1s ease;
}
.rules h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #ff7777;
    text-shadow: 0 0 10px rgba(255,0,0,0.6);
}

/* --- Dashboard / Files --- */
/* --- Centered Dashboard / Files --- */


.dashboard {
    width: 80%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.08);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    position: relative;   /* вместо absolute */
    margin: 50px auto;    /* центриране по хоризонтала */
    display: flex;
    flex-direction: column;
    animation: fadeInCenter 0.8s ease forwards;
}



h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 3em;
    text-shadow: 0 0 18px rgba(0, 229, 255, 0.6);
    animation: glowPulse 2.5s infinite alternate;
}

.progress-bar {
    width: 100%;
    height: 25px;
    background: #444;
    border-radius: 12px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00e5ff, #00b3ff);
    text-align: center;
    color: #fff;
    font-weight: bold;
    line-height: 25px;
    min-width: 20px; /* винаги видима дори при малки файлове */
}


.upload-form {
    text-align: center;
    margin: 30px 0;
    display: flex;
    justify-content: center; /* центрира цялата форма */
    flex-wrap: wrap; /* за мобилни - редят се на нов ред */
    gap: 12px; /* разстояние между input и button */
}

.upload-form input[type="file"] {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 1em;
    transition: 0.3s;
    flex: 1 1 auto; /* input да заема място, ако има нужда */
    min-width: 180px; /* минимална ширина */
}

.upload-form input[type="file"]:focus {
    box-shadow: 0 0 12px #00e5ff;
}

.upload-form button {
    padding: 14px 28px;
    background: linear-gradient(90deg, #ff512f, #dd2476);
    border: none;
    border-radius: 16px;
    color: #fff;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0; /* бутонът не се смалява */
}

.upload-form button:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.6);
}

/* Мобилна адаптация */
@media (max-width: 480px) {
    .upload-form {
        flex-direction: column; /* input и button на ред подред */
        align-items: stretch;
    }

    .upload-form input[type="file"],
    .upload-form button {
        width: 100%;
        margin: 0;
    }
}


.files {
    flex: 1;             /* заема останалото пространство */
    margin-top: 10px;
    overflow: hidden;    /* няма скрол вертикално и хоризонтално */
    white-space: normal; /* за да се пренасят дългите имена на файлове на нов ред */
}


.file-item {
    padding: 16px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 16px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05em;
    transition: 0.3s;
}

.file-item:hover {
    transform: translateX(5px);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

.file-item a {
    color: #00e5ff;
    text-decoration: none;
}

.file-item button {
    margin-left: 8px;
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.copy-btn {
    background: #00bcd4;
    color: #fff;
    transition: 0.3s;
}

.copy-btn:hover {
    background: #0097a7;
    box-shadow: 0 0 10px #00bcd4;
}

.delete-btn {
    background: #ff4444;
    color: #fff;
    transition: 0.3s;
}

.delete-btn:hover {
    background: #ff2222;
    box-shadow: 0 0 10px #ff4444;
}

.logout {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #ff7777;
    color: #fff;
    padding: 12px 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.logout:hover {
    background: #ff4444;
    box-shadow: 0 0 14px rgba(255, 0, 0, 0.6);
}

/* --- Анимации --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
    from { text-shadow: 0 0 14px rgba(0, 229, 255, 0.5); }
    to { text-shadow: 0 0 35px rgba(0, 229, 255, 0.9); }
}

/* --- Forms --- */
.form-container {
    max-width: 400px;
    margin: 80px auto;
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(8px);
    animation: fadeUp 0.8s ease;
}
.form-container h2 { margin-bottom: 20px; }
.form-container input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 10px;
    border: none;
    outline: none;
    transition: 0.3s;
}
.form-container input:focus {
    box-shadow: 0 0 10px #00e5ff;
    transform: scale(1.02);
}
.form-container button {
    width: 100%;
    padding: 12px;
    background: #00bcd4;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1.1em;
    cursor: pointer;
    transition: 0.3s;
}
.form-container button:hover {
    background: #ffab00;
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255,171,0,0.6);
}
.error { color: #ff7777; margin-bottom: 15px; }

/* Fun & Modern Form */
.fun-form {
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    animation: fadeUp 1s ease;
}
.fun-form h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0,229,255,0.7);
    animation: glowPulse 2.5s infinite alternate;
}
.fun-form input {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 1em;
    background: rgba(255,255,255,0.12);
    color: #fff;
    transition: 0.3s;
}
.fun-form input:focus {
    background: rgba(255,255,255,0.18);
    box-shadow: 0 0 12px #00c6ff;
    transform: scale(1.03);
}
.fun-form button {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background: linear-gradient(90deg,#ff512f,#dd2476);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}
.fun-form button::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.2);
    transition: 0.4s;
}
.fun-form button:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg,#00c6ff,#0072ff);
    box-shadow: 0 0 18px rgba(0,229,255,0.6);
}
.fun-form button:hover::after { left: 100%; }
.fun-form .form-link { margin-top: 18px; font-size: 0.95em; opacity: 0.9; }
.fun-form .form-link a {
    color: #00e5ff;
    text-decoration: none;
    transition: 0.3s;
}
.fun-form .form-link a:hover { color: #ffab00; text-decoration: underline; }

/* --- Footer --- */
footer {
    margin-top: auto;
    text-align: center;
    padding: 20px;
    background: rgba(0,0,0,0.4);
    font-size: 0.9em;
    z-index: 1000;
}

/* --- Home Button --- */
.home-btn {
    display: inline-block;
    position: absolute;
    top: 15px;
    left: 15px;
    background: #00e5ff;
    color: #000;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}
.home-btn:hover { background: #00c0d0; }

/* --- Анимации --- */
@keyframes fadeIn {
    from { opacity:0; transform: translateY(20px); }
    to { opacity:1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity:0; transform: translateY(30px); }
    to { opacity:1; transform: translateY(0); }
}
@keyframes glowPulse {
    from { text-shadow: 0 0 12px rgba(0,229,255,0.4); }
    to { text-shadow: 0 0 25px rgba(0,229,255,0.9); }
}
.instructions {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px 25px;
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    animation: fadeUp 1s ease;
    color: #fff;
}

.instructions h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #00e5ff;
    text-shadow: 0 0 12px rgba(0,229,255,0.7);
    animation: glowPulse 2s infinite alternate;
}

.instructions ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.instructions ol li {
    margin: 12px 0;
    font-size: 1.1em;
    line-height: 1.6;
    position: relative;
    padding-left: 30px;
}

.instructions ol li::before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
}

.instructions .center-note {
    text-align: center;
    font-size: 1.1em;
    margin-top: 15px;
    color: #00ffea;
    text-shadow: 0 0 8px rgba(0,229,255,0.6);
}
.instructions {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    color: #fff;
    font-size: 0.95em;
    line-height: 1.6em;
}
.instructions h2 {
    margin-top: 0;
    color: #00ffff;
    text-shadow: 0 0 8px rgba(0,255,255,0.5);
}
.instructions ul {
    padding-left: 20px;
}
.instructions li {
    margin-bottom: 10px;
}
/* --- Responsive Styles --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px 20px;
        text-align: center;
    }

    nav {
        margin-top: 10px;
    }

    nav .btn {
        margin: 8px 5px;
        padding: 10px 18px;
        font-size: 0.9em;
    }

    .hero {
        padding: 60px 15px;
    }
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1em;
    }
    .cta {
        font-size: 1em;
        padding: 10px 22px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .features {
        flex-direction: column;
        padding: 40px 15px;
    }
    .card {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .about, .rules, .dashboard, .instructions {
        margin: 30px 15px;
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    .upload-form input[type="file"] {
        width: 100%;
        margin-bottom: 10px;
    }
    .upload-form button {
        width: 100%;
        margin-left: 0;
    }

    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        font-size: 0.95em;
    }

    .logout {
        position: relative;
        top: 0;
        right: 0;
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }

    .form-container, .fun-form {
        margin: 40px 15px;
        padding: 20px;
    }

    .form-container input, 
    .fun-form input, 
    .form-container button, 
    .fun-form button {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6em;
    }
    .hero p {
        font-size: 0.9em;
    }
    .cta {
        font-size: 0.9em;
        padding: 8px 18px;
    }
    h1 {
        font-size: 1.6em;
    }
}

/* --- Login / Signup Base Styles --- */
.form-container {
    max-width: 400px;
    margin: 80px auto;
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(8px);
    animation: fadeUp 0.8s ease;
}
.form-container h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0,229,255,0.7);
}
.form-container input {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 1em;
    transition: 0.3s;
}
.form-container input:focus {
    box-shadow: 0 0 10px #00e5ff;
    transform: scale(1.02);
}
.form-container button {
    width: 100%;
    padding: 14px;
    background: #00bcd4;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.form-container button:hover {
    background: #ffab00;
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255,171,0,0.6);
}
.error {
    color: #ff7777;
    margin-bottom: 15px;
}

/* --- Fun Signup Form --- */
.fun-form {
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    animation: fadeUp 1s ease;
}
.fun-form h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0,229,255,0.7);
    animation: glowPulse 2.5s infinite alternate;
}
.fun-form input {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 1em;
    background: rgba(255,255,255,0.12);
    color: #fff;
    transition: 0.3s;
}
.fun-form input:focus {
    background: rgba(255,255,255,0.18);
    box-shadow: 0 0 12px #00c6ff;
    transform: scale(1.03);
}
.fun-form button {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background: linear-gradient(90deg,#ff512f,#dd2476);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}
.fun-form button::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.2);
    transition: 0.4s;
}
.fun-form button:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg,#00c6ff,#0072ff);
    box-shadow: 0 0 18px rgba(0,229,255,0.6);
}
.fun-form button:hover::after { left: 100%; }
.fun-form .form-link { 
    margin-top: 18px; 
    font-size: 0.95em; 
    opacity: 0.9; 
}
.fun-form .form-link a {
    color: #00e5ff;
    text-decoration: none;
    transition: 0.3s;
}
.fun-form .form-link a:hover { 
    color: #ffab00; 
    text-decoration: underline; 
}

/* --- Responsive Fullscreen Forms --- */
@media (max-width: 768px) {
    .form-container,
    .fun-form {
        width: 100%;
        max-width: none;
        min-height: 100vh;
        margin: 0;
        border-radius: 0;
        padding: 50px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .form-container h2,
    .fun-form h2 {
        font-size: 2.2em;
        margin-bottom: 30px;
    }

    .form-container input,
    .fun-form input {
        font-size: 18px;   /* над 16px => без auto-zoom на iOS */
        padding: 18px;
        margin: 16px 0;
    }

    .form-container button,
    .fun-form button {
        font-size: 18px;
        padding: 18px;
        margin-top: 20px;
    }

    .fun-form .form-link,
    .form-container .form-link {
        font-size: 1em;
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    .form-container h2,
    .fun-form h2 {
        font-size: 1.8em;
    }

    .form-container input,
    .fun-form input {
        font-size: 17px;
        padding: 16px;
    }

    .form-container button,
    .fun-form button {
        font-size: 17px;
        padding: 16px;
    }
}
/* --- Floating Comment Button --- */
.comment-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 188, 212, 0.35);  /* малко по-малко прозрачен */
    color: #fff;
    padding: 8px 12px;
    border-radius: 30px 0 0 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85em;
    box-shadow: 0 2px 8px rgba(0, 188, 212, 0.25);
    transition: 0.3s;
    z-index: 9999;
    animation: pulse 2s infinite;
}

.comment-btn:hover {
    background: rgba(0, 188, 212, 0.55);  /* по-видим при hover */
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.35);
}

@keyframes pulse {
    0% { transform: translateY(-50%) scale(1); box-shadow: 0 2px 8px rgba(0, 188, 212, 0.25); }
    50% { transform: translateY(-50%) scale(1.05); box-shadow: 0 3px 12px rgba(0, 229, 255, 0.35); }
    100% { transform: translateY(-50%) scale(1); box-shadow: 0 2px 8px rgba(0, 188, 212, 0.25); }
}

/* Мобилни адаптация */
@media (max-width: 768px) {
    .comment-btn {
        right: 20px;
        bottom: 20px;
        top: auto;
        transform: none;
        border-radius: 50px;
        padding: 10px 14px;
        font-size: 0.8em;
    }
}



/* --- Comments Section --- */
/* Основен фон и текст */
body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    font-family: "Segoe UI", sans-serif;
    padding: 20px;
    margin: 0;
}

/* Заглавия */
h1, h2 {
    text-align: center;
    color: #00e5ff;
    text-shadow: 0 0 8px rgba(0,229,255,0.6);
    animation: glowPulse 2.5s infinite alternate;
    margin: 10px 0;
}

h1 {
    font-size: 2em;
}

/* Секция за коментари */
.comment-section {
    max-width: 100%;
    width: 90%;
    margin: 20px auto;
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    animation: fadeUp 1s ease;
}

/* Информация за отговор */
#replyInfo {
    display: none;
    font-size: 0.9em;
    color: #ffeb3b;
    margin-bottom: 10px;
}

#replyInfo button {
    background: none;
    border: none;
    color: #ff4444;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
}

/* Полета за въвеждане */
form input[type="text"],
form textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 1em;
    background: rgba(255,255,255,0.12);
    color: #fff;
    transition: 0.3s;
}

form input[type="text"]:focus,
form textarea:focus {
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 12px #00c6ff;
    transform: scale(1.02);
}

/* Бутон за изпращане */
form button {
    width: 100%;
    max-width: 200px;
    display: block;
    margin: 10px auto 0 auto;
    background: linear-gradient(90deg,#00bcd4,#00e5ff);
    border: none;
    padding: 12px 20px;
    border-radius: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background: linear-gradient(90deg,#00e5ff,#00b3ff);
    transform: scale(1.05);
    box-shadow: 0 0 14px rgba(0,229,255,0.6);
}

/* Коментари */
.comment-bubble {
    background: rgba(0, 188, 212, 0.2);
    border-left: 3px solid #00bcd4;
    border-radius: 16px;
    padding: 12px 16px;
    margin-bottom: 12px;
    transition: 0.3s;
}

.comment-bubble:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,188,212,0.4);
}

.comment-bubble.reply {
    margin-left: 15px;
    background: rgba(99,102,241,0.15);
    border-left-color: #6366f1;
}

/* Заглавие на коментар */
.comment-header {
    font-size: 0.85em;
    color: #fff;
    opacity: 0.9;
    font-weight: bold;
}

/* Бутони за отговор */
.reply-btn {
    font-size: 0.85em;
    color: #ffeb3b;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 4px;
    margin-right: 10px;
}

/* Бутони за харесване и нехаресване */
.like-btn, .dislike-btn {
    font-size: 0.85em;
    color: #00ff99;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 6px;
    transition: 0.2s;
}

.dislike-btn {
    color: #ff4c4c;
}

.like-btn:hover {
    color: #00ffcc;
}

.dislike-btn:hover {
    color: #ff1a1a;
}

.vote-count {
    font-size: 0.85em;
    color: #fff;
    opacity: 0.8;
    margin-right: 12px;
}

/* Анимации */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
    from { text-shadow: 0 0 12px rgba(0,229,255,0.5); }
    to { text-shadow: 0 0 30px rgba(0,229,255,0.8); }
}

/* Мобилна адаптация */
@media screen and (max-width: 600px) {
    body {
        padding: 15px 10px;
    }

    h1 {
        font-size: 1.6em;
    }

    .comment-section {
        padding: 15px;
        border-radius: 15px;
    }

    .comment-bubble {
        padding: 10px 12px;
        border-radius: 12px;
    }

    form button {
        max-width: 100%;
    }
}
#backBtn {
    display: inline-block;
    background: linear-gradient(90deg,#00bcd4,#00e5ff);
    border: none;
    padding: 10px 18px;
    border-radius: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 15px;
    text-decoration: none;
    text-align: center;
}

#backBtn:hover {
    background: linear-gradient(90deg,#00e5ff,#00b3ff);
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(0,229,255,0.6);
}

/* Мобилна адаптация */
@media screen and (max-width: 600px) {
    #backBtn {
        width: 100%;
        padding: 12px 0;
        font-size: 1em;
    }
}
