h2 {
    font-weight: 600;
    color: #2d3748;
    margin: 1.5rem 0;
    padding-bottom: 0.5rem;
    font-size: clamp(1.5rem, 5vw, 2rem);
    position: relative;
    letter-spacing: -0.5px;
    border-bottom: 3px solid #e2e8f0;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 60px;
    height: 3px;
    background: #4299e1;
    transition: width 0.3s ease;
}

h2:hover::after {
    width: 100px;
}

/* Promotion Card */
.promotion-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.promotion-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 2rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.promotion-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Business Name */
.business-name {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.promotion-content:hover .business-name {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.3);
}

/* Promotion Header */
.promotion-header {
    text-align: center;
    margin-bottom: 2rem;
}

.promotion-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0.5rem 0;
    line-height: 1.4;
    transition: transform 0.3s ease;
}

.promotion-content:hover .promotion-title {
    transform: translateY(-2px);
}

.promotion-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    transition: opacity 0.3s ease;
}

.promotion-content:hover .promotion-description {
    opacity: 0.95;
}

/* Promotion Code */
.promotion-code {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.promotion-content:hover .promotion-code {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.code-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.code-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
}

/* Promotion Actions */
.promotion-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.redeem-button {
    background-color: white !important;
    color: var(--mud-palette-primary) !important;
    font-weight: 600 !important;
    border-color: white !important;
    text-transform: none !important;
    transition: transform 0.3s ease !important;
    position: relative !important;
    z-index: 2 !important;
}

.redeem-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    background-color: white !important;
    border-color: white !important;
}

.share-button {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-color: white !important;
    transition: transform 0.3s ease !important;
    position: relative !important;
    z-index: 2 !important;
}

.share-button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
    border-color: white !important;
}

/* Promotion Footer */
.promotion-footer {
    margin-top: auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.usage-info {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.expiry-info {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 640px) {
    .promotion-content {
        padding: 1.5rem;
    }
    
    .promotion-title {
        font-size: 1.25rem;
    }
    
    .code-value {
        font-size: 1.125rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promotion-content,
    .promotion-content *,
    .redeem-button,
    .share-button {
        transition: none !important;
        transform: none !important;
    }
}

.chip-scroll-container {
    display: flex;
    flex-wrap: nowrap; /* Forces items to stay in a single row */
    overflow-x: auto; /* Enables horizontal scrolling */
    gap: 0.5rem; /* Optional: spacing between chips */
    max-width: 100%; /* Ensure container can shrink/grow within parent */
}
