/* ========================================
   RETOLAND - DISEÑO EXACTO TIPO TIKTOK
   Replicando project-bolt-sb1-luhcym9h
   ======================================== */

/* Import Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: white;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   FEED CONTAINER - Scroll Vertical
   ======================================== */
.feed-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar */
.feed-container::-webkit-scrollbar {
    display: none;
}

.feed-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ========================================
   VIDEO CARD - Fullscreen TikTok Style
   ======================================== */
.video-card {
    position: relative;
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.video-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.video-background.gradient-bg {
    background: linear-gradient(135deg, #111827 0%, #581c87 50%, #000000 100%);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 30%, rgba(0, 0, 0, 0.6) 100%);
}

.video-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    padding-bottom: 7rem;
}

/* ========================================
   FIRST SCREEN - Splash
   ======================================== */
.global-stats {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 2rem;
    margin: 0;
    width: 100%;
    background: linear-gradient(90deg, 
        rgba(234, 179, 8, 0.2) 0%,
        rgba(249, 115, 22, 0.2) 50%,
        rgba(239, 68, 68, 0.2) 100%
    );
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(234, 179, 8, 0.3);
    border-bottom: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 0;
    box-sizing: border-box;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    white-space: nowrap;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.stat-icon-svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2.5;
}

.stat-icon-dollar {
    color: #facc15;
    stroke: #facc15;
}

.stat-icon-users {
    color: #22d3ee;
    stroke: #22d3ee;
}

.stat-icon-trophy {
    color: #f472b6;
    stroke: #f472b6;
}

/* Forzar iconos SVG en global stats con colores específicos */
.stat-icon-dollar svg,
.stat-icon-dollar svg path,
.stat-icon-dollar svg line,
.stat-icon-dollar svg circle {
    color: #facc15 !important;
    stroke: #facc15 !important;
    fill: none !important;
}

.stat-icon-users svg,
.stat-icon-users svg path,
.stat-icon-users svg line,
.stat-icon-users svg circle {
    color: #22d3ee !important;
    stroke: #22d3ee !important;
    fill: none !important;
}

.stat-icon-trophy svg,
.stat-icon-trophy svg path,
.stat-icon-trophy svg line,
.stat-icon-trophy svg circle {
    color: #f472b6 !important;
    stroke: #f472b6 !important;
    fill: none !important;
}

.stat-label {
    font-size: 0.75rem;
    color: white;
    font-weight: 600;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.25px;
    line-height: 1;
}

.stat-separator {
    width: 1px;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    margin: 0 0.5rem;
}

/* Responsive para stats */
@media (max-width: 768px) {
    .global-stats {
        padding: 0.875rem 0.75rem;
        max-width: 100%;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stat-icon-svg {
        width: 0.875rem;
        height: 0.875rem;
    }
    
    .stat-separator {
        margin: 0 0.75rem;
        height: 2.5rem;
    }
    
    .stat-header {
        gap: 0.2rem;
    }
}

@media (max-width: 640px) {
    .global-stats {
        padding: 0.75rem 0.5rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .stat-value {
        font-size: 0.875rem;
    }
    
    .stat-icon-svg {
        width: 0.75rem;
        height: 0.75rem;
    }
    
    .stat-separator {
        margin: 0 0.5rem;
        height: 2.25rem;
    }
}

@media (max-width: 480px) {
    .global-stats {
        padding: 0.625rem 0.375rem;
    }
    
    .stat-label {
        font-size: 0.55rem;
    }
    
    .stat-value {
        font-size: 0.75rem;
    }
    
    .stat-icon-svg {
        width: 0.65rem;
        height: 0.65rem;
    }
    
    .stat-separator {
        margin: 0 0.375rem;
        height: 2rem;
    }
}

/* User Auth Section */
.user-auth-section {
    display: flex;
    justify-content: flex-end;
    margin: 0.25rem 0;
    padding: 0 1.5rem;
}

/* Auth Prompt Card (No autenticado) */
.auth-prompt-card {
    width: auto;
    max-width: 24rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.auth-prompt-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.auth-prompt-icon {
    width: 2rem;
    height: 2rem;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.auth-prompt-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.auth-prompt-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.auth-prompt-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.auth-prompt-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(90deg, #ec4899 0%, #ef4444 50%, #f97316 100%);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-weight: 700;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 250ms;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
    white-space: nowrap;
}

.auth-prompt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.6);
}

.auth-prompt-btn svg {
    width: 1rem;
    height: 1rem;
}

/* User Profile Pill (Autenticado) */
.user-profile-pill {
    width: auto;
    max-width: none;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 250ms;
}

.user-profile-pill:hover {
    background: rgba(17, 24, 39, 0.95);
    border-color: rgba(255, 255, 255, 0.15);
}

.user-profile-avatar-wrapper {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-profile-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
    flex: 1;
}

.user-profile-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-profile-handle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.user-profile-logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 250ms;
    color: white;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Admin Menu Styles */
.admin-menu {
    position: relative;
    display: inline-block;
    z-index: 100000;
}
.user-profile-pill {
    position: relative;
    z-index: 100000;
}

.user-auth-section {
    overflow: visible;
}

.hashtag-badge-full {
    position: relative;
    z-index: 1;
}


.admin-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(249, 115, 22, 0.2));
    border: 1px solid rgba(236, 72, 153, 0.3);
    color: #ec4899;
    cursor: pointer;
    transition: all 250ms;
    font-size: 1rem;
}

.admin-menu-toggle:hover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(249, 115, 22, 0.3));
    border-color: rgba(236, 72, 153, 0.5);
    transform: scale(1.05);
}

.admin-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    min-width: 280px;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 250ms ease-out;
    z-index: 100000;
}

.admin-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.admin-dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ec4899;
    font-weight: 700;
    font-size: 0.875rem;
}

.admin-dropdown-content {
    padding: 0.5rem 0;
}

.admin-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 200ms;
    font-size: 0.875rem;
    font-weight: 500;
}

.admin-menu-item:hover {
    background: rgba(236, 72, 153, 0.1);
    color: white;
    padding-left: 1.5rem;
}

.admin-menu-item i {
    width: 1.25rem;
    height: 1.25rem;
    color: #ec4899;
}

.admin-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* Responsive Admin Menu */
@media (max-width: 768px) {
    .admin-dropdown {
        min-width: 260px;
        right: -1rem;
    }
    
    .admin-menu-item {
        padding: 0.875rem 1rem;
        font-size: 0.8rem;
    }
}

/* Admin Panel Styles */
.admin-content {
    padding: 2rem 1.5rem 8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.admin-section-header {
    margin-bottom: 2rem;
}

.admin-section-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ec4899, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.admin-section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Admin Header Actions */
.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.admin-refresh-btn,
.admin-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 250ms;
}

.admin-refresh-btn:hover,
.admin-logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Admin Stats Grid */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 250ms;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.admin-stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-users .admin-stat-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(34, 197, 94, 0.2));
    color: #10b981;
}

.stat-challenges .admin-stat-icon {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(249, 115, 22, 0.2));
    color: #ec4899;
}

.stat-revenue .admin-stat-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2));
    color: #22c55e;
}

.stat-participations .admin-stat-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    color: #3b82f6;
}

.admin-stat-content {
    flex: 1;
}

.admin-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.admin-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.admin-stat-change {
    font-size: 0.75rem;
    font-weight: 600;
    color: #22c55e;
}

/* Admin Charts */
.admin-charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-chart-card {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
}

.admin-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.admin-chart-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.admin-chart-period select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.5rem;
    color: white;
    font-size: 0.875rem;
}

.admin-chart-container {
    height: 300px;
    position: relative;
}

/* Admin Activity */
.admin-activity-card {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
}

.admin-activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.admin-activity-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.admin-activity-list {
    max-height: 400px;
    overflow-y: auto;
}

.admin-activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.admin-activity-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.admin-activity-content {
    flex: 1;
}

.admin-activity-text {
    color: white;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.admin-activity-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Admin Filters */
.admin-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.admin-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-filter-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
}

.admin-select,
.admin-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: white;
    font-size: 0.875rem;
    min-width: 150px;
}

.admin-select:focus,
.admin-input:focus {
    outline: none;
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.admin-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Admin Tables */
.admin-table-container {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table td {
    padding: 1rem;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.admin-table-title {
    font-weight: 600;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.admin-action-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 200ms;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.admin-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Admin Status Badges */
.admin-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.voting {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.closed-contest {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.closed-no-contest {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

/* Admin Role Badges */
.admin-role-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.admin-role {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.user-role {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Admin User Avatar */
.admin-user-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
}

/* Admin Pagination */
.admin-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.admin-pagination-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 200ms;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.admin-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.admin-pagination-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Admin Navigation Tabs */
.admin-nav-tabs {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
    z-index: 1000;
}

.admin-nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 200ms;
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.admin-nav-tab.active {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.1);
}

.admin-nav-tab i {
    width: 1.25rem;
    height: 1.25rem;
}

/* Admin Empty State */
.admin-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    font-style: italic;
}

.admin-loading {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 2rem;
}

/* Admin Buttons */
.admin-btn-primary,
.admin-btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 200ms;
    border: none;
}

.admin-btn-primary {
    background: linear-gradient(135deg, #ec4899, #f97316);
    color: white;
}

.admin-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
}

.admin-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Admin Panel */
@media (max-width: 768px) {
    .admin-content {
        padding: 1rem 1rem 8rem;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-charts-row {
        grid-template-columns: 1fr;
    }
    
    .admin-filters {
        flex-direction: column;
    }
    
    .admin-table-container {
        overflow-x: auto;
    }
    
    .admin-nav-tab span {
        display: none;
    }
    
    .admin-nav-tab {
        padding: 0.75rem;
    }
}

.user-profile-logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: scale(1.05);
}

.user-profile-logout-btn svg {
    width: 0.875rem;
    height: 0.875rem;
    stroke: currentColor;
    stroke-width: 2;
    flex-shrink: 0;
}

.user-profile-logout-btn span {
    white-space: nowrap;
}

.trending-hashtag {
    display: flex;
    justify-content: center;
    margin: 0.25rem 0 2rem 0;
    padding: 0 1.5rem;
}

.hashtag-badge-full {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(30, 58, 138, 0.3) 100%);
    backdrop-filter: blur(16px);
    border: 2px solid rgba(236, 72, 153, 0.5);
    border-radius: 1.5rem;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
    animation: pulse-glow 3s ease-in-out infinite;
    width: 100%;
    max-width: 100%;
}

.hashtag-badge-full:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(30, 58, 138, 0.4) 100%);
    border-color: rgba(236, 72, 153, 0.7);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 32px rgba(236, 72, 153, 0.5);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
    }
    50% {
        box-shadow: 0 8px 32px rgba(236, 72, 153, 0.6);
    }
}

/* Círculo con # */
.hashtag-icon-circle {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.hashtag-symbol {
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
}

/* Contenido del hashtag */
.hashtag-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trending-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.trending-arrow {
    color: #22c55e;
    font-size: 1rem;
    font-weight: 900;
}

.hashtag-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.hashtag-participants {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Icono de llama */
.fire-icon-badge {
    font-size: 2rem;
    animation: flicker 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

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

.hero-splash {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, #06b6d4, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
}

.hero-logo-img {
    max-width: 100%;
    width: auto;
    height: auto;
    min-height: 12rem;
    max-height: 16rem;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    padding-bottom: 2rem;
}

.scroll-arrow {
    margin-top: 0.5rem;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   VIDEO TOP INFO
   ======================================== */
.video-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    border-radius: 9999px;
}

.creator-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.creator-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
}

.category-badge {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gradient-pink {
    background: linear-gradient(135deg, #ef4444, #ec4899);
}

.gradient-orange {
    background: linear-gradient(135deg, #f97316, #eab308);
}

.gradient-green {
    background: linear-gradient(135deg, #22c55e, #10b981);
}

.gradient-yellow {
    background: linear-gradient(135deg, #eab308, #facc15);
}

.gradient-purple {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
}

.gradient-cyan {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

/* ========================================
   NEW VIDEO CARD LAYOUT (TikTok Style)
   ======================================== */
.video-content-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    padding-bottom: 7rem;
    box-sizing: border-box;
}

/* Top Header */
.video-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.creator-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 9999px;
}

.creator-avatar-sm {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid white;
}

.creator-name-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.category-badge-gradient {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Bottom Info Section */
.video-info-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding-right: 5.5rem;
    box-sizing: border-box;
}

.challenge-title-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.challenge-desc-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.hashtags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hashtag-item {
    color: #22d3ee;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Prize Info Compact - Horizontal Layout with Button */
.prize-info-compact {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: 1rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.prize-info-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 0 0 auto;
}

.prize-label-txt {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.prize-amount-txt {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.prize-participants-txt {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Join Button Gradient - Inside Badge */
.join-btn-gradient {
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #ec4899 0%, #ef4444 50%, #f97316 100%);
    border: none;
    border-radius: 9999px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.5);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.join-btn-gradient:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(236, 72, 153, 0.7);
}

.join-btn-gradient:active {
    transform: scale(0.98);
}

.join-text-main {
    font-size: 1.125rem;
    font-weight: 700;
}

.join-text-price {
    font-size: 0.75rem;
}

.deadline-block {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

/* Right Actions Column */
.video-actions-column {
    position: absolute;
    right: 1rem;
    top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.action-button-round {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
}

.action-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.action-icon-wrapper i {
    width: 1.75rem;
    height: 1.75rem;
    color: white !important;
    stroke: white !important;
    stroke-width: 2;
    fill: none;
}

.action-icon-wrapper svg {
    color: white !important;
    stroke: white !important;
    stroke-width: 2;
    fill: none;
}

.action-icon-wrapper svg path,
.action-icon-wrapper svg line,
.action-icon-wrapper svg circle,
.action-icon-wrapper svg rect {
    stroke: white !important;
    fill: none !important;
}

/* Forzar iconos blancos en botones de acción */
.action-button-round [data-lucide] {
    color: white !important;
    stroke: white !important;
    fill: none !important;
}

.action-button-round [data-lucide] svg {
    color: white !important;
    stroke: white !important;
    fill: none !important;
}

.action-button-round [data-lucide] svg path,
.action-button-round [data-lucide] svg line,
.action-button-round [data-lucide] svg circle,
.action-button-round [data-lucide] svg rect {
    stroke: white !important;
    fill: none !important;
}

.action-button-round:hover .action-icon-wrapper {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.action-count-number {
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.dollar-icon-spin {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #facc15, #f97316, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(252, 211, 77, 0.5);
    animation: spin 4s linear infinite;
}

.dollar-icon-spin i {
    width: 2rem;
    height: 2rem;
    color: white;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================
   VIDEO BOTTOM INFO
   ======================================== */
.video-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-info {
    margin-bottom: 0.5rem;
}

.video-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.video-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hashtag {
    color: #06b6d4;
    font-size: 0.75rem;
    font-weight: 700;
}

.prize-info {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    border-radius: 1.5rem;
    padding: 1rem 1.5rem;
}

.prize-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.prize-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.prize-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.prize-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.join-button {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ec4899 0%, #ef4444 50%, #f97316 100%);
    border: none;
    border-radius: 9999px;
    color: white;
    font-size: 1.125rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 20px 40px -10px rgba(236, 72, 153, 0.6);
    transition: transform 250ms;
    text-align: center;
}

.join-button:active {
    transform: scale(0.95);
}

.join-fee {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-weight: 600;
}

.deadline-info {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    border-radius: 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   SIDE ACTIONS - TikTok Style
   ======================================== */
.video-actions {
    position: absolute;
    right: 1rem;
    bottom: 8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 150ms;
}

.action-btn:active {
    transform: scale(0.9);
}

.action-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 250ms;
}

.action-icon i {
    color: white;
    width: 1.75rem;
    height: 1.75rem;
}

.action-btn.liked .action-icon {
    background: #ef4444;
}

.action-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    margin-top: 0.25rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.prize-spinner {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #facc15, #f97316, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.5);
    animation: spin 4s linear infinite;
}

.prize-spinner i {
    color: white;
    width: 2rem;
    height: 2rem;
}

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

/* ========================================
   SVG ICONS GLOBAL - Forzar blancos
   ======================================== */
[data-lucide] {
    stroke-width: 2;
}

/* ========================================
   BOTTOM NAVIGATION
   ======================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    padding: 0;
    max-width: 28rem;
    margin: 0 auto;
}

.bottom-nav-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 0.75rem 0.5rem;
    width: 100%;
}

.nav-item {
    display: flex;
        flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 250ms;
}

.nav-item i {
    width: 1.5rem;
    height: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 250ms;
}

/* Forzar iconos SVG blancos en nav-item */
.nav-item [data-lucide] {
    color: rgba(255, 255, 255, 0.5) !important;
    stroke: rgba(255, 255, 255, 0.5) !important;
    fill: none !important;
}

.nav-item svg {
    color: rgba(255, 255, 255, 0.5) !important;
    stroke: rgba(255, 255, 255, 0.5) !important;
    fill: none !important;
}

.nav-item svg path,
.nav-item svg line,
.nav-item svg circle,
.nav-item svg rect,
.nav-item svg polyline,
.nav-item svg polygon {
    stroke: rgba(255, 255, 255, 0.5) !important;
    fill: none !important;
}

.nav-item span {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    transition: color 250ms;
}

.nav-item.active i {
    color: white;
}

.nav-item.active [data-lucide] {
    color: white !important;
    stroke: white !important;
}

.nav-item.active svg {
    color: white !important;
    stroke: white !important;
}

.nav-item.active svg path,
.nav-item.active svg line,
.nav-item.active svg circle,
.nav-item.active svg rect,
.nav-item.active svg polyline,
.nav-item.active svg polygon {
    stroke: white !important;
}

.nav-item.active span {
    color: white;
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
}

.nav-create {
    position: relative;
}

.create-button {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899 0%, #ef4444 50%, #f97316 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.5);
    animation: spin-pulse 2s linear infinite;
}

.create-button i {
    color: white;
    width: 1.75rem;
    height: 1.75rem;
}

/* Forzar iconos SVG blancos en create-button */
.create-button [data-lucide] {
    color: white !important;
    stroke: white !important;
    fill: none !important;
}

.create-button svg {
    color: white !important;
    stroke: white !important;
    stroke-width: 2;
    fill: none !important;
}

.create-button svg path,
.create-button svg line,
.create-button svg circle,
.create-button svg rect {
    stroke: white !important;
    fill: none !important;
}

@keyframes spin-pulse {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.05);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* ========================================
   MODALS
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-card {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    width: 100%;
    max-width: 28rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 250ms;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-close i {
    color: white;
    width: 1.5rem;
    height: 1.5rem;
}

/* Forzar iconos SVG blancos en modal-close */
.modal-close [data-lucide] {
    color: white !important;
    stroke: white !important;
    fill: none !important;
}

.modal-close svg {
    color: white !important;
    stroke: white !important;
    stroke-width: 2;
    fill: none !important;
}

.modal-close svg path,
.modal-close svg line,
.modal-close svg circle,
.modal-close svg rect {
    stroke: white !important;
    fill: none !important;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ec4899, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-challenge-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.modal-challenge-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-prize,
.modal-entry {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
}

.prize-highlight {
    color: #22c55e;
    font-weight: 800;
    font-size: 1.125rem;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 250ms;
}

.btn-primary {
    background: linear-gradient(135deg, #ec4899, #ef4444, #f97316);
    color: white;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

.btn-primary:active {
    transform: scale(0.95);
}

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

.modal-share {
    max-width: 24rem;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 250ms;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.share-btn i {
    color: white;
    width: 2rem;
    height: 2rem;
}

/* Forzar iconos SVG blancos en share-btn */
.share-btn [data-lucide] {
    color: white !important;
    stroke: white !important;
    fill: none !important;
}

.share-btn svg {
    color: white !important;
    stroke: white !important;
    stroke-width: 2;
    fill: none !important;
}

.share-btn svg path,
.share-btn svg line,
.share-btn svg circle,
.share-btn svg rect {
    stroke: white !important;
    fill: none !important;
}

.share-btn span {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

/* Top Retos Modal - Diseño Original */
.modal-top-retos {
    max-width: 28rem;
    width: 100%;
    background: linear-gradient(135deg, #111827 0%, #7c2d12 50%, #991b1b 100%);
    border-radius: 1.5rem;
    border: 2px solid rgba(249, 115, 22, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    position: relative;
}

.modal-top-retos .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 200ms;
    z-index: 10;
}

.modal-top-retos .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-top-retos .modal-close i {
    color: white;
    width: 1.25rem;
    height: 1.25rem;
}

.modal-header-special {
    position: relative;
    padding: 1.5rem;
    padding-top: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header-special h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0;
}

.modal-header-special p {
    font-size: 0.875rem;
    color: rgba(251, 146, 60, 1);
    margin: 0;
    margin-top: 0.25rem;
}

.fire-icon-large {
    font-size: 2.5rem;
    animation: fireRotate 2s ease-in-out infinite;
}

@keyframes fireRotate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(10deg) scale(1.1); }
    50% { transform: rotate(0deg) scale(1); }
    75% { transform: rotate(-10deg) scale(1.1); }
}

.top-retos-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.top-reto-item {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 300ms;
    cursor: pointer;
}

.top-reto-item:hover {
    border-color: rgba(249, 115, 22, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.2);
}

.top-reto-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.top-reto-thumbnail {
    position: relative;
    width: 5rem;
    height: 5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #7c2d12, #991b1b);
    flex-shrink: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 5rem;
}

.top-reto-thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(239, 68, 68, 0.2));
    z-index: 1;
}

.top-reto-thumbnail-loading {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #7c2d12, #991b1b);
    z-index: 0;
    animation: thumbnailFadeIn 0.5s ease-in;
}

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

.top-reto-thumbnail img {
    display: none;
}

.top-reto-rank-badge {
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.875rem;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.top-reto-info {
    flex: 1;
    min-width: 0;
}

.top-reto-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.top-reto-category {
    background: linear-gradient(90deg, #ef4444, #ec4899);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.top-reto-trending-icon {
    width: 1rem;
    height: 1rem;
    color: #4ade80;
}

.top-reto-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-reto-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
}

.top-reto-prize-amount {
    color: #fbbf24;
    font-weight: 700;
}

.top-reto-participants {
    color: rgba(255, 255, 255, 0.7);
}

.top-reto-metrics {
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.2), rgba(239, 68, 68, 0.2));
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.top-retos-button {
    width: 100%;
    margin-top: 1rem;
    background: linear-gradient(90deg, #f97316, #ef4444, #ec4899);
    color: white;
    padding: 1rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 300ms;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.top-retos-button:hover {
    transform: scale(0.98);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.5);
}

.top-retos-button:active {
    transform: scale(0.96);
}

/* Scrollbar para modal */
.top-retos-list::-webkit-scrollbar {
    width: 6px;
}

.top-retos-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.top-retos-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.top-retos-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   EXPLORAR PAGE
   ======================================== */
.explorar-container {
    min-height: 100vh;
    background: #000000;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    padding-bottom: 5rem;
}

.explorar-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.explorar-search-container {
    position: relative;
    width: 100%;
}

.explorar-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
    stroke: rgba(255, 255, 255, 0.4);
}

.explorar-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 0.75rem 1rem 0.75rem 3rem;
    color: white;
    font-size: 0.875rem;
    outline: none;
    transition: all 250ms;
}

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

.explorar-search-input:focus {
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
}

.explorar-categories-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.explorar-categories-scroll::-webkit-scrollbar {
    height: 4px;
}

.explorar-categories-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.explorar-categories-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.explorar-category-btn {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 250ms;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.explorar-category-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.explorar-category-btn.active {
    background: linear-gradient(90deg, #ec4899 0%, #ef4444 50%, #f97316 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

.explorar-filters {
    display: flex;
    gap: 0.5rem;
}

.explorar-filter-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 250ms;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.explorar-filter-btn i {
    width: 1rem;
    height: 1rem;
    color: rgba(255, 255, 255, 0.7);
    stroke: rgba(255, 255, 255, 0.7);
}

.explorar-filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.explorar-filter-btn.active {
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.explorar-filter-btn.active[data-sort="popular"] {
    background: linear-gradient(90deg, #06b6d4 0%, #3b82f6 100%);
}

.explorar-filter-btn.active[data-sort="prize"] {
    background: linear-gradient(90deg, #eab308 0%, #f97316 100%);
}

.explorar-filter-btn.active[data-sort="recent"] {
    background: linear-gradient(90deg, #22c55e 0%, #10b981 100%);
}

.explorar-filter-btn.active i {
    color: white;
    stroke: white;
}

.explorar-content {
    padding: 1rem;
}

.explorar-header-text {
    margin-bottom: 1.5rem;
}

.explorar-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.explorar-count {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.explorar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

@media (min-width: 640px) {
    .explorar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .explorar-grid {
    grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.explorar-thumbnail {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 300ms;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.explorar-thumbnail:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.explorar-thumbnail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 350ms;
}

.explorar-thumbnail:hover .explorar-thumbnail-bg {
    transform: scale(1.1);
}

.explorar-thumbnail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
}

.explorar-thumbnail-category {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(90deg, #ef4444 0%, #ec4899 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
}

.explorar-thumbnail-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.explorar-thumbnail-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

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

.explorar-thumbnail-prize {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    color: #facc15;
}

.explorar-thumbnail-likes {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Iconos SVG blancos en explorar */
.explorar-filter-btn i,
.explorar-filter-btn svg,
.explorar-filter-btn svg path,
.explorar-filter-btn svg line,
.explorar-filter-btn svg circle {
    stroke: rgba(255, 255, 255, 0.7) !important;
    fill: none !important;
}

.explorar-filter-btn.active i,
.explorar-filter-btn.active svg,
.explorar-filter-btn.active svg path,
.explorar-filter-btn.active svg line,
.explorar-filter-btn.active svg circle {
    stroke: white !important;
}

.explorar-search-icon svg,
.explorar-search-icon svg path,
.explorar-search-icon svg line,
.explorar-search-icon svg circle {
    stroke: rgba(255, 255, 255, 0.4) !important;
    fill: none !important;
}

/* ========================================
   AUTH PAGES (LOGIN/REGISTER)
   ======================================== */
body.auth-body {
    overflow: auto;
    overflow-x: hidden;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #111827 0%, #1e1b4b 50%, #0f172a 100%);
    z-index: 1;
}

.auth-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.auth-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 28rem;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.auth-logo {
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.auth-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 5rem;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.auth-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ec4899 0%, #ef4444 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.auth-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: #fca5a5;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-success {
    background: rgba(22, 163, 74, 0.2);
    border: 1px solid rgba(22, 163, 74, 0.5);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: #86efac;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 1.5rem;
    animation: slideIn 0.3s ease-out;
}

.auth-success strong {
    color: #4ade80;
    font-weight: 600;
}

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

.auth-btn-tiktok {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #000000;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 250ms;
    margin-bottom: 1.5rem;
}

.auth-btn-tiktok:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.auth-btn-tiktok svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.auth-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    white-space: nowrap;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    color: rgba(255, 255, 255, 0.5);
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 2;
    fill: none;
    pointer-events: none;
    z-index: 1;
}

.auth-input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    transition: all 250ms;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

.auth-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
}

.auth-input-icon {
    transition: all 250ms;
}

.auth-input-group:has(.auth-input:focus) .auth-input-icon,
.auth-input-group:has(.auth-input:not(:placeholder-shown)) .auth-input-icon {
    color: rgba(236, 72, 153, 0.8);
    stroke: rgba(236, 72, 153, 0.8);
}

.auth-btn-primary {
    width: 100%;
    padding: 1.125rem 1.5rem;
    background: linear-gradient(90deg, #ec4899 0%, #ef4444 50%, #f97316 100%);
    border: none;
    border-radius: 1rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 250ms;
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
    margin-top: 0.5rem;
}

.auth-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(236, 72, 153, 0.6);
}

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

.auth-btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: white;
    stroke-width: 2.5;
    fill: none;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-footer-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.auth-link {
    color: rgba(236, 72, 153, 1);
    font-weight: 600;
    text-decoration: none;
    transition: color 250ms;
}

.auth-link:hover {
    color: rgba(236, 72, 153, 0.8);
    text-decoration: underline;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 250ms;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.auth-back-link:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.auth-back-icon {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Forzar iconos SVG blancos en auth */
.auth-input-icon svg,
.auth-input-icon svg path,
.auth-input-icon svg line,
.auth-input-icon svg circle {
    stroke: rgba(255, 255, 255, 0.5) !important;
    fill: none !important;
}

.auth-input-group:has(.auth-input:focus) .auth-input-icon svg,
.auth-input-group:has(.auth-input:not(:placeholder-shown)) .auth-input-icon svg,
.auth-input-group:has(.auth-input:focus) .auth-input-icon svg path,
.auth-input-group:has(.auth-input:not(:placeholder-shown)) .auth-input-icon svg path {
    stroke: rgba(236, 72, 153, 0.8) !important;
}

/* ========================================
   PROFILE PAGE
   ======================================== */
body.profile-body {
    overflow: auto;
    overflow-x: hidden;
    background: #000000;
    min-height: 100vh;
    padding-bottom: 5rem;
}

/* Admin body con fondo oscuro tipo TikTok */
body.admin-body {
    background: #000000;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.profile-container {
    position: relative;
    min-height: 100vh;
}

.profile-header-gradient {
    height: 10rem;
    width: 100%;
    background: linear-gradient(90deg, #ec4899 0%, #8b5cf6 50%, #06b6d4 100%);
}

.profile-card {
    position: absolute;
    top: 6rem;
    left: 0;
    right: 0;
    margin: 0 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.profile-header-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.profile-info-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 1rem;
    border: 4px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.profile-status-badge {
    position: absolute;
    bottom: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: 4px solid white;
}

.profile-text-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.profile-handle {
    font-size: 1rem;
    font-weight: 600;
    color: #22d3ee;
}

.profile-bio {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

.profile-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 250ms;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.profile-logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-1px);
}

.profile-logout-btn i,
.profile-logout-btn svg {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-width: 2;
    flex-shrink: 0;
}

.profile-settings-btn {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 250ms;
    flex-shrink: 0;
}

.profile-settings-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.profile-settings-btn i {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
    stroke: white;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.profile-stat-card {
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid transparent;
}

.profile-stat-card.stat-earnings {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(249, 115, 22, 0.2) 100%);
    border-color: rgba(234, 179, 8, 0.3);
}

.profile-stat-card.stat-created {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(239, 68, 68, 0.2) 100%);
    border-color: rgba(236, 72, 153, 0.3);
}

.profile-stat-card.stat-participated {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border-color: rgba(6, 182, 212, 0.3);
}

.profile-stat-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-earnings .profile-stat-icon {
    color: #facc15;
    stroke: #facc15;
}

.stat-created .profile-stat-icon {
    color: #ec4899;
    stroke: #ec4899;
}

.stat-participated .profile-stat-icon {
    color: #22d3ee;
    stroke: #22d3ee;
}

.profile-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.profile-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.profile-content {
    margin-top: 24rem;
    padding: 0 1.5rem 2rem;
}

.profile-balance-card {
    background: linear-gradient(90deg, rgba(22, 163, 74, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(22, 163, 74, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-balance-info {
    flex: 1;
}

.profile-balance-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.profile-balance-amount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.profile-balance-icon {
    width: 2rem;
    height: 2rem;
    color: #22c55e;
    stroke: #22c55e;
}

.profile-withdraw-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    border: none;
    border-radius: 9999px;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
    transition: all 250ms;
}

.profile-withdraw-btn:hover {
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.6);
    transform: translateY(-2px);
}

.profile-withdraw-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: white;
}

.profile-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.profile-tabs::-webkit-scrollbar {
    height: 4px;
}

.profile-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.profile-tabs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.profile-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 250ms;
    white-space: nowrap;
}

.profile-tab:hover {
    background: rgba(255, 255, 255, 0.2);
}

.profile-tab.active {
    background: linear-gradient(90deg, #ec4899 0%, #ef4444 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

.profile-tab-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
}

.profile-tab.active .profile-tab-count {
    background: rgba(255, 255, 255, 0.3);
}

.profile-retos-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-reto-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 250ms;
}

.profile-reto-card:hover {
    border-color: rgba(236, 72, 153, 0.5);
    transform: translateX(4px);
}

.profile-reto-thumbnail {
    width: 6rem;
    height: 6rem;
    border-radius: 0.75rem;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.profile-reto-content {
    flex: 1;
    min-width: 0;
}

.profile-reto-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.profile-reto-category {
    background: linear-gradient(90deg, #ef4444 0%, #ec4899 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
}

.profile-reto-winner-badge {
    background: linear-gradient(90deg, #eab308 0%, #f97316 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.profile-reto-winner-badge i {
    width: 0.75rem;
    height: 0.75rem;
    stroke: white;
}

.profile-reto-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-reto-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.profile-reto-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.profile-reto-meta-item i {
    width: 0.75rem;
    height: 0.75rem;
    stroke: currentColor;
}

.profile-reto-meta-item:first-child {
    color: #facc15;
    font-weight: 700;
}

.profile-reto-arrow {
    width: 1.25rem;
    height: 1.25rem;
    color: rgba(255, 255, 255, 0.5);
    stroke: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.profile-loading,
.profile-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.profile-empty-text {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.profile-create-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(90deg, #ec4899 0%, #ef4444 100%);
    border: none;
    border-radius: 9999px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 250ms;
}

.profile-create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

/* Forzar iconos SVG en profile */
.profile-settings-btn svg,
.profile-stat-icon svg,
.profile-balance-icon svg,
.profile-withdraw-icon svg,
.profile-reto-winner-badge svg,
.profile-reto-meta-item svg,
.profile-reto-arrow svg {
    stroke: currentColor !important;
    fill: none !important;
}

/* ========================================
   PROFILE SETTINGS MODAL
   ======================================== */
.profile-settings-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.profile-settings-modal-card {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    width: 100%;
    max-width: 32rem;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

.profile-settings-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ec4899, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-settings-modal-close {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 250ms;
}

.profile-settings-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.profile-settings-modal-close i {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
    stroke: white;
}

.profile-settings-modal-content {
    padding: 1.5rem;
}

.profile-settings-section {
    margin-bottom: 2rem;
}

.profile-settings-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-settings-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.profile-settings-label i {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    fill: none;
}

.profile-settings-avatar-upload {
    display: flex;
        flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile-settings-avatar-preview-wrapper {
    position: relative;
    width: 8rem;
    height: 8rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 250ms;
}

.profile-settings-avatar-preview-wrapper:hover {
    border-color: rgba(236, 72, 153, 0.5);
    transform: scale(1.05);
}

.profile-settings-avatar-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-settings-avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 250ms;
}

.profile-settings-avatar-preview-wrapper:hover .profile-settings-avatar-overlay {
    opacity: 1;
}

.profile-settings-avatar-icon {
    width: 2rem;
    height: 2rem;
    color: white;
    stroke: white;
}

.profile-settings-avatar-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 250ms;
}

.profile-settings-avatar-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(236, 72, 153, 0.5);
}

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

.profile-settings-input,
.profile-settings-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: 0.75rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    transition: all 250ms;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.profile-settings-textarea {
    resize: vertical;
    min-height: 5rem;
}

.profile-settings-input::placeholder,
.profile-settings-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.profile-settings-input:focus,
.profile-settings-textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
}

.profile-settings-input:disabled,
.profile-settings-input[readonly] {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    opacity: 0.7;
}

.profile-settings-input:disabled:focus,
.profile-settings-input[readonly]:focus {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.profile-settings-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: #fca5a5;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 1rem;
}

.profile-settings-success {
    background: rgba(22, 163, 74, 0.2);
    border: 1px solid rgba(22, 163, 74, 0.5);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: #86efac;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 1rem;
}

.profile-settings-modal-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-settings-btn-cancel,
.profile-settings-btn-save {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 250ms;
    border: none;
}

.profile-settings-btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.profile-settings-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
}

.profile-settings-btn-save {
    background: linear-gradient(90deg, #ec4899 0%, #ef4444 50%, #f97316 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

.profile-settings-btn-save:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.6);
}

.profile-settings-btn-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Forzar iconos SVG en modal settings */
.profile-settings-modal-close svg,
.profile-settings-avatar-icon svg {
    stroke: white !important;
    fill: none !important;
}

/* ========================================
   CHALLENGE DETAIL PAGE
   ======================================== */
body.challenge-detail-body {
    background: #000000;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 5rem;
}

.challenge-detail-container {
    max-width: 48rem;
    margin: 0 auto;
    padding: 1rem;
    padding-bottom: 7rem;
}

.challenge-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.challenge-back-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 250ms;
    color: white;
}

.challenge-back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.challenge-header-logo {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
}

.challenge-header-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    flex: 1;
    text-align: center;
}

.challenge-header-balance {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 9999px;
    color: #4ade80;
    font-weight: 700;
    font-size: 0.875rem;
}

.challenge-detail-card {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.challenge-detail-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.challenge-detail-title {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ec4899, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.challenge-detail-creator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.challenge-detail-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.challenge-detail-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.challenge-section-subtitle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.challenge-description-text,
.challenge-rules-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    white-space: pre-wrap;
}

.challenge-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.challenge-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 250ms;
}

.challenge-stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.challenge-stat-card.stat-prize {
    border-color: rgba(234, 179, 8, 0.3);
}

.challenge-stat-card.stat-fee {
    border-color: rgba(59, 130, 246, 0.3);
}

.challenge-stat-card.stat-participants {
    border-color: rgba(236, 72, 153, 0.3);
}

.challenge-stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.challenge-stat-icon i {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.challenge-stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.challenge-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.challenge-stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.challenge-action-section {
    margin-top: 1rem;
}

.challenge-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(90deg, #ec4899 0%, #ef4444 50%, #f97316 100%);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 250ms;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

.challenge-join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.6);
}

.challenge-participating-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 0.75rem;
    color: #22c55e;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.2);
}

.challenge-participating-badge i {
    width: 1.5rem;
    height: 1.5rem;
    stroke: #22c55e;
    fill: none;
}

.challenge-participations-section {
    margin-top: 2rem;
}

.challenge-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.challenge-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.challenge-section-count {
    padding: 0.25rem 0.75rem;
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 9999px;
    color: #f472b6;
    font-weight: 700;
    font-size: 0.875rem;
}

.challenge-participations-grid {
    display: grid;
    gap: 1rem;
}

.participation-card {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.25rem;
    transition: all 250ms;
}

.participation-card:hover {
    background: rgba(17, 24, 39, 1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.participation-card.rank-first {
    border-color: rgba(234, 179, 8, 0.5);
    background: rgba(234, 179, 8, 0.05);
}

.participation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.participation-rank {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.rank-number {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.participation-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 600;
}

.participation-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.participation-video-link {
    width: 100%;
}

.participation-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 250ms;
}

.participation-link-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(236, 72, 153, 0.5);
}

.participation-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.participation-metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
}

.participation-metric-item i {
    width: 1rem;
    height: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.participation-metric-item.metric-likes i {
    color: #ef4444;
}

.participation-metric-item.metric-views i {
    color: #3b82f6;
}

.participation-metric-item.metric-shares i {
    color: #10b981;
}

.participation-metric-item.metric-comments i {
    color: #f59e0b;
}

.participation-metric-item span {
    font-weight: 700;
    font-size: 0.875rem;
}

.challenge-loading,
.challenge-empty-state,
.challenge-error {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #ec4899;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.challenge-empty-state i {
    width: 3rem;
    height: 3rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.challenge-empty-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
}

.challenge-error {
    color: #ef4444;
}

/* Forzar iconos SVG en challenge detail */
.challenge-header svg,
.challenge-back-btn svg,
.challenge-detail-creator svg,
.challenge-section-subtitle svg,
.challenge-stat-icon svg,
.challenge-join-btn svg,
.challenge-section-title svg,
.participation-user svg,
.participation-link-btn svg,
.participation-metric-item svg {
    stroke: currentColor !important;
    fill: none !important;
}

/* ========================================
   CREATE PAGE
   ======================================== */
body.create-body {
    background: #000000;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 5rem;
}

.create-container {
    max-width: 48rem;
    margin: 0 auto;
    padding: 1rem;
    padding-bottom: 7rem;
}

.create-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.create-back-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 250ms;
    color: white;
}

.create-back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.create-header-logo {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
}

.header-logo-small {
    height: 1.75rem;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.create-header-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    flex: 1;
    text-align: center;
}

.create-header-balance {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 9999px;
    color: #4ade80;
    font-weight: 700;
    font-size: 0.875rem;
}

.create-limits-card {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.create-limits-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.create-limits-header i {
    width: 1.25rem;
    height: 1.25rem;
    color: #f97316;
}

.create-limits-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.create-limits-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.create-limit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.create-limit-label {
    color: rgba(255, 255, 255, 0.7);
}

.create-limit-value {
    font-weight: 700;
}

.create-form-card {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.create-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.create-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.create-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.create-label i {
    width: 1rem;
    height: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.create-input,
.create-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: 0.75rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    transition: all 250ms;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}


.create-textarea {
    resize: vertical;
    min-height: 6rem;
}

.create-select {
    width: 100%;
    padding: 0.875rem 1rem;
    padding-right: 3rem;
    background: rgba(17, 24, 39, 0.95) !important;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: white !important;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    transition: all 250ms;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.create-select option {
    background-color: rgba(17, 24, 39, 1) !important;
    color: white !important;
    padding: 0.75rem 1rem;
}

.create-select option:first-child {
    color: rgba(255, 255, 255, 0.5) !important;
}

.create-select option:not(:first-child) {
    background-color: rgba(17, 24, 39, 1) !important;
    color: white !important;
}

.create-select option:checked,
.create-select option:hover {
    background-color: rgba(236, 72, 153, 0.3) !important;
    color: white !important;
}

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

.create-input:focus,
.create-textarea:focus,
.create-select:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
    color: white !important;
}

.create-select option:checked {
    background-color: rgba(236, 72, 153, 0.3);
}

.create-select option:hover {
    background-color: rgba(236, 72, 153, 0.2);
}

.create-info-box {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 0.75rem;
}

.create-info-box i {
    width: 1.5rem;
    height: 1.5rem;
    color: #f472b6;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.create-info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.create-info-content strong {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
}

.create-info-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
    line-height: 1.5;
    margin: 0;
}

.create-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(90deg, #ec4899 0%, #ef4444 50%, #f97316 100%);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 250ms;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
    margin-top: 0.5rem;
}

.create-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.6);
}

.create-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.create-error-msg {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: #fca5a5;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 1rem;
}

.create-success-msg {
    background: rgba(22, 163, 74, 0.2);
    border: 1px solid rgba(22, 163, 74, 0.5);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: #86efac;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* Modal de Mensajes para Create */
.create-message-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.create-message-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.create-message-modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 28rem;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-1rem) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.create-message-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 250ms;
    color: rgba(255, 255, 255, 0.7);
}

.create-message-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

.create-message-modal-close svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    stroke-width: 2;
}

.create-message-modal-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.create-message-modal-icon i,
.create-message-modal-icon svg {
    width: 4rem;
    height: 4rem;
    stroke-width: 2;
}

.create-message-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.create-message-modal.success .create-message-modal-title {
    color: #22c55e;
}

.create-message-modal.error .create-message-modal-title {
    color: #ef4444;
}

.create-message-modal-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.create-message-modal-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(90deg, #ec4899 0%, #ef4444 50%, #f97316 100%);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 250ms;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

.create-message-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.6);
}

.create-message-modal.success .create-message-modal-btn {
    background: linear-gradient(90deg, #22c55e 0%, #10b981 100%);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.create-message-modal.success .create-message-modal-btn:hover {
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.6);
}

.create-message-modal.error .create-message-modal-btn {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.create-message-modal.error .create-message-modal-btn:hover {
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.6);
}

/* Forzar iconos SVG en create page */
.create-header svg,
.create-back-btn svg,
.create-header-balance svg,
.create-limits-header svg,
.create-label svg,
.create-info-box svg,
.create-submit-btn svg {
    stroke: currentColor !important;
    fill: none !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-logo-img {
        min-height: 10rem;
        max-height: 14rem;
    }
    
    .video-actions {
        gap: 1rem;
    }
    
    .action-icon {
        width: 3rem;
        height: 3rem;
    }
    
    /* Auth responsive */
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
    }
    
    .auth-title {
        font-size: 2rem;
    }
    
    .auth-subtitle {
        font-size: 0.875rem;
    }
    
    .auth-logo-img {
        max-height: 4rem;
    }

    /* User Auth Section Responsive */
    .auth-prompt-card {
        flex-direction: column;
        padding: 1rem;
        gap: 0.75rem;
    }

    .auth-prompt-content {
        width: 100%;
    }

    .auth-prompt-btn {
        width: 100%;
        justify-content: center;
    }

    .user-profile-pill {
        padding: 0.625rem 1rem;
    }

    .user-profile-name {
        font-size: 0.875rem;
    }

    .user-profile-handle {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-logo-img {
        min-height: 8rem;
        max-height: 12rem;
    }
    
    .auth-logo-img {
        max-height: 3.5rem;
    }
}

/* ========================================
   PAYMENT PAGE
   ======================================== */
.payment-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.payment-loading {
    text-align: center;
    padding: 2rem 0;
}

.loading-spinner-large {
    width: 4rem;
    height: 4rem;
    border: 4px solid rgba(236, 72, 153, 0.2);
    border-top-color: #ec4899;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.payment-error {
    text-align: center;
}

.payment-error .auth-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.75rem;
    color: #ef4444;
}

.payment-error .auth-error i {
    width: 1.5rem;
    height: 1.5rem;
    stroke: #ef4444;
}

/* ========================================
   WINNERS PAGE
   ======================================== */
.winners-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.winner-challenge-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 250ms;
}

.winner-challenge-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.winner-challenge-header {
    margin-bottom: 1.5rem;
}

.winner-challenge-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ec4899, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.winner-challenge-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.winner-challenge-creator,
.winner-challenge-participants {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.winner-challenge-creator i,
.winner-challenge-participants i {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    fill: none;
}

.winner-podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: flex-end;
}

.winner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.winner-item.winner-2 {
    order: 1;
}

.winner-item.winner-1 {
    order: 2;
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(249, 115, 22, 0.2) 100%);
    border-color: rgba(234, 179, 8, 0.3);
}

.winner-item.winner-3 {
    order: 3;
}

.winner-medal {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.winner-avatar-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.winner-item.winner-1 .winner-avatar-wrapper {
    width: 5rem;
    height: 5rem;
    border-color: rgba(234, 179, 8, 0.5);
}

.winner-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-info {
    width: 100%;
}

.winner-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.winner-likes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.winner-likes i {
    width: 0.875rem;
    height: 0.875rem;
    stroke: #ef4444;
    fill: #ef4444;
}

.winner-prize {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #22c55e;
    margin-top: 0.5rem;
}

.winner-prize i {
    width: 1rem;
    height: 1rem;
    stroke: #22c55e;
    fill: none;
}

@media (max-width: 768px) {
    .winner-podium {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .winner-item {
        order: unset !important;
        transform: none !important;
    }
    
    .winner-item.winner-1 .winner-avatar-wrapper {
        width: 4rem;
        height: 4rem;
    }
}

/* ========================================
   TRANSACTIONS DASHBOARD
   ======================================== */
.transactions-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 300ms;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.stat-icon {
    font-size: 2rem;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
}

.transactions-filters {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: white;
    flex: 1;
    min-width: 150px;
    transition: all 250ms;
}

.filter-select:focus {
    outline: none;
    border-color: rgba(236, 72, 153, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.filter-select option {
    background: #1f2937;
    color: white;
}

.transactions-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.transaction-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 300ms;
}

.transaction-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.transaction-icon {
    font-size: 2rem;
    width: 50px;
    text-align: center;
}

.transaction-details {
    flex: 1;
}

.transaction-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.transaction-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.transaction-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.transaction-amount {
    font-size: 1.25rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.transaction-amount.positive {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.transaction-amount.negative {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.transaction-status {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

.transaction-status.status-completed {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.transaction-status.status-pending {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.transaction-status.status-failed {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.125rem;
}

.error {
    text-align: center;
    padding: 2rem 1rem;
    color: #f87171;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 1rem;
}

.loading {
    text-align: center;
    padding: 3rem 1rem;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .transactions-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .transaction-card {
        flex-wrap: wrap;
    }
    
    .transaction-amount {
        width: 100%;
        text-align: center;
    }
    
    .transaction-status {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   BOTTOM NAV FOOTER - Términos y Políticas dentro del bottom-nav
   ======================================== */
.bottom-nav-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 16px 8px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-separator {
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 4px;
}

.footer-link-white {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
    line-height: 1.4;
}

.footer-link-white:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: underline;
}

/* Ajuste para que el contenido no quede oculto detrás del bottom-nav */
.feed-container {
    padding-bottom: 140px; /* Espacio para bottom nav con footer */
}

/* Responsive Bottom Nav Footer */
@media (max-width: 480px) {
    .bottom-nav-footer {
        gap: 5px;
        padding: 6px 12px;
    }
    
    .footer-link-white {
        font-size: 10px;
    }
}

/* ========================================
   UTILITY
   ======================================== */
.hidden {
    display: none !important;
}
