/* OLAYSA - Main Styles */

/* Root Variables - Light Theme (Default) */
:root {
    --primary-color: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --secondary-color: #3b82f6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* Dark Theme Variables */
.dark-theme {
    --primary-color: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --secondary-color: #3b82f6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #ffffff;
    --light-color: #262626;
    --white: #262626;
    --gray-50: #262626;
    --gray-100: #262626;
    --gray-200: #404040;
    --gray-300: #525252;
    --gray-400: #737373;
    --gray-500: #a3a3a3;
    --gray-600: #d4d4d4;
    --gray-700: #e5e5e5;
    --gray-800: #f5f5f5;
    --gray-900: #ffffff;
    
    /* Dark Theme Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --gradient-hero: linear-gradient(135deg, #262626 0%, #404040 100%);
    
    /* Dark Theme Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* Dark Theme Body */
.dark-theme body {
    background-color: #262626;
    color: var(--gray-800);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Navigation */
.navbar {
    background: var(--white) !important;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    padding: 0.75rem 0;
}

/* Dark Theme Navigation */
.dark-theme .navbar {
    background: var(--white) !important;
    border-bottom: 1px solid var(--gray-200);
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--gray-900) !important;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.brand-slogan {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600) !important;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

/* Nav Icons */
.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem !important;
    text-align: center;
    gap: 0.25rem;
}

.nav-icon {
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--gray-600);
    transition: all 0.3s ease;
    margin-bottom: 0.25rem;
}

.nav-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.nav-link:hover .nav-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.nav-link:hover .nav-text {
    color: var(--primary-color);
}

.nav-link.active .nav-icon {
    background: var(--primary-color);
    color: var(--white);
}

.nav-link.active .nav-text {
    color: var(--primary-color);
    font-weight: 600;
}

/* Nav Dropdown */
.nav-item.dropdown .nav-link {
    position: relative;
}

.nav-item.dropdown .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

.nav-item.dropdown .nav-link:hover::after,
.nav-item.dropdown .nav-link[aria-expanded="true"]::after {
    width: 20px;
}

.nav-item.dropdown .dropdown-menu {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    min-width: 200px;
    margin-top: 0.5rem;
    background: var(--white);
}

.nav-item.dropdown .dropdown-item {
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-item.dropdown .dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary-color);
}

.nav-item.dropdown .dropdown-item i {
    width: 16px;
    text-align: center;
}

/* Navbar Right Side */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Login Dropdown */
.login-dropdown {
    background: none !important;
    border: none !important;
    color: var(--gray-600) !important;
    text-decoration: none !important;
    padding: 0.4rem !important;
    border-radius: var(--radius-lg) !important;
    transition: all 0.3s ease !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.login-dropdown:hover {
    color: var(--primary-color) !important;
    background: var(--gray-100) !important;
}

.login-dropdown:focus {
    box-shadow: none !important;
    color: var(--primary-color) !important;
}

.login-dropdown i {
    font-size: 1.2rem;
}

/* Dropdown Menu */
.dropdown-menu {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    min-width: 200px;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary-color);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--gray-200);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.theme-btn {
    width: 40px;
    height: 24px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--gray-500);
    transition: all 0.3s ease;
    cursor: pointer;
}

.theme-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.theme-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.theme-btn.active:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 40vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 20px 0 10px;
    overflow: hidden;
}

/* Dark Theme Hero */
.dark-theme .hero-section {
    background: linear-gradient(135deg, #262626 0%, #1a1a1a 100%);
}

.dark-theme .hero-section::before {
    animation: none !important;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.hero-badge i {
    font-size: 0.5rem;
    color: var(--white);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--gray-900);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white !important;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white !important;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: var(--white);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Stats Section */
.stats-section {
    background: transparent;
    border: none;
}

.modern-stats {
    background: transparent !important;
}

/* Dark Theme Stats */
.dark-theme .stats-section {
    background: transparent;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.dark-theme .modern-stats {
    background: transparent !important;
}

.stat-card {
    text-align: center;
    padding: 1.5rem 0.75rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* How It Works Section */
.how-it-works-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.how-it-works-section .container {
    position: relative;
    z-index: 1;
}

/* Dark Theme How It Works */
.dark-theme .how-it-works-section {
    background: linear-gradient(135deg, #262626 0%, #1a1a1a 100%);
}

.dark-theme .how-it-works-section::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2.5rem;
}

/* Modern Feature Cards */
.modern-feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.modern-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-feature-card:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.3);
}

.modern-feature-card:hover::before {
    opacity: 1;
}

.dark-theme .modern-feature-card {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(59, 130, 246, 0.2);
}

.dark-theme .modern-feature-card:hover {
    background: rgba(50, 50, 50, 1);
}

.feature-step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.modern-feature-card:hover .feature-step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.modern-feature-card i {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.modern-feature-card:hover i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 10px 20px rgba(59, 130, 246, 0.4));
}

.modern-feature-card h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.modern-feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.dark-theme .modern-feature-card h4 {
    color: #ffffff;
}

.dark-theme .modern-feature-card p {
    color: #a3a3a3;
}

.feature-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 0;
    margin-top: 4rem;
}

.footer-main {
    padding: 3rem 0 1.5rem;
    background: var(--white);
}

.footer-bottom {
    background: var(--gray-50);
    padding: 1.25rem 0;
    border-top: 1px solid var(--gray-200);
}

/* Dark Theme Footer */
.dark-theme .footer {
    background: #262626;
    border-top: 1px solid #404040;
}

.dark-theme .footer-main {
    background: #262626;
}

.dark-theme .footer-bottom {
    background: #1a1a1a;
    border-top: 1px solid #404040;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--gray-600);
    line-height: 1.6;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    width: 38px;
    height: 38px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.footer-copyright,
.footer-version {
    color: var(--gray-500);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.footer-copyright i,
.footer-version i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.footer-copyright {
    margin-left: 1rem;
}

.footer-version {
    margin-right: 0.5rem;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-version {
        text-align: right !important;
        justify-content: flex-end !important;
    }
}

/* Event Modal Styles */
.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-xl);
}

.dark-theme .modal-content {
    background: var(--gray-200);
    color: var(--gray-100);
}

/* Clickable Question Mark */
.clickable-question {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.clickable-question:hover {
    transform: scale(1.1);
    color: var(--primary-color);
}

.info-icon {
    font-size: 0.7rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.clickable-question:hover .info-icon {
    opacity: 1;
    color: var(--primary-color);
}

/* Chance Modal */
.chance-modal-content {
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    margin: 0 auto;
}

.chance-content {
    padding: 1rem 0;
}

.chance-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.chance-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.dark-theme .chance-text {
    color: #ffffff !important;
}

.dark-theme .chance-brand {
    color: var(--primary-color);
}

/* Modal backdrop with blur effect */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* Blur main content when modal is open */
body.modal-open {
    overflow: hidden;
}

body.modal-open .navbar {
    filter: blur(0px) !important; /* Keep navbar clear */
}

body.modal-open .hero-section,
body.modal-open .stats-section,
body.modal-open .featured-events,
body.modal-open .how-it-works,
body.modal-open .footer {
    filter: blur(8px);
    transition: filter 0.3s ease;
}

.modal-header {
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem;
}

.dark-theme .modal-header {
    border-bottom-color: var(--gray-300);
}

.modal-title {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1.125rem;
}

.dark-theme .modal-title {
    color: white !important;
}

.modal-body {
    padding: 1.25rem;
}

.event-modal-content .event-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white !important;
}

.event-modal-content .event-time {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

.dark-theme .event-modal-content .event-time {
    color: white !important;
}

.event-modal-content .event-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.dark-theme .event-modal-content .event-title {
    color: white !important;
}

.event-modal-content .event-question {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.dark-theme .event-modal-content .event-question {
    color: white !important;
}

.event-modal-content .option-group {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.dark-theme .event-modal-content .option-group {
    background: var(--gray-300);
    border-color: var(--gray-400);
}

.event-modal-content .option-text {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.dark-theme .event-modal-content .option-text {
    color: white !important;
}

.event-modal-content .btn-option {
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.event-modal-content .btn-option-yes {
    background-color: #10b981;
    border-color: #10b981;
    color: white;
}

.event-modal-content .btn-option-yes:hover {
    background-color: #059669;
    border-color: #059669;
    color: white;
}

.event-modal-content .btn-option-no {
    background-color: #ef4444;
    border-color: #ef4444;
    color: white;
}

.event-modal-content .btn-option-no:hover {
    background-color: #dc2626;
    border-color: #dc2626;
    color: white;
}

.event-modal-content .event-reward {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: 1rem;
    font-weight: 500;
}

.dark-theme .event-modal-content .event-reward {
    color: white !important;
}

/* Choice Page Styles */
.choice-page {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.choice-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.choice-page .container {
    position: relative;
    z-index: 1;
}

/* Modern Choice Page */
.modern-choice-page {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.modern-choice-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.modern-choice-page .container {
    position: relative;
    z-index: 1;
}

/* Modern Search Bar */
.modern-search-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.modern-search-bar:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.dark-theme .modern-search-bar {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Modern Filter Buttons */
.modern-filter-btn {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.modern-filter-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
    color: white;
}

/* Modern Category Tabs */
.modern-category-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.modern-category-tab {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: all 0.3s ease;
    cursor: pointer;
}

.modern-category-tab:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.modern-category-tab.active {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.dark-theme .modern-category-tab {
    background: rgba(40, 40, 40, 0.8);
    border-color: rgba(59, 130, 246, 0.2);
    color: #a3a3a3;
}

.dark-theme .modern-category-tab:hover {
    background: rgba(59, 130, 246, 0.2);
    color: white;
}

/* Dark Theme */
.dark-theme .choice-page {
    background: linear-gradient(135deg, #262626 0%, #1a1a1a 100%);
}

.dark-theme .choice-page::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

.dark-theme .modern-choice-page {
    background: linear-gradient(135deg, #262626 0%, #1a1a1a 100%);
}

.dark-theme .modern-choice-page::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

/* Search and Filter Bar */
.search-filter-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.search-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-input-group {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.filter-icon-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gray-300);
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-icon-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.category-tab {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.more-categories {
    color: var(--gray-500);
    margin-left: 0.5rem;
    align-self: center;
}

/* Event Cards */
.event-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    z-index: 2;
}

.event-category.sports {
    background: #ef4444;
}

.event-category.economy {
    background: #f59e0b;
}

.event-category.entertainment {
    background: #8b5cf6;
}

.event-category.technology {
    background: #6b7280;
}

.event-category.politics {
    background: #3b82f6;
}

.event-time {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
}

.event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.event-question {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.5;
    flex: 1;
}

.event-options {
    margin-bottom: 1rem;
}

.option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.option-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.option-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    flex: 1;
}

.option-buttons {
    display: flex;
    gap: 0.5rem;
}

.event-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.volume-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Dark Theme Choice Page */
.dark-theme .choice-page {
    background: var(--bg-primary);
}

.dark-theme .search-filter-bar {
    background: var(--bg-primary) !important;
    border-color: var(--gray-700);
}

.dark-theme .search-input {
    background: var(--gray-800);
    border-color: var(--gray-600);
    color: var(--gray-100);
}

.dark-theme .search-input:focus {
    border-color: var(--primary-color);
}

.dark-theme .search-icon {
    color: var(--gray-400);
}

.dark-theme .filter-icon-btn {
    background: var(--gray-800);
    border-color: var(--gray-600);
    color: var(--gray-300);
}

.dark-theme .filter-icon-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.dark-theme .category-tab {
    background: var(--gray-800);
    border-color: var(--gray-600);
    color: var(--gray-300);
}

.dark-theme .category-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.dark-theme .category-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.dark-theme .event-card {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

.dark-theme .event-time {
    color: var(--gray-400);
}

.dark-theme .event-title {
    color: var(--gray-100);
}

.dark-theme .event-question {
    color: var(--gray-300);
}

.dark-theme .option-text {
    color: var(--gray-200);
}

.dark-theme .option-row {
    border-bottom-color: var(--gray-700);
}

.dark-theme .event-footer {
    border-top-color: var(--gray-700);
}

.dark-theme .volume-text {
    color: var(--primary-color);
}

/* Statistics Page Styles */
.statistics-page {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.statistics-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.statistics-page .container {
    position: relative;
    z-index: 1;
}

/* Modern Statistics Page */
.modern-statistics-page {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.modern-statistics-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.modern-statistics-page .container {
    position: relative;
    z-index: 1;
}

/* Page Title Section */
.page-title-section {
    position: relative;
    padding: 2rem 0;
}

.title-icon {
    animation: pulse 2s infinite;
    position: relative;
    display: inline-block;
}

/* Choice page title icon visibility */
@media (min-width: 769px) {
    /* Hide rocket icon on desktop */
    .modern-choice-page .title-icon {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Show rocket icon on mobile */
    .modern-choice-page .title-icon {
        display: inline-block;
    }
}

/* Statistics page title icon visibility */
@media (min-width: 769px) {
    /* Hide chart icon on desktop */
    .modern-statistics-page .title-icon {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Show chart icon on mobile */
    .modern-statistics-page .title-icon {
        display: inline-block;
    }
}

.title-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: -1;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #1e293b 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 3s linear infinite;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Modern Statistics Containers */
.modern-statistics-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.modern-statistics-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-statistics-container:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.3);
}

.modern-statistics-container:hover::before {
    opacity: 1;
}

/* Modern Info Button */
.modern-info-btn {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.modern-info-btn:hover {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
    color: white;
}

/* Dark Theme */
.dark-theme .statistics-page {
    background: linear-gradient(135deg, #262626 0%, #1a1a1a 100%);
}

.dark-theme .statistics-page::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

.dark-theme .modern-statistics-page {
    background: linear-gradient(135deg, #262626 0%, #1a1a1a 100%);
}

.dark-theme .modern-statistics-page::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

.dark-theme .page-title {
    background: linear-gradient(135deg, #f1f5f9 0%, #60a5fa 50%, #f1f5f9 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-theme .page-subtitle {
    color: #a3a3a3;
}

.dark-theme .modern-statistics-container {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(59, 130, 246, 0.2);
}

.dark-theme .modern-statistics-container:hover {
    background: rgba(50, 50, 50, 1);
}

.dark-theme .modern-info-btn {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    color: white;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    padding-top: 2rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

.statistics-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.container-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.container-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.container-subtitle {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Info Button Styles */
.info-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gray-100);
    color: var(--gray-600);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.info-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.info-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Info Modal Styles */
.info-modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-xl);
}

.info-modal-content .modal-header {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.info-modal-content .modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.info-modal-content .btn-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray-500);
    opacity: 1;
    transition: all 0.3s ease;
}

.info-modal-content .btn-close:hover {
    color: var(--gray-700);
    transform: scale(1.1);
}

.info-modal-content .modal-body {
    background: var(--gray-200);
    padding: 1.5rem 2rem;
}

.info-text {
    font-size: 1rem;
    color: var(--gray-700);
    margin: 0;
    line-height: 1.6;
}

.wikipedia-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wikipedia-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Dark Theme Info Styles */
.dark-theme .info-btn {
    background: var(--gray-300);
    color: var(--white);
}

.dark-theme .info-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.dark-theme .info-modal-content {
    background: var(--gray-800);
    color: var(--white);
}

.dark-theme .info-modal-content .modal-header {
    background: var(--gray-200);
    border-bottom-color: var(--gray-600);
}

.dark-theme .info-modal-content .modal-title {
    color: var(--white);
}

.dark-theme .info-modal-content .btn-close {
    color: var(--gray-300);
}

.dark-theme .info-modal-content .btn-close:hover {
    color: var(--white);
}

.dark-theme .info-text {
    color: var(--gray-800);
}

.dark-theme .wikipedia-link {
    color: var(--primary-color);
}

.dark-theme .wikipedia-link:hover {
    color: var(--primary-light);
}

/* Statistics Table Styles */
.statistics-table {
    display: flex;
    flex-direction: column;
    max-height: 350px;
    overflow-y: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    height: 350px;
}

/* Equal height rows for statistics containers */
.statistics-page .row {
    display: flex;
    flex-wrap: wrap;
}

.statistics-page .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.statistics-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.statistics-table {
    flex: 1;
    min-height: 0;
}

.table-header {
    display: grid;
    grid-template-columns: 50px 1fr 1fr 120px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* 6 Column Table Header for Election Results */
.table-header:has(.col-extra2) {
    grid-template-columns: 50px 1fr 90px 90px 90px 90px;
    gap: 0.75rem;
}

/* 5 Column Table Header for Premier League */
.table-header:has(.col-extra):not(:has(.col-extra2)) {
    grid-template-columns: 50px 1fr 1fr 1fr 80px;
    gap: 0.75rem;
}

/* 6 Column Table Row for Election Results */
.table-row:has(.col-extra2) {
    grid-template-columns: 50px 1fr 90px 90px 90px 90px;
    gap: 0.75rem;
}

/* Additional Column Styles */
.col-extra {
    text-align: center;
    font-weight: 500;
    color: var(--gray-600);
    padding-left: 0.5rem;
}

.col-extra2 {
    text-align: center;
    font-weight: 500;
    color: var(--gray-600);
    padding-left: 0.5rem;
}

/* AK Parti column alignment */
.table-row:has(.col-extra2) .col-detail {
    text-align: center;
    padding-left: 1.0rem;
    padding-right: 0;
}

/* Alternative AK Parti alignment - direct class */
.statistics-container .col-detail {
    text-align: center;
    padding-left: 5rem;
    padding-right: 0;
}

/* Mobile responsive for AK Parti column */
@media (max-width: 768px) {
    .statistics-container .col-detail {
        padding-left: 1.5rem;
    }
}

/* All party columns alignment */
.table-row:has(.col-extra2) .col-date,
.table-row:has(.col-extra2) .col-extra,
.table-row:has(.col-extra2) .col-extra2 {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
}

.table-body {
    display: flex;
    flex-direction: column;
}

.table-row {
    display: grid;
    grid-template-columns: 50px 1fr 1fr 120px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    align-items: center;
}

/* 6 Column Table Row for Election Results */
.table-row:has(.col-extra2) {
    grid-template-columns: 50px 1fr 80px 80px 80px 80px;
}

/* 5 Column Table Row for Premier League */
.table-row:has(.col-extra):not(:has(.col-extra2)) {
    grid-template-columns: 50px 1fr 1fr 1fr 80px;
}

.table-row:hover {
    background: var(--gray-50);
}

.table-row:last-child {
    border-bottom: none;
}

.col-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.col-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
}

.col-detail {
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}

.col-date {
    font-size: 0.85rem;
    color: var(--gray-600);
    text-align: right;
}

/* Scrollbar Styles */
.statistics-table::-webkit-scrollbar {
    width: 6px;
}

.statistics-table::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.statistics-table::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 3px;
}

.statistics-table::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Dark Theme Statistics */
.dark-theme .statistics-page {
    background: var(--bg-primary);
}

.dark-theme .page-title {
    color: var(--gray-100);
}

.dark-theme .page-subtitle {
    color: var(--gray-400);
}

.dark-theme .statistics-container {
    background: var(--gray-200);
    border-color: var(--gray-200);
}

.dark-theme .container-title {
    color: var(--gray-100);
}

.dark-theme .container-subtitle {
    color: var(--gray-400);
}

/* Dark Theme Table Styles */
.dark-theme .statistics-table {
    border-color: var(--gray-300);
}

.dark-theme .table-header {
    background: var(--gray-300);
    border-bottom-color: var(--gray-300);
    color: var(--gray-800);
}

.dark-theme .table-row {
    border-bottom-color: var(--gray-300);
}

.dark-theme .table-row:hover {
    background: var(--gray-300);
}

.dark-theme .col-name {
    color: var(--gray-900);
}

.dark-theme .col-detail {
    color: var(--gray-800);
}

.dark-theme .col-date {
    color: var(--gray-700);
}

.dark-theme .col-number {
    background: var(--primary-color);
    color: var(--white);
}

.dark-theme .statistics-table::-webkit-scrollbar-track {
    background: var(--gray-300);
}

.dark-theme .statistics-table::-webkit-scrollbar-thumb {
    background: var(--gray-500);
}

.dark-theme .statistics-table::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Mobile Responsive Styles for Statistics */
@media (max-width: 768px) {
    .statistics-page {
        padding: 0.5rem 0;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .statistics-container {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .container-header {
        margin-bottom: 1rem;
    }
    
    .container-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .container-subtitle {
        font-size: 0.9rem;
    }
    
    .statistics-table {
        max-height: 300px;
        font-size: 0.85rem;
    }
    
    .table-header {
        grid-template-columns: 35px 1fr 1fr 100px;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    .table-row {
        grid-template-columns: 35px 1fr 1fr 100px;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    .col-number {
        width: 20px;
        height: 20px;
        font-size: 0.75rem;
    }
    
    .col-name {
        font-size: 0.85rem;
        line-height: 1.2;
    }
    
    .col-detail {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .col-date {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    /* 6 Column Table for Election Results - Tablet */
    .table-header:has(.col-extra2) {
        grid-template-columns: 35px 1fr 65px 65px 65px 65px;
        gap: 0.4rem;
        font-size: 0.7rem;
        padding: 0.75rem 1rem;
    }
    
    /* 5 Column Table for Premier League - Tablet */
    .table-header:has(.col-extra):not(:has(.col-extra2)) {
        grid-template-columns: 35px 1fr 1fr 1fr 60px;
        gap: 0.4rem;
        font-size: 0.7rem;
        padding: 0.75rem 1rem;
    }
    
    .table-row:has(.col-extra2) {
        grid-template-columns: 35px 1fr 65px 65px 65px 65px;
        gap: 0.4rem;
        padding: 0.75rem 1rem;
    }
    
    /* 5 Column Table Row for Premier League - Tablet */
    .table-row:has(.col-extra):not(:has(.col-extra2)) {
        grid-template-columns: 35px 1fr 1fr 1fr 60px;
        gap: 0.4rem;
        padding: 0.75rem 1rem;
    }
    
    /* Tablet election table text sizes */
    .table-row:has(.col-extra2) .col-number {
        font-size: 0.75rem;
    }
    
    .table-row:has(.col-extra2) .col-name {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .table-row:has(.col-extra2) .col-detail,
    .table-row:has(.col-extra2) .col-date,
    .table-row:has(.col-extra2) .col-extra,
    .table-row:has(.col-extra2) .col-extra2 {
        font-size: 0.65rem;
        line-height: 1.2;
    }
    
    /* Info Button Tablet */
    .info-btn {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .statistics-page {
        padding: 0.25rem 0;
    }
    
    .page-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .page-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .statistics-container {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .container-header {
        margin-bottom: 0.75rem;
    }
    
    .container-title {
        font-size: 1rem;
        line-height: 1.2;
    }
    
    .container-subtitle {
        font-size: 0.85rem;
    }
    
    .statistics-table {
        max-height: 250px;
        font-size: 0.8rem;
    }
    
    .table-header {
        grid-template-columns: 30px 1fr 1fr 80px;
        gap: 0.25rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .table-row {
        grid-template-columns: 30px 1fr 1fr 80px;
        gap: 0.25rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .col-number {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }
    
    .col-name {
        font-size: 0.8rem;
        line-height: 1.1;
    }
    
    .col-detail {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .col-date {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    /* 6 Column Table for Election Results - Mobile */
    .table-header:has(.col-extra2) {
        grid-template-columns: 30px 0.8fr 50px 50px 50px 50px;
        gap: 0.3rem;
        font-size: 0.65rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* 5 Column Table for Premier League - Mobile */
    .table-header:has(.col-extra):not(:has(.col-extra2)) {
        grid-template-columns: 30px 0.8fr 0.8fr 0.8fr 50px;
        gap: 0.3rem;
        font-size: 0.65rem;
        padding: 0.5rem 0.75rem;
    }
    
    .table-row:has(.col-extra2) {
        grid-template-columns: 30px 0.8fr 50px 50px 50px 50px;
        gap: 0.3rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* 5 Column Table Row for Premier League - Mobile */
    .table-row:has(.col-extra):not(:has(.col-extra2)) {
        grid-template-columns: 30px 0.8fr 0.8fr 0.8fr 50px;
        gap: 0.3rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Mobile election table text sizes */
    .table-row:has(.col-extra2) .col-number {
        font-size: 0.7rem;
    }
    
    .table-row:has(.col-extra2) .col-name {
        font-size: 0.65rem;
        line-height: 1.1;
    }
    
    .table-row:has(.col-extra2) .col-detail,
    .table-row:has(.col-extra2) .col-date,
    .table-row:has(.col-extra2) .col-extra,
    .table-row:has(.col-extra2) .col-extra2 {
        font-size: 0.6rem;
        line-height: 1.1;
    }
    
    /* Info Button Mobile */
    .info-btn {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navbar Mobile */
    .navbar-right {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        margin-top: 1rem;
    }
    
    .login-dropdown {
        width: 40px;
        height: 40px;
        justify-content: center;
    }
    
    .theme-toggle {
        justify-content: center;
    }
    
    /* Mobile Nav Icons */
    .nav-link {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.75rem 1rem !important;
    }
    
    .nav-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .nav-text {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 1.25rem 0.75rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }
    
    .stat-card {
        padding: 1.25rem 0.5rem;
    }
    
    .feature-card {
        padding: 1rem 0.75rem;
    }
    
    /* Footer Mobile */
    .footer-copyright {
        margin-left: 0.5rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .footer-version {
        margin-right: 0;
        text-align: center;
        justify-content: center;
    }
    
    /* Choice Page Mobile */
    .search-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input-group {
        max-width: none;
    }
    
    .filter-icons {
        justify-content: center;
    }
    
    .category-tabs {
        justify-content: flex-start;
    }
    
    .event-card {
        padding: 1rem;
    }
    
    .event-image {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .event-title {
        font-size: 1rem;
    }
    
    .event-question {
        font-size: 0.85rem;
    }
    
    .option-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .option-buttons .btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Typewriter Animation */
.typewriter-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--primary-color);
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

/* Featured Events Section */
.featured-events {
    background: var(--gray-50);
    padding: 4rem 0;
}

.dark-theme .featured-events {
    background: var(--gray-100);
}

.event-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

.dark-theme .event-card {
    background: var(--gray-200);
    border-color: var(--gray-300);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

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

.event-category {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-category.sport {
    background: #ef4444;
    color: white;
}

.event-category.politics {
    background: #3b82f6;
    color: white;
}

.event-category.tech,
.event-category.economy,
.event-category.entertainment {
    background: var(--gray-300);
    color: var(--gray-700);
}

.dark-theme .event-category.tech,
.dark-theme .event-category.economy,
.dark-theme .event-category.entertainment {
    background: var(--gray-400);
    color: var(--gray-800);
}

.event-time {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

.dark-theme .event-time {
    color: var(--gray-400);
}

.event-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.dark-theme .event-title {
    color: var(--gray-100);
}

.event-question {
    font-size: 0.875rem;
    color: var(--gray-800);
    margin-bottom: 1.25rem;
    line-height: 1.5;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    cursor: pointer;
    transition: color 0.3s ease;
}

.event-question:hover {
    color: var(--primary-600);
}

.event-question.truncated {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.dark-theme .event-question {
    color: white;
}

.event-options {
    margin-bottom: 1.25rem;
}

.option-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.dark-theme .option-group {
    background: var(--gray-300);
    border-color: var(--gray-400);
}

.option-text {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.dark-theme .option-text {
    color: white;
}

.option-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-option {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-option.yes {
    background: #10b981;
    color: white;
}

.btn-option.yes:hover {
    background: #059669;
}

.btn-option.no {
    background: #ef4444;
    color: white;
}

.btn-option.no:hover {
    background: #dc2626;
}

.event-reward {
    text-align: left;
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.875rem;
    padding: 0.5rem 0;
    background: none;
    border: none;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.dark-theme .event-reward {
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge,
.hero-title,
.hero-description,
.hero-buttons,
.stat-card,
.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    animation-delay: 0.1s;
}

.hero-description {
    animation-delay: 0.2s;
}

.hero-buttons {
    animation-delay: 0.3s;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success States */
.success {
    color: var(--success-color);
}

/* Error States */
.error {
    color: var(--danger-color);
}

/* ========================================
   DARK THEME SPECIFIC STYLES
   ======================================== */

/* Dark Theme Global Overrides */
.dark-theme {
    background-color: #262626 !important;
}

.dark-theme body {
    background-color: #262626 !important;
    color: var(--gray-800) !important;
}

/* Dark Theme Navigation */
.dark-theme .navbar {
    background: #262626 !important;
    border-bottom: 1px solid #404040 !important;
}

.dark-theme .navbar-brand {
    color: var(--gray-900) !important;
}

.dark-theme .brand-name {
    color: var(--gray-900) !important;
}

.dark-theme .brand-slogan {
    color: var(--gray-500) !important;
}

.dark-theme .nav-link {
    color: var(--gray-600) !important;
}

.dark-theme .nav-link:hover {
    color: var(--primary-color) !important;
}

.dark-theme .nav-link.active {
    color: var(--primary-color) !important;
}

/* Dark Theme Hero Section */
.dark-theme .hero-section {
    background: var(--gradient-hero) !important;
}

.dark-theme .hero-title {
    color: var(--gray-900) !important;
}

.dark-theme .hero-description {
    color: var(--gray-600) !important;
}

/* Dark Theme Stats */
.dark-theme .stats-section {
    background: #262626 !important;
    border-top: 1px solid #404040 !important;
    border-bottom: 1px solid #404040 !important;
}

.dark-theme .stat-number {
    color: var(--primary-color) !important;
}

.dark-theme .stat-label {
    color: var(--gray-600) !important;
}

/* Dark Theme How It Works */
.dark-theme .how-it-works-section {
    background: #262626 !important;
}

.dark-theme .section-title {
    color: var(--gray-900) !important;
}

.dark-theme .feature-card {
    background: #404040 !important;
    border: 1px solid #525252 !important;
}

.dark-theme .feature-card h4 {
    color: var(--gray-900) !important;
}

.dark-theme .feature-card p {
    color: var(--gray-600) !important;
}

/* Dark Theme Footer */
.dark-theme .footer {
    background: #262626 !important;
    border-top: 1px solid #404040 !important;
}

.dark-theme .footer-title {
    color: var(--gray-900) !important;
}

.dark-theme .footer-description {
    color: var(--gray-600) !important;
}

.dark-theme .footer-links a {
    color: var(--gray-600) !important;
}

.dark-theme .footer-links a:hover {
    color: var(--primary-color) !important;
}

.dark-theme .footer-copyright,
.dark-theme .footer-version {
    color: var(--gray-500) !important;
}

.dark-theme .social-link {
    background: #404040 !important;
    color: #a3a3a3 !important;
}

.dark-theme .social-link:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

/* Dark Theme Buttons */
.dark-theme .btn-primary {
    background: var(--gradient-primary) !important;
    color: white !important;
}

.dark-theme .btn-outline-primary {
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: #262626 !important;
}

.dark-theme .btn-outline-primary:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

/* Dark Theme Typography */
.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme h5,
.dark-theme h6 {
    color: var(--gray-900) !important;
}

.dark-theme .text-primary {
    color: var(--primary-color) !important;
}

/* Dark Theme Login Dropdown */
.dark-theme .login-dropdown {
    color: #a3a3a3 !important;
}

.dark-theme .login-dropdown:hover {
    color: var(--primary-color) !important;
    background: #404040 !important;
}

.dark-theme .login-dropdown:focus {
    color: var(--primary-color) !important;
}

.dark-theme .dropdown-menu {
    background: #404040 !important;
    border: 1px solid #525252 !important;
}

.dark-theme .dropdown-item {
    color: #d4d4d4 !important;
}

.dark-theme .dropdown-item:hover {
    background: #525252 !important;
    color: var(--primary-color) !important;
}

.dark-theme .dropdown-divider {
    border-color: #525252 !important;
}

/* Dark Theme Nav Icons */
.dark-theme .nav-icon {
    background: #404040 !important;
    color: #a3a3a3 !important;
}

.dark-theme .nav-text {
    color: #a3a3a3 !important;
}

.dark-theme .nav-link:hover .nav-icon {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

.dark-theme .nav-link:hover .nav-text {
    color: var(--primary-color) !important;
}

.dark-theme .nav-link.active .nav-icon {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

.dark-theme .nav-link.active .nav-text {
    color: var(--primary-color) !important;
}

/* Dark Theme Footer Text */
.dark-theme .footer-title {
    color: #ffffff !important;
}

.dark-theme .footer-description {
    color: #a3a3a3 !important;
}

.dark-theme .footer-links a {
    color: #a3a3a3 !important;
}

.dark-theme .footer-links a:hover {
    color: var(--primary-color) !important;
}

.dark-theme .social-link {
    background: #404040 !important;
    color: #a3a3a3 !important;
}

.dark-theme .social-link:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

.dark-theme .footer-copyright,
.dark-theme .footer-version {
    color: #737373 !important;
}

.dark-theme .footer-copyright i,
.dark-theme .footer-version i {
    color: var(--primary-color) !important;
}

/* Dark Theme Nav Dropdown */
.dark-theme .nav-item.dropdown .dropdown-menu {
    background: #404040 !important;
    border: 1px solid #525252 !important;
}

.dark-theme .nav-item.dropdown .dropdown-item {
    color: #d4d4d4 !important;
}

.dark-theme .nav-item.dropdown .dropdown-item:hover {
    background: #525252 !important;
    color: var(--primary-color) !important;
}

/* About Page Styles */
.about-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.dark-theme .about-section {
    background: linear-gradient(135deg, #262626 0%, #1a1a1a 100%);
}

.dark-theme .about-section::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

.about-section .card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-section .card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3) !important;
}

.dark-theme .about-section .card {
    background: rgba(40, 40, 40, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.about-section .bg-gradient-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.dark-theme .about-section .text-muted {
    color: #a3a3a3 !important;
}

.dark-theme .about-section .card {
    background-color: #404040;
    border-color: #525252;
}

.dark-theme .stats-section {
    background: transparent !important;
}

.dark-theme .about-section .card-body {
    color: #f5f5f5;
}

.dark-theme .about-section .display-4,
.dark-theme .about-section h1,
.dark-theme .about-section h2,
.dark-theme .about-section h3,
.dark-theme .about-section h5 {
    color: #ffffff !important;
}

.dark-theme .about-section .lead {
    color: #d4d4d4 !important;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

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

/* Apply Animations */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.bounce-icon {
    display: inline-block;
    animation: bounce 2s infinite;
}

.rotate-hover {
    transition: transform 0.3s ease;
}

.rotate-hover:hover {
    transform: rotate(15deg) scale(1.1);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

.pulse-text {
    animation: pulse 2s infinite;
}

/* Stats Section Animations */
.stats-section {
    background: transparent !important;
    margin-bottom: 3rem !important;
}

.stats-section .stat-card {
    transition: all 0.3s ease;
}

.stats-section .stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.about-stat {
    padding: 2.5rem 2rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.about-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-stat:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.3);
}

.about-stat:hover::before {
    opacity: 1;
}

.dark-theme .about-stat {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(59, 130, 246, 0.2);
}

.dark-theme .about-stat:hover {
    background: rgba(50, 50, 50, 1);
}

.about-stat .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 1rem 0;
}

.about-stat .stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    margin: 0;
}

.dark-theme .about-stat .stat-label {
    color: #a3a3a3;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 2rem 0;
}

/* Timeline Section Heading */
.timeline-section .text-center.mb-5.fade-in-up {
    padding-top: 5rem;
    margin-bottom: 3rem !important;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.6s;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.1) rotate(360deg);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 15px 45px rgba(59, 130, 246, 0.2);
    transform: translateX(15px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.3);
}

.timeline-item:hover .timeline-content::before {
    opacity: 1;
}

.dark-theme .timeline-content {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(59, 130, 246, 0.2);
    color: #f5f5f5;
}

/* Value Cards */
.value-card {
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.value-card h5 {
    flex-shrink: 0;
}

.value-card p {
    flex: 1;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.3);
}

.value-card:hover::before {
    opacity: 1;
}

.dark-theme .value-card {
    background: rgba(40, 40, 40, 0.9);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Feature Cards */
.feature-cards .card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.feature-cards .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-cards .card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
}

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

.feature-cards .card i {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.feature-cards .card:hover i {
    transform: scale(1.3) rotate(10deg);
    filter: drop-shadow(0 10px 20px rgba(59, 130, 246, 0.4));
}

.dark-theme .feature-cards .card {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Responsive Animations */
@media (max-width: 768px) {
    .about-stat {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .about-stat .stat-number {
        font-size: 2rem;
    }
    
    .stat-icon i {
        font-size: 2rem !important;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
    
    .hero-icon::before {
        width: 150px;
        height: 150px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .about-stat {
        padding: 1.2rem;
    }
    
    .about-stat .stat-number {
        font-size: 1.5rem;
    }
    
    .about-stat .stat-label {
        font-size: 0.9rem;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .hero-icon i {
        font-size: 3rem !important;
    }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Intersection Observer */
.fade-in-up.animated {
    opacity: 1;
}

/* Hero Icon Animation */
.hero-icon {
    animation: pulse 2s infinite;
    position: relative;
    display: none; /* Hidden on desktop by default */
}

.hero-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: -1;
}

/* Show hero icon only on mobile */
@media (max-width: 768px) {
    .hero-icon {
        display: inline-block;
    }
}

/* Adjust hero title position for desktop */
@media (min-width: 769px) {
    .about-section .row.mb-5.fade-in-up h1.display-4 {
        margin-top: 2rem;
    }
    
    .about-section .row.mb-5.fade-in-up .hero-icon {
        display: none;
    }
}

/* Enhanced Title Animations */
.display-4 {
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #1e293b 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 3s linear infinite;
}

@keyframes gradient-text {
    to {
        background-position: 200% center;
    }
}

.dark-theme .display-4 {
    background: linear-gradient(135deg, #f1f5f9 0%, #60a5fa 50%, #f1f5f9 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats Icon Glow Effect */
.stat-icon i {
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.4));
    transition: filter 0.3s ease;
}

.about-stat:hover .stat-icon i {
    filter: drop-shadow(0 8px 24px rgba(59, 130, 246, 0.6));
}

/* Timeline Marker Enhanced */
.timeline-marker {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.timeline-item:hover .timeline-marker {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
}

/* Home Page Modern Styles */
.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

/* Modern Stats Section */
.modern-stats .row {
    display: flex;
}

.modern-stats .row > [class*="col-"] {
    display: flex;
}


/* Modern Event Cards */
.modern-event-cards .modern-event-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.modern-event-cards .modern-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-event-cards .modern-event-card:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.3);
}

.modern-event-cards .modern-event-card:hover::before {
    opacity: 1;
}

.dark-theme .modern-event-cards .modern-event-card {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(59, 130, 246, 0.2);
}

.dark-theme .modern-event-cards .modern-event-card:hover {
    background: rgba(40, 40, 40, 1);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

/* Choice Page Responsive */
@media (max-width: 768px) {
    .modern-choice-page {
        padding: 1rem 0;
    }
    
    .modern-search-bar {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .modern-category-tabs {
        gap: 0.25rem;
    }
    
    .modern-category-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .modern-event-cards .modern-event-card {
        border-radius: 16px;
    }
}

@media (max-width: 576px) {
    .modern-choice-page {
        padding: 0.5rem 0;
    }
    
    .modern-search-bar {
        padding: 0.8rem;
        border-radius: 12px;
    }
    
    .modern-category-tab {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

.modern-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.modern-event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.3);
}

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

.dark-theme .modern-event-card {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Gradient Text Custom */
.gradient-text-custom {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 3s linear infinite;
}

/* Hero Section Enhancement */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    animation: rotate-bg 20s linear infinite;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

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

.dark-theme .hero-section::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}
