/* Modern Premium Design System */
:root {
    /* Color Palette */
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #64748b;
    --accent: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Backgrounds */
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);

    /* Text */
    --text-main: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.3);

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Typography */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    background-image:
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(59, 130, 246, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
    color: white;
    margin-bottom: 3rem;
    border-radius: 0 0 3rem 3rem;
    box-shadow: var(--shadow-xl);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #e0e7ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 400;
}

/* Cards */
.competition-card {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(226, 232, 240, 0.8);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.competition-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: rgba(79, 70, 229, 0.3);
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.badge-ongoing {
    background: #dcfce7;
    color: #166534;
}

.badge-upcoming {
    background: #fef3c7;
    color: #92400e;
}

.badge-ended {
    background: #f1f5f9;
    color: #475569;
}

.badge-register {
    background: #ede9fe;
    color: #5b21b6;
}

.card-platform {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    color: #4b5563;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    transition: var(--transition-base);
}

.tag:hover {
    transform: translateY(-1px);
}

.tag-platform {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #dbeafe;
}

/* Blue */
.tag-difficulty {
    background: #fff7ed;
    color: #c2410c;
    border-color: #ffedd5;
}

/* Orange */
.tag-format {
    background: #ecfdf5;
    color: #047857;
    border-color: #d1fae5;
}

/* Emerald */
.tag-domain {
    background: #f5f3ff;
    color: #6d28d9;
    border-color: #ede9fe;
}

/* Violet */
.tag-type {
    background: #fdf2f8;
    color: #be185d;
    border-color: #fce7f3;
}

/* Pink */

.btn-card {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition-base);
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-card:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

/* Filter Section */
.filter-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-top: -3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.form-control,
.form-select {
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition-base);
    background-color: #f8fafc;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    background-color: white;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    background: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #f1f5f9;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    line-height: 1;
}

.stat-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Timeline Specifics */
.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    transform: translateX(-50%);
}

.timeline-node {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.node-content {
    width: 45%;
    background: var(--bg-surface);
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-smooth);
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(10px);
}

.node-content:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: rgba(79, 70, 229, 0.3);
}

.node-dot {
    position: absolute;
    left: 50%;
    top: 1.5rem;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

.timeline-node:nth-child(odd) .node-content {
    margin-right: auto;
    margin-left: 0;
}

.timeline-node:nth-child(even) .node-content {
    margin-left: auto;
    margin-right: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .filter-container {
        margin-top: 0;
        padding: 1.5rem;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-node {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
        margin-bottom: 2.5rem; /* Increase spacing between nodes on mobile */
    }

    .node-content {
        width: 100%;
        padding: 1.75rem 1.5rem; /* Increase padding for more breathing room */
    }
    
    /* Increase spacing between elements inside node-content on mobile */
    .node-content > .d-flex:first-child {
        margin-bottom: 1.25rem !important;
    }
    
    .node-content .mb-2 {
        margin-bottom: 1rem !important;
    }
    
    .node-content .mb-3 {
        margin-bottom: 1.5rem !important;
    }
    
    /* Force full display of timeline node titles on mobile */
    .timeline-node .node-content h4.timeline-title-full,
    .timeline-node .node-content > h4.fw-bold.mb-2,
    .timeline-node .node-content > h4.fw-bold,
    .timeline-node .node-content > h4,
    .timeline-node .node-content h4.fw-bold.mb-2,
    .timeline-node .node-content h4.fw-bold,
    .timeline-node .node-content h4,
    .node-content > h4.fw-bold.mb-2,
    .node-content > h4.fw-bold,
    .node-content > h4,
    .node-content h4.fw-bold.mb-2,
    .node-content h4.fw-bold,
    .node-content h4 {
        margin-bottom: 1.25rem !important;
        line-height: 1.6 !important;
        font-size: 1.1rem !important;
        /* Force display block to prevent -webkit-box truncation */
        display: block !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        max-height: none !important;
        height: auto !important;
        /* display: block overrides -webkit-box, making -webkit-line-clamp ineffective */
    }
    
    .node-content .d-flex.gap-2 {
        gap: 0.625rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .node-content .d-flex.gap-3 {
        gap: 1.25rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .node-content .tag {
        margin-bottom: 0.5rem;
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .node-content .badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    
    .node-content .text-muted {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .node-dot {
        left: 20px;
    }

    .timeline-node:nth-child(odd) .node-content,
    .timeline-node:nth-child(even) .node-content {
        margin: 0;
    }

    /* Container Mobile Fixes */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    /* List View Mobile Fixes */
    .list-view-container {
        margin: 0 -0.75rem;
        padding: 0;
    }

    .list-header {
        display: none; /* Hide header on mobile */
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .list-item {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }

    .list-item {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1rem 1rem 1rem; /* Increase top padding for more space above title */
        gap: 0.75rem;
    }

    .list-item .list-thumb {
        display: none !important; /* Hide thumbnail on mobile */
    }

    .list-item .list-thumb img {
        display: none !important;
    }

    /* Also hide thumbnails in timeline view on mobile */
    .timeline-node .node-thumb {
        display: none !important;
    }

    .list-content {
        padding-right: 0;
        width: 100%;
        padding-top: 0.5rem; /* Add top padding to move content down */
    }

    .list-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.375rem;
        margin-bottom: 0.5rem;
    }

    .list-title {
        white-space: normal;
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 0;
        margin-top: 0;
        padding-top: 0.25rem; /* Add top padding to move title down from container edge */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        width: 100%;
    }

    .visual-badges-container {
        width: 100%;
        flex-wrap: wrap;
    }

    .visual-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }

    .list-subtitle {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .list-meta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-width: auto;
        width: 100%;
        border-left: none;
        border-top: 1px solid #f1f5f9;
        padding-left: 0;
        padding-top: 0.75rem;
        margin-top: 0.5rem;
    }

    .list-reward {
        display: none !important; /* Hide reward on mobile */
    }

    .list-time {
        font-size: 0.75rem;
    }

    .list-tags {
        gap: 0.375rem;
        margin-top: 0.5rem;
    }

    .tag-xs {
        font-size: 0.65rem;
        padding: 0.125rem 0.5rem;
    }

    /* View Switch Buttons */
    .justify-content-center-mobile {
        justify-content: center !important;
    }

    .view-switch-group {
        width: 100%;
        max-width: 320px;
        display: flex;
    }

    .view-switch-group .btn {
        flex: 1;
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }

    .view-switch-text {
        margin-left: 0.375rem;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 2.5rem 0 2rem !important;
        border-radius: 0 0 1.5rem 1.5rem !important;
    }

    .hero-content .d-flex {
        flex-direction: column;
        gap: 0.75rem !important;
        align-items: center !important;
    }

    .hero-content .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Kaggle-style List View */
/* Kaggle-style List View Refined */
.list-view-container {
    max-width: 1000px;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.list-header {
    display: flex;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    background: transparent;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    position: relative;
    animation: slideIn 0.3s ease-out backwards;
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.list-item:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid #e2e8f0;
}

.list-item:hover {
    background-color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
    z-index: 1;
}

.list-thumb {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.75rem;
    flex-shrink: 0;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.list-item:hover .list-thumb {
    transform: scale(1.05);
}

/* Platform Brand Colors */
.platform-kg {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0284c7;
}

.platform-tc {
    background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
    color: #e11d48;
}

.platform-hw {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
}

.platform-df {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    color: #ea580c;
}

.list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.list-content {
    flex-grow: 1;
    min-width: 0;
    padding-right: 1rem;
}

.list-title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}

.list-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.list-item:hover .list-title {
    color: var(--primary);
}

/* 视觉标识徽章容器 */
.visual-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    align-items: center;
    flex-shrink: 0;
}

/* 视觉标识徽章基础样式 */
.visual-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 0.375rem;
    white-space: nowrap;
    line-height: 1.2;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.visual-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* 高奖金徽章 */
.badge-high-reward {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    border: 1px solid #fcd34d;
}

.badge-high-reward:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

/* 报名即将截止徽章 */
.badge-urgent {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: 1px solid #f87171;
    animation: pulse-urgent 2s ease-in-out infinite;
}

@keyframes pulse-urgent {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

.badge-urgent:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: none;
}

/* 新上架徽章 */
.badge-new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: 1px solid #34d399;
}

.badge-new:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* 热门徽章 */
.badge-popular {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border: 1px solid #fb923c;
}

.badge-popular:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
}

.list-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.list-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 140px;
    gap: 0.5rem;
    justify-content: center;
    border-left: 1px solid #f1f5f9;
    padding-left: 1.5rem;
}

.list-reward {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
    background: #f8fafc;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}

.list-time {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

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

.tag-xs {
    font-size: 0.7rem;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    border-width: 1px;
    text-transform: capitalize;
}

/* Truncate Utilities */
.line-clamp-1 {
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Email Subscription Modal Styles */
.subscription-floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    color: white;
    animation: pulse-subscription 2s infinite;
}

@keyframes pulse-subscription {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    }

    50% {
        box-shadow: 0 8px 35px rgba(102, 126, 234, 0.7);
    }
}

.subscription-floating-btn:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.6);
    animation: none;
}

.subscription-floating-btn i {
    font-size: 1.6rem;
    margin-bottom: 2px;
}

.subscription-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Token Ads Floating Button */
.token-ads-floating-btn {
    position: fixed;
    bottom: 7rem;
    right: 2rem;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    color: white;
    animation: pulse-token-ads 2s infinite;
}

@keyframes pulse-token-ads {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    }

    50% {
        box-shadow: 0 8px 35px rgba(245, 158, 11, 0.7);
    }
}

.token-ads-floating-btn:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.6);
    animation: none;
}

.token-ads-floating-btn i {
    font-size: 1.6rem;
    margin-bottom: 2px;
}

.token-ads-badge {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Token Ads Modal Styles */
#tokenAdsModal .ad-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

#tokenAdsModal .ad-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
    transform: translateY(-2px);
}

#tokenAdsModal .ad-card .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

/* Modal Enhancements */
.shadow-2xl {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3) !important;
}

.modal-content {
    border-radius: var(--radius-xl) !important;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.modal-header {
    border-radius: 0 !important;
}

/* Subscription Modal Specific Styles */
#subscriptionModal .modal-content {
    background: var(--bg-surface);
}

#subscriptionModal .modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-bottom: none;
}

#subscriptionModal .form-control {
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition-base);
    background-color: #f8fafc;
}

#subscriptionModal .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    background-color: white;
}

#subscriptionModal .input-group-text {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    border-right: none;
}

#subscriptionModal .input-group-lg .form-control {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    border-left: none;
}

#subscriptionModal .input-group-lg .form-control:focus {
    border-left: 1px solid var(--primary);
}

#subscriptionModal .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    transition: var(--transition-base);
}

#subscriptionModal .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

#subscriptionModal .modal-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Form Styles */
.form-control-lg {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.2);
    background-color: #fff;
}

.form-control-lg.border-2 {
    border-width: 2px;
}

.form-check-input {
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.form-check-input:hover {
    transform: scale(1.05);
}

/* Card Styles */
.card.border-2 {
    border-width: 2px;
}

.card.border-2:hover {
    border-color: #667eea;
    transition: border-color 0.3s ease;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

/* Success Animation & Helpers */
.animate__animated {
    animation-duration: 0.6s;
    animation-fill-mode: both;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hover-shadow-sm:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary) !important;
    transition: all 0.2s ease;
}

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

.btn-outline-secondary {
    border-color: #e2e8f0;
    color: #64748b;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Alert Styles */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    border: none;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
}

.alert-danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    color: #991b1b;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

/* Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Email Validation States */
.email-valid {
    border-color: #22c55e !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2322c55e' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: 3rem !important;
}

.email-invalid {
    border-color: #ef4444 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linecap='round' d='M6 3.5v3M6 8.5h.01'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: 3rem !important;
}

/* Success Modal Animation */
@keyframes success-checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#subscriptionSuccessModal .bi-check-circle-fill {
    animation: success-checkmark 0.5s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .subscription-floating-btn {
        width: 55px;
        height: 55px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .subscription-floating-btn i {
        font-size: 1.3rem;
    }

    .subscription-badge {
        font-size: 0.55rem;
    }

    .token-ads-floating-btn {
        width: 55px;
        height: 55px;
        bottom: 5.5rem;
        right: 1.5rem;
    }

    .token-ads-floating-btn i {
        font-size: 1.3rem;
    }

    .token-ads-badge {
        font-size: 0.5rem;
    }

    .modal-dialog {
        margin: 1rem;
    }

    .btn-lg {
        padding: 0.65rem 1.5rem;
        font-size: 1rem;
    }
}

/* Smooth Transitions */
.modal.fade .modal-dialog {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus Styles for Accessibility */
.form-control:focus-visible,
.btn:focus-visible,
.form-check-input:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Glassmorphism Effect */
.modal-content {
    background: rgba(255, 255, 255, 0.98);
}

/* Enhanced Shadow for Better Visibility */
.modal-content {
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

/* Search Highlight */
.search-highlight {
    background-color: transparent;
    color: var(--danger);
    font-weight: 700;
    padding: 0;
}

/* Side Drawer Styles */
.competition-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.competition-drawer.active {
    pointer-events: all;
    opacity: 1;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 650px;
    height: 100%;
    background: var(--bg-surface);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.competition-drawer.active .drawer-content {
    transform: translateX(0);
}



.drawer-close {
    width: 44px;
    height: 44px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.drawer-close:hover {
    background: #e2e8f0;
    color: var(--text-main);
    transform: rotate(90deg);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1.5rem;
    scroll-behavior: smooth;
    background: white;
}

.drawer-body::-webkit-scrollbar {
    width: 6px;
}

.drawer-body::-webkit-scrollbar-track {
    background: #f8fafc;
}

.drawer-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.drawer-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    background: #f8fafc;
    display: flex;
    gap: 1.25rem;
    flex-shrink: 0;
}

.drawer-footer .btn {
    border-radius: var(--radius-lg);
    padding: 0.85rem 1.75rem;
    font-weight: 700;
    transition: var(--transition-base);
    font-size: 1rem;
}

.drawer-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    color: white;
}

.drawer-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

/* Drawer Component Styles */
.drawer-hero {
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.drawer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.drawer-hero h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    letter-spacing: -0.025em;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.drawer-hero-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    position: relative;
}

.drawer-hero-badges .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    font-weight: 600;
}

.drawer-section {
    margin-bottom: 1.5rem;
    animation: fadeInSlideRight 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.drawer-section:nth-child(2) {
    animation-delay: 0.1s;
}

.drawer-section:nth-child(3) {
    animation-delay: 0.2s;
}

.drawer-section:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes fadeInSlideRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.drawer-section-title {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.drawer-section-title i {
    font-size: 1.25rem;
    color: var(--primary);
}

.drawer-highlight-box {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(139, 92, 246, 0.03) 100%);
    border-left: 5px solid var(--primary);
    padding: 1.25rem;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.drawer-highlight-box h6 {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.drawer-highlight-box p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-main);
    font-size: 1.1rem;
}

.drawer-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.drawer-info-card {
    padding: 1rem;
    background: #f8fafc;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    transition: var(--transition-base);
}

.drawer-info-card:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.drawer-info-card-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.drawer-info-card-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
}

.drawer-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.drawer-tag {
    padding: 0.65rem 1.25rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    transition: var(--transition-base);
    color: var(--text-main);
}

.drawer-tag i {
    color: var(--primary);
}

.drawer-tag:hover {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Urgent Pulse Animation */
.urgent-pulse {
    animation: pulse-red-glow 2s infinite;
    border-color: var(--danger) !important;
}

@keyframes pulse-red-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Back to Top Enhancement */
.back-to-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 56px;
    height: 56px;
    background: white;
    color: var(--primary);
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    font-size: 1.75rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* ============================================
   Modern Filter Modal Design
   ============================================ */

/* Modal Container */
.filter-modal-content {
    border: none;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    background: #ffffff;
}

/* Modern Header */
.filter-modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.filter-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.filter-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.filter-header-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.filter-header-text {
    color: white;
}

.filter-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: white;
    letter-spacing: -0.02em;
}

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

.filter-count-number {
    font-weight: 700;
    font-size: 1.1em;
    color: white;
}

.filter-close-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.filter-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* Active Filters Container */
.filter-active-container {
    padding: 1.25rem 2rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.filter-active-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.filter-active-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.filter-clear-all {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.filter-clear-all:hover {
    background: rgba(239, 68, 68, 0.1);
}

.filter-active-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Modal Body */
.filter-modal-body {
    padding: 2rem;
    background: #ffffff;
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.filter-modal-body::-webkit-scrollbar {
    width: 6px;
}

.filter-modal-body::-webkit-scrollbar-track {
    background: #f8fafc;
}

.filter-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.filter-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Filter Cards */
.filter-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.filter-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

.filter-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.filter-card-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
}

.filter-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.filter-card-toggle {
    cursor: pointer;
    user-select: none;
}

.filter-card-arrow {
    font-size: 1rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.filter-card-collapsible.expanded .filter-card-arrow {
    transform: rotate(180deg);
}

.filter-card-content {
    animation: slideDown 0.3s ease-out;
}

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

/* Search Section */
.filter-search-wrapper {
    margin-top: 0.5rem;
}

.filter-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-search-icon {
    position: absolute;
    left: 1rem;
    color: var(--primary);
    font-size: 1.1rem;
    z-index: 2;
}

.filter-search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    background: #ffffff;
    transition: all 0.2s ease;
}

.filter-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.filter-search-clear {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    z-index: 2;
}

.filter-search-clear:hover {
    background: #f1f5f9;
    color: var(--text-main);
}

/* Quick Filter Chips */
.filter-quick-chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.filter-quick-chip {
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-direction: column;
}

.filter-quick-chip i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.filter-quick-chip:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.15);
}

.filter-quick-chip:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

.filter-quick-chip.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.filter-quick-chip.active i {
    color: white;
}

.filter-quick-chip.active:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

/* Filter Groups */
.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.875rem;
}

.filter-group-label i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Modern Filter Chips */
.filter-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.filter-chip-modern {
    padding: 0.625rem 1.125rem;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.filter-chip-modern i {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.filter-chip-modern:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.15);
}

.filter-chip-modern:hover i {
    color: var(--primary);
}

.filter-chip-modern.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.filter-chip-modern.active i {
    color: white;
}

.filter-chip-modern.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

/* Filter Select */
.filter-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    background: #ffffff;
    color: var(--text-main);
    transition: all 0.2s ease;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Time Filters */
.filter-time-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.filter-time-item {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.filter-date-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.filter-date-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    background: #ffffff;
    transition: all 0.2s ease;
}

.filter-date-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.filter-date-btn {
    width: 48px;
    padding: 0.875rem;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    border-radius: 0.75rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-date-btn:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary);
}

.filter-time-quick {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-time-quick-btn {
    padding: 0.75rem 1.25rem;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-time-quick-btn:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary);
    transform: translateY(-1px);
}

.filter-time-quick-btn.filter-time-clear {
    border-color: #fecaca;
    color: #ef4444;
}

.filter-time-quick-btn.filter-time-clear:hover {
    background: #fef2f2;
    border-color: #ef4444;
}

/* Modal Footer */
.filter-modal-footer {
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.filter-footer-btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-footer-btn-secondary {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: var(--text-main);
}

.filter-footer-btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.filter-footer-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.filter-footer-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

/* Legacy Support - Keep old class names working */
.filter-section {
    padding: 1.25rem;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-section-title {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-label {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

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

.filter-chip {
    padding: 0.5rem 1rem;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.filter-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.1);
}

.filter-chip.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.filter-chip.active:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

/* Active Filter Tags */
.filter-active-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.filter-active-tag i {
    font-size: 0.75rem;
}

.filter-active-tag-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    margin-left: 0.25rem;
}

.filter-active-tag-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Filter Modal Responsive */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .filter-modal-header {
        padding: 1.25rem 1rem;
    }

    .filter-header-content {
        gap: 0.75rem;
    }

    .filter-header-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .filter-modal-title {
        font-size: 1.1rem;
    }

    .filter-modal-subtitle {
        font-size: 0.8rem;
    }

    .filter-active-container {
        padding: 1rem;
    }

    .filter-modal-body {
        padding: 1.25rem 1rem;
        max-height: 65vh;
    }

    .filter-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .filter-card-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .filter-card-title {
        font-size: 1rem;
    }

    .filter-quick-chips {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .filter-quick-chip {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .filter-quick-chip i {
        font-size: 1.25rem;
    }

    .filter-chip-group {
        gap: 0.5rem;
    }

    .filter-chip-modern {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
    }

    .filter-time-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-time-quick {
        gap: 0.5rem;
    }

    .filter-time-quick-btn {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
        flex: 1;
        min-width: 0;
    }

    .filter-modal-footer {
        padding: 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .filter-footer-btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(248, 250, 252, 0.5);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.form-select.bg-light,
.form-control.bg-light {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-select.bg-light:focus,
.form-control.bg-light:focus {
    background: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1) !important;
}

.input-group-text.bg-light {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

/* Fix for mobile drawer */
@media (max-width: 768px) {
    .drawer-content {
        width: 100%;
        max-width: 100%;
    }

    .drawer-body {
        padding: 1rem 1rem;
    }



    .drawer-hero {
        margin: -1rem -1rem 1rem -1rem;
        padding: 1.5rem 1rem;
    }

    .drawer-hero h2 {
        font-size: 1.5rem;
    }

    .drawer-info-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .drawer-footer {
        padding: 0.75rem 1rem;
        flex-direction: row;
        gap: 0.625rem;
    }

    .drawer-footer .btn {
        flex: 1;
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }

    .back-to-top {
        bottom: 5rem;
        right: 1rem;
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .subscription-floating-btn {
        bottom: 1rem;
        right: 1rem;
        width: 56px;
        height: 56px;
    }

    .subscription-badge {
        font-size: 0.6rem;
    }

    .token-ads-floating-btn {
        bottom: 5rem;
        right: 1rem;
        width: 56px;
        height: 56px;
    }

    .token-ads-badge {
        font-size: 0.55rem;
    }
}

/* Competition Timeline Styles - Minimal Version */
.competition-timeline {
    margin-top: 0.3rem;
    padding-top: 0.3rem;
    border-top: 1px solid #e5e7eb;
}

.timeline-track {
    position: relative;
    height: 20px;
    margin: 0.15rem 0;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 1px;
    background: #d1d5db;
}

.timeline-start,
.timeline-end,
.timeline-registration,
.timeline-current {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.timeline-start {
    left: 0;
}

.timeline-end {
    left: 100%;
}

.timeline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6b7280;
    position: relative;
    z-index: 3;
    margin-top: 4px;
    transition: outline 0.2s ease;
    cursor: pointer;
    border: none;
}

.timeline-dot:hover {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

.timeline-dot-start {
    background: #6b7280;
}

.timeline-dot-start:hover {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

.timeline-dot-end {
    background: #6b7280;
}

.timeline-dot-end:hover {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

.timeline-dot-reg {
    background: #9ca3af;
    width: 7px;
    height: 7px;
    margin-top: 4.5px;
}

.timeline-dot-reg:hover {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

.timeline-label {
    font-size: 0.5rem;
    color: #9ca3af;
    font-weight: 400;
    margin-top: 1px;
    text-align: center;
    white-space: nowrap;
    line-height: 1;
}

.timeline-current {
    top: 0;
}

.timeline-indicator {
    font-size: 0.75rem;
    line-height: 1;
    margin-top: 2px;
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: outline 0.2s ease;
    cursor: pointer;
    padding: 2px;
    border-radius: 2px;
}

.timeline-indicator:hover {
    outline: 2px solid #fbbf24;
    outline-offset: 1px;
}

.timeline-current .timeline-label {
    color: #6b7280;
    font-weight: 400;
    margin-top: 1px;
    font-size: 0.5rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .competition-timeline {
        margin-top: 0.25rem;
        padding-top: 0.25rem;
    }
    
    .timeline-track {
        height: 18px;
        margin: 0.1rem 0;
    }
    
    .timeline-dot {
        width: 7px;
        height: 7px;
        margin-top: 3px;
    }
    
    .timeline-dot-reg {
        width: 6px;
        height: 6px;
        margin-top: 3.5px;
    }
    
    .timeline-label {
        font-size: 0.45rem;
        margin-top: 0.5px;
    }
    
    .timeline-indicator {
        font-size: 0.65rem;
        margin-top: 1px;
    }
    
    .timeline-track::before {
        top: 7px;
    }
    
    .timeline-current .timeline-label {
        font-size: 0.45rem;
    }
}

/* Subscription Tip Popup */
.subscription-tip-popup {
    position: fixed;
    z-index: 1055;
    animation: bounceIn 0.4s ease-out;
}

.subscription-tip-popup.mobile {
    bottom: 90px;
    right: 1rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
    animation: fadeInUp 0.4s ease-out;
}

.subscription-tip-popup.desktop {
    bottom: 100px;
    right: 80px;
    left: auto;
    max-width: 280px;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3) translateX(50px); }
    50% { opacity: 1; transform: scale(1.05) translateX(0); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.subscription-tip-content {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.2);
    padding: 1rem;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.subscription-tip-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(79, 70, 229, 0.2);
}

.tip-emoji {
    font-size: 1.2rem;
}

.tip-close-btn {
    background: rgba(79, 70, 229, 0.1);
    border: none;
    padding: 4px 6px;
    margin-left: auto;
    cursor: pointer;
    color: #4f46e5;
    border-radius: 0.5rem;
    font-size: 0.75rem;
}

.subscription-tip-body {
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.subscription-tip-checkbox {
    margin-bottom: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(79, 70, 229, 0.1);
}

.tip-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.75rem;
    color: #64748b;
}

.subscription-tip-footer {
    display: flex;
    justify-content: center;
}