/* ========= TEMEL AYARLAR ========= */
:root {
    --bg-main: #0b0c10;
    --bg-secondary: #1f2833;
    --bg-card: rgba(15, 23, 42, 0.85);
    --accent: #66fcf1;
    --accent-soft: #45a29e;
    --accent-strong: #007bff;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --border-soft: rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.5);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-full: 999px;
    --transition-fast: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Kanit', 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at top, #1e293b 0, #020617 45%, #000 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========= ARKA PLAN GALAXY & YILDIZLAR ========= */

#galaxy {
    position: fixed;
    inset: 0;
    z-index: -3;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 60%, #000 100%);
    overflow: hidden;
}

.stars {
    position: fixed;
    inset: 0;
    z-index: -2;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Pembe mavi sunucu topları */
.background-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.background-animation span {
    position: absolute;
    display: block;
    width: 120px;
    height: 120px;
    background-size: cover;
    background-position: center;
    animation: float 10s infinite cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 50%;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.7));
    opacity: 0.75;
}

.background-animation span:nth-child(1) {
    top: 20%;
    left: 10%;
    background-image: url('https://cdn.discordapp.com/icons/904188905736253500/a_6070d569aec74585cf815a252bbb1f69.gif?size=256');
    animation-delay: 0s;
}

.background-animation span:nth-child(2) {
    top: 50%;
    left: 70%;
    background-image: url('https://cdn.discordapp.com/icons/934422079418302495/a_fcc3ecd6c3256eb80485181324f7a61a.gif?size=2048');
    animation-delay: 2s;
}

.background-animation span:nth-child(3) {
    top: 80%;
    left: 30%;
    background-image: url('https://cdn.discordapp.com/icons/727881213406347282/a_90c2e3e9ac481b8353b8bd11063dbd95.gif?size=2048');
    animation-delay: 4s;
}

.background-animation span:nth-child(4) {
    top: 40%;
    left: 50%;
    background-image: url('https://cdn.discordapp.com/icons/634437923500195853/a_55194b0e89e3e06050c19a191919564d.gif?size=2048');
    animation-delay: 6s;
}

.background-animation span:nth-child(5) {
    top: 70%;
    left: 80%;
    background-image: url('https://cdn.discordapp.com/icons/350222814059692032/a_8555c9080da3461d81142702ac17a754.gif?size=256');
    animation-delay: 8s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(40px, -40px) scale(1.15);
        opacity: 0.9;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
}

/* ========= GENEL SECTIONS ========= */

.section {
    padding: 80px 20px;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 16px;
    }
}

/* ========= NAVBAR ========= */

.custom-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    padding: 10px 24px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.6));
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
    .custom-navbar .navbar-container {
            display: flex;
            align-items: center;
            width: 100%;
            padding: 0 24px;
        }

        .custom-navbar .navbar-left {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Menü grubunu sağa al */
        .custom-navbar .navbar-menu {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: auto; /* Tüm menü sağa yaslanır */
            list-style: none;
            padding: 0;
        }

        .navbar-item {
            position: relative;
        }
.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.navbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-icon {
    border-radius: 12px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.navbar-icon:hover {
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.6);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto; /* Menü grubunu SAĞA ALIR */
}

/* Sağ tarafa geçecek grubu başlatan item */
.navbar-item-right {
    margin-left: auto;      /* Buradan sonrası sağa yaslanır */
}


.navbar-item {
    position: relative;
}

.navbar-link {
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.navbar-link:hover {
    background: rgba(148, 163, 184, 0.2);
    color: var(--accent);
    transform: translateY(-1px);
}

.login-button {
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    color: #020617;
    font-weight: 600;
    box-shadow: 0 0 18px rgba(102, 252, 241, 0.5);
}

.login-button:hover {
    background: linear-gradient(135deg, #a5f3fc, var(--accent));
    color: #020617;
}

/* Mobil buton */
.navbar-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.25rem;
    cursor: pointer;
}

/* Profil dropdown */
.profile-dropdown {
    position: relative;
}

.profile-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.profile-button:hover {
    background: rgba(15, 23, 42, 0.8);
    transform: translateY(-1px);
}

.profile-img {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.username {
    font-size: 0.95rem;
    font-weight: 600;
}

.arrow-down {
    border: solid var(--text-main);
    border-width: 0 1.5px 1.5px 0;
    padding: 3px;
    transform: rotate(45deg);
    transition: transform var(--transition-fast);
}

.profile-dropdown:hover .arrow-down {
    transform: rotate(225deg);
}

/* Dropdown menü */
.dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    min-width: 180px;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 12px;
    padding: 6px 0;
    list-style: none;
    margin: 0;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 14px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background: rgba(148, 163, 184, 0.2);
}

.logout a {
    color: #f87171 !important;
    font-weight: 600;
}

.logout a:hover {
    background: #f87171 !important;
    color: #0f172a !important;
}

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

    .navbar-menu {
        position: absolute;
        top: 64px;
        right: 16px;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(15, 23, 42, 0.98);
        border-radius: 16px;
        padding: 10px;
        box-shadow: var(--shadow-soft);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.25s ease, opacity 0.25s ease;
    }

    .navbar-menu.open {
        max-height: 320px;
        opacity: 1;
    }
}

/* ========= HERO ========= */

.hero-section {
    padding-top: 100px;
    padding-bottom: 40px;
    position: relative;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    max-width: 640px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 20px;
}

.hero-hint {
    font-size: 0.9rem;
    color: var(--accent-soft);
    margin-top: 10px;
}

/* Hero stats pill */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

.stat-pill {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 16px;
    padding: 12px 20px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    text-align: right;
}

.stat-pill-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-pill-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* RESPONSIVE hero */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin: 0 auto;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
}

/* ========= SEARCH BAR ========= */

.search-bar-container {
    display: flex;
    align-items: center;
    background-color: rgba(15, 23, 42, 0.9);
    border-radius: 999px;
    padding: 8px 16px;
    max-width: 480px;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
}

#userSearchInput {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-main);
    font-size: 0.95rem;
    padding: 4px 8px;
    font-family: inherit;
}

#userSearchInput::placeholder {
    color: #9ca3af;
}

.search-icon {
    color: #9ca3af;
    font-size: 1rem;
    margin-right: 8px;
    cursor: pointer;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.search-icon:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* ========= PARALLAX / BAŞLIK BLOKLARI ========= */

.parallax {
    text-align: center;
    margin-bottom: 24px;
}

.parallax-text {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(90deg, var(--accent), var(--accent-soft), #c5c6c7, var(--accent));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 9s infinite;
}

.parallax-subtitle,
.parallax p {
    font-size: 1rem;
    margin-top: 8px;
    color: var(--text-muted);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========= SPONSOR KARTLARI ========= */

.activity {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 12px;
}
.activity1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 12px;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin: 0;
    width: 300px;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border var(--transition-fast);
    position: relative;
    text-decoration: none;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
    border-color: rgba(102, 252, 241, 0.7);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card-header {
    display: flex;
    align-items: center;
    padding: 16px 18px 0 18px;
}

.card-header img {
    border-radius: 999px;
    margin-right: 12px;
    border: 2px solid var(--accent-soft);
    width: 46px;
    height: 46px;
    object-fit: cover;
}

.card-header h4 {
    margin: 0;
    font-size: 1rem;
}

.card-content {
    padding: 8px 18px 16px 18px;
    font-size: 0.9rem;
    color: #e5e7eb;
}
.guild-banner {
    height: 150px;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.card-footer {
    background-color: rgba(15, 23, 42, 0.95);
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-footer a {
    color: var(--accent);
    font-size: 0.85rem;
    text-decoration: none;
}

.card-footer a:hover {
    color: #a5f3fc;
}

.btn-join {
    padding: 7px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #020617;
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(102, 252, 241, 0.7);
    transition: filter var(--transition-fast), transform var(--transition-fast);
}

.btn-join:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* ========= ABOUT ========= */

.about-section {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.about-section p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========= TOP LISTELER ========= */

.top-lists .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.column {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 260px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
}

.column h3 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.column-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Top kullanici kartı */
.item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border var(--transition-fast);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
    border-color: rgba(102, 252, 241, 0.7);
}

.item img {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
}

.item-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.item-content strong {
    font-size: 0.95rem;
    color: var(--accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.details div {
    display: flex;
    align-items: center;
    gap: 4px;
}

.link {
    margin-left: auto;
    background: var(--accent);
    color: #020617;
    padding: 6px 10px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: filter var(--transition-fast), transform var(--transition-fast);
}

.link:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Show all */
.show-all-btn {
    margin-top: 18px;
    background: transparent;
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.show-all-btn::after {
    content: "→";
    font-size: 0.9rem;
}

.show-all-btn:hover {
    background: var(--accent);
    color: #020617;
    transform: translateY(-1px);
}

/* Mobil uyum */
@media (max-width: 768px) {
    .column {
        flex: 1 1 100%;
    }
}

/* ========= STATS ========= */

.stats-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    padding:10px;
    border-radius: 20px;
    
}

.stat-box {
    text-align: center;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
}

.stat-value {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
    color: #ffffff;
}

.stat-label {
    font-size: 18px;
    margin: 5px 0 0;
    color: #9ca3af;
}
.details img {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .stat-box {
        width: 100%;
        max-width: 320px;
    }
}

/* ========= MODAL ========= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);

    /* Ortalamayı sağlayan kısım: */
    justify-content: center;
    align-items: center;
}


.modal-content {
    background: rgba(15, 23, 42, 0.98);
    border-radius: 24px;
    width: min(1000px, 95vw);        /* GENİŞ – max ~1000px */
    max-height: 90vh;                /* Taşarsa içeride scroll */
    overflow: hidden;
    color: var(--text-main);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    position: relative;
    padding: 0;                      /* İç padding’i kart alacak */
}
.modal-content img {
    border-radius: 999px;
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
    object-fit: cover;
}

.modal-content h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.modal-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 6px 0;
}

.close-button {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.close-button:hover {
    color: var(--accent);
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========= FOOTER ========= */

.footer {
    text-align: center;
    padding: 24px 16px 30px 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer a {
    color: var(--accent);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* ========= BACK TO TOP ========= */

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    color: #020617;
    border: none;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    filter: brightness(1.08);
}

/* ========= KÜÇÜK ICON GENEL ========= */

.icon {
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
    font-size: 1.1rem;
}

.icon:hover {
    transform: scale(1.15);
    color: var(--accent);
}

/* ========= DİĞER KISIMLAR (profil, guild list vb.) ========= */
/* Burayı istersen mevcut projendeki yapıya göre genişletebilirsin.
   Gönderdiğin .discord-profile, .mutual-guilds, .guild-card, .server-list
   gibi stiller de aynı tema ve renklerle uyumlu olacak şekilde
   bu dosyanın altına eklenebilir. */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 sütun düzeni */
    gap: 10px;
    /* Öğeler arasındaki boşluk */
    margin: 15px 0;
}


.stats div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Öğeleri sola hizalar */
    font-size: 18px;
}

.stats i {
    font-size: 24px;
    /* İkon boyutu */
    margin-right: 10px;
    /* İkon ile metin arasındaki boşluk */
    color: #007bff;
    /* İkon rengi */
}

.stats span {
    margin-right: 5px;
    /* Metinler arasında boşluk */
}

.stats span:last-child {
    font-weight: bold;
    /* Sayıları vurgulamak için kalın yazı */
}

/* General styles for icons */
.icon {
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
    font-size: 24px;
    /* Adjust size as needed */
}

/* Hover effect for all icons */
.icon:hover {
    transform: scale(1.2);
    /* Enlarges the icon on hover */
    color: #007bff;
    /* Changes color on hover */
}

/* Optional: Add a subtle animation to all icons */
@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.icon:hover {
    animation: pulse 1s infinite;
    /* Adds a pulsing effect on hover */
}

.card-footer-join {
    padding: 10px 20px;
    text-align: center;
    cursor: inherit;
    margin-top: auto;
}

.card-footer-join .btn-join {
    margin: 0 5px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;

    color: white;
    transition: background 0.3s ease;
    cursor: inherit;
}
.flip-button {
    display: none;
}
.server-card {
    background-color: #2c2f33;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    margin: 20px auto;
    padding: 15px;
    max-width: 400px;
    text-align: center;
}

.server-card-content {
    margin-bottom: 10px;
}

.server-header {
    margin-bottom: 15px;
}

.server-icon {
    border-radius: 30%;
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

.server-name {
    font-size: 20px;
    font-weight: bold;
}

.server-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.server-stats div {
    text-align: center;
}

.server-stat-icon {
    display: block;
    margin: 0 auto 5px;
    width: 10px;
    height: 10px;
}

.server-card-footer {
    margin-top: 15px;
}

.user-info,
.user-channel {
    margin: 5px 0;
    font-size: 14px;
}

.join-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #7289da;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.join-button:hover {
    background-color: #5b6eae;
}

.server-banner {
    background-size: cover;
    background-position: center;
    height: 100px;
    border-radius: 10px;
    margin-bottom: 15px;
}
.server-list {
    margin-top: 20px;
    text-align: left;
}

.server-list h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #66fcf1;
    text-align: center;
    border-bottom: 2px solid #66fcf1;
    padding-bottom: 10px;
}

.server-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Her bir eleman arasına boşluk */
}

.server-list li {
    display: flex;
    align-items: center;
    background-color: #1f2833; /* Koyu arka plan rengi */
    border-radius: 10px;
    padding: 10px 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Hafif gölge efekti */
}

.server-list li:hover {
    transform: translateY(-5px); /* Hover durumunda yukarı kalkma efekti */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Hover gölge efekti */
}

.server-list li img {
    width: 50px; /* Sunucu ikonu boyutu */
    height: 50px;
    border-radius: 50%; /* Yuvarlak görünüm */
    margin-right: 15px; /* Resim ile metin arasına boşluk */
    object-fit: cover; /* Resmi düzgün şekilde kes */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Resim için gölge efekti */
}

.server-list li span {
    font-size: 1rem;
    color: #e0e0e0; /* Açık gri metin rengi */
    font-weight: bold;
    white-space: nowrap; /* Tek satırda tut */
    overflow: hidden; /* Taşan metni gizle */
    text-overflow: ellipsis; /* Taşan metni üç nokta ile göster */
}

.server-list li span:first-child {
    flex-grow: 1; /* Sunucu adı daha fazla yer kaplasın */
    color: #66fcf1; /* Sunucu adı için özel renk */
}

.server-list li span:last-child {
    color: #d7aefb; /* Kullanıcı adı için özel renk */
    font-size: 0.9rem;
    font-weight: normal;
    margin-left: auto; /* Sağ tarafa yaslanması için */
}



.discord-profile {
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #0b0c10, #1f2833); /* Background gradient */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.profile-banner {
    height: 200px;
    background-size: cover;
    background-position: center;
}
.profile-content {
    display: flex; /* Flex container */
    align-items: center; /* Dikey hizalama */
    padding: 20px;
  }
  
.profile-avatar {
    display: flex; /* Flexbox ile hizalama */
    align-items: center; /* Dikey hizalama */
    justify-content: flex-start; /* Sol tarafa yaslama */
    padding-left: 20px; /* Sol tarafa biraz boşluk ekleyebilirsiniz */
    margin-top: -50px;
    flex-shrink: 0; /* Avatarın boyutunu sabit tutar */
    margin-right: 20px; /* Avatar ile detaylar arasında boşluk */
}

.profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid #2c2f33;
}


.profile-details {
    text-align: left;
    margin-top: -10px; /* Yazıyı yukarı taşıma */
    margin-left: -10px; /* Yazıyı sola taşıma */
}
  
  .profile-details h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .profile-details p {
    font-size: 1rem;
    color: #b9bbbe;
  }
  
.badge {
    background: linear-gradient(135deg, #0b0c10, #1f2833); /* Background gradient */
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px;
    display: inline-block;
    font-size: 0.9rem;
}
/* Sunucu Kartları */
.mutual-guilds {
    padding: 20px;
    background: #1f2833;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.mutual-guilds h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #66fcf1;
    text-align: center;
    border-bottom: 2px solid #66fcf1;
}

.mutual-guilds ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.guild-card {
    position: relative;
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    background: linear-gradient(135deg, #1f2833, #0b0c10);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.guild-card:hover {
    background: linear-gradient(135deg, #45a29e, #1f2833);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.guild-card img {
    width: 50px; 
    height: 50px;
    border-radius: 50%; 
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.guild-card span {
    font-size: 1rem;
    color: #d7aefb;
    font-weight: bold;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

.guild-details {
    width: 100%; 
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease; 
    padding: 0; 
    margin-top: 10px; 
    background: rgba(47, 79, 79, 0.8); 
    border-radius: 8px;
    color: #e0e0e0;
    white-space: nowrap; 
    font-size: 0.9rem;
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.2); 
    text-align: left;
}

.guild-card span {
    font-size: 1rem;
    color: #d7aefb;
    font-weight: bold;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
    text-align: left; 
}


.guild-card.open .guild-details {
    max-height: 2000px; 
    padding: 10px; 
}

.guild-details p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* TAB BAR (modal içi menü) */
/* TAB BAR (modal içi menü) */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 8px 24px 0;
    padding: 8px;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #e5e7eb;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.tab i {
    font-size: 0.95rem;
}

.tab-badge {
    min-width: 22px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.tab:hover {
    background: rgba(30, 64, 175, 0.4);
    transform: translateY(-1px);
}

.tab.active {
    background: linear-gradient(135deg, #66fcf1, #45a29e);
    color: #020617;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.tab.active .tab-badge {
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
}

/* TAB İÇERİĞİ – geniş ve ortalı */
.tab-content {
    padding: 18px 24px 22px;
    background-color: #1f2833;
    color: #fff;
    border-radius: 18px;
    margin: 16px 24px 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);

    max-height: 380px;      /* taşarsa içeride scroll */
    overflow-y: auto;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.9rem;
    color: #b9bbbe;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

/* Durum renkleri */
.status-online {
    background-color: #3ba55c;  /* yeşil */
}

.status-idle {
    background-color: #faa81a;  /* sarı */
}

.status-dnd {
    background-color: #ed4245;  /* kırmızı */
}

.status-offline {
    background-color: #747f8d;  /* gri */
}

.status-text {
    font-weight: 500;
}

.custom-status-text {
    font-style: italic;
    color: #e5e7eb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px; /* taşarsa üç nokta */
}


   /* ====== SUNUCULAR MEGA MENÜSÜ GELİŞMİŞ TASARIM ====== */

        .server-menu-wrapper {
            position: relative;
        }

        .server-menu-toggle {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: transparent;
            border: none;
            cursor: pointer;
            font: inherit;
            color: #ffffff;
            padding: 8px 16px;
            border-radius: 999px;
            transition:
                background 0.25s ease,
                color 0.25s ease,
                transform 0.2s ease,
                box-shadow 0.25s ease;
        }

        .server-menu-toggle i {
            font-size: 0.8rem;
            transition: transform 0.25s ease;
        }

        .server-menu-toggle:hover {
            background: rgba(148, 163, 184, 0.2);
            color: #66fcf1;
            box-shadow: 0 0 12px rgba(102, 252, 241, 0.3);
            transform: translateY(-1px);
        }

        .server-menu-wrapper.open .server-menu-toggle i {
            transform: rotate(180deg);
        }

        .server-mega-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: radial-gradient(circle at top, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.9));
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-radius: 20px;
            padding: 14px 18px 16px;
            min-width: 320px;
            max-width: 420px;
            box-shadow:
                0 22px 50px rgba(0, 0, 0, 0.8),
                0 0 0 1px rgba(148, 163, 184, 0.35);
            border: 1px solid rgba(15, 23, 42, 0.9);
            display: none;
            z-index: 100;
            animation: dropdownFade 0.25s ease-out;
        }

        .server-mega-menu.show {
            display: block;
        }

        @keyframes dropdownFade {
            from {
                opacity: 0;
                transform: translateY(-6px) scale(0.98);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .server-mega-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(148, 163, 184, 0.3);
        }

        .server-mega-title {
            font-size: 0.95rem;
            font-weight: 600;
            letter-spacing: 0.02em;
        }

        .server-mega-subtitle {
            font-size: 0.78rem;
            color: #9ca3af;
        }

        .server-mega-badge {
            font-size: 0.75rem;
            padding: 4px 9px;
            border-radius: 999px;
            background: linear-gradient(135deg, #66fcf1, #3b82f6);
            color: #020617;
            font-weight: 600;
            box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
            text-transform: uppercase;
        }

        .server-mega-inner {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px 12px;
            margin-top: 4px;
        }

        .server-cat {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            text-decoration: none;
            color: #e5e7eb;
            font-size: 0.86rem;
            padding: 8px 9px;
            border-radius: 14px;
            transition:
                background 0.2s ease,
                transform 0.2s ease,
                box-shadow 0.25s ease,
                border 0.2s ease;
            border: 1px solid transparent;
        }

        .server-cat-icon {
            width: 28px;
            height: 28px;
            border-radius: 999px;
            background: radial-gradient(circle at 30% 20%, #4ade80, #0f172a);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            flex-shrink: 0;
            box-shadow: 0 0 14px rgba(34, 197, 94, 0.45);
        }

        .server-cat:nth-child(2) .server-cat-icon {
            background: radial-gradient(circle at 30% 20%, #60a5fa, #0f172a);
            box-shadow: 0 0 14px rgba(59, 130, 246, 0.45);
        }

        .server-cat:nth-child(3) .server-cat-icon {
            background: radial-gradient(circle at 30% 20%, #f97316, #0f172a);
            box-shadow: 0 0 14px rgba(249, 115, 22, 0.5);
        }

        .server-cat:nth-child(4) .server-cat-icon {
            background: radial-gradient(circle at 30% 20%, #e879f9, #0f172a);
            box-shadow: 0 0 14px rgba(232, 121, 249, 0.55);
        }

        .server-cat:nth-child(5) .server-cat-icon {
            background: radial-gradient(circle at 30% 20%, #22d3ee, #0f172a);
            box-shadow: 0 0 14px rgba(34, 211, 238, 0.55);
        }

        .server-cat:nth-child(6) .server-cat-icon {
            background: radial-gradient(circle at 30% 20%, #facc15, #0f172a);
            box-shadow: 0 0 14px rgba(250, 204, 21, 0.55);
        }

        .server-cat-text-block {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .server-cat-title {
            font-weight: 600;
            font-size: 0.86rem;
        }

        .server-cat-desc {
            font-size: 0.78rem;
            color: #9ca3af;
        }

        .server-cat:hover {
            background: rgba(15, 23, 42, 0.96);
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(15, 23, 42, 0.9);
            border-color: rgba(148, 163, 184, 0.5);
            color: #ffffff;
        }

        @media (max-width: 992px) {
            .server-mega-menu {
                position: static;
                margin-top: 8px;
                width: 100%;
                max-width: none;
            }

            .server-menu-wrapper {
                width: 100%;
            }

            .server-mega-inner {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }
        .login-button i.fa-brands.fa-discord {
    margin-right: 6px;
    font-size: 1rem;
}
