/* Events Page - Dark Theme CSS */
:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #151933;
    --bg-tertiary: #1e2139;
    --bg-card: #252842;
    --text-primary: #ffffff;
    --text-secondary: #a8b2d1;
    --text-muted: #64748b;
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --accent-success: #10b981;
    --accent-danger: #ef4444;
    --accent-warning: #fbbf24;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, #1e2139 0%, #0a0e27 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

.event-title a {
    text-decoration: none !important;
}

/* Page Hero Section */
.page-hero {
    position: relative;
    min-height: 500px;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-primary) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Search Form */
.hero-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-form .input-group {
    background: var(--bg-card);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.search-form .input-group-text {
    background: transparent;
    border: none;
    color: var(--accent-primary);
    padding: 15px 20px;
}

.search-form .form-control {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 15px 10px;
    font-size: 16px;
}

.search-form .form-control:focus {
    box-shadow: none;
    outline: none;
}

.search-form .form-control::placeholder {
    color: var(--text-muted);
}

.search-form .btn-primary {
    padding: 15px 30px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

/* Filter Section */
.filter-section {
    background: var(--bg-secondary);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 10px;
}

.filter-tab {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid transparent;
    border-radius: 25px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-tab:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.filter-tab.active {
    background: var(--gradient-primary);
    color: white;
}

.filter-options {
    display: flex;
    gap: 15px;
}

.filter-select {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 10px;
    min-width: 150px;
}

.filter-select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Events Grid Section */
.events-grid-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.events-category {
    margin-bottom: 80px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-icon {
    width: 50px;
    height: 50px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.title-icon.live {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-danger);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.event-count {
    padding: 8px 20px;
    background: var(--bg-card);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Event Card Modern */
.event-card-modern {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.event-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card-modern:hover .event-image {
    transform: scale(1.1);
}

.event-image.grayscale {
    filter: grayscale(50%);
}

.event-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-primary);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.event-date-badge.past {
    background: rgba(30, 33, 57, 0.9);
}

.event-date-badge .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
}

.event-date-badge .month {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-top: 5px;
}

.event-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 14, 39, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-card-modern:hover .event-overlay {
    opacity: 1;
}

.btn-view-details {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 20px;
    transition: all 0.3s ease;
}

.btn-view-details:hover {
    transform: scale(1.1);
    background: var(--accent-primary);
    color: white;
}

.overlay-content {
    text-align: center;
    color: white;
}

.attendee-count {
    display: block;
    margin-bottom: 15px;
    font-size: 18px;
}

.btn-white {
    background: white;
    color: var(--accent-primary);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.event-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.event-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-secondary);
}

.event-meta i {
    color: var(--accent-primary);
}

.event-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.event-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.btn-gradient {
    padding: 10px 25px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Ongoing Event Card */
.ongoing-event-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(239, 68, 68, 0.2);
    height: 100%;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.live-dot {
    width: 12px;
    height: 12px;
    background: var(--accent-danger);
    border-radius: 50%;
    animation: live-pulse 2s infinite;
}

@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.live-text {
    color: var(--accent-danger);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-progress {
    margin: 20px 0;
}

.progress-bar-wrapper {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.event-stats {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.stat i {
    color: var(--accent-primary);
}

/* Event Rating */
.event-rating {
    margin: 15px 0;
}

.stars {
    color: var(--accent-warning);
    margin-bottom: 5px;
}

.rating-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: rotate-slow 30s linear infinite;
}

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stats-wrapper {
    position: relative;
    z-index: 1;
}

.stat-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--accent-primary);
    margin: 0 auto 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 16px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.cta-wrapper {
    position: relative;
    padding: 80px;
    background: var(--gradient-primary);
    border-radius: 30px;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.decoration-1,
.decoration-2 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.decoration-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: float-decoration 10s infinite ease-in-out;
}

.decoration-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation: float-decoration 15s infinite ease-in-out reverse;
}

@keyframes float-decoration {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* Load More Button */
.load-more {
    padding: 12px 40px;
    font-weight: 600;
    border-radius: 25px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .filter-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .filter-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-options {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .category-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .event-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .event-price {
        align-items: center;
    }
    
    .cta-wrapper {
        padding: 40px 20px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .filter-tab {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* Selection */
::selection {
    background: var(--accent-primary);
    color: white;
}

::-moz-selection {
    background: var(--accent-primary);
    color: white;
}

/* Additional styles for simplified events page */

/* Hero Stats Inline */
.hero-stats-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.hero-stats-inline .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stats-inline .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.hero-stats-inline .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Filter Tab Badge */
.filter-tab .badge {
    margin-left: 8px;
    padding: 2px 8px;
    background: rgba(102, 126, 234, 0.2);
    color: var(--accent-primary);
    border-radius: 10px;
    font-size: 11px;
}

.filter-tab.active .badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Live Dot Animation */
.filter-tab .live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent-danger);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse-live 2s infinite;
}

/* Events Group */
.events-group {
    margin-bottom: 80px;
}

.group-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.group-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

/* Live Indicator Large */
.live-indicator-large {
    display: flex;
    align-items: center;
    gap: 15px;
}

.live-indicator-large .live-dot {
    width: 12px;
    height: 12px;
    background: var(--accent-danger);
    border-radius: 50%;
    animation: pulse-live 2s infinite;
}

.live-indicator-large h2 {
    margin: 0;
    color: var(--text-primary);
}

/* Ongoing Event Card Special */
.ongoing-event-card.special {
    background: linear-gradient(135deg, var(--bg-card), rgba(239, 68, 68, 0.1));
    border: 2px solid rgba(239, 68, 68, 0.3);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.ongoing-event-card.special::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
    animation: rotate-slow 20s linear infinite;
}

.live-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 15px;
    background: var(--accent-danger);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.event-progress {
    margin: 20px 0;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.progress-bar-wrapper {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Event Type Badge */
.event-type-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 1px;
}

/* Event Date Badge Enhanced */
.event-date-badge .year {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Event Capacity */
.event-capacity {
    margin: 15px 0;
}

.capacity-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.capacity-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-success), var(--accent-warning));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.capacity-text {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Button Register */
.btn-register {
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

/* Past Event Card */
.past-event {
    position: relative;
}

.past-event .event-image {
    filter: grayscale(30%);
}

.event-completed-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.event-date-past {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.event-testimonial {
    background: rgba(102, 126, 234, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    font-style: italic;
    position: relative;
}

.event-testimonial i {
    position: absolute;
    top: 10px;
    left: 15px;
    color: var(--accent-primary);
    opacity: 0.3;
    font-size: 20px;
}

.event-testimonial p {
    margin: 10px 0 5px 25px;
    color: var(--text-secondary);
    font-size: 14px;
}

.event-testimonial span {
    display: block;
    text-align: right;
    color: var(--accent-primary);
    font-size: 12px;
    font-style: normal;
}

/* Event Stats Overlay */
.event-stats-overlay {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    color: white;
    font-size: 14px;
}

.overlay-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-white {
    background: white;
    color: var(--accent-primary);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* View Button */
.btn-view {
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-primary);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: white;
    transform: scale(1.05);
}

/* Newsletter CTA Section */
.newsletter-cta-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.newsletter-wrapper {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.newsletter-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.newsletter-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin-left: auto;
}

.newsletter-form .form-control {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 12px 20px;
}

.newsletter-form .btn {
    padding: 12px 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-stats-inline {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 5px;
    }
    
    .filter-tab {
        white-space: nowrap;
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .newsletter-wrapper {
        padding: 30px 20px;
    }
    
    .newsletter-form .input-group {
        max-width: 100%;
    }
}





/*//back to the top*/

/* Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    overflow: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

/* Button Inner Content */
.button-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    z-index: 2;
    position: relative;
}

.button-inner i {
    font-size: 18px;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.button-text {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.back-to-top:hover .button-inner i {
    transform: translateY(-3px);
}

/* Progress Ring */
.progress-ring {
    position: absolute;
    top: -1px;
    left: -1px;
    transform: rotate(-90deg);
    pointer-events: none;
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.35s;
    transform-origin: center;
}

/* Pulse Animation */
.back-to-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--accent-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.5s ease;
}

.back-to-top:hover::before {
    animation: pulse-effect 1s ease-out;
}

@keyframes pulse-effect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Alternative Minimal Style (Optional) */
.back-to-top.minimal {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.back-to-top.minimal:hover {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

.back-to-top.minimal .button-text {
    display: none;
}

.back-to-top.minimal .button-inner {
    color: white;
}

.back-to-top.minimal .button-inner i {
    font-size: 20px;
    margin: 0;
}

/* Loading State */
.back-to-top.loading {
    pointer-events: none;
}

.back-to-top.loading .button-inner i {
    animation: scroll-up 0.6s ease;
}

@keyframes scroll-up {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px);
        opacity: 0;
    }
    51% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Tooltip */
.back-to-top::after {
    content: 'Back to Top';
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover::after {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .button-text {
        display: none;
    }
    
    .progress-ring {
        width: 50px;
        height: 50px;
    }
    
    .progress-ring-circle {
        r: 23;
        cx: 25;
        cy: 25;
    }
    
    .back-to-top::after {
        display: none;
    }
}

/* Dark/Light Theme Support */
[data-theme="light"] .back-to-top {
    background: white;
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .back-to-top:hover {
    background: rgba(102, 126, 234, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}