/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    background-attachment: fixed;
    overscroll-behavior: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    background-attachment: fixed;
    color: #e0e6ed;
    line-height: 1.6;
    min-height: 100vh;
    height: 100%;
    overflow-x: hidden;
    overscroll-behavior: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Header Brand */
.header-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.logo {
    margin: 0;
    line-height: 1;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.3));
}

.logo-text {
    font-weight: 700;
}

.tagline {
    font-size: 0.85rem;
    color: #8892a0;
    margin: 0;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-section {
    display: flex;
    align-items: center;
}

/* Navigation with Icons */
.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e6ed;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.nav-btn i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-btn:hover i {
    opacity: 1;
}

/* Main Content */
.main {
    flex: 1;
    padding: 3rem 0;
    min-height: calc(100vh - 140px);
}

.view {
    display: none;
}

.view.active {
    display: block;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(20px);
    position: relative;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 16px;
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 107, 53, 0.1);
}

.video-card:hover::before {
    opacity: 1;
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #2a2a3e 0%, #3a3a5e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #666;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.video-thumbnail .thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover .thumbnail-image {
    transform: scale(1.08);
}

.video-card-content {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.video-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.video-card-description {
    color: #b8c5d1;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.video-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #8892a0;
    margin-bottom: 0.75rem;
}

.video-price {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.video-price.free {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.video-duration,
.video-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-duration i,
.video-price i {
    font-size: 0.75rem;
    opacity: 0.8;
}

.access-indicator {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Video Card Actions */
.video-card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 0.8rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.card-btn i {
    font-size: 0.8rem;
    opacity: 0.9;
}

.card-btn:hover i {
    opacity: 1;
}

/* Purchase Button */
.purchase-btn {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 179, 0, 0.15) 100%);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.purchase-btn:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.25) 0%, rgba(255, 179, 0, 0.25) 100%);
    border-color: rgba(255, 193, 7, 0.4);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.2);
}

/* Play Button */
.play-btn {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(247, 147, 30, 0.15) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: #ff6b35;
}

.play-btn:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.25) 0%, rgba(247, 147, 30, 0.25) 100%);
    border-color: rgba(255, 107, 53, 0.4);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.2);
}

/* Free Button */
.free-btn {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(69, 160, 73, 0.15) 100%);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.free-btn:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.25) 0%, rgba(69, 160, 73, 0.25) 100%);
    border-color: rgba(76, 175, 80, 0.4);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.2);
}

/* Preview Button */
.preview-btn {
    background: linear-gradient(135deg, #9c27b0 0%, #8e24aa 100%);
    border: 1px solid rgba(156, 39, 176, 0.5);
    color: #fff;
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.3);
}

.preview-btn:hover {
    background: linear-gradient(135deg, #8e24aa 0%, #7b1fa2 100%);
    border-color: rgba(156, 39, 176, 0.7);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
}

/* Purchase Button */
.purchase-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: 1px solid rgba(255, 107, 53, 0.5);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.purchase-btn:hover {
    background: linear-gradient(135deg, #f7931e 0%, #e8831a 100%);
    border-color: rgba(255, 107, 53, 0.7);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Preview Indicator */
.preview-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.9) 0%, rgba(142, 36, 170, 0.9) 100%);
    border: 1px solid rgba(156, 39, 176, 0.5);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
    animation: previewIndicatorPulse 2s ease-in-out infinite;
    min-width: 200px;
}

.preview-indicator-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.preview-indicator-content i {
    font-size: 0.9rem;
    opacity: 0.9;
}

@keyframes previewIndicatorPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Preview Progress Bar */
.preview-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.preview-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50 0%, #ff9800 70%, #ff4444 100%);
    border-radius: 2px;
    transition: width 0.3s ease, background-color 0.3s ease;
    width: 0%;
}

/* Preview Disabled Overlay */
.preview-disabled-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    backdrop-filter: blur(5px);
    cursor: not-allowed;
}

.preview-disabled-content {
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.preview-disabled-content i {
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.preview-disabled-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.preview-disabled-content p {
    color: #b8c5d1;
    font-size: 1rem;
    margin: 0;
}

/* Video Player */
.video-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

#videoPlayer {
    width: 100%;
    height: auto;
    max-height: 70vh;
    background: #000;
    border-radius: 20px 20px 0 0;
    /* Prevent download attempts */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: auto;
}

/* Prevent download attempts on all video elements */
video {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.video-info {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.video-info h2 {
    color: #fff;
    margin-bottom: 1.25rem;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.video-info p {
    color: #b8c5d1;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.video-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Purchase View */
.purchase-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(20px);
}

.purchase-info {
    margin-bottom: 2rem;
}

.payment-status {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.payment-status.pending {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.payment-status.success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.payment-status.error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.payment-status small {
    display: block;
    margin-top: 0.5rem;
    opacity: 0.8;
    font-size: 0.85rem;
}

.payment-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Admin Panel */
.admin-section {
    margin-top: 2.5rem;
}

/* Forms */
.form {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-group label i {
    color: #ff6b35;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e0e6ed;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    font-family: inherit;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    outline: none;
    border-color: rgba(255, 107, 53, 0.6);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.form textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Enhanced File Input */
.form input[type="file"] {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.form input[type="file"]:hover {
    border-color: rgba(255, 107, 53, 0.5);
    background: rgba(255, 107, 53, 0.05);
}

.form input[type="file"]:focus {
    border-color: rgba(255, 107, 53, 0.6);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

/* Enhanced Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    cursor: pointer;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 53, 0.2);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: #ff6b35;
    transform: scale(1.1);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-label span:not(.checkmark) {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
}

/* Upload Progress Enhancement */
.upload-progress {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin: 1.5rem 0;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35 0%, #f7931e 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 6px;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

#progressText {
    color: #b8c5d1;
    font-size: 1rem;
    font-weight: 500;
}

/* Enhanced Submit Button */
.form .btn-primary {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.form .btn-primary:active {
    transform: translateY(-1px);
}

/* Enhanced User Navigation */
.user-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* User Welcome Section */
.user-welcome {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-welcome:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar i {
    font-size: 1.5rem;
    color: #ff6b35;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.3));
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.user-greeting {
    font-size: 0.7rem;
    color: #8892a0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.username-display {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Credits Info */
.user-credits-info {
    display: flex;
    align-items: center;
}

.credits-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.credits-badge:hover {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.3);
    transform: translateY(-1px);
}

.credits-badge i {
    color: #ffc107;
    font-size: 0.9rem;
    filter: drop-shadow(0 1px 2px rgba(255, 193, 7, 0.3));
}

.credits-display {
    color: #fff;
    font-weight: 600;
}

/* User Actions */
.user-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.credits-btn {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
    font-weight: 600;
}

.credits-btn:hover {
    background: rgba(255, 193, 7, 0.25);
    border-color: rgba(255, 193, 7, 0.4);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.logout-btn {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.logout-btn:hover {
    background: rgba(244, 67, 54, 0.15);
    border-color: rgba(244, 67, 54, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

.home-btn {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    color: #ff6b35;
}

.home-btn:hover {
    background: rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

/* Page Headers */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.page-title i {
    color: #ff6b35;
    font-size: 2rem;
}

.page-subtitle {
    color: #b8c5d1;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 400;
}

/* Video Meta Items */
.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8892a0;
    font-size: 0.9rem;
}

.meta-item i {
    color: #ff6b35;
    font-size: 0.85rem;
}

/* Video Actions */
.video-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

/* Section Headers */
.purchase-header,
.credits-header,
.admin-login-header,
.admin-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.purchase-header h2,
.credits-header h2,
.admin-login-header h2,
.admin-header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.purchase-header p,
.credits-header p,
.admin-login-header p,
.admin-header p {
    color: #b8c5d1;
    font-size: 1rem;
    margin: 0;
}

/* Credits Actions */
.credits-actions {
    margin-top: 2rem;
    text-align: center;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e0e6ed;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group label i {
    color: #ff6b35;
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Enhanced Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: #ff6b35;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

/* Management Section Headers */
.upload-section h3,
.management-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 107, 53, 0.2);
}

.upload-section h3 i,
.management-section h3 i {
    color: #ff6b35;
    font-size: 1.2rem;
}

/* Search Controls */
.search-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
}

/* Admin Actions */
.admin-actions {
    margin-top: 3rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Footer */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ff6b35;
}

.footer-brand .logo-icon {
    font-size: 1.5rem;
}

.footer-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b8c5d1;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-features i {
    color: #ff6b35;
    font-size: 0.85rem;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.85rem;
    color: #8892a0;
}

/* Enhanced Loading States */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #8892a0;
    font-size: 1.1rem;
    gap: 0.75rem;
}

.loading i {
    color: #ff6b35;
    font-size: 1.2rem;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-left {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .header-brand {
        text-align: center;
    }
    
    .tagline {
        margin-left: 0; /* Remove left margin on mobile for centered alignment */
    }
    
    .auth-section {
        justify-content: center;
    }
    
    .nav {
        justify-content: center;
        width: 100%;
    }
    
    .page-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .page-title i {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input {
        min-width: auto;
    }
    
    .user-nav {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .user-welcome {
        order: 1;
        padding: 0.6rem 0.8rem;
        gap: 0.5rem;
    }
    
    .user-avatar i {
        font-size: 1.2rem;
    }
    
    .user-greeting {
        font-size: 0.65rem;
    }
    
    .username-display {
        font-size: 0.85rem;
    }
    
    .user-credits-info {
        order: 2;
        justify-content: center;
    }
    
    .credits-badge {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .user-actions {
        order: 3;
        justify-content: center;
        gap: 0.4rem;
    }
    
    .nav-btn span {
        display: none;
    }
    
    .nav-btn {
        padding: 0.75rem;
        min-width: 44px;
        justify-content: center;
    }
    
    .video-card-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .card-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .card-btn span {
        font-size: 0.75rem;
    }
    
    .header-logo {
        height: 32px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-success {
    color: #4caf50;
}

.text-error {
    color: #f44336;
}

.text-warning {
    color: #ffc107;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mt-1 {
    margin-top: 1rem;
}

.hidden {
    display: none !important;
}

/* Payment Content */
.payment-content {
    text-align: center;
}

.payment-content h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.payment-details {
    margin: 2rem 0;
}

.bitcoin-address {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    word-break: break-all;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    backdrop-filter: blur(10px);
}

.address-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.bitcoin-address-text {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: #e0e6ed;
    word-break: break-all;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 0;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e0e6ed;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-copy:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

.payment-instructions {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
    backdrop-filter: blur(10px);
}

.payment-instructions h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.payment-instructions ul {
    list-style: none;
    padding: 0;
}

.payment-instructions li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: #b8c5d1;
}

.payment-instructions li::before {
    content: '•';
    color: #ff6b35;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.auto-validation-notice {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    backdrop-filter: blur(10px);
}

.auto-validation-notice p {
    margin: 0;
    color: #4caf50;
    font-weight: 500;
}

.monitoring-status {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
    backdrop-filter: blur(10px);
}

.monitoring-status p {
    margin: 0;
    color: #ffc107;
    font-weight: 500;
}

.payment-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.payment-status {
    padding: 1rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    text-align: center;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.payment-status .success {
    color: #4caf50;
}

.payment-status .error {
    color: #f44336;
}

.payment-status small {
    display: block;
    margin-top: 0.5rem;
    opacity: 0.8;
    font-size: 0.85rem;
}

/* Cancel Button */
.btn-cancel {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.btn-cancel:hover {
    background: rgba(244, 67, 54, 0.2);
    transform: translateY(-2px);
}

/* Notifications */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: #e0e6ed;
    z-index: 1001;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification.success {
    border-color: rgba(76, 175, 80, 0.3);
    background: rgba(76, 175, 80, 0.1);
}

.notification.error {
    border-color: rgba(244, 67, 54, 0.3);
    background: rgba(244, 67, 54, 0.1);
}

.notification button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    margin-left: 1rem;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.notification button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* User Management Styles */
.user-search {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 0.5rem;
    background: #333;
    border: 1px solid #555;
    border-radius: 4px;
    color: #e0e0e0;
}

.search-input:focus {
    outline: none;
    border-color: #ff6b35;
}

.user-list-header {
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 0.9rem;
}

.user-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.3s ease;
}

.user-item:hover {
    border-color: #ff6b35;
}

.user-info {
    flex: 1;
}

.user-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.username {
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
}

.user-credits {
    background: #ff6b35;
    color: #000;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}

.user-meta {
    display: flex;
    gap: 1rem;
    color: #999;
    font-size: 0.8rem;
}

.user-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-warning {
    background: #ff9800;
    color: #000;
    border: 1px solid #ff9800;
}

.btn-warning:hover {
    background: #f57c00;
    border-color: #f57c00;
}

.no-users {
    text-align: center;
    color: #999;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

/* Credit Modal Styles */
.credit-modal {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    margin: 0 auto;
}

.credit-modal h3 {
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

.credit-modal .form-group {
    margin-bottom: 1rem;
}

.credit-modal label {
    display: block;
    color: #ccc;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.credit-modal input {
    width: 100%;
    padding: 0.5rem;
    background: #333;
    border: 1px solid #555;
    border-radius: 4px;
    color: #e0e0e0;
}

.credit-modal input:focus {
    outline: none;
    border-color: #ff6b35;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.current-credits {
    color: #ccc;
    text-align: center;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Admin User List Styles */
.admin-user-list {
    margin-top: 1rem;
}

.admin-user-list .loading,
.admin-user-list .error {
    text-align: center;
    padding: 2rem;
    color: #999;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.admin-user-list .error {
    color: #f44336;
    border-color: #f44336;
}

/* Admin thumbnail styles */
.thumbnail-sample {
    margin-top: 1rem;
    text-align: center;
}

.thumbnail-sample img {
    border-radius: 4px;
    border: 2px solid #444;
}

.form-help {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.25rem;
}

/* Sample Player Styles */
.sample-player {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.sample-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333;
}

.sample-header h4 {
    color: #ff6b35;
    margin: 0;
    font-size: 1.1rem;
}

.sample-counter {
    background: #333;
    color: #e0e0e0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.sample-video-container {
    position: relative;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.sample-video {
    width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
}

.sample-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.sample-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
}

.sample-play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 53, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sample-play-button:hover {
    background: #ff6b35;
    transform: scale(1.1);
}

.sample-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.sample-nav-btn {
    background: #333;
    border: 1px solid #555;
    color: #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sample-nav-btn:hover:not(:disabled) {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #000;
}

.sample-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sample-indicators {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.sample-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sample-dot.active {
    background: #ff6b35;
    transform: scale(1.2);
}

.sample-dot:hover {
    background: #ff6b35;
    opacity: 0.8;
}

.sample-info {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 1rem;
    text-align: center;
}

.sample-info p {
    margin: 0.5rem 0;
    color: #ccc;
    font-size: 0.9rem;
}

.sample-info p:first-child {
    color: #ff6b35;
}

.sample-info strong {
    color: #fff;
}

.sample-error {
    background: #2a1a1a;
    border: 1px solid #664444;
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    color: #ffaaaa;
}

.sample-error i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.sample-error h4 {
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.sample-error p {
    margin: 0.5rem 0;
    color: #ccc;
}

/* Responsive Sample Player */
@media (max-width: 768px) {
    .sample-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .sample-nav-btn {
        width: 100%;
        justify-content: center;
    }
    
    .sample-indicators {
        order: -1;
    }
    
    .sample-play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .sample-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Thumbnail Sample Overlay */
.thumbnail-sample-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 16px 16px 0 0;
    z-index: 2;
}

.video-card:hover .thumbnail-sample-overlay,
.thumbnail-sample-overlay:hover {
    opacity: 1;
}

.thumbnail-sample-overlay.hover {
    opacity: 1;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.thumbnail-play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 53, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 107, 53, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    70% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

.thumbnail-play-button:hover {
    background: #ff6b35;
    transform: scale(1.15);
    border-color: #fff;
    animation: none;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(255, 107, 53, 0.8);
}

.thumbnail-play-button i {
    margin-left: 3px; /* Adjust play icon position */
}

/* Sample Hint */
.sample-hint {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sample-hint i {
    font-size: 0.6rem;
    color: #ff6b35;
}

/* No Sample / Error Messages */
.no-sample-message,
.sample-error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 0.9rem;
    text-align: center;
}

.no-sample-message i,
.sample-error-message i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.sample-error-message i {
    color: #ff6b6b;
}

/* Inline Sample Player */
.inline-sample-player {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    z-index: 10;
}

.inline-sample-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.inline-sample-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inline-sample-player:hover .inline-sample-controls {
    opacity: 1;
}

.sample-control-buttons {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.25rem;
}

.sample-control-btn {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.sample-control-btn:hover {
    background: rgba(255, 107, 53, 0.9);
    transform: scale(1.1);
}

.sample-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.sample-title {
    color: #fff;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sample-action .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    min-width: auto;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 4px;
}

/* Responsive Inline Sample */
@media (max-width: 768px) {
    .thumbnail-play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .sample-control-btn {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .sample-info-bar {
        font-size: 0.7rem;
    }
    
    .sample-action .btn {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
    
    .inline-sample-controls {
        padding: 0.4rem;
    }
    
    .sample-control-buttons {
        top: 0.4rem;
        right: 0.4rem;
        gap: 0.2rem;
    }
}

/* Navigation Hover and Active States */
.nav-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.nav-btn.active {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Upload Section */
.upload-section,
.upload-progress {
    margin: 2rem 0;
}

.upload-progress {
    display: none;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35 0%, #f7931e 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

/* Admin Video List */
.admin-video-list {
    margin-top: 2rem;
}

.admin-video-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    backdrop-filter: blur(20px);
}

.admin-video-item .video-thumbnail {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
}

.admin-video-item .thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.admin-video-info h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.admin-video-info p {
    color: #b8c5d1;
    font-size: 0.9rem;
}

.admin-video-actions {
    margin-left: auto;
    display: flex;
    gap: 0.75rem;
}

/* Management Sections Spacing */
.management-section + .management-section {
    margin-top: 3rem;
}

/* Compact Admin Video List */
.video-list-compact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.video-item-compact {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.video-item-compact:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 53, 0.3);
}

.video-info-compact {
    flex: 1;
    min-width: 0;
}

.video-main-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.video-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 1rem;
}

.video-price {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.video-description {
    color: #b8c5d1;
    font-size: 0.85rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta-compact {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #8892a0;
}

.video-meta-compact span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.video-meta-compact i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.video-actions-compact {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-sm {
    padding: 0.5rem;
    font-size: 0.8rem;
    min-width: auto;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #e0e6ed;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.btn-danger {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 67, 54, 0.4);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Modern Modal System - 2024 Design */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal[style*="block"] {
    display: flex !important;
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
    from { 
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to { 
        opacity: 1;
        backdrop-filter: blur(20px);
    }
}

.modal-content {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 0;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    backdrop-filter: blur(40px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: scale(1.1);
}

/* Modern Modal Headers */
.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal h2 {
    color: #fff;
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.modal-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
}

/* Modern Modal Body */
.modal-body {
    padding: 1.5rem 2rem 2rem 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
    flex: 1;
}

/* Ensure modal content scrolls properly */
#modalBody {
    overflow-y: auto;
    max-height: calc(90vh - 2rem);
    flex: 1;
    scroll-behavior: smooth;
}

/* Custom scrollbar for payment modals */
.bitcoin-invoice-payment::-webkit-scrollbar,
#modalBody::-webkit-scrollbar {
    width: 8px;
}

.bitcoin-invoice-payment::-webkit-scrollbar-track,
#modalBody::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.bitcoin-invoice-payment::-webkit-scrollbar-thumb,
#modalBody::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.bitcoin-invoice-payment::-webkit-scrollbar-thumb:hover,
#modalBody::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Enhanced Video Info Cards */
.video-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.video-info h3 {
    color: #fff;
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.video-info p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Modern Credits Display */
.user-credits {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.05) 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
}

.credits-display-large {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b35;
    margin: 0.5rem 0;
    letter-spacing: -0.02em;
}

.credits-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.insufficient-credits {
    color: #ff4757 !important;
    font-weight: 600;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
}

.sufficient-credits {
    color: #2ed573 !important;
    font-weight: 600;
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
}

/* Modern Button System */
.modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-modal {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.btn-modal.primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-modal.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-modal.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-modal.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}



/* Ultra-Modern Upload Form */
.upload-section {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.upload-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, #ff6b35 0%, #f7931e 100%);
}

.upload-section h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Modern Form System */
.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    position: relative;
}

.form-label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    font-family: inherit;
    outline: none;
}

.form-input:focus {
    border-color: #ff6b35;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    transform: translateY(-1px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.5;
}

/* Modern File Upload */
.file-upload-area {
    position: relative;
    border: 2px dashed rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    background: rgba(255, 107, 53, 0.02);
    transition: all 0.2s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: rgba(255, 107, 53, 0.5);
    background: rgba(255, 107, 53, 0.05);
}

.file-upload-area.dragover {
    border-color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    transform: scale(1.02);
}

.file-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    pointer-events: none;
}

.file-upload-icon {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.file-upload-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.file-upload-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Modern Checkbox */
.modern-checkbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modern-checkbox:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 53, 0.2);
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-input:checked + .checkbox-custom {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: #ff6b35;
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Modern Submit Button */
.submit-button {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

/* Modern Progress Bar */
.upload-progress {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.progress-container {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Credits Page Redesign */
.credits-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.credits-header {
    text-align: center;
    margin-bottom: 3rem;
}

.credits-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.credits-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.credit-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.credit-package {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.credit-package::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35 0%, #f7931e 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.credit-package:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.credit-package.popular {
    border-color: rgba(255, 107, 53, 0.4);
    background: linear-gradient(145deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.02) 100%);
}

.credit-package.popular::before {
    opacity: 1;
}

.package-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.package-credits {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin: 1rem 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ff6b35;
    margin-bottom: 0.5rem;
}



.package-button:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    transform: none;
}

.package-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.package-features li {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.package-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.package-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        margin: 1rem;
        border-radius: 20px;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .upload-section {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .credits-header h2 {
        font-size: 2rem;
    }
    
    .credit-packages {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

/* Footer */
.footer {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 107, 53, 0.1);
    padding: 2rem 0;
    text-align: center;
    color: #8892a0;
    margin-top: auto;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Upload Form */
@media (max-width: 768px) {
    .upload-section {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .upload-section h3 {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .checkbox-label {
        padding: 1rem;
    }
    
    .modal-content {
        max-width: 95%;
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

/* Payment Type Selection Styles */
.payment-type-selection {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.payment-type-selection h3 {
    color: #e0e6ed;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.payment-type-selection p {
    color: #8892a0;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.payment-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
}

.payment-option:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.payment-option.bitcoin-option:hover {
    border-color: #f7931a;
    background: rgba(247, 147, 26, 0.1);
}

.payment-option.solana-option:hover {
    border-color: #9945ff;
    background: rgba(153, 69, 255, 0.1);
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.bitcoin-option .payment-icon {
    color: #f7931a;
}

.solana-option .payment-icon {
    color: #9945ff;
}

.payment-option h4 {
    color: #e0e6ed;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.payment-option p {
    color: #8892a0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.payment-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature {
    color: #9ca5b3;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.payment-type-actions {
    text-align: center;
}

/* Solana Payment Modal Styles */
.solana-payment-content {
    max-width: 600px;
    margin: 0 auto;
}

.payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-header h3 {
    color: #e0e6ed;
    font-size: 1.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-type-badge {
    background: linear-gradient(135deg, #9945ff, #14f195);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amount-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.amount-section p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.amount-section strong {
    color: #e0e6ed;
}

.solana-address-section {
    margin-bottom: 2rem;
}

.solana-address-section > p {
    color: #e0e6ed;
    font-weight: 600;
    margin-bottom: 1rem;
}

.qr-code-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #8892a0;
}

.qr-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(153, 69, 255, 0.3);
    border-top: 3px solid #9945ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.qr-code-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qr-code-canvas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

.qr-code-canvas {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    background: #ffffff;
    padding: 8px;
}

.qr-url-sample {
    color: #6b7280;
    font-size: 0.7rem;
    margin: 0.5rem 0 0 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    word-break: break-all;
}

.qr-label {
    color: #8892a0;
    font-size: 0.85rem;
    margin: 0;
}

.qr-error {
    color: #8892a0;
    font-size: 0.9rem;
}

.qr-fallback {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qr-fallback-icon {
    font-size: 2rem;
    color: #9945ff;
    margin-bottom: 1rem;
}

.qr-fallback h4 {
    color: #fff;
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.qr-fallback p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.solana-pay-url {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(153, 69, 255, 0.3);
}

.pay-url-text {
    display: block;
    color: #9945ff;
    background: transparent;
    border: none;
    padding: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    word-break: break-all;
    margin-bottom: 0.5rem;
}

.fallback-instructions {
    text-align: left;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(153, 69, 255, 0.1);
    border-radius: 8px;
    border-left: 3px solid #9945ff;
}

.fallback-instructions ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.fallback-instructions li {
    margin: 0.3rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.error-note {
    color: rgba(255, 107, 53, 0.8);
    font-style: italic;
    font-size: 0.75rem;
}

.address-text-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.solana-address-text {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    color: #e0e6ed;
    word-break: break-all;
    line-height: 1.4;
}

.status-pending {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
}

.status-pending p {
    margin: 0.5rem 0;
}

.status-pending small {
    color: #8892a0;
    font-size: 0.8rem;
    word-break: break-all;
}

/* Responsive Design for Payment Modals */
@media (max-width: 768px) {
    .payment-options {
        grid-template-columns: 1fr;
    }

    .payment-option {
        padding: 1.5rem 1rem;
    }

    .address-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .qr-code-container {
        min-height: 150px;
    }

    .payment-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .solana-payment-content,
    .payment-type-selection {
        padding: 0 1rem;
    }
} 

/* File Assignment Styles */
.admin-assign {
    margin-top: 2rem;
}

.file-search-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.file-search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e0e6ed;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.file-search-input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.file-search-input::placeholder {
    color: #8892a0;
}

.file-search-results {
    margin-top: 1.5rem;
}

.file-section {
    margin-bottom: 2rem;
}

.section-title {
    color: #e0e6ed;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.file-list {
    display: grid;
    gap: 1rem;
}

.file-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.file-item.available {
    border-left: 4px solid #4caf50;
}

.file-item.assigned {
    border-left: 4px solid #ff9800;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: #e0e6ed;
    margin-bottom: 0.25rem;
    word-break: break-all;
}

.file-assigned-to {
    color: #ff9800;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.file-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #8892a0;
}

.file-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.assigned {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.assign-form-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.assign-form-section h4 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.assign-form-section #selected-filename {
    color: #e0e6ed;
    font-weight: 600;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.no-files {
    text-align: center;
    color: #8892a0;
    font-style: italic;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .file-meta {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .file-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* Enhanced Authentication Modal Styles */
.auth-modal {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

.auth-icon i {
    font-size: 1.5rem;
    color: white;
}

.auth-header h2 {
    color: #e0e6ed;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #e0e6ed 0%, #c8d1dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header p {
    color: #8892a0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-form {
    width: 100%;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #c8d1dc;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.auth-form .form-group label i {
    color: #ff6b35;
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.auth-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e0e6ed;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.auth-form input:focus {
    outline: none;
    border-color: rgba(255, 107, 53, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.auth-form input::placeholder {
    color: #6b7280;
}

.auth-form .form-help {
    display: block;
    color: #8892a0;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.auth-form .error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.auth-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    text-transform: none;
    letter-spacing: 0;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #e5612f 0%, #e0851b 100%);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-btn i {
    font-size: 0.9rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer p {
    color: #8892a0;
    font-size: 0.9rem;
}

.link-btn {
    background: none;
    border: none;
    color: #ff6b35;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    font-size: inherit;
    transition: color 0.2s ease;
}

.link-btn:hover {
    color: #f7931e;
    text-decoration: underline;
}

/* Enhanced Modal Styles */
.modal {
    background: rgba(15, 15, 35, 0.9) !important;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
}

/* Responsive Design for Auth Modal */
@media (max-width: 768px) {
    .auth-modal {
        max-width: 100%;
        padding: 0;
    }
    
    .auth-header h2 {
        font-size: 1.5rem;
    }
    
    .auth-icon {
        width: 56px;
        height: 56px;
    }
    
    .auth-icon i {
        font-size: 1.3rem;
    }
    
    .auth-form input {
        padding: 0.75rem 0.875rem;
    }
    
    .modal-content {
        margin: 1rem !important;
        padding: 1.5rem !important;
    }
} 

/* Admin Panel Specific Styles */
.assign-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #333;
}

.assign-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.assign-icon i {
    font-size: 2rem;
    color: #000;
}

.assign-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.assign-header p {
    color: #aaa;
    font-size: 1rem;
    margin: 0;
}

.assign-form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.form-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.form-icon i {
    font-size: 1.5rem;
    color: #000;
}

.assign-form-header h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

.assign-form-header p {
    color: #ccc;
    margin: 0;
}

.filename-highlight {
    color: #ff6b35;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    background: rgba(255, 107, 53, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.checkbox-group {
    position: relative;
}

.checkbox-group .checkbox-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.75rem;
}

.checkbox-group .checkbox-label:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.4);
}

.checkbox-group .checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 20px;
    height: 20px;
}

.checkbox-group .checkmark {
    position: relative;
    width: 20px;
    height: 20px;
    background: #333;
    border: 2px solid #555;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-group .checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #ff6b35;
    border-color: #ff6b35;
}

.checkbox-group .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-group .checkbox-label i {
    color: #ff6b35;
    font-size: 1.1rem;
}

.user-item {
    border: 1px solid #333;
    background: #2a2a2a;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-item:hover {
    border-color: #ff6b35;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.username {
    color: #ff6b35;
    font-weight: 600;
}

/* Admin Panel Textarea */
.auth-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e0e6ed;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    resize: vertical;
    min-height: 80px;
}

.auth-form textarea:focus {
    outline: none;
    border-color: rgba(255, 107, 53, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.auth-form textarea::placeholder {
    color: #6b7280;
}

@media (max-width: 768px) {
    .assign-header,
    .assign-form-header {
        padding: 1rem;
    }
    
    .assign-icon {
        width: 60px;
        height: 60px;
    }
    
    .assign-icon i {
        font-size: 1.5rem;
    }
    
    .form-icon {
        width: 50px;
        height: 50px;
    }
    
    .form-icon i {
        font-size: 1.2rem;
    }
}

/* Bitcoin Invoice Payment & Wallet Capability Detector */
.bitcoin-invoice-payment {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    max-height: calc(90vh - 4rem);
    overflow-y: auto;
}

.payment-summary {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.wallet-capability-detector {
    margin: 20px 0;
}

.detection-status {
    background: #252525;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.detection-result {
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
}

.detection-result.detected {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.detection-result.not-detected {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-method {
    border: 2px solid #333;
    border-radius: 12px;
    padding: 20px;
    background: #1a1a1a;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-method:hover {
    border-color: #555;
    background: #222;
}

.payment-method.recommended {
    border-color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
}

.payment-method.selected {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.3);
}

.method-header h4 {
    margin: 0 0 8px 0;
    color: #ffffff;
    font-size: 1.2em;
}

.method-subtitle {
    color: #bbbbbb;
    margin: 0 0 15px 0;
    font-style: italic;
}

.method-steps {
    margin-bottom: 15px;
}

.method-steps h5 {
    color: #ffffff;
    margin: 0 0 8px 0;
}

.method-steps ol {
    color: #cccccc;
    padding-left: 20px;
}

.method-steps li {
    margin-bottom: 5px;
    line-height: 1.4;
}

.method-advantages {
    margin-bottom: 15px;
}

.method-advantages h5 {
    color: #ffffff;
    margin: 0 0 8px 0;
}

.advantages-list, .limitations-list {
    margin: 0;
    padding-left: 20px;
}

.advantages-list li {
    color: #28a745;
    margin-bottom: 3px;
}

.limitations-list li {
    color: #ffc107;
    margin-bottom: 3px;
}

.compatible-wallets {
    margin-bottom: 15px;
}

.compatible-wallets h5 {
    color: #ffffff;
    margin: 0 0 10px 0;
}

.wallet-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wallet-item {
    background: #333;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wallet-type {
    background: #555;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
}

.wallet-difficulty {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
}

.wallet-difficulty.beginner {
    background: #28a745;
    color: #fff;
}

.wallet-difficulty.intermediate {
    background: #ffc107;
    color: #000;
}

.wallet-difficulty.advanced {
    background: #dc3545;
    color: #fff;
}

.select-method-btn {
    background: #f39c12;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.select-method-btn:hover {
    background: #e67e22;
}

.payment-method.selected .select-method-btn {
    background: #28a745;
}

.payment-method.selected .select-method-btn:hover {
    background: #218838;
}

.payment-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.payment-warning h4 {
    color: #ffc107;
    margin: 0 0 10px 0;
}

.payment-warning p {
    color: #ffffff;
    margin: 5px 0;
    line-height: 1.4;
}

.qr-code-section {
    background: #252525;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.qr-code-section h4 {
    color: #ffffff;
    margin: 0 0 15px 0;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
}

.qr-code-box {
    width: 120px;
    height: 120px;
    background: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #888;
}

.qr-data {
    font-family: monospace;
    font-size: 0.9em;
    color: #bbbbbb;
    word-break: break-all;
    max-width: 300px;
}

.qr-instructions {
    color: #888;
    margin: 0;
    font-style: italic;
}

.help-section {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 15px;
}

.help-section summary {
    color: #f39c12;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 10px;
}

.help-content {
    margin-top: 10px;
    color: #cccccc;
}

.help-content h4 {
    color: #ffffff;
    margin: 0 0 10px 0;
}

.help-content ul {
    margin: 0;
    padding-left: 20px;
}

.help-content li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Responsive design */
@media (max-width: 768px) {
    .payment-methods {
        gap: 10px;
    }
    
    .payment-method {
        padding: 15px;
    }
    
    .wallet-list {
        flex-direction: column;
    }
    
    .wallet-item {
        justify-content: space-between;
    }
    
    .bitcoin-invoice-payment {
        padding: 10px;
    }
}

/* Enhanced Payment Modal Styles */
.bitcoin-invoice-payment {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.package-info {
    margin-top: 1rem;
    text-align: center;
}

.package-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e0e6ed;
    margin-bottom: 0.5rem;
}

.package-info p {
    color: #8892a0;
    font-size: 0.95rem;
}

/* Emphasized Transaction Details Section */
.transaction-details-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.transaction-details-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ff6b35);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.transaction-details-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff6b35;
}

.transaction-details-header i {
    font-size: 1.3rem;
    color: #f7931e;
}

/* Address Section */
.address-section {
    margin: 1rem 0;
}

.address-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #e0e6ed;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.address-section h4 i {
    color: #ff6b35;
}

.address-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.address-text {
    flex: 1;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.9rem;
    color: #e0e6ed;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    border-radius: 6px;
    word-break: break-all;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.address-copy-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.address-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
}

.address-copy-btn:active {
    transform: translateY(0);
}

/* Amount Section */
.amount-section {
    margin: 1rem 0;
}

.amount-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.amount-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.amount-label {
    font-size: 0.85rem;
    color: #8892a0;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amount-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e0e6ed;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

/* Memo/Invoice Section */
.memo-section,
.invoice-section {
    margin: 1rem 0;
}

.memo-display,
.invoice-display {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    padding: 1rem;
}

.memo-label,
.invoice-label {
    font-size: 0.9rem;
    color: #ba68c8;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.memo-value,
.invoice-value {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.9rem;
    color: #e0e6ed;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem;
    border-radius: 6px;
    word-break: break-all;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Default styling for all payment modals */

/* Update existing payment summary */
.payment-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.payment-summary p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.payment-summary strong {
    color: #ff6b35;
}

/* QR Code improvements */
.qr-code-section {
    text-align: center;
    margin: 1.5rem 0;
}

.qr-code-section h4 {
    margin-bottom: 1rem;
    color: #e0e6ed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.qr-container {
    display: inline-block;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .bitcoin-invoice-payment {
        padding: 1.5rem;
    }
    
    .transaction-details-box {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .address-display {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .address-copy-btn {
        width: 100%;
        justify-content: center;
    }
    
    .amount-display {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .payment-header h3 {
        font-size: 1.5rem;
    }
}

/* Video Info with Purchase Button Layout */
.video-info-with-purchase {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.video-info-content {
    flex: 1;
}

.video-info-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.preview-purchase-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
    white-space: nowrap;
}

.preview-purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.preview-purchase-btn:active {
    transform: translateY(0);
}

.preview-purchase-btn i {
    font-size: 1.1rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-main {
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-price {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Preview Disabled Overlay Purchase Buttons */
.overlay-purchase-section {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.video-price-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
}

.price-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff6b35;
}

.balance-label {
    font-size: 0.9rem;
    color: #8892a0;
}

.btn-overlay {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
    min-width: 200px;
}

.btn-overlay:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.btn-overlay:active {
    transform: translateY(-1px);
}

/* Enhanced Preview Disabled Overlay */
.preview-disabled-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 12px;
}

.preview-disabled-content {
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 400px;
}

.preview-disabled-content i {
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.preview-disabled-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.preview-disabled-content p {
    font-size: 1rem;
    color: #b8c5d1;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .video-info-with-purchase {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    .video-info-actions {
        justify-content: center;
    }
    
    .preview-purchase-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
    
    .btn-main {
        font-size: 0.9rem;
    }
    
    .btn-price {
        font-size: 0.75rem;
    }
    
    .btn-overlay {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        min-width: 180px;
    }
    
    .preview-disabled-content {
        padding: 1.5rem;
    }
    
    .preview-disabled-content i {
        font-size: 2.5rem;
    }
    
    .preview-disabled-content h3 {
        font-size: 1.25rem;
    }
}

/* Main Logo */
.main-logo {
    text-align: center;
    margin: 1rem auto 1rem;
    max-width: 250px;
}

.main-logo .site-logo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.main-logo .site-logo:hover {
    transform: scale(1.02);
}

.header-logo {
    height: 48px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.header-logo:hover {
    opacity: 0.9;
}

/* Overlay for initial loading */
.initial-loading-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: rgba(20, 20, 40, 0.85);
}

/* Ensure parent is relative for overlay positioning */
.main > .container {
    position: relative;
}

/* Admin status banner */
.admin-status-banner {
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 6px;
    background: #2a2a2a;
    color: #ffcc80;
    border: 1px solid #4e342e;
}
.admin-status-banner.warning {
    background: #2b1e1e;
    color: #ffb74d;
    border-color: #8d6e63;
}
.admin-status-banner .banner-content {
    display: flex;
    align-items: center;
    gap: 8px;
}
.admin-status-banner i {
    color: #ffa726;
}