/**
 * Base Styles - Global Reset, Typography, and Animations
 * Foundation styles used across all pages
 */

/* 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;
}

/* 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;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

/* Refresh button styles */
.refresh-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.7;
    margin-left: 15px;
}

.refresh-btn:hover {
    opacity: 1;
    background: rgba(102, 126, 234, 0.1);
    transform: rotate(180deg);
}

.refresh-btn:active {
    transform: rotate(180deg) scale(0.95);
}

.refresh-btn.refreshing {
    animation: spin 1s linear infinite;
    opacity: 0.5;
    pointer-events: none;
}

/* Last refresh timestamp */
.last-refresh {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
    opacity: 0;
    animation: fadeIn 0.3s ease-out 0.2s forwards;
}

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

/* 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 slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

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

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

/* Utility Classes */
.section-hidden {
    display: none;
}

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

.loading {
    opacity: 0.7;
    pointer-events: none;
}

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

.bio-value {
    max-width: 400px;
    display: inline-block;
    white-space: pre-line;
}
/**
 * Layout Styles - Structural Components
 * Containers, Topbar, Navigation, and Main Layout
 */

/* 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;
}

.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;
}

.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;
}

/* 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;
}

/* 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;
}

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

.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-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.link-text {
    font-family: monospace;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    word-break: break-all;
    border: 1px solid #ddd;
}

.credentials {
    margin-top: 20px;
    text-align: left;
}

.credential-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.credential-label {
    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;
}

/* 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-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,
#profile-link {
    flex: 1;
    background: none;
    border: none;
    font-family: monospace;
    font-size: 0.9rem;
    color: #495057;
    margin-right: 10px;
    outline: none;
    cursor: pointer;
}

.copy-btn {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background: #5a6fd8;
}

.copy-btn.copied {
    background: #28a745;
}

.referral-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #495057;
    margin: 0 0 8px 0;
}

.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-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    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);
}

/* Champion Info Section */
.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 {
    font-size: 1.3rem;
    color: #667eea;
    font-weight: 700;
}

/* Upload Form Layout */
.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;
}

/* Next Steps Section */
.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;
}

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

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

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

/* Page Headers */
.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;
    letter-spacing: -0.5px;
}

.page-subtitle {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.note-spaced {
    margin-top: 30px;
}
/**
 * Component Styles - Reusable UI Components
 * Buttons, Forms, Cards, Modals, and other components
 */

/* 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;
}

/* 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;
}

.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;
}

.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;
}

.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;
}

/* Card Styles */
.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-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.4), transparent);
    transition: left 0.5s;
}

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

.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);
}

/* File Upload Styles */
.file-upload-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px dashed #e0e6ed;
    border-radius: 12px;
    background: #fafbfc;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
}

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

.file-upload-container.has-file {
    border-color: #27ae60;
    background: #f1f8f1;
}

.file-upload-container.has-file:before {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 15px;
    background: #27ae60;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

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

.file-info p {
    margin: 0 0 5px 0;
    color: #555;
}

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

/* Media Components */
.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;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

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

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

/* Modal Styles */
.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;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.media-modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.media-modal-close {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1001;
}

.media-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Animation for modal open */
.media-modal.modal-open {
    animation: modalFadeIn 0.3s ease-out;
}

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

.media-modal.modal-open .media-modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

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

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

/* 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;
}

.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;
}

/* Progress Components */
.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;
}

/* Status Components */
.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;
}

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

/* Form Section Progress */
.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;
}

.form-section.completed {
    border-left: 4px solid #27ae60;
}

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

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

/* Debug Components */
.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;
}
/**
 * Page-Specific Styles
 * Styles for specific page types and functionality
 */

/* 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;
}

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

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

/* Request Cards */
.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;
}

.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 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.response-form textarea {
    min-height: 80px;
    padding: 12px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
}

.response-form textarea:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.response-upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.response-upload-area:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.response-upload-area.has-file {
    border-color: #27ae60;
    background: rgba(39, 174, 96, 0.05);
}

.response-submit-btn {
    padding: 12px 24px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

/* No Requests State */
.no-requests {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

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

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

/* Request Details and Preview */
.request-details,
.request-preview {
    padding: 20px;
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    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;
}

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

/* Media Carousel - Modern TikTok-style */
.media-carousel {
    position: relative;
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    padding: 0 50px; /* Space for navigation buttons */
}

.carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer/Edge */
}

.carousel-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.carousel-item {
    flex: 0 0 auto;
    width: 160px;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.carousel-item img,
.carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.carousel-item video {
    pointer-events: none; /* Prevent video controls in carousel */
}

/* Media overlay for videos */
.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    pointer-events: none;
}

/* Play button for videos */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.play-button:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Media category tag */
.media-category {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    backdrop-filter: blur(4px);
}

.media-title {
    color: white;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    max-height: 32px;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* Missing CSS Classes - Added during audit */

/* Page body classes */
.admin-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.dashboard-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.registration-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.fan-requests-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.success-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Button classes */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Credential components */
.credential-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.credential-item:last-child {
    border-bottom: none;
}

.credentials-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.credentials-title {
    color: #495057;
    font-size: 18px;
    margin-bottom: 15px;
}

/* Carousel components */
.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

/* Champion specific */
.champion-bio {
    color: #666;
    line-height: 1.6;
    margin: 15px 0;
}

.champion-response {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.champion-sport {
    color: #667eea;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Fan components */
.fan-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

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

/* File upload components */
.file-upload-icon {
    margin-right: 8px;
    font-size: 18px;
}

.file-upload-input {
    display: none;
}

.file-upload-label {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Form extensions */
.full-width {
    grid-column: 1 / -1;
}

.highlight {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* Media components */
.media-carousel-section {
    margin: 20px 0;
}

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

.media-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

/* Navigation states */
.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

/* Request components */
.no-requests-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.pending-response {
    color: #f39c12;
    font-weight: 600;
}

.referral-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

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

.request-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.request-id {
    font-family: 'Courier New', monospace;
    color: #666;
    font-size: 12px;
}

.submit-response-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-response-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* Success components */
.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
    text-align: center;
}

/* Checkmark animation */
.checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #28a745;
    stroke-miterlimit: 10;
    margin: 10px auto;
    box-shadow: inset 0px 0px 0px #28a745;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #28a745;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-kick {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.checkmark-stem {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

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

/**
 * Admin Dashboard Styles
 * Specific styles for admin dashboard functionality
 */

/* Admin Body */
body.admin-page {
    color: #222;
}

/* Admin Table 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;
}

/* Admin Action Buttons */
.admin-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);
}

/* Danger Card Styles */
.danger-card {
    border: 2px solid #ef4444 !important;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
    position: relative;
    overflow: hidden;
}

.danger-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ef4444, transparent);
    animation: dangerScan 3s infinite;
}

.danger-card:hover::before {
    animation-duration: 1s;
}

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

.danger-card .earnings-icon {
    color: #dc2626;
}

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

.form-group {
    margin-bottom: 15px;
}

.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: dangerPulse 2s 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 #f87171;
}

/* Wipe options styling */
.wipe-options {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.wipe-option-item {
    margin-bottom: 8px;
    padding: 8px 12px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.wipe-option-item:last-child {
    margin-bottom: 0;
}

.wipe-option-item strong {
    color: #dc2626;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: rgba(220, 38, 38, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Responsive carousel adjustments */
@media (max-width: 768px) {
    .carousel-container {
        padding: 0 30px; /* Smaller padding on mobile */
    }
    
    .carousel-item {
        width: 140px;
        height: 240px;
    }
    
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .media-category {
        font-size: 8px;
        padding: 3px 6px;
    }
    
    .media-title {
        font-size: 11px;
    }
    
    .play-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        width: 120px;
        height: 200px;
    }
    
    .carousel-track {
        gap: 12px;
    }
}

/* Enhanced media category colors */
.media-category.video {
    background: rgba(255, 59, 48, 0.9);
    color: white;
}

.media-category.photo {
    background: rgba(52, 199, 89, 0.9);
    color: white;
}

.media-category.joke {
    background: rgba(255, 204, 0, 0.9);
    color: #333;
}

.media-category.other {
    background: rgba(88, 86, 214, 0.9);
    color: white;
}

.media-category.pep-talk {
    background: rgba(255, 149, 0, 0.9);
    color: white;
}

/* Loading state for carousel items */
.carousel-item.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Hover effects for better interactivity */
.carousel-item:hover .media-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
}

.carousel-item:hover .play-button {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Smooth carousel track scrolling */
.carousel-track {
    scroll-snap-type: x mandatory;
}

.carousel-item {
    scroll-snap-align: start;
}

/* Fix for image loading and display issues */
.carousel-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.carousel-item img {
    background: white;
    transition: opacity 0.3s ease;
}

.carousel-item img[src=""],
.carousel-item img:not([src]) {
    opacity: 0;
}

.carousel-item video {
    background: #f8f9fa;
}

/* Prevent any black backgrounds during loading */
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    z-index: -1;
}
