:root {
    --background: #070a0e;

    --card: rgba(18, 22, 28, 0.88);

    --border: rgba(210, 220, 230, 0.09);

    --text: #f4f7f9;

    --muted: #8a949d;

    --accent: #d9e0e5;
    --accent-dark: #9ba7b0;
    --accent-light: #ffffff;
}


/*
|--------------------------------------------------------------------------
| RESET
|--------------------------------------------------------------------------
*/

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;

    background: var(--background);
    color: var(--text);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
}


/*
|--------------------------------------------------------------------------
| ARKA PLAN GLOW
|--------------------------------------------------------------------------
*/

.page-glow {
    position: fixed;

    width: 650px;
    height: 360px;

    top: -290px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background: #dce5eb;

    filter: blur(140px);

    opacity: .07;

    pointer-events: none;
}


/*
|--------------------------------------------------------------------------
| ANA CONTAINER
|--------------------------------------------------------------------------
*/

.container {
    position: relative;

    width: min(
        calc(100% - 30px),
        470px
    );

    min-height: 100vh;

    margin: auto;

    padding: 54px 0 20px;

    display: flex;

    flex-direction: column;

    align-items: center;
}


/*
|--------------------------------------------------------------------------
| HEADER
|--------------------------------------------------------------------------
*/

.header {
    text-align: center;
}

.logo {
    width: 70px;
    height: 70px;

    display: block;

    margin: 0 auto 16px;
}

.logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.header h1 {
    margin: 0;

    font-size: 26px;
    line-height: 1.2;

    font-weight: 700;

    letter-spacing: -.7px;
}

.header p {
    margin: 8px 0 0;

    color: var(--muted);

    font-size: 13px;
}


/*
|--------------------------------------------------------------------------
| SUNUCU LİSTESİ
|--------------------------------------------------------------------------
*/

.servers {
    width: 100%;

    margin-top: 34px;

    display: grid;

    gap: 9px;
}


/*
|--------------------------------------------------------------------------
| SUNUCU
|--------------------------------------------------------------------------
*/

.server {
    height: 70px;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 9px 13px;

    color: inherit;

    text-decoration: none;

    background:
        linear-gradient(
            145deg,
            rgba(22, 27, 34, .90),
            rgba(14, 18, 23, .90)
        );

    border: 1px solid var(--border);

    border-radius: 11px;

    backdrop-filter: blur(14px);

    transition:
        transform .17s ease,
        border-color .17s ease,
        background .17s ease,
        box-shadow .17s ease;
}

.server:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            145deg,
            rgba(27, 33, 41, .96),
            rgba(16, 21, 27, .96)
        );

    border-color:
        rgba(
            220,
            230,
            238,
            .18
        );

    box-shadow:
        0 10px 30px
        rgba(
            0,
            0,
            0,
            .18
        );
}


/*
|--------------------------------------------------------------------------
| SUNUCU İKONU
|--------------------------------------------------------------------------
*/

.server-icon {
    width: 49px;
    height: 49px;

    flex: 0 0 49px;

    overflow: hidden;

    border-radius: 9px;

    background: #151b21;

    border: 1px solid
        rgba(
            255,
            255,
            255,
            .09
        );

    box-shadow:
        inset 0 0 0 1px
        rgba(
            255,
            255,
            255,
            .02
        );
}

.server-icon img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/*
|--------------------------------------------------------------------------
| SUNUCU İSMİ
|--------------------------------------------------------------------------
*/

.server-name {
    flex: 1;

    font-size: 14px;

    font-weight: 650;

    color: #eef2f4;
}


/*
|--------------------------------------------------------------------------
| OK
|--------------------------------------------------------------------------
*/

.server-arrow {
    color: #65727c;

    font-size: 19px;

    padding: 0 4px;

    transition:
        color .17s ease,
        transform .17s ease;
}

.server:hover .server-arrow {
    color: var(--accent-light);

    transform: translateX(2px);
}


/*
|--------------------------------------------------------------------------
| FOOTER
|--------------------------------------------------------------------------
*/

footer {
    margin-top: auto;

    padding-top: 60px;

    color: #4e5961;

    font-size: 10px;
}


/*
|--------------------------------------------------------------------------
| DETAY SAYFASI
|--------------------------------------------------------------------------
*/

.detail-container {
    width: min(
        calc(100% - 30px),
        430px
    );
}


/*
|--------------------------------------------------------------------------
| DETAY HEADER
|--------------------------------------------------------------------------
*/

.detail-header {
    margin-bottom: 42px;
}


/*
|--------------------------------------------------------------------------
| BAĞLANMA KARTI
|--------------------------------------------------------------------------
*/

.connect-card {
    width: 100%;

    padding: 32px 32px 26px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(
                22,
                28,
                35,
                .94
            ),
            rgba(
                11,
                15,
                20,
                .96
            )
        );

    border: 1px solid var(--border);

    border-radius: 15px;

    box-shadow:
        0 25px 70px
        rgba(
            0,
            0,
            0,
            .32
        );

    backdrop-filter: blur(18px);
}


/*
|--------------------------------------------------------------------------
| DETAY İKONU
|--------------------------------------------------------------------------
*/

.detail-icon {
    width: 74px;
    height: 74px;

    margin: 0 auto 18px;

    overflow: hidden;

    border-radius: 14px;

    background: #151b21;

    border: 1px solid
        rgba(
            255,
            255,
            255,
            .10
        );

    box-shadow:
        0 8px 30px
        rgba(
            0,
            0,
            0,
            .25
        );
}

.detail-icon img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/*
|--------------------------------------------------------------------------
| DETAY BAŞLIK
|--------------------------------------------------------------------------
*/

.connect-card h1 {
    margin: 0;

    font-size: 22px;

    font-weight: 700;

    letter-spacing: -.5px;
}


/*
|--------------------------------------------------------------------------
| DETAY AÇIKLAMA
|--------------------------------------------------------------------------
*/

.connect-card > p {
    max-width: 330px;

    margin:
        9px
        auto
        25px;

    color: #89949d;

    font-size: 13px;

    line-height: 1.55;
}


/*
|--------------------------------------------------------------------------
| BAĞLAN BUTONU
|--------------------------------------------------------------------------
*/

.connect-button {
    height: 51px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    color: #080b0f;

    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #e2e7eb 42%,
            #b7c0c7 100%
        );

    box-shadow:
        0 10px 30px
        rgba(
            210,
            220,
            230,
            .10
        );

    font-size: 13px;

    font-weight: 700;

    transition:
        filter .16s ease,
        transform .16s ease,
        box-shadow .16s ease;
}

.connect-button:hover {
    filter: brightness(1.08);

    transform: translateY(-1px);

    box-shadow:
        0 12px 35px
        rgba(
            220,
            230,
            238,
            .16
        );
}

.connect-button:active {
    transform: translateY(0);
}


/*
|--------------------------------------------------------------------------
| IP ADRESİ
|--------------------------------------------------------------------------
*/

.address {
    margin-top: 17px;

    padding-top: 15px;

    border-top: 1px solid
        rgba(
            255,
            255,
            255,
            .06
        );

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;
}

.address code {
    color: #87939c;

    font-family:
        ui-monospace,
        SFMono-Regular,
        Consolas,
        monospace;

    font-size: 11px;
}

.address button {
    padding: 0;

    border: 0;

    background: none;

    color: var(--accent);

    cursor: pointer;

    font-size: 10px;

    transition:
        color .15s ease;
}

.address button:hover {
    color: #ffffff;

    text-decoration: underline;
}


/*
|--------------------------------------------------------------------------
| GERİ BUTONU
|--------------------------------------------------------------------------
*/

.back {
    margin-top: 21px;

    color: #66737c;

    font-size: 11px;

    text-decoration: none;

    transition:
        color .15s ease;
}

.back:hover {
    color: #d9e0e5;
}


/*
|--------------------------------------------------------------------------
| MOBİL
|--------------------------------------------------------------------------
*/

@media (max-width: 500px) {

    .container {
        padding-top: 38px;
    }

    .logo {
        width: 62px;
        height: 62px;
    }

    .header h1 {
        font-size: 24px;
    }

    .servers {
        margin-top: 30px;
    }

    .server {
        height: 68px;
    }

    .connect-card {
        padding:
            28px
            20px
            23px;
    }

    .detail-icon {
        width: 70px;
        height: 70px;
    }
}


/*
|--------------------------------------------------------------------------
| SELECTION
|--------------------------------------------------------------------------
*/

::selection {
    background: rgba(
        220,
        230,
        238,
        .20
    );

    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| SCROLLBAR
|--------------------------------------------------------------------------
*/

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #070a0e;
}

::-webkit-scrollbar-thumb {
    background: #252d34;

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a454e;
}