        
/* Base Dark Theme */
body {
    background: #121212;
    color: #e0e0e0;
    font-family: 'Poppins', sans-serif;
}

.container, .container-fluid {
    background: #121212;
}

/* Navbar Stilleri */
.main-navbar {
    background: rgba(26, 11, 46, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.4),
                 0 0 20px rgba(138, 43, 226, 0.3),
                 0 0 30px rgba(138, 43, 226, 0.2);
}

.navbar-logo i {
    color: #8A2BE2;
}

.navbar-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toggle-icon span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: 0.3s ease;
}

.navbar-menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.menu-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.menu-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
    transition: 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-link:hover,
.menu-link.active {
    color: #ffffff;
}

.menu-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #8A2BE2, #FF1493);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.4),
                0 0 20px rgba(138, 43, 226, 0.3),
                0 0 30px rgba(138, 43, 226, 0.2);
}

.profile-link,
.logout-link {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.profile-link:hover,
.logout-link:hover {
    background: rgba(26, 11, 46, 0.8);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.4),
                0 0 20px rgba(138, 43, 226, 0.3),
                0 0 30px rgba(138, 43, 226, 0.2);
}

/* Mobil & Tablet Görünüm */
@media (max-width: 1199px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 11, 46, 0.8);
        padding: 1rem;
        z-index: 100;
    }

    .navbar-menu.show {
        display: block;
    }

    .menu-links {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Toggle button active durumu için */
.navbar-toggle.active .toggle-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggle.active .toggle-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .toggle-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menü açıkken scroll'u engelle */
body.menu-open {
    overflow: hidden;
}


/* Card Styles with Neon Effect */
.card {
    background: #1e1e1e;
    border: 1px solid #333;
    box-shadow: 0 0 20px rgba(187, 134, 252, 0.1);
    transition: all 0.3s ease;
}

.card.h-100 {
    max-width: 800px;
    margin: 0 auto;
}

.card-header {
    background: #2d2d2d;
    border-bottom: 1px solid #333;
    padding: 15px 20px;
}

.card-header h5 {
    color: #bb86fc;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge.bg-primary {
    background: #bb86fc !important;
    color: #1a1a1a;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
}

/* Friend Request Item Styling */
.friend-request-item {
    background: #252525;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 300px;
    margin: 15px auto;
}

.friend-request-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(187, 134, 252, 0.15);
}

/* User Profile Section */
.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #bb86fc;
    box-shadow: 0 0 15px rgba(187, 134, 252, 0.2);
    object-fit: cover;
    margin-bottom: 15px;
}

.user-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.user-details h6 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.user-details .username {
    color: #bb86fc;
    font-size: 0.9rem;
    opacity: 0.9;
}

.user-details .text-muted small {
    color: #aaa !important;
    font-size: 0.85rem;
    display: block;
    margin-top: 5px;
}

/* Action Buttons */
.request-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 200px;
}

.btn-success, .btn-danger {
    width: 100%;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-success {
    background: #03dac6;
    border: none;
    color: #1a1a1a;
}

.btn-danger {
    background: #cf6679;
    border: none;
    color: #1a1a1a;
}

.btn-success:hover {
    background: #00b3a1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 218, 198, 0.3);
}

.btn-danger:hover {
    background: #b4495a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(207, 102, 121, 0.3);
}

/* Empty State */
.text-center.text-muted {
    color: #bb86fc !important;
    opacity: 0.7;
    padding: 30px 0;
}

/* Responsive Design */
@media (max-width: 576px) {
    .friend-request-item {
        margin: 10px auto;
        padding: 15px;
    }

    .user-avatar {
        width: 70px;
        height: 70px;
    }

    .user-details h6 {
        font-size: 1rem;
    }

    .btn-success, .btn-danger {
        padding: 7px 0;
        font-size: 0.85rem;
    }
}

/* Group Invites Styling */
.invite-card {
    background: #252525;
    border-radius: 12px;
    padding: 12px;
    margin: 10px auto;
    border: 1px solid #333;
    transition: all 0.2s ease;
    max-width: 500px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
}

.invite-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(187, 134, 252, 0.15);
}

.movie-poster {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.group-info {
    text-align: left;
}

.group-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.group-description {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.invite-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #bb86fc;
    font-size: 0.85rem;
}

.invite-info i {
    font-size: 0.85rem;
    opacity: 0.9;
}

.invite-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.invite-actions .btn {
    flex: 1;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.invite-actions .btn-success {
    background: #03dac6;
    border: none;
    color: #1a1a1a;
}

.invite-actions .btn-danger {
    background: #cf6679;
    border: none;
    color: #1a1a1a;
}

.invite-actions .btn:hover {
    transform: translateY(-2px);
}

.invite-actions .btn-success:hover {
    background: #00b3a1;
    box-shadow: 0 4px 12px rgba(3, 218, 198, 0.3);
}

.invite-actions .btn-danger:hover {
    background: #b4495a;
    box-shadow: 0 4px 12px rgba(207, 102, 121, 0.3);
}

/* Responsive Design */
@media (max-width: 576px) {
    .invite-card {
        margin: 8px;
        padding: 10px;
        grid-template-columns: 60px 1fr;
        gap: 10px;
    }

    .movie-poster {
        width: 60px;
        height: 90px;
    }

    .group-name {
        font-size: 1rem;
    }

    .group-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .invite-info {
        font-size: 0.8rem;
    }

    .invite-actions .btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}

/* Grup Davet Modal - SweetAlert2 Özelleştirme */
.swal2-popup {
    background: #1e1e1e !important;
    border: 1px solid #333 !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
}

.swal2-title {
    color: #bb86fc !important;
    font-size: 1.2rem !important;
    padding: 0.5rem 0 !important;
}

.swal2-html-container {
    color: #e0e0e0 !important;
    margin: 0.5rem 0 !important;
}

.swal2-close {
    color: #aaa !important;
    transition: all 0.2s !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    right: 8px !important;
    top: 8px !important;
}

.swal2-close:focus {
    box-shadow: none !important;
    background: none !important;
}

.swal2-close:hover {
    color: #bb86fc !important;
    background: rgba(187, 134, 252, 0.1) !important;
}

/* Davet İçeriği Stilleri */
.swal2-popup .invite-content {
    text-align: center;
    padding: 5px 0;
}

.swal2-popup strong {
    color: #bb86fc;
    font-weight: 600;
}

.swal2-popup .action-buttons {
    display: inline-flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.swal2-popup .btn {
    min-width: 120px;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.swal2-popup .btn i {
    font-size: 0.8rem;
    margin-right: 4px;
}

.swal2-popup .btn-success {
    background: #03dac6 !important;
    border: none !important;
    color: #1a1a1a !important;
}

.swal2-popup .btn-danger {
    background: #cf6679 !important;
    border: none !important;
    color: #1a1a1a !important;
}

.swal2-popup .btn:hover {
    transform: translateY(-1px);
}

.swal2-popup .btn-success:hover {
    background: #00b3a1 !important;
    box-shadow: 0 2px 8px rgba(3, 218, 198, 0.3);
}

.swal2-popup .btn-danger:hover {
    background: #b4495a !important;
    box-shadow: 0 2px 8px rgba(207, 102, 121, 0.3);
}

/* Mobil Uyumluluk */
@media (max-width: 576px) {
    .swal2-popup {
        width: 90% !important;
        margin: 0.5rem !important;
        padding: 1rem !important;
    }
    
    .swal2-popup .action-buttons {
        gap: 6px;
    }
    
    .swal2-popup .btn {
        padding: 6px 8px;
        font-size: 0.8rem;
        min-width: 80px;
    }
}

/* Arkadaşlar Kartı Stilleri */
.card {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 12px;
}

.card-header {
    background: rgba(187, 134, 252, 0.1);
    border-bottom: 1px solid #333;
    padding: 1rem;
}

.card-header h5 {
    color: #bb86fc;
    font-size: 1.1rem;
}

.card-header .action-button {
    background: rgba(3, 218, 198, 0.1);
    color: #03dac6;
    border: 1px solid rgba(3, 218, 198, 0.2);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.card-header .action-button:hover {
    background: rgba(3, 218, 198, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(3, 218, 198, 0.2);
}

.card-header .action-button i {
    margin-right: 6px;
}

/* Arkadaş Listesi Grid */
.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

/* Arkadaş Kartı */
.friend-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.2s;
}

.friend-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(187, 134, 252, 0.1);
}

.friend-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #bb86fc;
    padding: 2px;
    margin-bottom: 0.8rem;
}

.friend-name {
    color: #e0e0e0;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.friend-stats {
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.friend-action-buttons .btn-details {
    background: rgba(187, 134, 252, 0.1);
    color: #bb86fc;
    border: 1px solid rgba(187, 134, 252, 0.2);
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.friend-action-buttons .btn-details:hover {
    background: rgba(187, 134, 252, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(187, 134, 252, 0.2);
}

/* Boş Durum Mesajı */
.empty-friends {
    text-align: center;
    padding: 2rem;
    color: #aaa;
}

.empty-friends i {
    font-size: 3rem;
    color: #bb86fc;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-friends p {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto;
}

/* Arkadaş Arama Modal */
.modal-content {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 12px;
}

.modal-header {
    border-bottom: 1px solid #333;
    padding: 1rem 1.5rem;
    background: rgba(187, 134, 252, 0.05);
}

.modal-title {
    color: #bb86fc;
    font-size: 1.2rem;
    font-weight: 500;
}

.modal-header .btn-close {
    background: none;
    border: none;
    color: #aaa;
    opacity: 0.8;
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
}

.modal-header .btn-close:hover {
    color: #bb86fc;
    opacity: 1;
}

.modal-body {
    padding: 1.5rem;
}

/* Arama Kutusu */
.search-container {
    position: relative;
    margin-bottom: 1rem;
}

#friendSearchInput {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 8px;
    color: #e0e0e0;
    padding: 0.8rem 1rem;
    font-size: 16px;
    transition: all 0.2s;
    width: 100%;
}

#friendSearchInput::placeholder {
    color: #888;
    opacity: 1;
}

#friendSearchInput:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #bb86fc;
    box-shadow: 0 0 0 2px rgba(187, 134, 252, 0.1);
}

/* Arama Sonuçları Bölümü */
.search-results {
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem;
    margin-top: 1rem;
}

/* Arama Sonuç Kartı */
.search-result-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s;
    border: 1px solid transparent;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(187, 134, 252, 0.2);
}

/* Profil Resmi */
.search-result-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(187, 134, 252, 0.3);
}

/* Kullanıcı Bilgileri */
.search-result-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.search-result-name {
    color: #e0e0e0;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.search-result-stats {
    color: #aaa;
    font-size: 0.8rem;
}

/* Arkadaşlık Durum Butonları */
.friendship-button {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 140px;
    justify-content: center;
    font-weight: 500;
}

.friendship-button i {
    font-size: 0.8rem;
}

/* Arkadaşsınız Durumu */
.friendship-button.is-friend {
    background: rgba(0, 200, 83, 0.1);
    color: #00c853;
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.friendship-button.is-friend:hover {
    background: rgba(0, 200, 83, 0.15);
}

/* İstek Gönderildi Durumu */
.friendship-button.is-pending {
    background: rgba(255, 171, 64, 0.1);
    color: #ffab40;
    border: 1px solid rgba(255, 171, 64, 0.2);
}

.friendship-button.is-pending:hover {
    background: rgba(255, 171, 64, 0.15);
}

/* İstek Bekliyor Durumu */
.friendship-button.is-waiting {
    background: rgba(3, 169, 244, 0.1);
    color: #03a9f4;
    border: 1px solid rgba(3, 169, 244, 0.2);
}

.friendship-button.is-waiting:hover {
    background: rgba(3, 169, 244, 0.15);
}

/* Arkadaş Ekle Durumu */
.friendship-button.can-add {
    background: rgba(187, 134, 252, 0.1);
    color: #bb86fc;
    border: 1px solid rgba(187, 134, 252, 0.2);
}

.friendship-button.can-add:hover {
    background: rgba(187, 134, 252, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(187, 134, 252, 0.2);
}

/* Disabled Durumlar */
.friendship-button:disabled {
    cursor: default;
    opacity: 0.8;
}

.friendship-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Boş Durum Mesajı */
.search-results .empty-message {
    text-align: center;
    padding: 2rem;
    color: #888;
    font-size: 0.95rem;
}

.search-results .empty-message i {
    font-size: 2rem;
    color: #bb86fc;
    margin-bottom: 1rem;
    opacity: 0.5;
    display: block;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .modal-body {
        padding: 1rem;
    }

    .search-result-item {
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .search-result-avatar {
        width: 40px;
        height: 40px;
    }

    .friendship-button {
        min-width: auto;
        padding: 6px 12px;
    }

    .friendship-button span {
        display: none;
    }

    .friendship-button i {
        margin: 0;
        font-size: 1rem;
    }
}

/* ===============================================
   ARKADAŞ PROFİLİ MODAL - PREMIUM GLASSMORPHISM TASARIM
   =============================================== */

/* Modal Ana Yapısı */
#friendProfileModal .modal-dialog {
    max-width: 850px;
    margin: 1rem auto;
}

#friendProfileModal .modal-content {
    background: linear-gradient(145deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 26, 0.9));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    position: relative;
}

#friendProfileModal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#friendProfileModal .modal-header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.1));
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

#friendProfileModal .modal-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, #fff, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#friendProfileModal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    backdrop-filter: blur(10px);
}

#friendProfileModal .btn-close:hover {
    opacity: 1;
    background: rgba(239, 68, 68, 0.2);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

#friendProfileModal .modal-body {
    padding: 0;
    background: transparent;
    max-height: 75vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
}

#friendProfileModal .modal-body::-webkit-scrollbar {
    width: 8px;
}

#friendProfileModal .modal-body::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.5);
    border-radius: 4px;
}

#friendProfileModal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

#friendProfileModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
}

/* Profil Header - Premium Layout */
.friend-profile-header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.05));
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.friend-profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: float 20s infinite linear;
    opacity: 0.3;
}

@keyframes float {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.friend-profile-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.friend-profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #8b5cf6;
    object-fit: cover;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.3),
        0 0 0 4px rgba(139, 92, 246, 0.1);
}

.friend-profile-avatar::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    background: linear-gradient(45deg, #8b5cf6, #3b82f6, #8b5cf6);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 4s linear infinite;
    opacity: 0.7;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.friend-profile-avatar:hover {
    transform: scale(1.1);
    box-shadow: 
        0 12px 40px rgba(139, 92, 246, 0.4),
        0 0 0 6px rgba(139, 92, 246, 0.2);
}

.friend-profile-info h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #fff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.friend-profile-info p {
    color: #8b5cf6;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.friend-profile-right {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

/* Premium İstatistikler */
.profile-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat:hover::before {
    left: 100%;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 
        0 10px 30px rgba(139, 92, 246, 0.2),
        0 0 20px rgba(139, 92, 246, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.stat span {
    display: block;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.stat small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Premium İçerik Bölümleri */
.friend-profile-section {
    padding: 2rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    position: relative;
}

.friend-profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.friend-profile-section:last-child {
    border-bottom: none;
}

.section-header h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-header i {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

/* Premium Film/Dizi Kartları */
.recent-movies {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.5) rgba(26, 26, 26, 0.5);
}

.recent-movies::-webkit-scrollbar {
    height: 8px;
}

.recent-movies::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.5);
    border-radius: 4px;
}

.recent-movies::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

/* Premium Film Kartı */
.movie-card {
    flex-shrink: 0;
    width: 140px;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(42, 42, 42, 0.6));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.movie-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.movie-card:hover::before {
    opacity: 1;
}

.movie-card:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(139, 92, 246, 0.3),
        0 0 60px rgba(139, 92, 246, 0.1);
}

.movie-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 0;
}

.movie-card:hover img {
    transform: scale(1.1);
}

.movie-info {
    padding: 1rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.9));
}

.movie-info h6 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Premium Listene Ekle Butonu */
.watchlist-btn {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    color: white;
    border: none;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.watchlist-btn::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 ease;
}

.watchlist-btn:hover:not(:disabled)::before {
    left: 100%;
}

.watchlist-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(139, 92, 246, 0.4),
        0 0 20px rgba(139, 92, 246, 0.3);
}

.watchlist-btn.added {
    background: linear-gradient(135deg, #374151, #1f2937);
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.watchlist-btn:disabled {
    opacity: 0.6;
}

/* Premium Favori Türler */
.favorite-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.genre-item {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.genre-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    transition: left 0.5s ease;
}

.genre-item:hover::before {
    left: 100%;
}

.genre-item:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.1));
    border-color: rgba(139, 92, 246, 0.6);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(139, 92, 246, 0.2),
        0 0 20px rgba(139, 92, 246, 0.1);
}

.genre-name {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.genre-count {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.75rem;
    font-weight: 700;
}

.genre-item:hover .genre-count {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

/* Premium Boş Durumlar */
.friend-profile-section .text-muted {
    color: rgba(139, 92, 246, 0.6) !important;
    text-align: center;
    padding: 3rem;
    font-style: italic;
    font-size: 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(59, 130, 246, 0.02));
    border: 2px dashed rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.friend-profile-section .text-muted::before {
    content: '🎬';
    display: block;
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Premium Mobil Uyumluluk */
@media (max-width: 768px) {
    #friendProfileModal .modal-dialog {
        width: 95%;
        margin: 0.5rem auto;
    }
    
    #friendProfileModal .modal-body {
        max-height: 80vh;
    }
    
    .friend-profile-header {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem;
    }
    
    .friend-profile-left {
        flex: 1;
    }
    
    .friend-profile-right {
        flex-shrink: 0;
    }
    
    .profile-stats {
        gap: 2rem;
    }
    
    .stat {
        padding: 1rem 0.75rem;
    }
    
    .friend-profile-section {
        padding: 1.5rem;
    }
    
    .movie-card {
        width: 120px;
    }
    
    .movie-card img {
        height: 160px;
    }
    
    .movie-info {
        padding: 0.75rem;
    }
    
    .movie-info h6 {
        font-size: 0.8rem;
    }
    
    .watchlist-btn {
        font-size: 0.7rem;
        padding: 0.5rem 0.6rem;
    }
    
    .recent-movies {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    #friendProfileModal .modal-content {
        border-radius: 16px;
        margin: 0.25rem;
    }
    
    #friendProfileModal .modal-header {
        padding: 1rem 1.5rem;
    }
    
    #friendProfileModal .modal-title {
        font-size: 1.1rem;
    }
    
    .friend-profile-header {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .friend-profile-avatar {
        width: 50px;
        height: 50px;
    }
    
    .friend-profile-info h3 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
    
    .friend-profile-info p {
        font-size: 0.75rem;
    }
    
    .profile-stats {
        gap: 0.75rem;
    }
    
    .stat {
        padding: 0.5rem 0.4rem;
        border-radius: 12px;
    }
    
    .stat span {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }
    
    .stat small {
        font-size: 0.65rem;
    }
    
    .friend-profile-section {
        padding: 1rem;
    }
    
    .section-header h5 {
        font-size: 1rem;
    }
    
    .movie-card {
        width: 100px;
    }
    
    .movie-card img {
        height: 140px;
    }
    
    .movie-info {
        padding: 0.5rem;
    }
    
    .movie-info h6 {
        font-size: 0.75rem;
    }
    
    .watchlist-btn {
        font-size: 0.65rem;
        padding: 0.4rem 0.5rem;
    }
    
    .recent-movies {
        gap: 0.75rem;
    }
    
    .favorite-genres {
        gap: 0.5rem;
    }
    
    .genre-item {
        padding: 0.5rem 0.75rem;
    }
    
    .genre-name {
        font-size: 0.75rem;
    }
    
    .genre-count {
        font-size: 0.65rem;
    }
}

.friend-stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.friend-stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.friend-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.friend-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* İçerik Bölümleri */
.friend-profile-content {
    padding: 2rem;
}

.friend-section {
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    padding: 1.8rem;
    transition: all 0.3s ease;
}

.friend-section:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.friend-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.friend-section-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.friend-section-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

/* Film Kartları Grid */
.friend-movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.2rem;
}

.friend-movie-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    group: true;
}

.friend-movie-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.friend-movie-poster {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    transition: all 0.4s ease;
}

.friend-movie-card:hover .friend-movie-poster {
    transform: scale(1.05);
}

.friend-movie-info {
    padding: 1rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
}

.friend-movie-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.friend-movie-year {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.friend-movie-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.friend-rating-user,
.friend-rating-tmdb {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.friend-rating-user {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.friend-rating-tmdb {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.friend-movie-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.friend-genre-tag {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.2s ease;
}

.friend-genre-tag:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: translateY(-1px);
}

/* Favori Türler */
.friend-genres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.friend-genre-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.friend-genre-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
}

.friend-genre-name {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.friend-genre-count {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* Boş Durum */
.friend-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.friend-empty-icon {
    width: 80px;
    height: 80px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #8b5cf6;
    margin: 0 auto 1.5rem;
}

.friend-empty-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.friend-empty-description {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto;
}

/* Scrollbar Özelleştirmesi */
#friendProfileModal .modal-body::-webkit-scrollbar {
    width: 6px;
}

#friendProfileModal .modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

#friendProfileModal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: 3px;
}

#friendProfileModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
}

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    #friendProfileModal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
    }

    #friendProfileModal .modal-header {
        padding: 1.2rem 1.5rem;
    }

    #friendProfileModal .modal-title {
        font-size: 1.3rem;
    }

    .friend-profile-hero {
        padding: 2rem 1.5rem;
    }

    .friend-profile-avatar {
        width: 100px;
        height: 100px;
    }

    .friend-profile-name {
        font-size: 1.6rem;
    }

    .friend-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .friend-stat-card {
        padding: 1rem;
    }

    .friend-stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .friend-stat-number {
        font-size: 1.5rem;
    }

    .friend-profile-content {
        padding: 1.5rem;
    }

    .friend-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .friend-movies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .friend-genres-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .friend-genre-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    #friendProfileModal .modal-header {
        padding: 1rem 1.2rem;
    }

    #friendProfileModal .modal-title {
        font-size: 1.1rem;
    }

    .friend-profile-hero {
        padding: 1.5rem 1rem;
    }

    .friend-profile-avatar {
        width: 80px;
        height: 80px;
    }

    .friend-profile-name {
        font-size: 1.4rem;
    }

    .friend-profile-username {
        font-size: 1rem;
    }

    .friend-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .friend-stat-card {
        padding: 0.8rem;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }

    .friend-stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin: 0;
    }

    .friend-stat-info {
        flex: 1;
    }

    .friend-stat-number {
        font-size: 1.3rem;
        margin-bottom: 0.1rem;
    }

    .friend-stat-label {
        font-size: 0.8rem;
    }

    .friend-profile-content {
        padding: 1rem;
    }

    .friend-section {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .friend-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        text-align: center;
    }

    .friend-section-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin: 0 auto;
    }

    .friend-section-title {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }

    .friend-movies-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .friend-movie-card {
        display: flex;
        border-radius: 12px;
    }

    .friend-movie-poster {
        width: 80px;
        height: 120px;
        aspect-ratio: unset;
        flex-shrink: 0;
    }

    .friend-movie-info {
        padding: 0.8rem;
        flex: 1;
        background: rgba(0,0,0,0.5);
    }

    .friend-movie-title {
        font-size: 0.85rem;
        -webkit-line-clamp: 1;
    }

    .friend-movie-year {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .friend-movie-rating {
        margin-bottom: 0.5rem;
    }

    .friend-rating-user,
    .friend-rating-tmdb {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }

    .friend-genres-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .friend-genre-item {
        padding: 0.8rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .friend-genre-name {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .friend-genre-count {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .friend-empty-state {
        padding: 2rem 1rem;
    }

    .friend-empty-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .friend-empty-title {
        font-size: 1rem;
    }

    .friend-empty-description {
        font-size: 0.85rem;
    }
}

        
      




/* Close Button Düzeltmesi */
.modal .btn-close {
    opacity: 0.7 !important;
    transition: all 0.2s !important;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23bb86fc'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
    filter: none !important;
}

.modal .btn-close:hover {
    opacity: 1 !important;
    transform: scale(1.1);
}

.modal .btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(187, 134, 252, 0.25) !important;
}

/* Film Grupları Ana Grid */
.groups-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 1rem;
}

/* Grup Kartı Temel Stili */
.group-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(187, 134, 252, 0.1);
    transition: all 0.3s;
    width: calc(48% - 1rem);
    position: relative;
}

/* Masaüstü Hover Efekti */
.group-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(187, 134, 252, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.1);
}

/* Film Posteri */
.group-movie-poster {
    width: 100px !important;
    height: 140px !important;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(187, 134, 252, 0.2);
}

/* Grup Bilgileri */
.group-info h6 {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.group-info .text-muted {
    color: #aaa !important;
    font-size: 0.9rem;
}

/* Meta Bilgiler */
.movie-info {
    font-size: 0.85rem;
    color: #bb86fc;
    margin: 0.5rem 0;
}

.movie-info i {
    margin-right: 4px;
}

.group-meta {
    font-size: 0.85rem;
    color: #aaa;
}

.group-meta i {
    margin-right: 4px;
}

/* Aksiyon Butonları */
.action-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
}

/* Buton Stilleri */
.chat-btn {
    background: rgba(3, 218, 198, 0.1);
    color: #03dac6;
    border-color: rgba(3, 218, 198, 0.2);
}

.members-btn {
    background: rgba(187, 134, 252, 0.1);
    color: #bb86fc;
    border-color: rgba(187, 134, 252, 0.2);
}

.invite-btn {
    background: rgba(3, 169, 244, 0.1);
    color: #03a9f4;
    border-color: rgba(3, 169, 244, 0.2);
}

.delete-btn, .leave-btn {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border-color: rgba(244, 67, 54, 0.2);
}

/* Film Grupları Ana Grid - Mobil */
@media screen and (max-width: 768px) {
    .groups-grid {
        gap: 1rem;
        padding: 0.75rem;
    }

    .group-card {
        width: 100%;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    /* Film Posteri - Mobil */
    .group-movie-poster {
        width: 100px !important;
        height: 150px !important;
    }

    /* Grup Bilgileri - Mobil */
    .group-info h6 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .group-info .text-muted {
        font-size: 0.85rem;
    }

    /* Meta Bilgiler - Mobil */
    .movie-info,
    .group-meta {
        font-size: 0.8rem;
    }

    /* Aksiyon Butonları - Mobil */
    .action-buttons {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5rem;
        margin-top: 0.75rem;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .action-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        white-space: nowrap;
        flex: 0 0 auto;
        min-width: auto;
    }

    /* Buton İkonları - Mobil */
    .action-btn i {
        font-size: 1rem;
    }
}

/* Çok Küçük Ekranlar İçin Ek Optimizasyon */
@media screen and (max-width: 380px) {
    .groups-grid {
        padding: 0.5rem;
    }

    .group-card {
        padding: 0.75rem;
    }

    .group-movie-poster {
        width: 90px !important;
        height: 135px !important;
    }
}

/* Boş Durum */
.empty-groups {
    text-align: center;
    padding: 2rem;
    color: #888;
    width: 100%;
}

.empty-groups i {
    font-size: 3rem;
    color: #bb86fc;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-groups p {
    font-size: 0.95rem;
    max-width: 300px;
    margin: 0 auto;
}

/* Grup Oluşturma Modal */
.create-group-btn {
    background: rgba(187, 134, 252, 0.1);
    color: #bb86fc;
    border: 1px solid rgba(187, 134, 252, 0.2);
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.create-group-btn:hover {
    background: rgba(187, 134, 252, 0.2);
    transform: translateY(-1px);
}

/* Film Arama */
#movieSearch {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: #e0e0e0;
}

#movieSearch:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #bb86fc;
    box-shadow: 0 0 0 0.25rem rgba(187, 134, 252, 0.25);
}

.btn-outline-secondary {
    color: #bb86fc;
    border-color: #333;
}

.btn-outline-secondary:hover {
    background: rgba(187, 134, 252, 0.1);
    color: #bb86fc;
    border-color: #bb86fc;
}

/* Film Sonuçları */
#movieResults {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid #333;
}

.movie-result-item {
    padding: 0.8rem;
    border-bottom: 1px solid #333;
    cursor: pointer;
    transition: all 0.2s;
}

.movie-result-item:hover {
    background: rgba(187, 134, 252, 0.1);
}

.movie-result-item:last-child {
    border-bottom: none;
}

/* Seçili Film Kartı */
#selectedMovie .card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(187, 134, 252, 0.2);
}

#selectedMovie img {
    border-radius: 6px;
    border: 2px solid rgba(187, 134, 252, 0.2);
}

#movieTitle {
    color: #e0e0e0;
    font-size: 1.2rem;
}

#movieYear, #movieRating {
    color: #aaa;
    font-size: 0.9rem;
}

/* Form Elemanları */
.form-label {
    color: #e0e0e0;
    font-size: 0.95rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: #e0e0e0;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #bb86fc;
    box-shadow: 0 0 0 0.25rem rgba(187, 134, 252, 0.25);
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .group-card {
        padding: 0.8rem;
    }

    .group-movie-poster {
        width: 50px !important;
        height: 75px !important;
    }

    .group-info h6 {
        font-size: 1rem;
    }

    .action-buttons {
        flex-wrap: wrap;
    }

    .action-btn {
        padding: 4px 8px;
    }

    .btn-text {
        display: none;
    }

    .action-btn i {
        margin: 0;
    }
}



/* Sohbet Modal Ana Yapı */
.chat-modal .modal-content {
    height: 85vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #1a1a1a, #2d2d2d);
    border: 1px solid rgba(187, 134, 252, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Modal Header */
.chat-modal .modal-header {
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(187, 134, 252, 0.1), rgba(3, 218, 198, 0.1));
    border-bottom: 1px solid rgba(187, 134, 252, 0.15);
    border-radius: 20px 20px 0 0;
}

.movie-banner {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.group-info {
    width: 100%;
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0 0.5rem;
}

.group-title-section {
    flex-grow: 1;
}

.modal-title {
    color: #bb86fc;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(187, 134, 252, 0.2);
}

.group-stats {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.stat-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(187, 134, 252, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(187, 134, 252, 0.2);
}

.stat-item:hover {
    background: rgba(187, 134, 252, 0.25);
    transform: translateY(-2px);
}

.stat-item i {
    color: #bb86fc;
    font-size: 0.9rem;
    text-shadow: 0 0 8px rgba(187, 134, 252, 0.4);
}

/* Mesaj Alanı */
.modal-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Mesajlar Listesi */
#chatMessages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Scrollbar Stili */
#chatMessages::-webkit-scrollbar {
    width: 4px;
}

#chatMessages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
}

#chatMessages::-webkit-scrollbar-thumb {
    background: rgba(187, 134, 252, 0.2);
    border-radius: 20px;
}

#chatMessages::-webkit-scrollbar-thumb:hover {
    background: rgba(187, 134, 252, 0.3);
}

/* Temel Mesaj Stili */
.chat-message {
    display: flex;
    gap: 0.6rem;
    max-width: 50%;
    position: relative;
    align-self: flex-start;
    animation: newMessage 0.3s ease;
    padding: 0 0.3rem;
    margin: 0.1rem 0;
}

/* Kendi Mesajlarımız */
.chat-message.own-message {
    flex-direction: row-reverse;
    align-self: flex-end;
}

/* Avatar */
.message-avatar {
    flex-shrink: 0;
    align-self: flex-end;
    margin-bottom: 2px;
    position: relative;
}

.message-avatar img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(187, 134, 252, 0.2);
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.message-avatar img:hover {
    transform: scale(1.1);
    border-color: rgba(187, 134, 252, 0.4);
}

/* Mesaj İçeriği */
.message-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.7rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(187, 134, 252, 0.1);
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    max-width: calc(100% - 20px); /* 40px'ten 20px'e düşürelim */
    flex: 1; /* Ekleyelim - içeriğin genişlemesini sağlar */
}
.message-content:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mesaj Balonu Efekti */
.message-content::before {
    content: '';
    position: absolute;
    left: -5px;
    bottom: 10px;
    width: 10px;
    height: 10px;
    background: inherit;
    border-left: 1px solid rgba(187, 134, 252, 0.1);
    border-bottom: 1px solid rgba(187, 134, 252, 0.1);
    transform: rotate(45deg);
}

/* Kendi Mesajlarımız Stili */
.own-message .message-content {
    background: linear-gradient(135deg, rgba(187, 134, 252, 0.15), rgba(3, 218, 198, 0.15));
    border-color: rgba(187, 134, 252, 0.2);
}

.own-message .message-content::before {
    left: auto;
    right: -5px;
    border: none;
    border-right: 1px solid rgba(187, 134, 252, 0.2);
    border-top: 1px solid rgba(187, 134, 252, 0.2);
}

/* Mesaj Üst Bilgi */
.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}

/* Kullanıcı Adı */
.message-author {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.chat-message .message-author {
    color: #03dac6;
}

.own-message .message-author {
    color: #bb86fc;
}

/* Mesaj Zamanı */
.message-time {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Mesaj Metni */
.message-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
}

.own-message .message-text {
    color: #fff;
}

/* Mesaj Giriş Alanı */
.message-input-container {
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(187, 134, 252, 0.1);
    border-radius: 0 0 20px 20px;
    position: relative;
}

.message-input-container .input-group {
    background: transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    overflow: hidden;
}

#messageInput {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(187, 134, 252, 0.2);
    color: #fff;
    padding: 0.7rem 1.2rem;
    border-radius: 24px 0 0 24px;
    font-size: 16px;
    transition: all 0.3s ease;
}

#messageInput:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #bb86fc;
    box-shadow: 0 0 0 2px rgba(187, 134, 252, 0.25);
}

#messageInput::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Gönder Butonu */
.btn-send {
    background: linear-gradient(135deg, rgba(187, 134, 252, 0.2), rgba(3, 218, 198, 0.2));
    color: #bb86fc;
    border: 1px solid rgba(187, 134, 252, 0.2);
    border-radius: 0 24px 24px 0;
    padding: 0 1.2rem;
    transition: all 0.3s ease;
    min-width: 50px;
}

.btn-send:hover {
    background: linear-gradient(135deg, rgba(187, 134, 252, 0.3), rgba(3, 218, 198, 0.3));
    transform: translateX(2px);
}

.btn-send:active {
    transform: scale(0.98);
}

.btn-send i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-send:hover i {
    transform: translateX(2px);
}

/* Boş Sohbet */
.empty-chat {
    text-align: center;
    padding: 2rem 1rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(187, 134, 252, 0.05);
    border-radius: 16px;
    margin: 1rem;
}

.empty-chat p {
    font-size: 0.9rem;
    max-width: 260px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Animasyonlar */
@keyframes newMessage {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animasyonlar */
@keyframes newMessage {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Kapatma Butonu */
.chat-modal .close {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-modal .close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
    color: #fff;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    /* Modal Yapısı */
    .chat-modal .modal-content {
        height: 90vh;
        border-radius: 0;
        margin: 0;
    }

    .chat-modal .modal-header {
        padding: 1rem;
    }

    /* Mesaj Boyutları */
    .chat-message {
        max-width: 85%;
        padding: 0 0.2rem;
    }

    /* Avatar */
    .message-avatar img {
        width: 24px;
        height: 24px;
        border-width: 1.5px;
    }

    /* Mesaj İçeriği */
    .message-content {
        padding: 0.6rem 0.8rem;
        max-width: calc(100% - 15px);
    }

    /* Mesaj Metni */
    .message-text {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    /* Grup Bilgileri */
    .group-stats {
        gap: 0.4rem;
        flex-wrap: wrap;
    }

    .stat-item {
        font-size: 0.75rem;
        padding: 3px 10px;
    }

    /* Giriş Alanı */
    .message-input-container {
        padding: 0.7rem;
        position: sticky;
        bottom: 0;
    }

    #messageInput {
        padding: 0.6rem 1rem;
        font-size: 16px;
    }

    .btn-send {
        padding: 0 1rem;
    }

    /* Başlık */
    .modal-title {
        font-size: 1.2rem;
    }
}

/* Küçük Ekranlar */
@media (max-width: 480px) {
    /* Mesaj Boyutları */
    .chat-message {
        max-width: 90%;
        gap: 0.4rem;
    }

    /* Mesaj İçeriği */
    .message-content {
        padding: 0.5rem 0.7rem;
        max-width: calc(100% - 12px);
    }

    /* Avatar */
    .message-avatar img {
        width: 22px;
        height: 22px;
    }

    /* Metin Boyutları */
    .message-text {
        font-size: 0.85rem;
    }

    .message-author {
        font-size: 0.75rem;
    }

    .message-time {
        font-size: 0.6rem;
    }

    /* Grup Bilgileri */
    .group-stats {
        gap: 0.3rem;
    }

    .stat-item {
        font-size: 0.7rem;
        padding: 2px 8px;
    }

    /* Giriş Alanı */
    .message-input-container {
        padding: 0.6rem;
    }

    #messageInput {
        padding: 0.5rem 0.8rem;
        font-size: 16px;
    }

    .btn-send {
        padding: 0 0.8rem;
        min-width: 40px;
    }
}

/* Dizi Sohbet Modal Ana Yapı */
.series-chat-modal .modal-content {
    height: 85vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #1a1a1a, #2d2d2d);
    border: 1px solid rgba(187, 134, 252, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Modal Header */
.series-chat-modal .modal-header {
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(187, 134, 252, 0.1), rgba(3, 218, 198, 0.1));
    border-bottom: 1px solid rgba(187, 134, 252, 0.15);
    border-radius: 20px 20px 0 0;
}

.series-banner {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.series-group-info {
    width: 100%;
}

.series-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0 0.5rem;
}

.series-group-title-section {
    flex-grow: 1;
}

.series-modal-title {
    color: #bb86fc;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(187, 134, 252, 0.2);
}

.series-group-stats {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.series-stat-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(187, 134, 252, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(187, 134, 252, 0.2);
}

.series-stat-item:hover {
    background: rgba(187, 134, 252, 0.25);
    transform: translateY(-2px);
}

.series-stat-item i {
    color: #bb86fc;
    font-size: 0.9rem;
    text-shadow: 0 0 8px rgba(187, 134, 252, 0.4);
}

/* Mesaj Alanı */
#seriesChatMessages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Form Controls Mobile Fix - Prevent zoom on input focus */
#movieGroupSearch,
#seriesGroupSearch,
.form-control {
    font-size: 16px !important;
}

/* Additional mobile zoom prevention */
@media screen and (max-width: 768px) {
    input, textarea, select {
        font-size: 16px !important;
    }
}

/* Scrollbar Stili */
#seriesChatMessages::-webkit-scrollbar {
    width: 4px;
}

#seriesChatMessages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
}

#seriesChatMessages::-webkit-scrollbar-thumb {
    background: rgba(187, 134, 252, 0.2);
    border-radius: 20px;
}

#seriesChatMessages::-webkit-scrollbar-thumb:hover {
    background: rgba(187, 134, 252, 0.3);
}

/* Mesaj Giriş Alanı */
.series-message-input-container {
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(187, 134, 252, 0.1);
    border-radius: 0 0 20px 20px;
    position: relative;
}

#seriesMessageInput {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(187, 134, 252, 0.2);
    color: #fff;
    padding: 0.7rem 1.2rem;
    border-radius: 24px 0 0 24px;
    font-size: 16px;
    transition: all 0.3s ease;
}

#seriesMessageInput:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #bb86fc;
    box-shadow: 0 0 0 2px rgba(187, 134, 252, 0.25);
}

#seriesMessageInput::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Gönder Butonu */
.series-btn-send {
    background: linear-gradient(135deg, rgba(187, 134, 252, 0.2), rgba(3, 218, 198, 0.2));
    color: #bb86fc;
    border: 1px solid rgba(187, 134, 252, 0.2);
    border-radius: 0 24px 24px 0;
    padding: 0 1.2rem;
    transition: all 0.3s ease;
    min-width: 50px;
}

.series-btn-send:hover {
    background: linear-gradient(135deg, rgba(187, 134, 252, 0.3), rgba(3, 218, 198, 0.3));
    transform: translateX(2px);
}

.series-btn-send:active {
    transform: scale(0.98);
}

.series-btn-send i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.series-btn-send:hover i {
    transform: translateX(2px);
}

/* Grup Üyeleri Listesi Stili */
.members-list {
    max-height: 70vh;
    overflow-y: auto;
    padding: 0.5rem;
}

.member-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.member-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member-content {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
}

.member-avatar {
    flex-shrink: 0;
}

.member-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(187, 134, 252, 0.3);
    transition: all 0.3s ease;
}

.member-item:hover .member-avatar img {
    border-color: rgba(187, 134, 252, 0.8);
    transform: scale(1.05);
}

.member-info {
    flex-grow: 1;
}

.member-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.3rem;
}

.member-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.member-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: rgba(187, 134, 252, 0.2);
    color: #bb86fc;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.member-details {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.join-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Scrollbar Stili */
.members-list::-webkit-scrollbar {
    width: 4px;
}

.members-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.members-list::-webkit-scrollbar-thumb {
    background: rgba(187, 134, 252, 0.2);
    border-radius: 4px;
}

.members-list::-webkit-scrollbar-thumb:hover {
    background: rgba(187, 134, 252, 0.3);
}

/* Mobil Uyumluluk */
@media (max-width: 480px) {
    .member-list, .friends-list {
        padding: 0.4rem;
        width: 95vw; /* Ekran genişliğinin %95'i kadar */
        max-width: 600px; /* Maksimum genişlik */
        margin: 0 auto; /* Ortalamak için */
    }

    .member-item, .friend-item {
        margin-bottom: 0.6rem;
        width: 100%; /* Tam genişlik */
    }

    .member-content, .friend-content {
        padding: 0.7rem;
        gap: 0.5rem;
        align-items: center;
        position: relative;
        display: flex;
        flex-wrap: nowrap;
        width: 100%; /* Tam genişlik */
    }
    .member-list {
        padding: 0.4rem;
    }

    .member-item {
        margin-bottom: 0.6rem;
    }

    .member-content {
        padding: 0.7rem;
        gap: 0.5rem; /* Gap'i azalttık */
        align-items: center;
        position: relative;
        display: flex;
        flex-wrap: nowrap; /* Elementlerin satır atlamasını engelledik */
    }
    
    .member-avatar {
        width: 40px; /* Biraz küçülttük */
        height: 40px;
        flex-shrink: 0; /* Avatar boyutunun sabit kalmasını sağladık */
    }
    
    .member-avatar img {
        width: 100%;
        height: 100%;
        border-width: 1.5px;
    }
    
    .member-info {
        flex: 2; /* Daha fazla alan verdik */
        min-width: 0;
        padding-right: 0.4rem;
    }
    
    .member-name {
        font-size: 0.85rem;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 0.1rem;
        color: rgba(255, 255, 255, 0.95);
    }

    .member-details {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.7);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .member-badge {
        font-size: 0.7rem; /* Biraz küçülttük */
        padding: 0.2rem 0.5rem; /* Padding'i azalttık */
        gap: 0.2rem;
        white-space: nowrap;
        flex-shrink: 0; /* Badge'in küçülmesini engelledik */
    }

    .member-badge i {
        font-size: 0.7rem;
    }

    /* Aynı değişiklikleri friend-content için de yapalım */
    .friend-content {
        gap: 0.5rem;
    }

    .friend-info {
        flex: 2;
    }

    .friend-avatar {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .status-badge, .invite-btn {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
        gap: 0.2rem;
        flex-shrink: 0;
    }
}

/* Çok Küçük Ekranlar */
@media (max-width: 360px) {
    .member-list, .friends-list {
        width: 98vw; /* Daha da geniş */
        padding: 0.3rem;
    }
    .member-content, .friend-content {
        padding: 0.6rem;
        gap: 0.4rem; /* Daha da azalttık */
    }

    .member-avatar, .friend-avatar {
        width: 36px;
        height: 36px;
    }

    .member-info, .friend-info {
        flex: 3; /* Daha da fazla alan verdik */
    }

    .member-badge, .status-badge, .invite-btn {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Arkadaş Listesi Stili */
.friends-list {
    max-height: 70vh;
    overflow-y: auto;
    padding: 0.5rem;
}

.friend-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.friend-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.friend-content {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
}

.friend-avatar {
    flex-shrink: 0;
    width: 48px;  /* Sabit genişlik ekleyelim */
    height: 48px; /* Sabit yükseklik ekleyelim */
    position: relative; /* Position ekleyelim */
}

.friend-avatar img {
    width: 100%;    /* Genişliği parent'a göre ayarlayalım */
    height: 100%;   /* Yüksekliği parent'a göre ayarlayalım */
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(187, 134, 252, 0.3);
    transition: all 0.3s ease;
    position: absolute; /* Absolute pozisyon */
    top: 0;
    left: 0;
}


.friend-item:hover .friend-avatar img {
    border-color: rgba(187, 134, 252, 0.8);
    transform: scale(1.05);
}

.friend-info {
    flex-grow: 1;
}

.friend-name {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

.friend-status {
    flex-shrink: 0;
}

.status-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.status-badge.member {
    background: rgba(3, 218, 198, 0.2);
    color: #03dac6;
}

.status-badge.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.invite-btn {
    background: linear-gradient(135deg, rgba(187, 134, 252, 0.2), rgba(3, 218, 198, 0.2));
    color: #bb86fc;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.invite-btn:hover {
    background: linear-gradient(135deg, rgba(187, 134, 252, 0.3), rgba(3, 218, 198, 0.3));
    transform: translateX(2px);
}

.invite-btn:active {
    transform: scale(0.98);
}

/* Scrollbar Stili */
.friends-list::-webkit-scrollbar {
    width: 4px;
}

.friends-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.friends-list::-webkit-scrollbar-thumb {
    background: rgba(187, 134, 252, 0.2);
    border-radius: 4px;
}

.friends-list::-webkit-scrollbar-thumb:hover {
    background: rgba(187, 134, 252, 0.3);
}

/* Mobil Uyumluluk */
@media (max-width: 480px) {
    .friends-list {
        padding: 0.4rem;
    }

    .friend-item {
        margin-bottom: 0.6rem;
    }

    .friend-content {
        padding: 0.7rem;
        gap: 0.7rem;
        align-items: center;
        position: relative;
    }
    
    .friend-avatar {
        width: 42px;
        height: 42px;
        margin-top: -2px; /* Resmi biraz yukarı kaydır */
        margin-left: -2px; /* Resmi biraz sola kaydır */
    }
    
    .friend-avatar img {
        width: 100%;
        height: 100%;
        border-width: 1.5px;
    }
    
    .friend-info {
        flex: 1;
        min-width: 0; /* Taşmayı önlemek için */
        padding-right: 0.5rem; /* Sağ tarafta biraz boşluk bırak */
    }
    
    .friend-name {
        font-size: 0.85rem;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 0.1rem;
        color: rgba(255, 255, 255, 0.95);
    }
    
    .status-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
        gap: 0.3rem;
        white-space: nowrap;
    }

    .status-badge i {
        font-size: 0.75rem;
    }
    
    .invite-btn {
        padding: 0.25rem 0.7rem;
        font-size: 0.75rem;
        gap: 0.3rem;
        white-space: nowrap;
    }

    .invite-btn i {
        font-size: 0.75rem;
    }
}

/* Çok Küçük Ekranlar */
@media (max-width: 360px) {
    .friend-content {
        padding: 0.6rem;
        gap: 0.6rem;
    }

    .friend-avatar {
        width: 38px;
        height: 38px;
    }

    .friend-name {
        font-size: 0.8rem;
    }

    .status-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .invite-btn {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* Input ve Placeholder Stilleri */
input, textarea, select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

/* Placeholder Renkleri */
::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1;
}

:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

::-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Input Focus Durumu */
input:focus, textarea:focus, select:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(187, 134, 252, 0.5);
    outline: none;
    box-shadow: 0 0 0 2px rgba(187, 134, 252, 0.25);
}

/* Input Hover Durumu */
input:hover, textarea:hover, select:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}


/* Tab Stilleri */
.nav-tabs {
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    margin-bottom: 20px;
}

.nav-tabs .nav-link {
    color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 1rem 1.5rem;
    transition: 0.3s ease;
    background: transparent;
}

.nav-tabs .nav-link:hover {
    color: #ffffff;
    border: none;
    background: rgba(138, 43, 226, 0.1);
}

.nav-tabs .nav-link.active {
    color: #8A2BE2;
    background: rgba(138, 43, 226, 0.1);
    border: none;
    position: relative;
}

.nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #8A2BE2, #FF1493);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.4);
}

.nav-pills {
    background: rgba(26, 11, 46, 0.3);
    padding: 10px;
    border-radius: 10px;
}

.nav-pills .nav-link {
    color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    transition: 0.3s ease;
    margin: 0 5px;
}

.nav-pills .nav-link:hover {
    color: #ffffff;
    background: rgba(138, 43, 226, 0.1);
}

.nav-pills .nav-link.active {
    color: #ffffff;
    background: #8A2BE2;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
}

.tab-content {
    padding: 1rem 0;
}

/* Badge stilleri */
.nav-link .badge {
    margin-left: 5px;
    font-size: 0.8em;
    background: #FF1493;
}

/* Mobil Responsive Tasarım */
@media (max-width: 768px) {
    /* Ana Tab Stilleri */
    .nav-tabs {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox için scroll bar gizleme */
        margin-bottom: 15px;
    }

    .nav-tabs::-webkit-scrollbar {
        display: none; /* Webkit tarayıcılar için scroll bar gizleme */
    }

    .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        white-space: nowrap;
        font-size: 0.9rem;
    }

    /* Alt Tab (Pills) Stilleri */
    .nav-pills {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 8px;
        margin: 0 -15px;
        border-radius: 0;
        background: rgba(26, 11, 46, 0.2);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav-pills::-webkit-scrollbar {
        display: none;
    }

    .nav-pills .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        margin: 0 3px;
    }

    .nav-pills .nav-item:first-child .nav-link {
        margin-left: 15px;
    }

    .nav-pills .nav-item:last-child .nav-link {
        margin-right: 15px;
    }

    /* Buton Stilleri */
    .action-button {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .action-button i {
        font-size: 0.85rem;
    }

    /* Buton Container */
    .d-flex.justify-content-end.mb-3 {
        margin: 10px 15px;
    }

    /* Tab İçerik Alanı */
    .tab-content {
        padding: 0.5rem 15px;
    }

    /* Badge Stilleri */
    .nav-link .badge {
        font-size: 0.7em;
        padding: 3px 6px;
    }

    /* Input Stilleri */
    input, textarea, select {
        font-size: 16px; /* iOS zoom sorununu önlemek için */
        padding: 8px 12px;
    }

    /* Boş Durum Mesajları */
    .empty-friends, .empty-groups {
        padding: 20px 10px;
    }

    .empty-friends i, .empty-groups i {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .empty-friends p, .empty-groups p {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    /* Grid Yapısı */
    .groups-grid, .friends-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px 0;
    }
}

/* Orta Boyutlu Ekranlar (Tablet) İçin */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-tabs .nav-link {
        padding: 0.85rem 1.25rem;
    }

    .nav-pills .nav-link {
        padding: 0.5rem 0.85rem;
        font-size: 0.9rem;
    }

    .groups-grid, .friends-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Grup Kartları - Tablet */
    .group-card {
        width: calc(50% - 1rem);
        padding: 1.2rem;
    }
    
    .group-movie-poster {
        width: 90px !important;
        height: 130px !important;
    }
    
    .group-info h6 {
        font-size: 1rem;
    }
    
    .group-info .text-muted {
        font-size: 0.85rem;
    }
    
    /* Arkadaş Kartları - Tablet */
    .friend-card {
        padding: 1rem;
    }
    
    .friend-avatar {
        width: 70px;
        height: 70px;
    }
    
    .friend-name {
        font-size: 0.95rem;
    }
    
    .friend-stats {
        font-size: 0.8rem;
    }
    
    /* Arkadaş İstek Öğesi - Tablet */
    .friend-request-item {
        max-width: 280px;
        padding: 18px;
    }
    
    .user-avatar {
        width: 70px;
        height: 70px;
    }
    
    /* Modal ve Form Tablet Düzenlemeleri */
    .modal-body {
        padding: 1.2rem;
    }
    
    .search-result-item {
        padding: 0.9rem;
        gap: 0.9rem;
    }
    
    .search-result-avatar {
        width: 44px;
        height: 44px;
    }
    
    .friendship-button {
        padding: 7px 14px;
        font-size: 0.82rem;
        min-width: 130px;
    }
    
    /* Sohbet Modal - Tablet */
    .chat-modal .modal-content {
        height: 80vh;
    }
    
    .chat-message {
        max-width: 65%;
    }
    
    .message-avatar img {
        width: 26px;
        height: 26px;
    }
    
    .message-text {
        font-size: 0.88rem;
    }
    
    /* Grup Arama - Tablet */
    .search-box {
        padding: 20px;
    }
    
    .search-box h5 {
        font-size: 1.1rem;
    }
    
    .search-box .form-control {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
    
    /* Arkadaş Profil Modal - Tablet */
    #friendProfileModal .modal-dialog {
        max-width: 780px;
    }
    
    .friend-profile-header {
        padding: 1.8rem;
    }
    
    .friend-profile-avatar {
        width: 70px;
        height: 70px;
    }
    
    .friend-profile-info h3 {
        font-size: 1.25rem;
    }
    
    .stat {
        padding: 1.2rem 0.85rem;
    }
    
    .stat span {
        font-size: 1.7rem;
    }
    
    .stat small {
        font-size: 0.75rem;
    }
    
    /* Film Kartları - Tablet */
    .movie-card {
        width: 125px;
    }
    
    .movie-card img {
        height: 165px;
    }
    
    .movie-info h6 {
        font-size: 0.8rem;
    }
    
    .watchlist-btn {
        font-size: 0.72rem;
        padding: 0.55rem 0.7rem;
    }
}

/* Küçük Mobil Ekranlar İçin Ek Optimizasyonlar */
@media (max-width: 375px) {
    .nav-tabs .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .nav-pills .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }

    .action-button {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .action-button i {
        font-size: 0.8rem;
    }
}

/* Yatay Mobil Görünüm İçin */
@media (max-height: 480px) and (orientation: landscape) {
    .nav-tabs {
        position: sticky;
        top: 0;
        background: rgba(26, 11, 46, 0.95);
        z-index: 1000;
        padding-top: 5px;
    }

    .nav-pills {
        position: sticky;
        top: 50px;
        z-index: 999;
        background: rgba(26, 11, 46, 0.95);
    }

    .tab-content {
        padding-top: 10px;
    }
}

.action-button {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.2);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.action-button:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
}

.action-button i {
    font-size: 0.9rem;
}

.create-group-btn, .add-friend-btn {
    background: linear-gradient(45deg, #8A2BE2, #FF1493);
    border: none;
}

.create-group-btn:hover, .add-friend-btn:hover {
    background: linear-gradient(45deg, #7B27CC, #E6137F);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.action-buttons-container {
    padding: 0.5rem;
    margin: 0 auto;
}

.action-buttons-grid {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    color: #fff;
    height: 40px;
    min-width: 180px;
}

.movie-btn {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.15);
}

.series-btn {
    background: linear-gradient(135deg, #ec4899, #d946ef);
    box-shadow: 0 2px 6px rgba(236, 72, 153, 0.15);
}

.action-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.action-button:active {
    transform: translateY(0);
}

.action-button i {
    font-size: 1rem;
}

.action-button span {
    font-size: 0.9rem;
}

/* Mobil için responsive tasarım */
@media (max-width: 480px) {
    .action-buttons-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .action-button {
        width: 100%;
        max-width: 250px;
    }
}


/* Grup kartlarındaki butonlar için stil */
.group-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    width: 100%;
}

.group-actions .btn {
    min-width: 140px;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 14px;
    letter-spacing: 0.5px;
    width: 80%;
    max-width: 200px;
}

.group-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    filter: brightness(105%);
}

.group-actions .btn i {
    margin-right: 8px;
}

/* Buton türlerine göre özel stiller */
.group-actions .btn-success {
    background-color: #2ecc71;
    border-color: #2ecc71;
    color: white;
}

.group-actions .btn-success:hover {
    background-color: #27ae60;
    border-color: #27ae60;
}

.group-actions .btn-warning {
    background-color: #f1c40f;
    border-color: #f1c40f;
    color: #2c3e50;
}

.group-actions .btn-warning:hover {
    background-color: #f39c12;
    border-color: #f39c12;
}

.group-actions .btn-primary {
    background-color: #3498db;
    border-color: #3498db;
    color: white;
}

.group-actions .btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* Disabled butonlar için stil */
.group-actions .btn:disabled {
    opacity: 0.9;
    cursor: not-allowed;
    transform: none !important;
}

/* Kurucu butonu için özel stil */
.group-actions .btn-success i.fa-crown {
    color: #ffd700;
    text-shadow: 0 0 3px rgba(0,0,0,0.3);
}

.group-actions .btn-success:disabled i.fa-crown {
    animation: shine 2s infinite;
}

/* Kurucu butonu için özel gradient arka plan */
.group-actions .btn-success.creator-btn {
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
    border: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.group-actions .btn-success.creator-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,215,0,0.2), rgba(255,215,0,0));
    transition: all 0.3s ease;
}

.group-actions .btn-success.creator-btn:hover:before {
    opacity: 0.8;
}

@keyframes shine {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* Mobil uyumluluk için medya sorguları */
@media (max-width: 768px) {
    .group-actions .btn {
        width: 90%;
        min-width: auto;
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .group-actions {
        margin-top: 10px;
        padding-top: 10px;
    }
}

@media (max-width: 576px) {
    .group-actions .btn {
        width: 95%;
        padding: 7px 14px;
        font-size: 12px;
    }
    
    .group-actions .btn i {
        margin-right: 6px;
        font-size: 11px;
    }
}

.requests-list {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.request-item {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 15px;
    padding: 1.2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    color: #fff;
    max-width: 400px;
    margin: 0 auto;
}

.request-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(103, 58, 183, 0.3);
}

.request-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #673ab7, #9c27b0);
    opacity: 0.7;
}

.request-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.request-info strong {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.request-info strong i {
    color: #673ab7;
}

.request-info .group-name {
    color: #b8b8b8;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.request-info .group-name i {
    color: #9c27b0;
}

.request-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.request-meta i {
    color: #673ab7;
}

.request-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.request-actions button {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.request-actions .btn-success {
    background: linear-gradient(145deg, #2d5a27, #1e8449);
    border: none;
    color: white;
}

.request-actions .btn-danger {
    background: linear-gradient(145deg, #7d1a1a, #c0392b);
    border: none;
    color: white;
}

.request-actions button:hover {
    transform: translateY(-1px);
    filter: brightness(120%);
    box-shadow: 0 3px 10px rgba(103, 58, 183, 0.2);
}

.request-actions i {
    font-size: 0.9rem;
}

.empty-requests {
    text-align: center;
    padding: 2rem;
    color: #888;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}

.empty-requests i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(145deg, #673ab7, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.empty-requests p {
    font-size: 0.95rem;
    margin: 0;
    color: #b8b8b8;
}

@media (max-width: 768px) {
    .requests-list {
        grid-template-columns: 1fr;
    }
    
    .request-item {
        max-width: 100%;
    }
}

/* Search Box Styles */
.search-box {
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.85), rgba(23, 32, 42, 0.9));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(147, 51, 234, 0.1);
    padding: 22px;
    border-radius: 28px;
    margin-bottom: 25px;
    box-shadow: 0 10px 40px rgba(147, 51, 234, 0.15);
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.search-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(147, 51, 234, 0.04) 45%,
        rgba(168, 85, 247, 0.03) 70%,
        transparent 100%
    );
    animation: pulse 18s infinite linear;
    z-index: 0;
}

@keyframes pulse {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

.search-box:hover {
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 15px 45px rgba(147, 51, 234, 0.2);
    border-color: rgba(147, 51, 234, 0.25);
}

.search-box h5 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.search-box h5::before {
    content: '';
    width: 28px;
    height: 3.5px;
    background: linear-gradient(to right, #9333ea, #a855f7);
    border-radius: 6px;
    transition: all 0.4s ease;
}

.search-box:hover h5::before {
    width: 38px;
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.4);
}

.search-box .input-group {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    padding: 5px;
    display: flex;
    align-items: center;
    position: relative;
    border: 1.5px solid rgba(147, 51, 234, 0.15);
    transition: all 0.4s ease;
}

.search-box:focus-within .input-group {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(147, 51, 234, 0.35);
    box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.15);
}

.search-box .form-control {
    background: transparent;
    border: none;
    color: #fff;
    padding: 14px 22px;
    font-size: 1rem;
    width: calc(100% - 55px);
    transition: all 0.4s ease;
    font-weight: 500;
}

.search-box .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
    transition: all 0.4s ease;
    font-weight: 400;
}

.search-box .form-control:focus::placeholder {
    opacity: 0.8;
    transform: translateX(6px);
}

.search-box .btn {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #9333ea, #a855f7);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.search-box .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: translateX(-100%);
    transition: transform 0.7s;
}

.search-box .btn:hover::before {
    transform: translateX(100%);
}

.search-box .btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.4);
}

.search-box .btn:active {
    transform: translateY(1px) scale(0.98);
}

.search-box .btn i {
    font-size: 1.1rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Grup Kartı Stilleri */
.group-card {
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.95), rgba(23, 32, 42, 0.95));
    border: 1px solid rgba(147, 51, 234, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.group-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.2);
    border-color: rgba(147, 51, 234, 0.2);
}

.group-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px !important;
    letter-spacing: 0.3px;
}

.media-name {
    color: #a855f7;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.media-name i {
    color: #9333ea;
}

.group-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.group-meta {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.member-count, .message-count {
    display: flex;
    align-items: center;
    gap: 5px;
}

.group-meta i {
    color: #9333ea;
}

.group-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

/* Grup Buton Renkleri - Güncellenmiş */
.creator-btn {
    background: linear-gradient(135deg, #9333ea, #a855f7);
    color: white;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.creator-btn i {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.member-btn {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border: 1px solid rgba(5, 150, 105, 0.3);
}

.member-btn i {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.pending-btn {
    background: linear-gradient(135deg, #d97706, #fbbf24);
    color: white;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.pending-btn i {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.join-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: 1px solid rgba(37, 99, 235, 0.3);
    cursor: pointer;
}

.join-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.group-btn {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.group-btn:disabled {
    opacity: 1;
    cursor: default;
}

.group-btn i {
    font-size: 0.9rem;
    margin-right: 4px;
}

/* Scroll Stilleri */
#movieGroupSearchResults,
#seriesGroupSearchResults {
    max-height: 450px;
    overflow-y: auto;
    margin-top: 18px;
    padding: 6px;
    position: relative;
}

#movieGroupSearchResults::-webkit-scrollbar,
#seriesGroupSearchResults::-webkit-scrollbar {
    width: 6px;
}

#movieGroupSearchResults::-webkit-scrollbar-track,
#seriesGroupSearchResults::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

#movieGroupSearchResults::-webkit-scrollbar-thumb,
#seriesGroupSearchResults::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #9333ea, #a855f7);
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Animasyonlar */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.group-card {
    animation: slideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Sonuç Bulunamadı */
.no-results {
    text-align: center;
    padding: 30px;
    color: rgba(255, 255, 255, 0.5);
}

.no-results i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #9333ea;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .search-box {
        padding: 18px;
        border-radius: 24px;
    }

    .search-box h5 {
        font-size: 1.1rem;
    }

    .group-card {
        padding: 15px;
    }

    .group-title {
        font-size: 1rem;
    }

    .media-name {
        font-size: 0.85rem;
    }

    .group-description {
        font-size: 0.9rem;
    }

    .group-meta {
        font-size: 0.8rem;
    }

    .group-btn {
        padding: 8px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .search-box {
        padding: 15px;
        border-radius: 20px;
        margin-bottom: 20px;
    }

    .search-box h5 {
        font-size: 1rem;
        margin-bottom: 14px;
    }

    .search-box .form-control {
        padding: 11px 16px;
        font-size: 0.95rem;
    }

    .search-box .btn {
        width: 40px;
        height: 40px;
    }

    .search-box .btn i {
        font-size: 1rem;
    }
}

/* Grup kurucu bilgileri stilleri */
.group-info-extra {
    padding-top: 4px;
    border-top: 1px solid rgba(138, 43, 226, 0.1);
}

.group-info-extra small {
    color: #888 !important;
    font-size: 0.75rem;
    line-height: 1.3;
}

.group-info-extra strong {
    color: #bb86fc;
    font-weight: 600;
}

.group-info-extra i {
    color: #8A2BE2;
    margin-right: 3px;
    font-size: 0.7rem;
}

.group-info-extra .fa-user-crown {
    color: #FFD700;
}

.group-info-extra .fa-calendar-plus {
    color: #4CAF50;
}

.group-info-extra .mx-1 {
    color: #666;
}

@media (max-width: 768px) {
    .group-info-extra {
        margin-top: 6px !important;
        padding-top: 6px;
    }
    
    .group-info-extra small {
        font-size: 0.7rem;
    }
    
    .group-info-extra i {
        font-size: 0.65rem;
    }
}