@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    background: url('../images/discord-background.jpg') center center / cover no-repeat fixed;
    color: #fff;
    font-family: Inter, sans-serif;
    overflow-x: hidden;
}

/* BACK HOME */

.back-home {
    position: fixed;
    top: 25px;
    right: 35px;
    z-index: 100;
    padding: 10px 17px;
    border: 1px solid rgba(0,220,255,.5);
    border-radius: 6px;
    background: rgba(2,10,20,.9);
    color: white;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    transition: .25s;
}

.back-home:hover {
    background: #00c9ee;
    color: #03101b;
}

/* MAIN PAGE LAYOUT */

.page {
    width: 100%;
    min-height: 100vh;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 455px));

    justify-content: start;
    align-content: center;
    align-items: start;

    gap: 20px 24px;

    padding: 75px 7% 30px;
}

/* WELCOME HEADING */

.hero {
    grid-column: 1 / -1;
    width: 100%;
    margin-bottom: 2px;
}

.eyebrow {
    color: #00dcff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 7px;
}

.hero h1 {
    font-family: Rajdhani, sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.02;
}

.hero h1 span {
    display: block;
    color: #00dcff;
    margin-top: 2px;
}

.hero p {
    margin-top: 7px;
    color: #d0dbe5;
    font-size: 10px;
    line-height: 1.6;
}

/* PANELS */

.install-panel,
.server-panel {
    width: 100%;
    max-width: 455px;

    padding: 20px 21px 15px;

    background: rgba(2,12,23,.95);
    border: 1px solid rgba(0,220,255,.48);
    border-radius: 9px;

    box-shadow: 0 15px 45px rgba(0,0,0,.4);
    backdrop-filter: blur(12px);
}

/* PANEL HEADINGS */

.small-label {
    color: #00dcff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.panel-top h2,
.server-heading h2 {
    margin-top: 5px;
    font-family: Rajdhani, sans-serif;
    font-size: 26px;
    font-weight: 700;
}

.panel-top h2 span,
.server-heading h2 span {
    color: #00dcff;
}

/* BOT DESCRIPTION */

.intro {
    color: #bdcbd8;
    font-size: 10px;
    line-height: 1.7;
    margin-top: 10px;
}

.line {
    height: 1px;
    background: linear-gradient(90deg,#00dcff,transparent);
    margin: 13px 0;
}

/* BOT INSTRUCTIONS */

.instruction {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 7px 0;
}

.step-number {
    width: 33px;
    height: 33px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0,220,255,.4);
    border-radius: 7px;
    background: rgba(0,220,255,.08);

    color: #00dcff;
    font-family: Rajdhani, sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.instruction h3 {
    font-family: Rajdhani, sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.instruction p {
    margin-top: 2px;
    color: #9eb0c0;
    font-size: 9px;
    line-height: 1.5;
}

/* ADD BOT BUTTON */

.add-button {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    padding: 12px 15px;
    margin-top: 12px;

    background: linear-gradient(100deg,#007c9e,#00bde2);
    border: 1px solid #00dcff;
    border-radius: 6px;

    color: white;
    text-decoration: none;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;

    transition: .25s;
}

.add-button:hover {
    background: #00dcff;
    color: #03101b;
    box-shadow: 0 5px 22px rgba(0,220,255,.25);
}

.arrow {
    font-size: 19px;
}

.panel-footer {
    text-align: center;
    margin-top: 11px;
    color: #718b9c;
    font-size: 8px;
    letter-spacing: 1.5px;
}

/* SERVER MANAGEMENT */

.server-panel {
    padding: 20px 21px 15px;
}

.server-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.server-heading p {
    margin-top: 7px;
    color: #aebdca;
    font-size: 10px;
    line-height: 1.6;
}

.server-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;

    display: grid;
    place-items: center;

    background: rgba(0,220,255,.08);
    border: 1px solid rgba(0,220,255,.4);
    border-radius: 8px;

    color: #00dcff;
    font-family: Rajdhani, sans-serif;
    font-size: 18px;
    font-weight: 700;
}

/* CONNECT DISCORD */

.server-connect-box {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 16px;
    padding: 12px;

    background: rgba(0,220,255,.045);
    border: 1px solid rgba(0,220,255,.2);
    border-radius: 8px;
}

.connect-symbol {
    width: 34px;
    height: 34px;
    flex-shrink: 0;

    display: grid;
    place-items: center;

    border: 1px solid rgba(0,220,255,.4);
    border-radius: 7px;

    color: #00dcff;
    font-size: 21px;
}

.connect-copy {
    flex: 1;
}

.server-connect-box h3 {
    font-family: Rajdhani, sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.server-connect-box p {
    margin-top: 4px;
    color: #9eb0c0;
    font-size: 9px;
    line-height: 1.5;
}

.coming-soon {
    flex-shrink: 0;
    color: #00dcff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(0,220,255,.3);
    border-radius: 4px;
    padding: 6px;
}

/* SERVER PREVIEW */

.server-preview {
    margin-top: 14px;
    padding: 12px;

    background: rgba(0,0,0,.2);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.preview-header h3 {
    font-family: Rajdhani, sans-serif;
    font-size: 14px;
}

.preview-header p {
    margin-top: 3px;
    color: #8195a6;
    font-size: 9px;
}

.preview-count {
    color: #00dcff;
    font-size: 8px;
    letter-spacing: 1px;
}

/* EMPTY SERVER LIST */

.empty-servers {
    text-align: center;
    padding: 13px 10px;
    margin-top: 10px;

    border: 1px dashed rgba(0,220,255,.2);
    border-radius: 7px;
}

.empty-icon {
    color: #00dcff;
    font-size: 25px;
    margin-bottom: 4px;
}

.empty-servers h3 {
    font-family: Rajdhani, sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
}

.empty-servers p {
    max-width: 290px;
    margin: 5px auto 0;
    color: #91a4b5;
    font-size: 9px;
    line-height: 1.5;
}

/* SERVER BUTTONS */

.server-actions {
    display: flex;
    gap: 9px;
    margin-top: 11px;
}

.server-actions button {
    flex: 1;
    padding: 10px 8px;
    border-radius: 5px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .8px;
}

.server-change {
    background: rgba(0,220,255,.07);
    border: 1px solid rgba(0,220,255,.25);
    color: #7895a5;
}

.server-open {
    background: rgba(0,220,255,.13);
    border: 1px solid rgba(0,220,255,.25);
    color: #7895a5;
}

.server-actions button:disabled {
    cursor: not-allowed;
    opacity: .65;
}

.server-footer {
    margin-top: 12px;
    text-align: center;
    color: #668497;
    font-size: 8px;
    letter-spacing: 1.5px;
}

/* DESKTOP HEIGHT ADJUSTMENT */

@media (min-width: 851px) and (max-height: 750px) {
    .page {
        padding-top: 65px;
        padding-bottom: 15px;
        gap: 13px 20px;
    }

    .install-panel,
    .server-panel {
        padding-top: 15px;
        padding-bottom: 12px;
    }

    .instruction {
        padding: 5px 0;
    }

    .server-connect-box {
        margin-top: 11px;
    }

    .empty-servers {
        padding: 9px;
    }
}

/* TABLETS AND MOBILE */

@media(max-width: 850px) {
    body {
        min-height: 100vh;
        overflow-y: auto;
        background-attachment: scroll;
    }

    .page {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 18px;
        padding: 100px 20px 35px;
    }

    .hero,
    .install-panel,
    .server-panel {
        width: 100%;
        max-width: 455px;
    }

    .hero h1 {
        font-size: clamp(32px, 8vw, 39px);
    }

    .back-home {
        top: 20px;
        right: 20px;
    }
}

@media(max-width: 400px) {
    .install-panel,
    .server-panel {
        padding: 17px 15px;
    }

    .panel-top h2,
    .server-heading h2 {
        font-size: 24px;
    }

    .coming-soon {
        font-size: 7px;
    }
}
