/* Reset & Mobile App Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #030303;
    color: #f1f1f1;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

/* Outer Container acting like a mobile app viewport frame */
.mobile-app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: linear-gradient(180deg, #080808 0%, #030303 100%);
    position: relative;
    padding-bottom: 90px;
    box-shadow: 0 0 50px rgba(0,0,0,0.95);
}

/* Premium Welcome Overlay */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #030303;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    overflow: hidden;
}

.welcome-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(229, 9, 20, 0.12) 0%, rgba(3, 3, 3, 0.98) 75%);
    z-index: 1;
}

/* Very Dim Passing Gradient Glow Animations */
.passing-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 2;
}

.glow-1 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.15) 0%, transparent 75%);
    top: -10%;
    left: -20%;
    animation: passGlowOne 12s ease-in-out infinite alternate;
}

.glow-2 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(140, 20, 255, 0.1) 0%, transparent 75%);
    bottom: -10%;
    right: -20%;
    animation: passGlowTwo 15s ease-in-out infinite alternate;
}

@keyframes passGlowOne {
    0% { transform: translate(0, 0) scale(0.9); opacity: 0.4; }
    50% { transform: translate(160px, 220px) scale(1.2); opacity: 0.8; }
    100% { transform: translate(80px, 340px) scale(1); opacity: 0.5; }
}

@keyframes passGlowTwo {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(-150px, -200px) scale(1.3); opacity: 0.7; }
    100% { transform: translate(-80px, -300px) scale(0.9); opacity: 0.4; }
}

.welcome-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-badge-wrapper {
    margin-bottom: 16px;
}

.pulse-badge {
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid rgba(229, 9, 20, 0.4);
    color: #ff4d55;
    padding: 6px 14px;
    font-size: 0.74rem;
    font-weight: 700;
    border-radius: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.2);
}

.welcome-brand {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
    white-space: nowrap;
}

.welcome-brand span {
    color: #e50914;
    text-shadow: 0 0 25px rgba(229, 9, 20, 0.5);
}

.typewriter-container {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 30px;
    min-height: 40px;
    line-height: 1.4;
}

.cursor {
    animation: blink 0.8s infinite;
    color: #e50914;
    font-weight: bold;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.welcome-btn-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.enter-btn {
    width: 100%;
    padding: 15px 24px;
    font-size: 0.95rem;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #e50914 0%, #99050d 100%);
    box-shadow: 0 10px 25px rgba(229, 9, 20, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.enter-btn:active {
    transform: scale(0.97);
    box-shadow: 0 5px 12px rgba(229, 9, 20, 0.3);
}

.welcome-subtitle-node {
    margin-top: 14px;
    font-size: 0.78rem;
    color: #888;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.welcome-footer {
    position: absolute;
    bottom: 30px;
    color: #666;
    font-size: 0.75rem;
    z-index: 3;
    letter-spacing: 0.4px;
}

.sticky-player-container {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229, 9, 20, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.85);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}

.sticky-player-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.ambient-glow-wrapper {
    position: relative;
    width: 100%;
    transition: box-shadow 0.4s ease;
}

.ambient-glow-wrapper.active-glow {
    box-shadow: 0 0 35px rgba(229, 9, 20, 0.55), inset 0 0 15px rgba(229, 9, 20, 0.3);
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sticky-player-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: rgba(15, 15, 15, 0.95);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.sticky-now-playing {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.sticky-action-btns {
    display: flex;
    gap: 8px;
}

.sticky-action-btns button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.sticky-action-btns button:hover {
    background: #e50914;
    border-color: #e50914;
}

.sticky-player-container.minimized .ambient-glow-wrapper {
    display: none;
}
.sticky-player-container.minimized #sticky-minimize-btn i {
    transform: rotate(180deg);
}

#navbar {
    padding: 12px 16px;
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: top 0.3s ease;
}

.nav-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.logo span {
    color: #e50914;
    text-shadow: 0 0 15px rgba(229, 9, 20, 0.4);
}

.user-profile img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e50914;
    box-shadow: 0 0 12px rgba(229, 9, 20, 0.4);
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 14px;
    border-radius: 14px;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}

.search-box i {
    color: #777;
    font-size: 0.85rem;
}

.search-box input {
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    font-size: 0.85rem;
    width: 100%;
    font-family: inherit;
}

.search-box input::placeholder {
    color: #666;
}

.hero {
    position: relative;
    height: 38vh;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    background-size: cover;
    background-position: center;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #080808 0%, rgba(8,8,8,0.2) 60%, rgba(8,8,8,0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-badge {
    background: #e50914;
    color: #fff;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.5);
}

.hero-content h1 {
    font-size: 1.4rem;
    margin: 8px 0 4px 0;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.hero-content p {
    color: #bbb;
    font-size: 0.78rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 8px;
}

.btn {
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-family: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: #e50914;
    color: #fff;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
}

.main-container {
    padding: 16px;
}

.section-header {
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.continue-watching-section {
    margin-bottom: 20px;
}

.continue-watching-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.continue-watching-row::-webkit-scrollbar {
    display: none;
}

.continue-card {
    min-width: 140px;
    max-width: 140px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.continue-card:active {
    transform: scale(0.96);
    border-color: #e50914;
}

.continue-poster-box {
    position: relative;
    width: 100%;
    height: 85px;
}

.continue-poster-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.progress-bar-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.3);
}

.progress-bar-fill {
    height: 100%;
    background: #e50914;
    width: 65%;
}

.continue-info {
    padding: 8px;
}

.continue-info h4 {
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    margin-bottom: 2px;
}

.continue-vj {
    font-size: 0.62rem;
    color: #e50914;
    text-transform: uppercase;
    font-weight: 700;
}

.filter-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar {
    display: none;
}

.pill {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #888;
    padding: 7px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.76rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-family: inherit;
    font-weight: 500;
}

.pill.active {
    background: #e50914;
    border-color: #e50914;
    color: #fff;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.35);
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.movie-card {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:active {
    transform: scale(0.96);
    border-color: rgba(229, 9, 20, 0.6);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.25);
}

.movie-poster {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.movie-info {
    padding: 10px;
}

.movie-vj {
    font-size: 0.75rem;
    font-weight: 700;
    color: #e50914;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.movie-meta-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #777;
    margin-top: 4px;
}

.app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 99;
}

.bottom-nav-item {
    text-decoration: none;
    color: #777;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 0.68rem;
    transition: color 0.2s;
    font-weight: 500;
}

.bottom-nav-item i {
    font-size: 1.1rem;
}

.bottom-nav-item.active, .bottom-nav-item:hover {
    color: #e50914;
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.4);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: flex-end;
}

.modal-content {
    background: #0b0b0b;
    width: 100%;
    max-width: 480px;
    height: 75vh;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.9);
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-details {
    padding: 20px 16px 12px 16px;
}

.modal-details h2 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.modal-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 10px;
}

.vj-modal-badge {
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid rgba(229, 9, 20, 0.4);
    color: #ff4d55;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.modal-meta span i {
    color: #f5c518;
}

.modal-details p {
    color: #aaa;
    font-size: 0.82rem;
    line-height: 1.45;
}

.movie-interaction-container {
    margin: 0 14px 24px 14px;
    background: rgba(255,255,255,0.02);
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    color: #fff;
}

.viewer-count-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 9, 20, 0.08);
    border: 1px solid rgba(229, 9, 20, 0.25);
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.76rem;
    margin-bottom: 14px;
    color: #ff4d55;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.15);
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #e50914;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 8px #e50914;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.comment-input-box {
    margin-bottom: 16px;
}

.comment-input-box h3, .comments-section h3 {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #ccc;
    font-weight: 600;
}

.comment-input-box input, 
.comment-input-box textarea {
    width: 100%;
    padding: 9px 12px;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 0.8rem;
    outline: none;
    transition: border-color 0.2s;
}

.comment-input-box input:focus, 
.comment-input-box textarea:focus {
    border-color: #e50914;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.2);
}

.comment-input-box button {
    background: #e50914;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.78rem;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.35);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-card {
    background: rgba(255,255,255,0.03);
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 2.5px solid #e50914;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-right: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 0.72rem;
}

.comment-author {
    font-weight: bold;
    color: #ff9999;
}

.comment-time {
    color: #666;
    font-size: 0.68rem;
}

.comment-body {
    font-size: 0.76rem;
    color: #ccc;
    line-height: 1.4;
}
