/* ========================================================
   YOUTUBE-STYLE ADULT VIDEO TUBE STYLESHEET
   Dark Obsidian Modern UX with High-CTR CTA Accents
   ======================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #0b0c10;
    color: #f1f5f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header & Top Navigation */
.tube-header {
    background: rgba(15, 17, 23, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.brand-logo span.badge-red {
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

/* YouTube Style Center Search Bar */
.search-form-wrap {
    flex: 1;
    max-width: 580px;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #161922;
    border: 1px solid #272c3d;
    border-radius: 999px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.search-input-group:focus-within {
    border-color: #e11d48;
}

.search-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    padding: 10px 18px;
    font-size: 13px;
}

.search-input-group button {
    background: #202534;
    border: none;
    border-left: 1px solid #272c3d;
    color: #94a3b8;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-input-group button:hover {
    color: #ffffff;
    background: #e11d48;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-panic {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.btn-panic:hover {
    background: #ef4444;
    color: #ffffff;
}

/* YouTube Horizontal Category Chips Bar */
.category-chips-bar {
    background: #0e1017;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.category-chips-bar::-webkit-scrollbar {
    display: none;
}

.chips-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chip-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #181c28;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    transition: all 0.2s;
}

.chip-item:hover, .chip-item.active {
    background: #e11d48;
    color: #ffffff;
    border-color: #e11d48;
}

/* Live Local Dating City Ticker Banner */
.live-city-ticker {
    background: linear-gradient(90deg, rgba(225, 29, 72, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-bottom: 1px solid rgba(225, 29, 72, 0.3);
    padding: 8px 16px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #fda4af;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    background: #f43f5e;
    border-radius: 50%;
    box-shadow: 0 0 8px #f43f5e;
    animation: blinkDot 1.4s infinite;
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

/* Main Container */
.main-wrapper {
    flex: 1;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 16px;
}

/* YouTube Video Grid Layout */
.section-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 16px;
}

@media (max-width: 1100px) {
    .video-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
}

@media (max-width: 480px) {
    .video-grid { grid-template-columns: 1fr; }
}

/* Video Card Styling */
.video-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #12151f;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
    border-color: rgba(225, 29, 72, 0.4);
}

.thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #1a1e2b;
    overflow: hidden;
}

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: transform 0.3s;
}

.video-card:hover .thumb-img {
    transform: scale(1.05);
}

.badge-hd {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e11d48;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.badge-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    font-variant-numeric: tabular-nums;
}

.video-meta {
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.video-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-sub-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

/* YouTube Watch Page 2-Column Layout */
.watch-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
}

@media (max-width: 1024px) {
    .watch-layout { grid-template-columns: 1fr; }
}

.player-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.player-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* High-Converting Player CTA Banner */
.cta-banner-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 12px;
    margin: 16px 0;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-banner-strip:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 28px rgba(225, 29, 72, 0.6);
}

/* Video Info Section */
.watch-details {
    margin-top: 14px;
}

.watch-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
}

.watch-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.watch-stats {
    font-size: 13px;
    color: #94a3b8;
}

.watch-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn {
    background: #1e2230;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #f1f5f9;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #282f44;
}

.tags-box {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.tag-pill {
    background: #161924;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    text-decoration: none;
}

.tag-pill:hover {
    background: #e11d48;
    color: #ffffff;
}

/* YouTube Up-Next Sidebar List */
.sidebar-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    padding: 4px;
    transition: background 0.2s;
}

.sidebar-item:hover {
    background: #161924;
}

.sidebar-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: #1e2230;
}

.sidebar-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-meta h4 {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-meta span {
    font-size: 11px;
    color: #94a3b8;
    display: block;
    margin-top: 4px;
}

/* Footer & 18+ RTA Compliance Notice */
.tube-footer {
    background: #08090d;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 16px;
    margin-top: 40px;
    font-size: 11px;
    color: #64748b;
    text-align: center;
    line-height: 1.6;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-links a:hover {
    color: #e11d48;
}
