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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #eef2f7);
    color: #2c3e50;
    min-height: 100vh;
}

.news-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e0e4e8;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
    color: #f59e0b;
}

.logo h1 {
    font-size: 1.3rem;
    color: #2c3e50;
}

.logo span {
    font-size: 0.7rem;
    opacity: 0.6;
    color: #7f8c8d;
}

.date-badge {
    background: #f0f2f5;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #2c3e50;
}

.back-home {
    background: #f0f2f5;
    border: none;
    padding: 8px 18px;
    border-radius: 30px;
    cursor: pointer;
    color: #2c3e50;
    transition: all 0.2s;
}

.back-home:hover {
    background: #e0e4e8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.hero-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease;
}

.maintenance-badge {
    display: inline-block;
    background: #fef2e8;
    color: #e67e22;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    border: 1px solid #f7d5b5;
}

.hero-section h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #2c3e50;
}

.hero-section p {
    font-size: 1rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    color: #5a6c7e;
}

.marquee-section {
    background: linear-gradient(135deg, #f59e0b, #e67e22);
    padding: 10px 0;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 12px;
}

.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    padding-left: 100%;
}

.marquee-content span {
    color: white;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    padding-right: 50px;
}

.marquee-content i {
    margin-right: 8px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.section-title {
    font-size: 1.4rem;
    margin: 40px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid #f59e0b;
    padding-left: 15px;
    color: #2c3e50;
}

.section-title i {
    color: #f59e0b;
}

.voucher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.voucher-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #e8ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    animation: fadeInUp 0.5s ease;
    animation-fill-mode: both;
}

.voucher-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #f59e0b;
}

.voucher-header-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.voucher-code {
    font-size: 1.2rem;
    font-weight: 800;
    color: #e67e22;
    letter-spacing: 1px;
    background: #fef2e8;
    padding: 6px 12px;
    border-radius: 12px;
    font-family: monospace;
}

.voucher-discount {
    background: linear-gradient(135deg, #f59e0b, #e67e22);
    color: white;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.voucher-detail {
    margin-bottom: 15px;
}

.voucher-detail p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    color: #5a6c7e;
    font-size: 0.85rem;
}

.voucher-detail i {
    color: #f59e0b;
    width: 20px;
}

.voucher-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e8ecef;
}

.copy-btn {
    background: #f0f2f5;
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    color: #e67e22;
    font-weight: 600;
    transition: all 0.2s;
    font-size: 0.8rem;
}

.copy-btn:hover {
    background: #f59e0b;
    color: white;
}

.voucher-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.status-active {
    background: #dcfce7;
    color: #16a34a;
}

.status-expired {
    background: #fee2e2;
    color: #dc2626;
}

.status-full {
    background: #fef3c7;
    color: #d97706;
}

.tips-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #e8ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}

.tips-card i {
    font-size: 2rem;
    color: #f59e0b;
    margin-bottom: 15px;
}

.tips-card h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.tips-card ol {
    padding-left: 20px;
    color: #5a6c7e;
    line-height: 1.8;
}

.tips-card li {
    margin: 5px 0;
}

.empty-message {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e8ecef;
}

.loading-spinner {
    text-align: center;
    padding: 60px;
    color: #888;
}

.loading-spinner i {
    font-size: 40px;
    color: #f59e0b;
    animation: spin 1s linear infinite;
}

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

.toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #2c3e50;
    color: white;
    padding: 12px;
    border-radius: 40px;
    text-align: center;
    z-index: 9999;
    border-left: 3px solid #f59e0b;
    animation: slideUp 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid #e8ecef;
    margin-top: 40px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.social-icons a {
    color: #95a5a6;
    font-size: 1.3rem;
    opacity: 0.7;
    transition: all 0.2s;
    cursor: pointer;
}

.social-icons a:hover {
    opacity: 1;
    color: #f59e0b;
    transform: translateY(-3px);
}

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

@media (max-width: 768px) {
    .voucher-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .voucher-code {
        font-size: 1rem;
    }
    
    .marquee-content {
        animation: marquee 15s linear infinite;
    }
    
    .marquee-content span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .voucher-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .copy-btn {
        width: 100%;
    }
    
    .voucher-header-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .tips-card ol {
        padding-left: 15px;
    }
    
    .tips-card li {
        font-size: 13px;
    }
}