/* Play Module Styles */
.play-view {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.play-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.play-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    padding-top: 50px; /* Adjust for notch */
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
}

.play-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.play-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    font-size: 14px;
}

.play-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.play-btn-large {
    width: 64px;
    height: 64px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
}

.play-btn-large i {
    width: 32px;
    height: 32px;
    margin-left: 4px; /* visually center play icon */
}

.play-right-sidebar {
    position: absolute;
    right: 16px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.play-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.play-action i {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.play-action.active i {
    color: #FF3B30;
    fill: #FF3B30;
}

.play-bottom-content {
    padding: 0 16px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
}

.play-info {
    margin-bottom: 16px;
    width: calc(100% - 60px); /* Leave room for sidebar */
}

.play-title {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.play-desc-row {
    display: flex;
    align-items: flex-end;
    margin-top: 4px;
}

.play-desc {
    flex: 1 1 auto;
    min-width: 0;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.play-desc.expanded {
    -webkit-line-clamp: 5;
}

.play-desc-more {
    flex: 0 0 auto;
    margin-left: 6px;
    padding: 0;
    background: none;
    border: none;
    font: inherit;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.play-progress-bar {
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.2);
    margin-bottom: 16px;
    position: relative;
}

.play-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: #fff;
}

.play-progress-thumb {
    position: absolute;
    top: 50%;
    left: 30%;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.play-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.play-vip-btn {
    background: linear-gradient(90deg, #F3D5A5, #D4A559);
    color: #4A3000;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.play-footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.play-footer-right span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.play-footer-right .divider {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.3);
}

/* Settings Bottom Sheet Styles */
.settings-sheet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.settings-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #181818;
    border-radius: 16px 16px 0 0;
    z-index: 1001;
    color: #fff;
    padding-bottom: 30px;
}

.settings-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.settings-title {
    font-size: 16px;
    font-weight: 600;
}

.settings-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.settings-close i {
    width: 14px;
    height: 14px;
}

.settings-group {
    padding: 20px 20px 0;
}

.settings-group-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 16px;
}

.settings-group-title i {
    width: 16px;
    height: 16px;
}

.settings-options-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.settings-options-scroll::-webkit-scrollbar {
    display: none;
}

.settings-option {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    color: #eee;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.settings-option.active {
    color: #fff;
}

.settings-option-vip {
    color: #D4A559 !important;
}

.settings-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.settings-list-item-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #eee;
}

.settings-list-item-left i {
    width: 18px;
    height: 18px;
    color: #ccc;
}

.settings-list-item-left i.icon-xs {
    width: 12px;
    height: 12px;
}

.settings-list-item-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
}

.settings-list-item-right i {
    width: 18px;
    height: 18px;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: #FF3B30;
    border-radius: 12px;
    position: relative;
}

.toggle-knob {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* VIP Modal Styles */
.vip-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1100; /* Higher than settings sheet */
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.vip-modal-overlay.active {
    display: flex;
    opacity: 1;
}
.vip-modal {
    background: var(--surface);
    width: 80%;
    max-width: 320px;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.vip-modal-overlay.active .vip-modal {
    transform: translateY(0);
}
.vip-modal-icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin: 0 auto 16px;
}
.vip-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.vip-modal-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}
.vip-modal-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.vip-modal-btn-primary {
    background: linear-gradient(135deg, var(--gold), #FFD700);
    color: #000;
    border: none;
    border-radius: 24px;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.vip-modal-btn-secondary {
    background: transparent;
    color: var(--text-muted);
    border: none;
    padding: 12px;
    font-size: 14px;
    cursor: pointer;
}
