/* Modern Offer Card Styles */

.offer-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 15px 20px rgba(0, 0, 0, 0.1);
}

/* Card Header Gradient */
.offer-card-header {
    height: 140px;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-card-header.daypass {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.offer-card-header.global {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Country Flag or Icon */
.offer-card-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Badges */
.offer-badge {
    position: absolute;
    top: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.offer-badge-provider {
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #4a5568;
}

.offer-badge-type {
    left: 12px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.offer-badge-hot {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4444 100%);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    transform: rotate(15deg);
    box-shadow: 0 4px 8px rgba(255, 68, 68, 0.3);
}

/* Card Body */
.offer-card-body {
    padding: 24px;
}

.offer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    line-height: 1.4;
    min-height: 50px;
}

/* Info Pills */
.offer-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.offer-info-pill {
    background: #f7fafc;
    border-radius: 12px;
    padding: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.offer-info-label {
    font-size: 0.625rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.offer-info-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2d3748;
}

/* Countries List */
.offer-countries {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    min-height: 32px;
}

.offer-country-tag {
    background: #edf2f7;
    color: #4a5568;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid #cbd5e0;
}

.offer-country-more {
    background: #bee3f8;
    color: #2c5282;
    font-weight: 600;
}

/* Price Section */
.offer-price-section {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.offer-price {
    display: flex;
    flex-direction: column;
}

.offer-price-label {
    font-size: 0.75rem;
    color: #718096;
    margin-bottom: 4px;
}

.offer-price-value {
    font-size: 1.875rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.offer-price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
    margin-left: 4px;
}

/* CTA Button */
.offer-cta {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.offer-cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.offer-cta:hover:before {
    left: 100%;
}

.offer-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.4);
}

/* Per GB Price */
.offer-per-gb {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #f0fff4;
    color: #22543d;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid #9ae6b4;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .offer-info-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-price-value {
        font-size: 1.5rem;
    }
}