/* Tailwind base styles will be handled by the CDN in index.html for ease of manual deployment, 
   but we add custom Swiper styles here. */

:root {
    --primary: #ff0050; /* TikTok-ish pink */
    --bg-dark: #000;
}

body {
    margin: 0;
    background-color: var(--bg-dark);
    color: #fff;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.swiper {
    width: 100vw;
    height: 100vh;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #000;
}

/* Video Player Container */
.player-container {
    width: 100%;
    height: 100%;
    position: relative;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* UI Overlays */
.overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 20px 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    pointer-events: none;
    z-index: 10;
}

.overlay-bottom * {
    pointer-events: auto;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.video-description {
    font-size: 0.9rem;
    color: #ccc;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-affiliate {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: bold;
    margin-top: 15px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 0, 80, 0.4);
}

/* Sidebar actions (Heart, Comment, etc - simplified) */
.sidebar {
    position: absolute;
    right: 15px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 20;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.action-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

/* Filter Modal */
#filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 100;
    display: none;
    padding: 40px 20px;
}

#filter-modal.active {
    display: block;
}

.tag-btn {
    padding: 8px 16px;
    border: 1px solid #444;
    border-radius: 20px;
    margin: 4px;
    font-size: 14px;
    cursor: pointer;
}

.tag-btn.active {
    background: var(--primary);
    border-color: var(--primary);
}
