/**
 * Promotions Section Styles
 */

.promotions-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #1a1f2e 0%, #0f1419 100%);
    color: #ffffff;
}

/* Header Styles */
.promotions-header {
    text-align: center;
    margin-bottom: 50px;
}

.exclusive-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.exclusive-badge svg {
    width: 16px;
    height: 16px;
}

.promotions-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #ffffff;
    line-height: 1.2;
}

.promotions-description {
    font-size: 16px;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Layout */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Styles */
.promotion-card {
    position: relative;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Promotion Image */
.promotion-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.promotion-image .promotion-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.promotion-card:hover .promotion-image .promotion-img {
    transform: scale(1.05);
}

.promotion-content {
    padding: 30px;
}

.promotion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promotion-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.promotion-card:hover::before {
    opacity: 1;
}

/* Badge Styles */
.promotion-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.badge-yellow {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1f2e;
}

.badge-orange {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    color: #ffffff;
}

/* Icon Styles */
.promotion-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.promotion-icon svg {
    color: #fbbf24;
    width: 24px;
    height: 24px;
}

.icon-currency {
    font-size: 16px;
    font-weight: 600;
    color: #fbbf24;
}

.icon-value {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.promotion-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.promotion-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #10b981;
    margin: 0 0 15px 0;
}

.promotion-description {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 24px;
}

.promotion-description p {
    margin: 0 0 10px 0;
}

.promotion-description p:last-child {
    margin-bottom: 0;
}

/* Button Styles */
.promotion-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.button-green:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

.button-yellow {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1f2e;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.button-yellow:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
    transform: translateY(-2px);
    color: #1a1f2e;
}

.promotion-button svg {
    width: 16px;
    height: 16px;
}

/* Footer Styles */
.promotions-footer {
    text-align: center;
    margin-top: 50px;
}

.view-all-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.view-all-button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.4);
    color: #ffffff;
}

.view-all-button svg {
    width: 20px;
    height: 20px;
}

.promotions-terms {
    font-size: 12px;
    color: #64748b;
    margin: 20px auto 0;
    max-width: 800px;
    line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .promotions-section {
        padding: 40px 15px;
    }

    .promotions-title {
        font-size: 28px;
    }

    .promotions-description {
        font-size: 14px;
    }

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

    .promotion-content {
        padding: 24px;
    }

    .promotion-image {
        height: 160px;
    }

    .promotion-badge {
        top: 15px;
        right: 15px;
        font-size: 11px;
        padding: 5px 12px;
    }

    .promotion-card-title {
        font-size: 20px;
    }

    .promotion-subtitle {
        font-size: 15px;
    }

    .icon-value {
        font-size: 20px;
    }

    .promotion-button {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    .view-all-button {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .promotions-title {
        font-size: 24px;
    }

    .exclusive-badge {
        font-size: 12px;
        padding: 8px 18px;
    }

    .promotion-content {
        padding: 20px;
    }

    .promotion-image {
        height: 140px;
    }

    .promotion-card-title {
        font-size: 18px;
    }

    .promotion-description {
        font-size: 13px;
    }
}

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

.promotion-card {
    animation: fadeInUp 0.6s ease-out;
}

.promotion-card:nth-child(1) {
    animation-delay: 0.1s;
}

.promotion-card:nth-child(2) {
    animation-delay: 0.2s;
}

.promotion-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* ============================================
   PROMOTION DETAIL VIEW STYLES
   ============================================ */

.promotion-detail-section {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

/* Detail Header */
.promotion-detail-header {
    background: linear-gradient(135deg, #1a4d3e 0%, #0f2f26 100%);
    padding: 40px;
    position: relative;
}

.promotion-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.promotion-detail-badge svg {
    width: 16px;
    height: 16px;
}

.promotion-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.promotion-detail-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #10b981;
}

.promotion-detail-description {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-top: 15px;
}

.promotion-detail-description p {
    margin: 0;
}

/* Detail Content Grid */
.promotion-detail-content {
    padding: 30px 40px;
}

.promotion-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.promotion-detail-column {
    min-width: 0;
}

/* Detail Box */
.promotion-detail-box {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
}

.promotion-detail-box-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #94a3b8;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.promotion-detail-box-title svg {
    width: 20px;
    height: 20px;
    color: #10b981;
}

/* Lists and Steps */
.promotion-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.promotion-detail-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
}

.promotion-detail-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

.promotion-detail-list li:last-child {
    margin-bottom: 0;
}

.promotion-detail-steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 0;
}

.promotion-detail-steps li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    counter-increment: step-counter;
}

.promotion-detail-steps li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.promotion-detail-steps li:last-child {
    margin-bottom: 0;
}

.no-content {
    font-size: 14px;
    color: #64748b;
    font-style: italic;
    margin: 0;
}

/* Detail Footer */
.promotion-detail-footer {
    padding: 30px 40px;
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.promotion-detail-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.promotion-detail-button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.4);
    color: #ffffff;
}

.promotion-detail-button svg {
    width: 20px;
    height: 20px;
}

/* Responsive Styles for Detail View */
@media (max-width: 768px) {
    .promotion-detail-header {
        padding: 30px 25px;
    }

    .promotion-detail-title {
        font-size: 24px;
    }

    .promotion-detail-subtitle {
        font-size: 18px;
    }

    .promotion-detail-content {
        padding: 25px 20px;
    }

    .promotion-detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .promotion-detail-box {
        padding: 20px;
    }

    .promotion-detail-footer {
        padding: 25px 20px;
    }

    .promotion-detail-button {
        width: 100%;
        justify-content: center;
        padding: 14px 32px;
    }
}

@media (max-width: 480px) {
    .promotion-detail-header {
        padding: 25px 20px;
    }

    .promotion-detail-title {
        font-size: 20px;
    }

    .promotion-detail-subtitle {
        font-size: 16px;
    }

    .promotion-detail-badge {
        font-size: 11px;
        padding: 6px 16px;
    }

    .promotion-detail-description {
        font-size: 14px;
    }

    .promotion-detail-content {
        padding: 20px 15px;
    }

    .promotion-detail-box {
        padding: 18px;
    }

    .promotion-detail-box-title {
        font-size: 15px;
    }

    .promotion-detail-list li,
    .promotion-detail-steps li {
        font-size: 13px;
    }
}
