/* Modern Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #3EBDB4 0%, #2dd4bf 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(62,189,180,0.2);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(62,189,180,0.3);
    text-decoration: none;
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #475569;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-color: #cbd5e1;
    color: #334155;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none;
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: #3EBDB4;
    border: 2px solid #3EBDB4;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background: #3EBDB4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(62,189,180,0.2);
    text-decoration: none;
}

.btn-outline:active {
    transform: translateY(0);
}

/* Dropdown styles */
.dropdown-menu {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    padding: 0.5rem 0;
    min-width: 10rem;
    transform-origin: top right;
    animation: dropdown 0.2s ease;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    display: block;
    color: #4b5563;
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background-color: #f9fafb;
    color: #111827;
}

.dropdown-item.active {
    background-color: #f3f4f6;
    color: #3f85b6;
    font-weight: 500;
}

/* Ek Top Bar Stilleri */
.topbar {
    font-size: 0.875rem;
    background: #3f85b6;
    color: white;
    padding: 0.5rem 0;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.topbar a {
    transition: all 0.2s ease;
}

.topbar a:hover {
    opacity: 0.9;
}

.topbar-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.topbar-social-link:hover {
    transform: translateY(-1px);
}

.announcement-bar {
    background: #3f85b6;
    color: white;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    position: relative;
}

.announcement-bar a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.announcement-bar a:hover {
    text-decoration-thickness: 2px;
}

@keyframes dropdown {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Language button */
.lang-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: #6b7280;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background-color: white;
    transition: all 0.2s ease;
}

.lang-button:hover {
    background-color: #f9fafb;
    color: #111827;
    border-color: #d1d5db;
}

.lang-button img {
    width: 20px;
    height: 20px;
    border-radius: 2px;
    object-fit: cover;
}

/* Common Animations - Consolidated */
@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(225,29,72,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(225,29,72,0); }
    100% { box-shadow: 0 0 0 0 rgba(225,29,72,0.4); }
}

@keyframes upcomingPulse {
    0% { box-shadow: 0 0 0 0 rgba(62,189,180,0.4); }
    70% { box-shadow: 0 0 0 12px rgba(62,189,180,0); }
    100% { box-shadow: 0 0 0 0 rgba(62,189,180,0.4); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Common Card Styles */
.card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.card-text {
    color: #64748b;
    line-height: 1.6;
}

/* Common Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-live {
    background: linear-gradient(135deg, #e11d48 0%, #dc2626 100%);
    color: white;
    animation: livePulse 2s infinite;
}

.badge-upcoming {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    animation: upcomingPulse 3s infinite;
}

.badge-past {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

/* Modal Styles for Live Stream */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 1.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.modal-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-icon.info {
    background: linear-gradient(135deg, #3EBDB4 0%, #2dd4bf 100%);
    color: white;
}

.modal-header h3 {
    margin: 0;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #334155;
}

.modal-body {
    padding: 1.5rem 2rem;
}

.modal-body p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

.modal-footer {
    padding: 1rem 2rem 2rem 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid #f1f5f9;
}

.modal-footer .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.modal-footer .btn.btn-primary {
    background: linear-gradient(135deg, #3EBDB4 0%, #2dd4bf 100%);
    color: white;
}

.modal-footer .btn.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(62, 189, 180, 0.3);
}

.modal-footer .btn.btn-secondary {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.modal-footer .btn.btn-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.mr-3 {
    margin-right: 0.75rem;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 640px) {
    .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
    
    .mr-3 {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
}
