/* Define Design System / Variables */
:root {
    --bg-color: #ffffff;
    --text-main: #000000;
    --text-muted: #4b5563;
    --accent: #ef4444;
    /* Red highlight */
    --accent-glow: rgba(239, 68, 68, 0.4);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Top Warning Bar */
.top-bar {
    width: 100%;
    background-color: var(--accent);
    /* Red highlight */
    color: #ffffff;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 50;
}

.top-bar p {
    margin: 0;
    line-height: 1.4;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1000px;
    padding: 2rem 1.5rem 3rem;
    /* Reduced top padding slightly to account for the top bar */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Hero & Typography */
.headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: normal;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.highlight {
    color: var(--accent);
}

.subheadline {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-weight: 500;
}

/* VSL Player */
.vsl-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.video-wrapper {
    border-radius: 16px;
    padding: 4px;
    /* Creates the border effect */
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.2) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(239, 68, 68, 0.1) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(239, 68, 68, 0.2);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background-color: #000;
}

.video-container iframe,
.video-container video,
.video-container vturb-smartplayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Viewer Count */
.viewer-count {
    margin-top: 1.5rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.viewer-count strong {
    color: var(--text-main);
    font-weight: 700;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Smooth Entrance Micro-animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.headline {
    animation: fadeUp 0.8s ease backwards;
}

.subheadline {
    animation: fadeUp 0.8s ease 0.2s backwards;
}

.vsl-section {
    animation: fadeUp 0.8s ease 0.4s backwards;
}

.comments-section {
    animation: fadeUp 0.8s ease 0.6s backwards;
}

/* Facebook Comments Section */
.comments-section {
    width: 100%;
    max-width: 800px;
    margin: 3rem auto 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1c1e21;
    text-align: left;
    background: #ffffff;
    border: 1px solid #dddfe2;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ebee;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.comments-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.comments-header .sort-by {
    color: #606770;
    cursor: pointer;
}

.comments-header .sort-by strong {
    color: #1c1e21;
}

.comment {
    display: flex;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-body {
    flex: 1;
}

.comment-content {
    background-color: #f0f2f5;
    padding: 0.5rem 0.75rem;
    border-radius: 18px;
    display: inline-block;
    max-width: 100%;
}

.comment-name {
    font-weight: 600;
    color: #1c1e21;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.1rem;
}

.comment-text {
    font-size: 0.95rem;
    color: #1c1e21;
    line-height: 1.4;
}

.comment-actions {
    margin-top: 0.25rem;
    margin-left: 0.75rem;
    font-size: 0.8rem;
    color: #65676b;
    font-weight: 600;
}

.comment-actions span {
    cursor: pointer;
}

.comment-actions span:hover {
    text-decoration: underline;
}

.comment-actions .comment-time {
    font-weight: normal;
    text-decoration: none;
    cursor: default;
}