/* Frontend Kupon Stilleri */

.iddaa-frontend-coupons {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.iddaa-frontend-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 15px;
}

.iddaa-frontend-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d);
    border-radius: 2px;
}

.no-coupons-message {
    text-align: center;
    padding: 50px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    color: #666;
    font-size: 18px;
}

.iddaa-frontend-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Kupon Kartı */

.iddaa-coupon-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.iddaa-coupon-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.iddaa-coupon-card.coupon-won {
    border-color: #10b981;
    background: linear-gradient(to bottom, #f0fdf4 0%, #ffffff 100%);
}

.iddaa-coupon-card.coupon-lost {
    border-color: #ef4444;
    background: linear-gradient(to bottom, #fef2f2 0%, #ffffff 100%);
}

.iddaa-coupon-card.coupon-pending {
    border-color: #f59e0b;
}

/* Kupon Başlığı */

.coupon-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    position: relative;
}

.coupon-won .coupon-card-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.coupon-lost .coupon-card-header {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.coupon-pending .coupon-card-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.coupon-card-title {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.coupon-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    animation: pulse 2s ease-in-out infinite;
}

.badge-won {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.badge-lost {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.coupon-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 15px;
    opacity: 0.95;
    margin-bottom: 15px;
}

.coupon-date,
.coupon-odds {
    display: flex;
    align-items: center;
    gap: 6px;
}

.coupon-odds strong {
    font-size: 20px;
    color: #ffd93d;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.coupon-toggle-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 5px;
}

.coupon-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.toggle-icon {
    transition: transform 0.3s;
    font-size: 12px;
}

.iddaa-coupon-card.active .toggle-icon {
    transform: rotate(180deg);
}

.iddaa-coupon-card.active .toggle-text::after {
    content: 'Gizle';
}

.iddaa-coupon-card:not(.active) .toggle-text::after {
    content: 'Detayları Göster';
}

.toggle-text {
    font-size: 0;
}

.toggle-text::after {
    font-size: 15px;
}

/* Kupon İçeriği */

.coupon-card-content {
    display: none;
    padding: 25px;
    background: #fafafa;
}

.iddaa-coupon-card.active .coupon-card-content {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 2000px;
    }
}

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Maç Kartı */

.match-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 20px;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.match-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.match-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.match-number {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
    text-align: center;
}

.match-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.match-sport {
    display: inline-block;
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.match-teams {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #1a1a1a;
    flex-wrap: wrap;
}

.match-teams strong {
    font-weight: 600;
}

.vs {
    background: #667eea;
    color: white;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
}

.match-prediction {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.prediction-label {
    color: #6b7280;
    font-weight: 500;
}

.prediction-value {
    background: #fef3c7;
    color: #92400e;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
}

.match-odd {
    text-align: center;
}

.odd-value {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 22px;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(102, 126, 234, 0.3);
    min-width: 80px;
}

/* Responsive Tasarım */

@media (max-width: 768px) {
    .iddaa-frontend-title {
        font-size: 24px;
    }
    
    .coupon-card-title {
        font-size: 18px;
    }
    
    .coupon-card-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .match-card {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .match-number {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 18px;
    }
    
    .match-teams {
        font-size: 14px;
    }
    
    .odd-value {
        font-size: 18px;
        padding: 10px 16px;
    }
    
    .coupon-card-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .iddaa-frontend-coupons {
        padding: 10px;
    }
    
    .coupon-badge {
        font-size: 12px;
        padding: 4px 10px;
    }
}