:root {
    --primary-color: #5865f2;
    --primary-hover: #4752c4;
    --secondary-color: #3ba55c;
    --secondary-hover: #359553;
    --tertiary-color: #4f545c;
    --tertiary-hover: #474c53;
    --background-color: #000000;
    --container-color: #2b2d31;
    --text-color: #ffffff;
    --input-color: #383a40;
}

html {
    font-size: 18px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.45;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    position: static;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('api.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    filter: blur(8px);
    opacity: 0.25;
    z-index: -1;
}

.container {
    background-color: var(--container-color);
    padding: 1.25rem;
    border-radius: 1rem;
    width: 32rem;
    max-width: 100%;
}

.header {
    text-align: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 0.125rem solid var(--text-color);
}

.discord-link {
    font-size: 2rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.discord-link:hover {
    color: var(--secondary-hover);
}

form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    color: var(--primary-color);
}

input,
select {
    padding: 0.5rem;
    border: 0.0625rem solid var(--input-color);
    border-radius: 0.5rem;
    background-color: var(--input-color);
    color: var(--text-color);
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.1875rem rgba(88, 101, 242, 0.25);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.3rem center;
    padding-right: 1rem;
}

button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.575rem;
    font-size: 1.125rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s;
}

button:hover::before {
    left: 100%;
}

button:hover {
    background-color: var(--secondary-hover);
}

.module-container {
    flex: 3;
}

.mode-container {
    flex: 1;
}

.name-container {
    flex: 2;
}

.tag-container,
.server-container {
    flex: 1;
}

.tag-container {
    position: relative;
}

.tag-container::before {
    content: '#';
    position: absolute;
    left: 0.35rem;
    top: 0.9rem;
    color: var(--text-color);
    opacity: 0.2;
    font-size: 2.3rem;
    pointer-events: none;
}

.tag-container input {
    padding-left: 1.75rem;
}

.platform-container {
    flex: 1;
}

.colored-text {
    color: var(--primary-color);
}

.colored-text2 {
    color: var(--secondary-color);
}

.button-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.2rem;
}

button {
    flex: 1;
}

.copy-info {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-color);
}

.button-group button {
    background-color: var(--tertiary-color);
    color: white;
    border: none;
    padding: 0.375rem;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.button-group button:hover {
    background-color: var(--tertiary-hover);
}

.button-group button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s;
}

.button-group button:hover::before {
    left: 100%;
}

.block-span {
    display: block;
    width: 100%;
}