:root {
    --promo-primary: #ff6b6b;
    --promo-secondary: #4ecdc4;
    --promo-accent: #ffd166;
    --promo-dark: #1a1a2e;

    --gradient-promo: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    --gradient-promo-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.promotions-hero-section {
    padding: clamp(40px, 6vw, 65px) 0 clamp(30px, 4vw, 50px);
    background: var(--gradient-promo-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.promotions-hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.15), transparent);
    border-radius: 50%;
    filter: blur(50px);
}

.promotions-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.promotions-main-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 14px;
}

.title-gradient {
    background: var(--gradient-promo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promotions-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
}

.promotions-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-card {
    text-align: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    min-width: 120px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--promo-accent);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.promotion-filters-section {
    padding: 24px 0;
    background: var(--bg-body);
    position: sticky;
    top: 80px;
    z-index: 90;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.filters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    color: var(--txt-main);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn.active {
    background: var(--gradient-promo);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.25);
}

.filter-btn:hover:not(.active) {
    border-color: var(--promo-primary);
    transform: translateY(-1px);
}

.filter-btn i {
    font-size: 0.95rem;
}

.search-filter {
    position: relative;
    width: 260px;
}

.search-filter i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--txt-sub);
    font-size: 0.95rem;
}

.search-filter input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    color: var(--txt-main);
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.search-filter input:focus {
    outline: none;
    border-color: var(--promo-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.08);
}

.promotions-grid-section {
    padding: clamp(30px, 5vw, 50px) 0;
    background: var(--bg-body);
}

.promotion-type-section {
    margin-bottom: 40px;
}

.type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid var(--border-light);
}

.type-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: var(--txt-main);
}

.type-count {
    padding: 5px 12px;
    background: var(--gradient-promo);
    color: white;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.8rem;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.promotion-card-large {
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: 16px;
    padding: 22px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.promotion-card-large:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 42px rgba(255, 107, 107, 0.12);
    border-color: var(--promo-primary);
}

.promotion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.discount-badge {
    display: inline-block;
    padding: 7px 16px;
    background: var(--gradient-promo);
    color: white;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.25);
}

.promotion-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--txt-sub);
}

.promotion-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.35;
}

.promotion-title a {
    color: var(--txt-main);
    text-decoration: none;
    transition: color 0.2s;
}

.promotion-title a:hover {
    color: var(--promo-primary);
}

.promotion-description {
    font-size: 0.9rem;
    color: var(--txt-sub);
    line-height: 1.55;
    margin-bottom: 14px;
}

.promotion-meta {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--txt-sub);
}

.meta-item i {
    color: var(--promo-primary);
    font-size: 0.9rem;
}

.meta-item.featured i {
    color: var(--promo-accent);
}

.promotion-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.btn-view-promotion {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: var(--gradient-promo);
    color: white;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-view-promotion:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(255, 107, 107, 0.35);
    color: white;
}

.promotion-priority {
    font-size: 0.82rem;
    color: var(--txt-sub);
}

.promotion-priority strong {
    color: var(--promo-primary);
    font-weight: 800;
}

.promotion-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: var(--gradient-promo);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.promotion-card-large:hover .promotion-glow {
    opacity: 0.08;
}

.empty-promotions {
    text-align: center;
    padding: 60px 30px;
    background: var(--bg-card);
    border-radius: 18px;
    border: 1.5px solid var(--border-light);
}

.empty-icon {
    font-size: 3.5rem;
    color: var(--txt-sub);
    opacity: 0.25;
    margin-bottom: 18px;
}

.empty-promotions h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--txt-main);
    margin-bottom: 8px;
}

.empty-promotions p {
    color: var(--txt-sub);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    background: var(--gradient-promo);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.35);
    color: white;
}

.promotion-pagination {
    padding: 30px 0;
    background: var(--bg-body);
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    color: var(--txt-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

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

.page-numbers {
    display: flex;
    gap: 6px;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    color: var(--txt-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.page-number.active {
    background: var(--gradient-promo);
    border-color: transparent;
    color: white;
    box-shadow: 0 3px 12px rgba(255, 107, 107, 0.2);
}

.page-number:not(.active):hover {
    border-color: var(--promo-primary);
}

.promotions-cta-section {
    padding: clamp(40px, 6vw, 60px) 0;
    background: var(--gradient-promo-dark);
    color: white;
}

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

.cta-content {
    flex: 1;
    min-width: 260px;
}

.cta-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}

.cta-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-cta-primary, .btn-cta-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}

.btn-cta-primary {
    background: var(--gradient-promo);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.4);
}

.btn-cta-secondary {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: white;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--promo-dark);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .promotions-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .promotions-stats { gap: 12px; }

    .stat-card {
        padding: 14px 18px;
        min-width: 100px;
    }

    .stat-number { font-size: 1.6rem; }

    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-buttons { justify-content: center; }
    .search-filter { width: 100%; }

    .promotions-grid { grid-template-columns: 1fr; }

    .type-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons { justify-content: center; }
}

@media (max-width: 576px) {
    .promotion-card-large { padding: 18px; }

    .promotion-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .promotion-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .pagination-container { flex-direction: column; }
    .page-numbers { order: 2; }

    .pagination-btn {
        order: 1;
        width: 100%;
        justify-content: center;
    }

    .pagination-btn.next { order: 3; }

    .filter-btn { padding: 8px 14px; font-size: 0.8rem; }
    .filter-btn i { font-size: 0.85rem; }

    .cta-buttons { flex-direction: column; width: 100%; }
    .btn-cta-primary, .btn-cta-secondary { width: 100%; justify-content: center; }
}
