* {
    box-sizing: border-box;
}


body {

    margin: 0;

    min-height: 100vh;

    font-family:
        Inter,
        Arial,
        sans-serif;

    color: white;

    background:
        radial-gradient(
            circle at top,
            #1d2a4a,
            #080b12 65%
        );

}


.app {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 24px;

}


.panel {

    width: 100%;

    max-width: 560px;

    padding: 32px;

    border-radius: 24px;

    background:
        rgba(
            20,
            25,
            36,
            0.85
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    box-shadow:
        0 30px 80px
        rgba(
            0,
            0,
            0,
            0.5
        );

    backdrop-filter:
        blur(20px);

}


.server-header {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 30px;

}


.server-icon {

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 36px;

    border-radius: 20px;

    background:
        rgba(
            255,
            255,
            255,
            0.06
        );

}


h1 {

    margin: 0 0 8px;

    font-size: 26px;

}


.status {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #aab2c3;

}


.status-dot {

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: #6b7280;

}


.status-dot.online {

    background: #42d47d;

    box-shadow:
        0 0 12px
        #42d47d;

}


.status-dot.starting {

    background: #ffb84d;

    animation:
        pulse 1s infinite;

}


.status-dot.offline {

    background: #ef5d67;

}


@keyframes pulse {

    50% {

        opacity: .35;

        transform:
            scale(
                1.5
            );

    }

}


.startup-section {

    margin-bottom: 24px;

}


.progress-label {

    display: flex;

    justify-content: space-between;

    margin-bottom: 10px;

    color: #aab2c3;

}


.progress-track {

    height: 10px;

    overflow: hidden;

    border-radius: 20px;

    background:
        rgba(
            255,
            255,
            255,
            0.08
        );

}


.progress-bar {

    width: 0%;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #48d17a,
            #6ae3a0
        );

    transition:
        width 1s ease;

}


.stats {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 12px;

    margin-bottom: 20px;

}


.stat {

    padding: 16px;

    border-radius: 16px;

    background:
        rgba(
            255,
            255,
            255,
            0.05
        );

}


.stat-icon {

    display: block;

    margin-bottom: 8px;

    font-size: 20px;

}


.stat small {

    display: block;

    color: #8c95a8;

    margin-bottom: 5px;

}


.stat strong {

    display: block;

    font-size: 16px;

    overflow: hidden;

    text-overflow: ellipsis;

}


.address-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 16px;

    margin-bottom: 25px;

    border-radius: 16px;

    background:
        rgba(
            255,
            255,
            255,
            0.05
        );

}


.address-box small {

    display: block;

    margin-bottom: 5px;

    color: #8c95a8;

}


.copy-button {

    border: none;

    padding: 10px 16px;

    border-radius: 10px;

    cursor: pointer;

    color: white;

    background:
        rgba(
            255,
            255,
            255,
            0.1
        );

}


.start-form {

    display: flex;

    flex-direction: column;

    gap: 14px;

}


input {

    width: 100%;

    border: none;

    outline: none;

    padding: 16px;

    border-radius: 14px;

    font-size: 16px;

    color: white;

    background:
        rgba(
            255,
            255,
            255,
            0.07
        );

}


.start-form > button {

    width: 100%;

    border: none;

    padding: 17px;

    border-radius: 14px;

    cursor: pointer;

    font-size: 16px;

    font-weight: 700;

    color: #07120b;

    background:
        linear-gradient(
            135deg,
            #55e58a,
            #32c96c
        );

    transition:
        transform .2s,
        opacity .2s;

}


.start-form > button:hover {

    transform:
        translateY(-2px);

}


.start-form > button:disabled {

    opacity: .5;

    cursor:
        not-allowed;

    transform: none;

}


.message {

    margin: 0;

    min-height: 20px;

    text-align: center;

    color: #aab2c3;

}


.cooldown {

    margin: 0;

    text-align: center;

    color: #ffbf69;

}


@media (
    max-width: 500px
) {

    .panel {

        padding: 22px;

    }


    .stats {

        grid-template-columns:
            1fr;

    }

}