* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Mono', 'Fira Mono', 'Consolas', monospace;
    background: linear-gradient(135deg, #10131a 0%, #181c24 100%);
    color: #e3e8ef;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    letter-spacing: 0.5px;
}

.container {
    width: 100%;
    max-width: 800px;
    background: #111319;
    border-radius: 0;
    padding: 32px 36px 32px 36px;
    box-shadow: 0 6px 32px 0 #0e1014cc, 0 1.5px 0 #1e2633;
    border: 2px solid #22304a;
    margin-bottom: 32px;
}

header {
    margin-bottom: 18px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #111319;
    border-bottom: 2px solid #3a7cff;
    padding: 0 0 0 0;
    margin-bottom: 18px;
    height: 36px;
}

.nav-title {
    font-size: 1.1rem;
    color: #8fbaff;
    font-weight: 600;
    letter-spacing: 1.2px;
    margin-right: 24px;
    padding-top: 2px;
}

nav {
    display: flex;
    gap: 0;
}

.nav-link {
    color: #b6c8e6;
    text-decoration: none;
    font-size: 1.05rem;
    padding: 7px 18px 7px 18px;
    border: none;
    border-right: 1px solid #232a36;
    background: #111319;
    font-weight: 500;
    transition: background 0.15s, color 0.15s, border 0.15s;
    border-radius: 0;
    outline: none;
    position: relative;
    top: 2px;
}

.nav-link:last-child {
    border-right: none;
}

.nav-link.nav-active, .nav-link:hover {
    background: #181c24;
    color: #3a7cff;
    border-bottom: 2px solid #3a7cff;
    z-index: 2;
}

h1, h2 {
    font-size: 1.2rem;
    color: #b6c8e6;
    margin-bottom: 10px;
    font-family: inherit;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.groupbox, .script-section, .discord-invite-section {
    background: #181c24;
    border: 2px solid #3a7cff;
    box-shadow: 0 2px 8px #0e101422;
    margin-bottom: 18px;
    padding: 16px 18px 18px 18px;
    border-radius: 0;
    /* For animation */
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
}

.groupbox-title, .discord-invite-title {
    color: #3a7cff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

p {
    font-size: 1.13rem;
    margin-bottom: 20px;
    color: #e3e8ef;
}

textarea {
    width: 100%;
    height: 60px;
    background: #181c24;
    color: #b6c8e6;
    border: 2px solid #3a7cff;
    border-radius: 0;
    font-size: 1.04rem;
    padding: 12px;
    resize: none;
    box-shadow: 0 0 0 2px #0e101433, 0 2px 12px #0e101422 inset;
    font-family: inherit;
    margin-bottom: 10px;
    transition: border 0.2s;
}

textarea:focus {
    outline: none;
    border: 2.5px solid #3a7cff;
}

.copy-button {
    background: #181c24;
    color: #3a7cff;
    border: 2px solid #3a7cff;
    border-radius: 0;
    padding: 10px 24px;
    cursor: pointer;
    font-size: 1.08rem;
    margin-top: 15px;
    font-family: inherit;
    font-weight: 600;
    box-shadow: 0 2px 8px #0e101433;
    letter-spacing: 1px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.copy-button:hover {
    background: #3a7cff;
    color: #181c24;
    box-shadow: 0 4px 16px #3a7cff55;
}

footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.97rem;
    color: #b6c8e6;
    letter-spacing: 0.5px;
}

.discord-invite-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    border-radius: 0;
}
.discord-logo {
    width: 90px;
    margin-bottom: 18px;
}
.discord-invite-title {
    font-size: 1.2rem;
    color: #3a7cff;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
}
.discord-invite-link {
    display: inline-block;
    background: #181c24;
    color: #3a7cff;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 16px 36px;
    border: 2px solid #3a7cff;
    border-radius: 0;
    text-decoration: none;
    margin-top: 18px;
    box-shadow: 0 2px 8px #3a7cff44;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.discord-invite-link:hover {
    background: #3a7cff;
    color: #181c24;
    box-shadow: 0 4px 16px #3a7cff77;
}

/* SPA section transitions */
.hidden-section {
    display: block !important;
    opacity: 0 !important;
    pointer-events: none;
    transform: scale(0.97);
    transition: opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
}
.active-section {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto;
    transform: scale(1);
    transition: opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
}
