/* ========================================
   PROMOTION PAGE - CSS
   ======================================== */

/* Page Header */
.page-header {
    padding: 100px 0 30px;
    text-align: center;
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: var(--earth-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--earth-text-muted);
}

/* Promotion Content */
.promotion-content {
    padding: 0 0 80px;
}

/* Promotion Filter */
.promo-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.promo-filter .filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: rgba(26, 58, 92, 0.5);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 30px;
    color: var(--earth-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-filter .filter-btn svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.promo-filter .filter-btn:hover {
    background: rgba(0, 212, 170, 0.15);
    border-color: rgba(0, 212, 170, 0.4);
    color: var(--earth-text);
}

.promo-filter .filter-btn:hover svg {
    opacity: 1;
}

.promo-filter .filter-btn.active {
    background: var(--earth-gradient);
    border-color: transparent;
    color: var(--earth-dark);
    font-weight: 600;
}

.promo-filter .filter-btn.active svg {
    opacity: 1;
    stroke: var(--earth-dark);
}

/* Promotion Grid */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Promotion Card */
.promo-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.promo-card:hover {
    transform: translateY(-8px);
}

.promo-card:hover .promo-image {
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.25);
}

.promo-card:hover .btn-detail {
    background: var(--earth-gradient);
    color: var(--earth-dark);
}

.promo-image {
    position: relative;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Badge */
.promo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 3;
}

.promo-badge.hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    color: #fff;
}

.promo-badge.new {
    background: linear-gradient(135deg, #00d4aa 0%, #00ff88 100%);
    color: var(--earth-dark);
}

.promo-badge.top {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: var(--earth-dark);
}

/* Overlay Content */
.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 50px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.promo-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.promo-title .highlight {
    display: block;
    font-size: 1.3rem;
    color: var(--earth-primary);
    margin-top: 5px;
}

.promo-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.btn-detail {
    display: inline-block;
    width: fit-content;
    padding: 8px 18px;
    background: rgba(0, 212, 170, 0.2);
    border: 1px solid var(--earth-primary);
    border-radius: 20px;
    color: var(--earth-primary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Tags */
.promo-tags {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    z-index: 3;
}

.tag {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 4px;
}

.tag.event {
    color: #ff9f1c;
}

.tag.new {
    color: #00d4aa;
}

.tag.bonus {
    color: #ff6b6b;
}

.tag.guide {
    color: #6c5ce7;
}

.tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* Card Info */
.promo-info {
    padding: 15px 5px;
}

.promo-info h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--earth-text);
    line-height: 1.4;
}

/* Hidden cards during filter */
.promo-card.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .promo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .promo-filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .promo-filter .filter-btn {
        flex-shrink: 0;
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .promo-image {
        height: 200px;
    }

    .promo-title {
        font-size: 1rem;
    }

    .promo-title .highlight {
        font-size: 1.1rem;
    }
}

@media (max-width: 500px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-image {
        height: 220px;
    }
}
