@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --bg-color: #0a0a0f;
    --text-color: #f0f0f0;
    --accent-color: #ed0202;
    --fb-bg: #1c1e21;
    --fb-border: #2f3336;
    --fb-comment-bg: #3a3b3c;
    --fb-text: #e4e6eb;
    --fb-name: #e4e6eb;
    --fb-secondary: #b0b3b8;
    --fb-link: #4599ff;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #050508 0%, #151520 100%);
    color: var(--text-color);
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 800px;
    width: 100%;
}

.headline {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, #b0b3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-wrap: balance;
}

.headline .highlight {
    background: linear-gradient(to right, limegreen, #18cc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheadline {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 400;
    text-align: center;
    color: var(--fb-secondary);
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.subheadline::before {
    content: "🔴";
    font-size: 0.9em;
    animation: paradise-pulse 2s infinite;
}

/* Facebook Comments Section */
.comments-section {
    background: var(--fb-bg);
    border: 1px solid var(--fb-border);
    border-radius: 12px;
    padding: 20px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--fb-border);
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fb-text);
}

.comments-count {
    display: flex;
    align-items: center;
    gap: 5px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment {
    display: flex;
    gap: 10px;
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--fb-comment-bg);
}

.comment-content {
    flex: 1;
}

.comment-box {
    background: var(--fb-comment-bg);
    padding: 10px 14px;
    border-radius: 18px;
    display: inline-block;
}

.comment-name {
    font-weight: 600;
    color: var(--fb-name);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.comment-text {
    color: var(--fb-text);
    font-size: 0.95rem;
    line-height: 1.4;
}

.comment-text span.mention {
    color: var(--fb-link);
    font-weight: 600;
}

.comment-actions {
    display: flex;
    gap: 15px;
    margin-top: 5px;
    padding-left: 10px;
    font-size: 0.85rem;
    color: var(--fb-secondary);
}

.comment-action {
    cursor: pointer;
    font-weight: 600;
}

.comment-action:hover {
    text-decoration: underline;
}

.comment-time {
    cursor: auto;
    font-weight: 400;
}

/* Simulated typing indicator */
.typing-indicator {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    color: var(--fb-secondary);
    font-size: 0.9rem;
}

.dots span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--fb-secondary);
    border-radius: 50%;
    animation: blink 1.4s infinite both;
    margin-right: 3px;
}

.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
    0% { opacity: 0.2; transform: translateY(0); }
    20% { opacity: 1; transform: translateY(-2px); }
    100% { opacity: 0.2; transform: translateY(0); }
}

.user-comment-input {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#user-comment-text {
    width: 100%;
    background: var(--fb-comment-bg);
    border: 1px solid var(--fb-border);
    color: var(--fb-text);
    padding: 10px 14px;
    border-radius: 18px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: background 0.3s;
}

#user-comment-text:focus {
    background: #4a4b4c;
}

#btn-submit-comment {
    align-self: flex-end;
    background: var(--fb-link);
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s, opacity 0.2s;
}

#btn-submit-comment:hover:not(:disabled) {
    background: #3578e5;
}

#btn-submit-comment:disabled, #user-comment-text:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

