/**
 * Champion Access - Consolidated CSS Styles
 * All CSS styles used across the PHP files in one centralized location
 */

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

/* Common Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #27ae60;
    }
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Container Styles */
.registration-container,
.success-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.6s ease-out;
}

/* Registration Page Specific */
body.registration-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.registration-container {
    transform: translateY(0);
    transition: all 0.3s ease;
}

.registration-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Success Page Specific */
body.success-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-container {
    padding: 50px 40px;
    text-align: center;
}

/* Dashboard Page Specific */
body.dashboard-page {
    color: #222;
}

/* Typography */
.title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.success-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.success-message {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea,
.form-select {
    padding: 15px 20px;
    border: 2px solid #e0e6ed;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: scale(1.02);
}

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

.form-input.valid {
    border-color: #27ae60;
    animation: pulse 0.3s ease;
}

/* Form error styling */
.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.field-error {
    display: none;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 500;
}

.field-error:before {
    content: "⚠ ";
    margin-right: 5px;
}

/* File Upload Styles */
.file-upload-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-upload-input {
    position: absolute;
    left: -9999px;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed #667eea;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9ff;
    color: #667eea;
    font-weight: 600;
}

.file-upload-label:hover {
    background: #667eea;
    color: white;
    transform: scale(1.02);
}

.file-upload-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Additional styling for file upload states */
.file-upload-container.file-selected {
    border-color: #27ae60;
    background: #f0fff4;
}

.file-upload-container.file-selected .file-upload-label {
    color: #27ae60;
}

.file-upload-container.drag-over {
    border-color: #667eea;
    background: #f0f4ff;
    transform: scale(1.02);
}

/* Button Styles */
.submit-btn,
.dashboard-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.submit-btn:hover,
.dashboard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.submit-btn:active,
.dashboard-btn:active {
    transform: translateY(0);
}

.dashboard-btn {
    padding: 18px 40px;
    width: auto;
}

/* Dashboard Top Bar */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-right {
    display: flex;
    align-items: center;
}

.logo-btn {
    background: #111;
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    border-radius: 16px;
    padding: 8px 22px;
    border: none;
    letter-spacing: 2px;
    margin-right: 4px;
    font-family: 'Inter', sans-serif;
}

.menu-btn {
    background: #fff;
    color: #111;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 16px;
    padding: 8px 22px;
    border: none;
    margin-right: 4px;
    transition: background 0.2s, color 0.2s;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.menu-btn.selected,
.menu-btn:focus {
    background: #111;
    color: #fff;
}

.action-btn {
    background: #111;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 24px;
    padding: 10px 32px;
    border: none;
    margin-left: 8px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

/* Dashboard Main Content */
.main-content {
    max-width: 900px;
    margin: 100px auto 0 auto;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    padding: 40px 32px 32px 32px;
    min-height: 500px;
}

/* Profile Sections */
.profile-section,
.media-section,
.settings-section {
    margin-bottom: 32px;
}

.profile-info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.profile-info-label {
    color: #666;
    font-weight: 500;
}

.profile-info-value {
    color: #222;
    font-weight: 600;
}

.settings-section .profile-info-row {
    border-bottom: none;
}

/* Media Gallery */
.media-gallery {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.media-thumb {
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid #e0e6ed;
    width: 140px;
    height: 140px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-thumb img,
.media-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Share Section */
.share-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
}

/* Share section styles */
.share-links {
    margin-top: 20px;
}

.share-btns {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.share-btn {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 8px 18px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}

.share-btn:hover {
    background: #764ba2;
}

/* Success Page Specific */
.success-icon {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 20px;
    animation: bounceIn 0.8s ease-out;
}

.champion-name {
    font-weight: 600;
    color: #667eea;
}

.credentials-box {
    background: #f8f9ff;
    border: 2px solid #e0e6ed;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    text-align: left;
}

.credentials-title {
    font-weight: 600;
    color: #555;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.credential-item {
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.credential-label {
    font-weight: 600;
    color: #333;
    width: 100px;
    display: inline-block;
}

.credential-value {
    color: #667eea;
    background: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid #e0e6ed;
    cursor: pointer;
}

.steps-list {
    text-align: left;
    margin: 20px 0;
}

.step-item {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.step-item:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Error and Message Styles */
.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    animation: shake 0.5s ease-in-out;
}

.general-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Placeholder Styles */
.placeholder {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 40px 0;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .submit-btn {
    background: #ccc;
}

/* Animation for upload form section */
.upload-form-section.animate-in {
    animation: slideUp 0.6s ease-out;
}

/* Enhanced carousel navigation */
.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn:not(:disabled):hover {
    transform: translateY(-50%) scale(1.1);
}

/* Progress indicator for form sections */
.form-section.completed {
    border-left: 4px solid #27ae60;
}

.form-section.completed h3 {
    color: #27ae60;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .registration-container,
    .success-container {
        padding: 30px 20px;
        margin: 10px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .success-title {
        font-size: 2rem;
    }

    .success-message {
        font-size: 1.1rem;
    }
}

@media (max-width: 700px) {
    .topbar {
        flex-direction: column;
        gap: 12px;
        padding: 18px 8px;
    }

    .main-content {
        padding: 18px 6px;
        margin-top: 120px;
    }
}

@media (max-width: 600px) {
    .file-upload-container {
        flex-direction: column;
        text-align: center;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .carousel-item {
        min-width: 200px;
    }
}

/* Development Mode Styles */
.dev-notice {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.clear-form-btn {
    background: none;
    border: 1px solid #0c5460;
    color: #0c5460;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}

/* Section Specific Styles */
.section-hidden {
    display: none;
}

.subsection-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.bio-value {
    max-width: 400px;
    display: inline-block;
    white-space: pre-line;
}

.steps-section-title {
    margin-bottom: 15px;
    color: #555;
}

.note-spaced {
    margin-top: 30px;
}

/* =====================================
   15. REFERRAL SECTION STYLES
   ===================================== */

/* Referral Section Layout */
.referral-section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Referral Link Styles */
.referral-link-container {
    margin-top: 15px;
}

.referral-link-box {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
}

#referral-link {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #495057;
    word-break: break-all;
    margin-right: 15px;
}

#profile-link {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #495057;
    word-break: break-all;
    margin-right: 15px;
}

.referral-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.referral-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.referral-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Earnings Grid Layout */
.earnings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

/* Earnings Cards */
.earnings-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.earnings-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Clickable cards for admin dashboard */
.clickable-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.clickable-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.clickable-card:hover::before {
    left: 100%;
}

.clickable-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.clickable-card:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.earnings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #dee2e6;
}

.earnings-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #495057;
    margin: 0;
}

.earnings-icon {
    font-size: 1.5rem;
}

.earnings-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.9rem;
}

.stat-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: #495057;
}

/* Card Action Styles */
.card-action {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(108, 117, 125, 0.2);
}

.discrete-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.1);
    color: #495057;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.discrete-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

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

.discrete-btn-icon {
    font-size: 0.7rem;
    opacity: 0.8;
}

.discrete-btn-text {
    font-size: 0.75rem;
}

/* Summary Card */
.summary-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 150px;
}

.summary-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.summary-value {
    font-size: 1.3rem;
    font-weight: 700;
}

.summary-value.highlight {
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsiveness for Referral Section */
@media (max-width: 768px) {
    .referral-link-box {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    #referral-link,
    #profile-link {
        margin-right: 0;
        text-align: center;
    }
    
    .earnings-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-card {
        flex-direction: column;
        text-align: center;
    }
    
    .summary-item {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .referral-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .earnings-card {
        padding: 15px;
    }
    
    .summary-card {
        padding: 15px;
    }
}

/* Fan Upload Page Styles */
body.fan-upload-page {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
}

.fan-upload-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.6s ease-out;
}

.champion-info-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.champion-name {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-align: center;
}

.champion-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.champion-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.champion-detail-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.detail-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.highlight-price {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.3rem !important;
}

.champion-bio {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.champion-bio h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.champion-bio p {
    color: #666;
    line-height: 1.6;
}

/* Media Carousel Styles */
.media-carousel-section {
    margin-top: 30px;
}

.media-carousel-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.media-section-group {
    margin-bottom: 30px;
}

.media-section-title {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.media-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.carousel-item {
    min-width: 300px;
    margin-right: 20px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.carousel-item.active {
    opacity: 1;
    transform: scale(1.05);
}

.carousel-item img,
.carousel-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.carousel-item:hover {
    animation: pulse 0.6s ease-in-out;
}

.carousel-item:hover img,
.carousel-item:hover video {
    transform: scale(1.02);
}

.media-title {
    margin-top: 10px;
    font-weight: 500;
    color: #333;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Media Modal */
.media-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.media-modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 15px;
    text-align: center;
}

.media-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.media-modal-close:hover {
    color: #333;
}

#media-modal-body img,
#media-modal-body video {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
}

/* Upload Form Styles */
.upload-form-section {
    margin-top: 30px;
}

.upload-intro {
    text-align: center;
    margin-bottom: 30px;
}

.upload-intro h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.upload-intro p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.upload-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
}

.form-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.file-upload-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-container:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.file-upload-container input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.file-upload-label {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 5px;
}

.file-upload-hint {
    font-size: 0.9rem;
    color: #999;
}

/* Success Page Styles */
body.success-page .success-container {
    max-width: 600px;
    text-align: center;
}

.success-icon {
    margin-bottom: 30px;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #27ae60;
    stroke-miterlimit: 10;
    margin: 0 auto 20px;
    box-shadow: inset 0px 0px 0px #27ae60;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
    position: relative;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #27ae60;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #27ae60;
}

.checkmark-stem {
    position: absolute;
    width: 2px;
    height: 20px;
    background: #27ae60;
    left: 32px;
    top: 40px;
    transform: rotate(45deg);
    animation: checkmark-stem 0.3s ease-in-out 0.8s forwards;
    transform-origin: bottom;
    opacity: 0;
}

.checkmark-kick {
    position: absolute;
    width: 2px;
    height: 12px;
    background: #27ae60;
    left: 25px;
    top: 48px;
    transform: rotate(-45deg);
    animation: checkmark-kick 0.3s ease-in-out 1s forwards;
    transform-origin: bottom;
    opacity: 0;
}

.request-details,
.request-preview {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin: 25px 0;
    text-align: left;
}

.request-details h3,
.request-preview h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: #666;
}

.detail-value {
    font-weight: 600;
    color: #333;
}

.status-pending {
    color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.request-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.video-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #667eea;
    font-weight: 500;
}

.video-icon {
    font-size: 1.2rem;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.next-steps {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
}

.next-steps h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-text {
    color: #666;
    line-height: 1.5;
}

/* Fan Requests Page Styles */
body.fan-requests-page {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
}

.fan-requests-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.6s ease-out;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.fan-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.fan-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.fan-email {
    color: #666;
    font-size: 0.9rem;
}

.no-requests {
    text-align: center;
    color: #888;
    padding: 60px 20px;
}

.no-requests-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.6;
}

.no-requests h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.no-requests p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.requests-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.request-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.request-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.request-header:hover {
    background: rgba(102, 126, 234, 0.05);
}

.request-info h3 {
    color: #333;
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.fan-email {
    color: #666;
    font-size: 0.9rem;
}

.request-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: right;
}

.request-date {
    color: #888;
    font-size: 0.9rem;
}

.request-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
}

.status-responded {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
}

.expand-icon {
    color: #667eea;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.request-card.expanded .expand-icon {
    transform: rotate(180deg);
}

.request-content {
    padding: 0 25px 25px;
    border-top: 1px solid #e0e0e0;
    animation: slideDown 0.3s ease-out;
}

.fan-request-section,
.champion-response-section,
.response-upload-section {
    margin-bottom: 25px;
}

.fan-request-section h4,
.champion-response-section h4,
.response-upload-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.request-question {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.request-question p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.request-video h5,
.response-video h5 {
    color: #555;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 500;
}

.video-player video,
.response-video video {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.champion-response-section {
    background: rgba(39, 174, 96, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #27ae60;
}

.response-date {
    color: #27ae60;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.response-upload-section {
    background: rgba(102, 126, 234, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.response-form .file-upload-container {
    margin-bottom: 15px;
}

.submit-response-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-response-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.submit-response-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.upload-progress {
    margin-top: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Animation for content expansion */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

/* Responsive adjustments for champion requests */
@media (max-width: 768px) {
    .request-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .request-meta {
        align-self: flex-end;
        text-align: right;
    }
    
    .request-content {
        padding: 0 15px 20px;
    }
    
    .video-player video,
    .response-video video {
        max-width: 100%;
    }
}

/* Admin Dashboard Styles */
.admin-table-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-top: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th,
.admin-table td {
    padding: 15px 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.admin-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.admin-table td {
    color: #666;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-suspended {
    background: #f5c6cb;
    color: #721c24;
}

.action-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.view-btn {
    background: #667eea;
    color: white;
}

.view-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.edit-btn {
    background: #28a745;
    color: white;
}

.edit-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.delete-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* Responsive admin table */
@media (max-width: 768px) {
    .admin-table-container {
        padding: 20px;
    }
    
    .admin-table {
        font-size: 12px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 10px 8px;
    }
    
    .action-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    /* Stack table cells vertically on mobile */
    .admin-table thead {
        display: none;
    }
    
    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
    }
    
    .admin-table tr {
        border: 1px solid #e9ecef;
        border-radius: 10px;
        margin-bottom: 15px;
        padding: 15px;
        background: white;
    }
    
    .admin-table td {
        border: none;
        border-bottom: 1px solid #f8f9fa;
        position: relative;
        padding-left: 50% !important;
        text-align: right;
    }
    
    .admin-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 600;
        color: #495057;
    }
    
    .admin-table td:last-child {
        border-bottom: none;
    }
}

/* Admin overview responsive */
@media (max-width: 480px) {
    .earnings-grid {
        grid-template-columns: 1fr;
    }
    
    .topbar {
        padding: 10px 15px;
    }
    
    .menu-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

/* =====================================
   DATABASE WIPE STYLES (Development)
   ===================================== */

/* Danger Card for Database Wipe */
.danger-card {
    background: linear-gradient(135deg, #fee5e5 0%, #fecaca 100%);
    border: 2px solid #f87171;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.danger-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.1), transparent);
    transition: left 0.5s;
}

.danger-card:hover::before {
    left: 100%;
}

.danger-card .earnings-title {
    color: #dc2626;
    font-weight: 700;
}

.danger-card .earnings-icon {
    font-size: 1.8rem;
    animation: pulse 2s infinite;
}

/* Wipe Form Styles */
.wipe-form {
    width: 100%;
}

.danger-warning {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid #f87171;
}

.wipe-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #f87171;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
    margin-bottom: 15px;
}

.wipe-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.wipe-input.valid {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.wipe-btn {
    width: 100%;
    padding: 12px 20px;
    background: #9ca3af;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: not-allowed;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.wipe-btn:enabled {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    cursor: pointer;
    animation: pulse 1s infinite;
}

.wipe-btn:enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
    animation: none;
}

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

.wipe-btn.processing {
    background: #f59e0b;
    cursor: not-allowed;
    animation: spin 1s linear infinite;
}

.wipe-status {
    min-height: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.wipe-status.success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.wipe-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Animation for dangerous actions */
@keyframes dangerPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.wipe-btn:enabled {
    animation: dangerPulse 2s infinite;
}

/* Mobile responsiveness for wipe card */
@media (max-width: 768px) {
    .danger-card {
        grid-column: 1 / -1;
    }
    
    .wipe-input,
    .wipe-btn {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .danger-warning {
        font-size: 0.8rem;
        padding: 10px;
    }
}

/* Debug Card Styles */
.debug-card {
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
    border: 2px solid #29b6f6;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.debug-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(41, 182, 246, 0.1), transparent);
    transition: left 0.5s;
}

.debug-card:hover::before {
    left: 100%;
}

.debug-card .earnings-title {
    color: #0277bd;
    font-weight: 700;
}

.debug-card .earnings-icon {
    font-size: 1.8rem;
    animation: pulse 2s infinite;
}

/* Debug Form Styles */
.debug-form {
    width: 100%;
}

.debug-description {
    background: rgba(41, 182, 246, 0.1);
    color: #0277bd;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid #29b6f6;
}

.debug-switch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.debug-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.debug-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.debug-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.debug-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .debug-slider {
    background-color: #29b6f6;
}

input:focus + .debug-slider {
    box-shadow: 0 0 1px #29b6f6;
}

input:checked + .debug-slider:before {
    transform: translateX(26px);
}

.debug-label {
    color: #0277bd;
    font-weight: 600;
    font-size: 0.9rem;
}

.debug-status {
    text-align: center;
    font-size: 0.8rem;
    color: #0277bd;
    min-height: 20px;
}

.debug-status.active {
    color: #2e7d32;
    font-weight: 600;
}

.debug-status.inactive {
    color: #d32f2f;
}
