:root {
    --gold-primary: #f5c518;
    --gold-secondary: #d4af37;
    --black-bg: #000;
    --text-light: #fff;
    --card-bg: rgba(20, 20, 20, 0.6);
}


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

body {
    font-family: 'MainFont','Vazirmatn', sans-serif ;
    background: var(--black-bg);
    color: var(--text-light);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}




.golden-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    background-size: 200% 100%;
    animation: shineLine 3s linear infinite;
    position: absolute;
    left: 0;
    right: 0;
}

@keyframes shineLine {
    0% {
        background-position: 200% 0;
    }

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




.section-title {
    position: relative;
    display: inline-block;
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--gold-primary);
    margin-bottom: 2.5rem;
    padding-bottom: 0.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
}


.promo-card,
.news-card {
    background: var(--card-bg);
    border: 1px solid rgba(245, 197, 24, 0.2);
    border-radius: 1.2rem;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    height: 100%;
    cursor: pointer;
}

.promo-card:hover,
.news-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(245, 197, 24, 0.25);
    border-color: var(--gold-primary);
}

.card-img {
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.promo-card:hover .card-img,
.news-card:hover .card-img {
    transform: scale(1.08);
}

.card-body {
    padding: 1.5rem;
}

.badge-discount {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold-primary);
    color: #000;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    z-index: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(245, 197, 24, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 197, 24, 0);
    }
}

.card-title {
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 0.8rem;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.btn-view {
    background: transparent;
    border: 1.5px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-view:hover {
    background: var(--gold-primary);
    color: #000;
}