:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --dark: #0f172a;
    --darker: #0a0f1c;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--darker);
    color: var(--text-primary);
    overflow-x: hidden;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.4);
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Webinar Card Styles */
.webinar-card {
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.webinar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #06b6d4);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.webinar-card:hover::before {
    transform: scaleX(1);
}

.webinar-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

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

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

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

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

.avatar-gradient-1 {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
}

.avatar-gradient-2 {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.avatar-gradient-3 {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.avatar-gradient-4 {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.countdown-item {
    text-align: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 60px;
}

.countdown-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.countdown-label {
    font-size: 0.75rem;
    color: #94a3b8;
}

.tab-button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-button.active {
    background: rgba(139, 92, 246, 0.2);
    color: white;
}

.tab-button:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    color: white;
}