/* Voucher Page Styles */

/* Outstanding Educational Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Desktop Header Navigation */
.desktop-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    display: none;
    /* Hidden on mobile by default */
}

[data-theme="light"] .desktop-header {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.9), rgba(173, 216, 230, 0.8));
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(135, 206, 235, 0.3);
    box-shadow: 0 8px 32px rgba(135, 206, 235, 0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    height: 70px;
    width: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo .logo-image {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-logo .logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .header-logo .logo-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    flex-shrink: 0;
}

.header-nav-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

[data-theme="light"] .header-nav-item {
    color: rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.header-nav-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .header-nav-item:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

.header-nav-item.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

[data-theme="light"] .header-nav-item.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.header-nav-item .nav-icon {
    font-size: 1.1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1rem;
    flex-shrink: 0;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #000;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.15);
}

.theme-icon {
    font-size: 1rem;
}


/* Clean Header (Mobile) */
.clean-header {
    background: var(--card-bg, rgba(255, 255, 255, 0.1)) !important;
    border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.2)) !important;
    padding: 0.5rem 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    display: none;
}

[data-theme="dark"] .clean-header {
    background: rgba(15, 52, 96, 0.2) !important;
    border-bottom: 1px solid rgba(60, 99, 130, 0.3) !important;
}

.clean-header .header-container {
    background: transparent !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.clean-header .logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.clean-header .logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.clean-header .logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clean-header .institution-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

[data-theme="light"] .clean-header .institution-name {
    color: #0a0e27;
}

.clean-header .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .clean-header .theme-toggle-btn {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #0a0e27;
}

.clean-header .theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

[data-theme="light"] .clean-header .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.15);
}

/* Desktop Navigation Display */
@media (min-width: 769px) {
    .desktop-header {
        display: block;
    }

    .clean-header {
        display: none;
    }

    .hero-section {
        padding-top: 70px;
        /* Account for fixed header */
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .desktop-header {
        display: none;
    }

    .clean-header {
        display: block;
        padding: 0.3rem 0 !important;
        min-height: 50px !important;
    }

    .clean-header .header-container {
        padding: 0.3rem 1rem !important;
        min-height: 50px !important;
    }

    .clean-header .logo-section {
        gap: 0.5rem !important;
    }

    .clean-header .logo-circle {
        width: 35px !important;
        height: 35px !important;
    }

    .clean-header .institution-name {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }

    .clean-header .theme-toggle-btn {
        width: 35px !important;
        height: 35px !important;
        padding: 0.4rem !important;
    }

    .hero-section {
        padding-top: 50px;
        /* Account for mobile header */
    }
}

/* Animated Scientific Background */
.science-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #87ceeb 0%, #4682b4 25%, #6495ed 50%, #00bfff 75%, #1e90ff 100%);
    background-size: 400% 400%;
    animation: scientificGradient 20s ease infinite;
    z-index: -3;
}

[data-theme="dark"] .science-bg {
    background: linear-gradient(135deg, #0f3460 0%, #0c2461 25%, #1e3799 50%, #2c5aa0 75%, #40739e 100%);
    background-size: 400% 400%;
    animation: scientificGradient 20s ease infinite;
}

@keyframes scientificGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: float var(--duration, 15s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    left: calc(var(--start-x, 50%) - 1rem);
    filter: blur(0.5px);
}

/* Money Icons - Golden glow */
.floating-element.money-icon {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    animation: floatMoney var(--duration, 15s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

/* Discount Icons - Green glow */
.floating-element.discount-icon {
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    animation: floatDiscount var(--duration, 15s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

/* Percentage Icons - Red/Orange glow */
.floating-element.percentage-icon {
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    animation: floatPercentage var(--duration, 15s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

/* Special Effects - Multi-color glow */
.floating-element.special-icon {
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: floatSpecial var(--duration, 15s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) translateX(-10px) rotate(0deg);
        opacity: 0;
    }

    10%,
    90% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.3;
        transform: translateY(-10vh) translateX(10px) rotate(180deg);
    }
}

/* Navigation Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="light"] .main-nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    text-decoration: none;
}

[data-theme="light"] .nav-brand {
    color: #0a0e27;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

[data-theme="light"] .nav-link {
    color: rgba(10, 14, 39, 0.8);
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: white;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

[data-theme="light"] .theme-toggle {
    background: rgba(10, 14, 39, 0.1);
    border: 1px solid rgba(10, 14, 39, 0.2);
    color: #0a0e27;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(180deg);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

[data-theme="light"] .mobile-menu-toggle span {
    background: #0a0e27;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
    }

    100% {
        text-shadow: 0 0 50px rgba(102, 126, 234, 0.8), 0 0 70px rgba(118, 75, 162, 0.6);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

[data-theme="light"] .hero-subtitle {
    color: rgba(10, 14, 39, 0.8);
}

/* Filters Section */
.filters-section {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .filters-section {
    background: rgba(10, 14, 39, 0.05);
    border-top: 1px solid rgba(10, 14, 39, 0.1);
    border-bottom: 1px solid rgba(10, 14, 39, 0.1);
}

.filters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

[data-theme="light"] .filter-label {
    color: rgba(10, 14, 39, 0.9);
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

[data-theme="light"] .filter-select {
    border: 2px solid rgba(10, 14, 39, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: #0a0e27;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.filter-select option {
    background: #0a0e27;
    color: white;
    padding: 0.5rem;
}

[data-theme="light"] .filter-select option {
    background: white;
    color: #0a0e27;
}

.reset-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

/* Vouchers Section */
.vouchers-section {
    padding: 4rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    position: relative;
}

[data-theme="light"] .section-title {
    color: #0a0e27;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.voucher-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .voucher-count {
    background: rgba(10, 14, 39, 0.1);
    color: rgba(10, 14, 39, 0.9);
    border: 1px solid rgba(10, 14, 39, 0.2);
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 4rem 0;
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .loading-state {
    color: rgba(10, 14, 39, 0.8);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

[data-theme="light"] .loading-spinner {
    border: 4px solid rgba(10, 14, 39, 0.2);
    border-top: 4px solid #667eea;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 0;
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .empty-state {
    color: rgba(10, 14, 39, 0.8);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

[data-theme="light"] .empty-state h3 {
    color: #0a0e27;
}

/* Vouchers Grid */
.vouchers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Voucher Card */
.voucher-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: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .voucher-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(10, 14, 39, 0.1);
    box-shadow: 0 10px 30px rgba(10, 14, 39, 0.1);
}

.voucher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.voucher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
}

.voucher-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.voucher-code {
    font-size: 1.5rem;
    font-weight: 800;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 2px dashed #667eea;
}

.voucher-discount {
    font-size: 2rem;
    font-weight: 900;
    color: #ff6b6b;
    text-align: right;
}

.voucher-discount .percentage {
    font-size: 2.5rem;
}

.voucher-discount .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
}

[data-theme="light"] .voucher-discount .label {
    color: rgba(10, 14, 39, 0.7);
}

.voucher-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

[data-theme="light"] .voucher-description {
    color: rgba(10, 14, 39, 0.8);
}

.voucher-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.voucher-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .voucher-detail {
    color: rgba(10, 14, 39, 0.7);
}

.voucher-detail .icon {
    font-size: 1rem;
}

.voucher-progress {
    margin-bottom: 1.5rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .progress-label {
    color: rgba(10, 14, 39, 0.8);
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

[data-theme="light"] .progress-bar {
    background: rgba(10, 14, 39, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.voucher-actions {
    display: flex;
    gap: 1rem;
}

.voucher-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.voucher-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.voucher-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.voucher-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .voucher-btn.secondary {
    background: rgba(10, 14, 39, 0.1);
    color: rgba(10, 14, 39, 0.8);
    border: 1px solid rgba(10, 14, 39, 0.2);
}

.voucher-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

[data-theme="light"] .voucher-btn.secondary:hover {
    background: rgba(10, 14, 39, 0.2);
}

/* Status Badges */
.status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    animation: pulse 2s infinite;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid #10b981;
}

.status-badge.expired {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid #ef4444;
    animation: blink 1s infinite;
}

.status-badge.limited {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid #f59e0b;
    animation: shake 0.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.5;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-2px);
    }

    75% {
        transform: translateX(2px);
    }
}

/* Voucher Card States */
.voucher-card.expiring {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.voucher-card.limited {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.progress-fill.almost-full {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

/* Footer */
.main-footer {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    margin-top: 2rem;
}

[data-theme="light"] .main-footer {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(10, 14, 39, 0.1);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .footer-bottom {
    color: rgba(10, 14, 39, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .filters-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-select {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
    }

    .filters-section {
        padding: 1.5rem 0;
    }

    .vouchers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .voucher-card {
        padding: 1.5rem;
    }

    .voucher-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .voucher-header {
        flex-direction: column;
        gap: 1rem;
    }

    .voucher-code {
        font-size: 1.25rem;
    }

    .voucher-discount {
        font-size: 1.5rem;
        text-align: left;
    }

    .voucher-discount .percentage {
        font-size: 2rem;
    }

    /* Mobile filter improvements */
    .filters-container {
        gap: 0.8rem;
    }

    .filter-select {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
        min-height: 44px;
        /* Touch-friendly minimum height */
        width: 100%;
        box-sizing: border-box;
    }

    .filter-label {
        font-size: 0.8rem;
    }

    .filters-section {
        padding: 1rem 0;
    }
}