:root {
    --primary: #17223B;
    --primary-light: #263859;
    --secondary: #1FC9C7;
    --secondary-light: #4DD9D7;
    --accent: #FF6F61;
    --accent-light: #FF8A7F;
    --bg-light: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-highlight: #E8EDF5;
    --text-dark: #2E3440;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --border: #E5E7EB;
    --shadow: rgba(23, 34, 59, 0.08);
    --shadow-lg: rgba(23, 34, 59, 0.15);
    --gradient-primary: linear-gradient(135deg, #17223B 0%, #263859 50%, #1FC9C7 100%);
    --gradient-card: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
}

* {
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
    margin: 0;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary);
}

.navbar {
    background: var(--gradient-primary) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px var(--shadow-lg);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.navbar .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
}

.navbar .nav-link.active {
    background: rgba(31, 201, 199, 0.3);
    color: #fff !important;
}

.btn {
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    transition: all 0.25s ease;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(23, 34, 59, 0.25);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 34, 59, 0.35);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(31, 201, 199, 0.25);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 111, 97, 0.3);
}

.btn-accent:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

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

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

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 16px var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 8px 30px var(--shadow-lg);
    transform: translateY(-4px);
}

.card-header {
    background: var(--gradient-primary);
    color: #fff;
    padding: 1rem 1.25rem;
    border: none;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.form-control, .form-select {
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--bg-card);
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(31, 201, 199, 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.badge {
    font-weight: 600;
    padding: 0.5em 1em;
    border-radius: 8px;
}

.badge-primary {
    background: var(--primary);
    color: #fff;
}

.badge-secondary {
    background: var(--secondary);
    color: var(--primary);
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background: var(--bg-highlight);
    color: var(--text-dark);
    font-weight: 600;
    padding: 1rem;
    border: none;
}

.table tbody td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.table tbody tr:hover {
    background: var(--bg-highlight);
}

.hero-section {
    background: var(--gradient-primary);
    color: #fff;
    padding: 4rem 0;
    border-radius: 0 0 30px 30px;
    margin: -1.5rem -0.75rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(31, 201, 199, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-section .highlight {
    color: var(--secondary);
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.event-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card .event-header {
    background: var(--gradient-primary);
    color: #fff;
    padding: 1.25rem;
}

.event-card .event-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.event-card .event-body {
    padding: 1.25rem;
}

.event-card .event-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.event-card .event-meta i {
    color: var(--secondary);
}

.event-glass-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(31, 201, 199, 0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(23, 34, 59, 0.08),
        0 1px 3px rgba(23, 34, 59, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
}

.event-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(31, 201, 199, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 20px;
}

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

.event-glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 50px rgba(23, 34, 59, 0.15),
        0 8px 20px rgba(31, 201, 199, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(31, 201, 199, 0.3);
}

.event-glass-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 150%);
    padding: 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.event-glass-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(31, 201, 199, 0.3) 0%, transparent 60%);
    opacity: 0.5;
}

.event-glass-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.event-glass-body {
    padding: 1.25rem 1.5rem;
}

.event-glass-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.event-glass-meta i {
    color: var(--secondary);
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.event-glass-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 1rem 0;
    line-height: 1.5;
}

.event-glass-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.event-glass-capacity {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.modal-header {
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 20px 20px 0 0;
    padding: 1.25rem 1.5rem;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow-lg);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--bg-highlight);
    color: var(--primary);
}

.alert {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.page-header {
    background: var(--gradient-primary);
    color: #fff;
    padding: 2rem 0;
    margin: -1.5rem -0.75rem 2rem;
    border-radius: 0 0 20px 20px;
}

.page-header h1 {
    font-weight: 700;
    margin: 0;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0 0;
}

.admin-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.admin-card:hover {
    box-shadow: 0 8px 30px var(--shadow);
}

.admin-card .admin-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.admin-card .admin-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.admin-card .admin-label {
    color: var(--text-muted);
    font-weight: 500;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    padding: 2rem;
}

.login-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-logo {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 2rem;
}

.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 1.5rem 0;
    margin-top: auto;
}

#blazor-error-ui {
    background: var(--danger);
    color: #fff;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: none;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.75rem;
}

.blazor-error-boundary {
    background: var(--danger);
    color: #fff;
    padding: 1rem;
    border-radius: 12px;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.spinner-border {
    color: var(--secondary);
}

.progress {
    height: 8px;
    border-radius: 10px;
    background: var(--bg-highlight);
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2.5rem 0;
        margin: -1rem -0.75rem 1.5rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 1.5rem 0;
        margin: -1rem -0.75rem 1.5rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-card .stat-number {
        font-size: 1.75rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .login-card {
        padding: 2rem 1.5rem;
    }
    
    .modal-dialog {
        margin: 1rem;
    }
    
    .admin-card .admin-value {
        font-size: 1.5rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .d-flex.gap-2 {
        gap: 0.5rem !important;
    }
}

.table-light {
    background-color: var(--bg-highlight) !important;
}

.table-light th {
    background-color: var(--bg-highlight) !important;
    border-bottom: 2px solid var(--border) !important;
}

.form-check-input:checked {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.input-group-text {
    background: var(--bg-highlight);
    border: 2px solid var(--border);
    border-right: none;
    color: var(--text-muted);
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:focus {
    border-left: 2px solid var(--secondary);
}

.is-invalid {
    border-color: var(--danger) !important;
}

.invalid-feedback {
    color: var(--danger);
    font-size: 0.875rem;
}

.sticky-top {
    z-index: 100;
}

.registration-panel {
    position: relative;
    background: linear-gradient(135deg, rgba(23, 34, 59, 0.95) 0%, rgba(38, 56, 89, 0.9) 50%, rgba(31, 201, 199, 0.85) 100%);
    border-radius: 24px;
    padding: 3px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(23, 34, 59, 0.4), 0 0 30px rgba(31, 201, 199, 0.2);
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% { box-shadow: 0 25px 50px -12px rgba(23, 34, 59, 0.4), 0 0 30px rgba(31, 201, 199, 0.2); }
    100% { box-shadow: 0 25px 50px -12px rgba(23, 34, 59, 0.5), 0 0 40px rgba(255, 111, 97, 0.3); }
}

.registration-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(31, 201, 199, 0.3), transparent, rgba(255, 111, 97, 0.3), transparent);
    animation: rotate 8s linear infinite;
    pointer-events: none;
}

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

.registration-inner {
    position: relative;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-radius: 22px;
    padding: 0;
    overflow: hidden;
}

.registration-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.registration-header-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

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

.registration-header-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.registration-header h5 {
    color: #fff;
    font-weight: 700;
    margin: 0;
    font-size: 1.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.registration-body {
    padding: 1.75rem;
}

.spots-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(31, 201, 199, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 1.5rem;
}

.spots-badge i {
    animation: pulse 2s ease-in-out infinite;
}

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

.form-floating-custom {
    position: relative;
    margin-bottom: 1.25rem;
}

.form-floating-custom .form-control {
    height: 56px;
    padding: 1rem 1rem 0.5rem 3rem;
    border: 2px solid var(--border);
    border-radius: 14px;
    font-size: 1rem;
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-floating-custom .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(31, 201, 199, 0.15), 0 4px 12px rgba(31, 201, 199, 0.1);
    background: #fff;
}

.form-floating-custom .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.3s ease;
    z-index: 1;
}

.form-floating-custom .form-control:focus ~ .input-icon {
    color: var(--secondary);
}

.form-floating-custom .form-label {
    position: absolute;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
    padding: 0 0.25rem;
    margin: 0;
}

.form-floating-custom .form-control:focus ~ .form-label,
.form-floating-custom .form-control:not(:placeholder-shown) ~ .form-label {
    top: 0;
    left: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
    background: #fff;
    padding: 0 0.5rem;
}

.btn-register {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(23, 34, 59, 0.3);
}

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

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(23, 34, 59, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
}

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

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

.btn-register:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.registration-success-state,
.registration-warning-state,
.registration-error-state {
    text-align: center;
    padding: 2rem 1rem;
}

.state-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    position: relative;
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.state-icon-wrapper.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(31, 201, 199, 0.15) 100%);
}

.state-icon-wrapper.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(255, 111, 97, 0.15) 100%);
}

.state-icon-wrapper.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(255, 111, 97, 0.15) 100%);
}

.state-icon-wrapper i {
    font-size: 2rem;
}

.state-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed currentColor;
    opacity: 0.3;
    animation: spinSlow 10s linear infinite;
}

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

.aurora-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 40%, var(--secondary) 100%);
    color: #fff;
    padding: 5rem 0 4rem;
    margin: -1.5rem -0.75rem 2rem;
    border-radius: 0 0 40px 40px;
    position: relative;
    overflow: hidden;
}

.aurora-hero::before {
    content: '';
    position: absolute;
    top: -100%;
    right: -50%;
    width: 100%;
    height: 300%;
    background: radial-gradient(ellipse at center, rgba(31, 201, 199, 0.3) 0%, transparent 60%);
    animation: auroraWave 8s ease-in-out infinite;
}

.aurora-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 111, 97, 0.2) 0%, transparent 50%);
    animation: auroraWave 10s ease-in-out infinite reverse;
}

@keyframes auroraWave {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(5%, -5%) rotate(5deg); }
}

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

.aurora-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.aurora-hero .highlight {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aurora-hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 500px;
}

.btn-hero {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: #fff;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border: none;
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(31, 201, 199, 0.4);
}

.btn-hero-primary:hover {
    box-shadow: 0 12px 35px rgba(31, 201, 199, 0.5);
    color: var(--primary);
}

.glass-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
}

.glass-stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.glass-stat-card .stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-stat-card .stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.step-card {
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    border: none;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(23, 34, 59, 0.08);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(23, 34, 59, 0.15);
}

.step-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(31, 201, 199, 0.3);
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(23, 34, 59, 0.05);
    line-height: 1;
}

.admin-glass-card {
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    border: 1px solid rgba(31, 201, 199, 0.15);
    border-radius: 20px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(23, 34, 59, 0.08);
}

.admin-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--accent) 100%);
}

.admin-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(23, 34, 59, 0.12);
    border-color: rgba(31, 201, 199, 0.3);
}

.admin-glass-card .stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(31, 201, 199, 0.25);
}

.admin-glass-card .stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.admin-glass-card .stat-label {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.admin-glass-card .stat-sub {
    font-size: 0.8rem;
    color: var(--success);
    margin-top: 0.5rem;
}

.glass-panel {
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(23, 34, 59, 0.08);
    transition: all 0.3s ease;
}

.glass-panel:hover {
    box-shadow: 0 15px 50px rgba(23, 34, 59, 0.12);
}

.glass-panel-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    color: #fff;
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

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

.glass-panel-header > * {
    position: relative;
}

.glass-panel-body {
    padding: 1.5rem;
}

.quick-action-btn {
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.quick-action-btn:hover {
    border-color: var(--secondary);
    background: linear-gradient(145deg, #f0fdfc 0%, #e8f7f7 100%);
    transform: translateY(-3px);
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(31, 201, 199, 0.15);
}

.quick-action-btn i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.quick-action-btn:hover i {
    transform: scale(1.1);
}

.activity-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

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

.activity-item:hover {
    background: var(--bg-highlight);
}

.activity-dot {
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
    margin-top: 6px;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(31, 201, 199, 0.2);
}

.login-aurora {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 40%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.login-aurora::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(31, 201, 199, 0.3) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 111, 97, 0.2) 0%, transparent 40%);
    animation: auroraFloat 15s ease-in-out infinite;
}

@keyframes auroraFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, 2%) rotate(2deg); }
    66% { transform: translate(-2%, 1%) rotate(-2deg); }
}

.login-glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.login-icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 2.25rem;
    box-shadow: 0 15px 40px rgba(31, 201, 199, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

.nav-glass {
    background: linear-gradient(135deg, rgba(23, 34, 59, 0.95) 0%, rgba(38, 56, 89, 0.9) 100%) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-aurora {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 2rem 0;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer-aurora::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 50%, var(--secondary) 100%);
}

.event-card-enhanced {
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(23, 34, 59, 0.08);
    position: relative;
}

.event-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.event-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(23, 34, 59, 0.15);
}

.event-card-enhanced .card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 1.5rem;
    border: none;
}

.filter-glass {
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(23, 34, 59, 0.08);
    margin-bottom: 2rem;
}

.admin-table-shell {
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(23, 34, 59, 0.08);
}

.admin-table-shell .table {
    margin: 0;
}

.admin-table-shell .table thead th {
    background: linear-gradient(135deg, var(--bg-highlight) 0%, #e8edf5 100%);
    color: var(--primary);
    font-weight: 700;
    padding: 1rem 1.25rem;
    border: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table-shell .table tbody td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border);
}

.admin-table-shell .table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table-shell .table tbody tr {
    transition: background 0.2s ease;
}

.admin-table-shell .table tbody tr:hover {
    background: rgba(31, 201, 199, 0.05);
}

.modal-glass .modal-content {
    border: none;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-glass .modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    color: #fff;
    padding: 1.5rem;
    border: none;
    position: relative;
}

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

.modal-glass .modal-header .modal-title {
    position: relative;
    font-weight: 700;
}

.modal-glass .modal-body {
    padding: 2rem;
}

.modal-glass .modal-footer {
    background: var(--bg-highlight);
    padding: 1rem 2rem;
    border: none;
}

.page-header-enhanced {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 40%, var(--secondary) 100%);
    color: #fff;
    padding: 2.5rem 0;
    margin: -1.5rem -0.75rem 2rem;
    border-radius: 0 0 30px 30px;
    position: relative;
    overflow: hidden;
}

.page-header-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.page-header-enhanced h1 {
    font-weight: 800;
    margin: 0;
    position: relative;
}

.page-header-enhanced p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0 0;
    position: relative;
}

.section-title {
    font-weight: 800;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .aurora-hero {
        padding: 3rem 0 2.5rem;
    }
    
    .aurora-hero h1 {
        font-size: 2.25rem;
    }
    
    .glass-stat-card .stat-number {
        font-size: 2rem;
    }
    
    .step-card {
        padding: 1.75rem 1.5rem;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
    
    .admin-glass-card .stat-value {
        font-size: 1.75rem;
    }
    
    .login-glass-card {
        padding: 2rem 1.5rem;
    }
    
    .page-header-enhanced {
        padding: 2rem 0;
    }
}
