/* Enhanced Styles for İddiatahminleri.com */

/* Performance optimizations */
* {
    box-sizing: border-box;
}

/* Social Sharing Buttons */
.social-sharing {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-sharing .social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.social-btn.facebook { background: #3b5998; }
.social-btn.twitter { background: #1da1f2; }
.social-btn.whatsapp { background: #25d366; }
.social-btn.linkedin { background: #0077b5; }

.social-btn:hover {
    transform: scale(1.1);
    color: white;
}

/* Enhanced Comment Widget */
.comments-widget .comment-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--bs-primary);
    transition: all 0.3s ease;
}

.comments-widget .comment-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Popular Predictions Enhancement */
.popular-item {
    transition: all 0.3s ease;
}

.popular-item:hover {
    transform: translateY(-2px);
}

.popular-item .bg-white:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
    opacity: 0.3;
}

/* Stats Cards Enhancement */
.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0,102,204,0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffc107 0%, #28a745 100%);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
.header-auth-group { gap: 6px; }
.header-auth-btn {
    padding: 6px 8px !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}
.header-auth-btn i { font-size: 0.95rem !important; }
.header-auth-btn.btn-warning { padding-left: 9px !important; padding-right:9px !important; }

@media (max-width: 576px) {
    .header-auth-btn { padding: 6px 6px !important; font-size: 0.78rem !important; }
}

/* Icon-only minimalist header auth buttons */
.header-auth-icon {
    width: 36px;
    height: 36px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
}
.header-auth-icon i { font-size: 0.95rem; }
.header-auth-icon.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.12); }
.header-auth-icon.btn-warning { background: rgba(255,193,7,0.95); color: #1a1a1a; border: none; }
.header-auth-icon:focus { outline: 3px solid rgba(0,102,204,0.18); outline-offset: 2px; }

@media (max-width: 576px) {
    .header-auth-icon { width: 34px; height: 34px; }
}
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 24px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Enhanced Forms */
.enhanced-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.enhanced-form .form-control:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Dark Mode Enhancements */
[data-bs-theme="dark"] .stat-card {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-color: rgba(255,255,255,0.1);
}

[data-bs-theme="dark"] .comments-widget .comment-item {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-left-color: #ffc107;
}

[data-bs-theme="dark"] .popular-item .bg-white {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%) !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .social-sharing {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin: 20px 0;
    }
    
    .social-sharing .social-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .social-sharing,
    .navbar,
    .footer {
        display: none !important;
    }
}