:root {
    --black: #101019;
    --background-start: #0f111a;
    --background-end: #13162a;
    --text-primary: #ffffff;
    --text-secondary: #ffffffb3;
    --text-3: #ffffff76;
    --container-max-width: 1200px;
    --primary: #8b9afc;
    --primary-2: #3f4fbb;
    --primary-3: #495bcd;
    --surface: #191b2b;
    --surface-2: #171928;
    --surface-3: #24273e;
    --surface-4: #1e2134;
    --blur: 14px;
    --delete: #23328f;
    --edit: #3f4fbb;
    --error-text: #ff1f1f;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--black);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-3);
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    background-color: var(--black);
}

body {
    -ms-overflow-style: none;
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Inter, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background: linear-gradient(180deg, var(--background-start), var(--background-end));
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100dvh;
}

.container {
    display: flex;
    justify-content: center;
    max-width: var(--container-max-width);
    width: 100%;
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 2rem;
    justify-items: center;
    height: auto;
    min-height: calc(100vh - 7rem);
    width: 100%;
    max-width: 1200px;
    justify-self: center;
}

.topbar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    justify-content: center;
    background: color-mix(in srgb, var(--surface), transparent 35%);
    border-bottom: 1px solid color-mix(in srgb, var(--primary), transparent 85%);
    backdrop-filter: blur(var(--blur));
    z-index: 5000;
}

.topbar-container {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

.dropdown {
    position: fixed;
    top: 66px;
    left: 10%;
    display: flex;
    width: calc(80% - 10px);
    height: fit-content;
    flex-direction: column;
    padding-left: 10px;
    background: color-mix(in srgb, var(--surface), transparent 35%);
    border: 1px solid color-mix(in srgb, var(--primary), transparent 85%);
    border-top: transparent;
    backdrop-filter: blur(var(--blur));
    z-index: 5000;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: all 0.2s ease;
    overflow: hidden;
    transform-origin: top;
    transform: scaleY(0);
}

.dropdown a {
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.2s ease;
}


.overlay-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: color-mix(in srgb, var(--surface), transparent 35%);
    backdrop-filter: blur(2px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    width: min(450px, 90%);
    height: auto;
    max-height: 80%;
    overflow: auto;
    padding: 15px;
    background: color-mix(in srgb, var(--surface), transparent 35%);
    backdrop-filter: blur(var(--blur));
    border: 1px solid color-mix(in srgb, var(--primary), transparent 80%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}

.overlay-title {
    display: flex;
    flex-direction: column;
    width: 60%;
}

.loading-title {
    align-items: center;
    width: 100%;
}

.overlay-title h1 {
    font-weight: 800;
    font-size: 25px;
}

.seperate-group {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.divider {
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
    height: 1px;
    background: color-mix(in srgb, var(--primary), transparent 80%);
}

.script-divider {
    margin-bottom: 0;
    margin-top: 0;
}

.ignore {
    display: none;
}

.dropdown a:hover {
    opacity: 1;
}

.dropdown a:active {
    transform: scale(95%);
    transition: transform 0.05s ease;
}

.dropdown-button {
    display: none;
    height: fit-content;
    width: 32px;
    background: transparent;
    border: transparent;
    align-self: center;
    transition: transform 0.2s ease;
}

.dropdown-button i {
    font-size: 20px;
    color: var(--primary);
}

.dropdown-button:hover {
    transform: translateY(-2px);
}

.dropdown-button:active {
    transform: scale(95%);
    transition: transform 0.05s ease;
}

.row {
    display: flex;
    gap: 1rem;
}

.home-button {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.home-button img {
    width: 35px;
    height: 35px;
    border-radius: 10px;
}

.home-button span {
    color: var(--text-primary);
}

.home-button:hover {
    transform: translateY(-2px);
}

.home-button:active {
    transform: scale(95%);
    transition: transform 0.05s ease;
}

.topbar-links {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.topbar-links a {
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.topbar-links a:hover {
    opacity: 1;
}

.topbar-links a:active {
    transform: scale(95%);
    transition: transform 0.05s ease;
}

.button {
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.2s ease;
    font-weight: 800;
    font-size: 100%;
    display: flex;
    padding: 10px 20px;
    background: linear-gradient(90deg, var(--primary-2), var(--primary));
    border: 1px solid var(--primary);
    border-radius: 10px;
    box-shadow: 0 10px 30px color-mix(in srgb, var(--primary), transparent 82%);
    width: 100%;
    justify-content: center;
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: scale(95%);
    transition: transform 0.05s ease;
}

.button-secondary {
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.2s ease;
    font-weight: 800;
    display: flex;
    padding: 10px 20px;
    background-color: var(--surface);
    border: 1px solid color-mix(in srgb, var(--primary), transparent 80%);
    border-radius: 10px;
    justify-content: center;
    width: 100%;
    justify-content: center;
}

.button-secondary:hover {
    transform: translateY(-2px);
}

.button-secondary:active {
    transform: scale(95%);
    transition: transform 0.05s ease;
}

.section {
    padding-top: calc(1rem + 65px);
    padding-bottom: 2rem;
    justify-items: center;
    min-height: 500px;
    height: auto;
    width: 100%;
    max-width: 1200px;
    justify-self: center;
}

.text {
    padding: 0;
    margin: 0;
    margin-bottom: 1rem;
}

.body {
    margin: 0;
    font-weight: 400;
    font-size: 100%;
    color: var(--text-secondary)
}

.box { 
    width: 250px;
    height: 100px;
    padding: 15px;
    border-radius: 15px;
    background: var(--surface);
    border: 1px solid color-mix(in srgb, var(--primary), transparent 80%);
    box-shadow: 0 30px 50px color-mix(in srgb, var(--black), transparent 70%);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
    align-items: center;
    justify-content: center;
}

.sub-title {
    font-size: 35px;
    font-weight: 600;
}

.code {
    font-size: 30px;
    font-weight: 800;
    width: fit-content;
    color: transparent;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    background-clip: text;
}

.text {
    padding: 0;
    margin: 0;
}

.button-group button {
    font-weight: 500;
    font-size: 15px;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 10px 25px color-mix(in srgb, var(--black), transparent 70%);
    transition: transform 0.2s ease;
}

.button-group button:hover {
    transform: translateY(-2px);
}

.button-group button:active {
    transform: scale(95%);
    transition: transform 0.05s ease;
}

.warning-button {
    border: 0;
    background: var(--delete);
}

.list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.5rem;
}

.missing-feature {
    color: var(--text-3);
}

.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    height: 100%;
}

.title {
    font-weight: 800;
    font-size: 50px;
}

.tier-box {
    display: flex;
    flex-direction: column;
    width: 200px;
    height: 235px;
    justify-content: space-between;
    padding-bottom: 10px;
}

.important-feature {
    font-weight: 800;
}

.box-divider {
    width: 100%;
    align-self: center;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--primary), transparent 50%), transparent);
    margin-bottom: 5px;
    margin-top: 15px;
}

.tier-box-divider {
    margin-bottom: 10px;
    margin-top: 5px;
}

.price-divider {
    margin-bottom: 5px;
    margin-top: 5px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--primary), transparent 80%), transparent);
}

.price-list {
    list-style-type: none;
    padding: 0;
    gap: 0;
    color: var(--text-secondary);
}

.tier-box-top {
    justify-content: space-between;
}

.box-top {
    display: flex;
    flex-direction: row;
    height: 30px;
    gap: 10px;
    align-items: baseline;
    width: 100%;
}

.box-title {
    font-weight: 700;
    font-size: 110%;
}

.price-list li {
    font-weight: 400;
    font-size: 80%;
}

.price-text {
    font-weight: 400;
    font-size: 70%;
}

.field {
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
}

.field-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.field-error {
    margin: 0;
    color: var(--error-text);
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.1s ease;
}

.field-box {
    margin-top: 5px;
    width: calc(100% - 10px);
    height: 15px;
    padding: 5px;
    border-radius: 5px;
    background: var(--surface-4);
    border: 1px solid color-mix(in srgb, var(--primary), transparent 80%);
    box-shadow: 0 30px 50px color-mix(in srgb, var(--black), transparent 70%);
    display: flex;
    flex-direction: row;
    gap: 5px;
    transition: all 0.2s ease;
}

.field-box:hover {
    transform: translateY(-2px);
}

.field-icon {
    color: var(--text-secondary);
}

.input {
    width: calc(100% - 10px);
    left: 18px;
    color: var(--text-primary);
    background: 0;
    border: 0;
    padding: 0;
}

.input:focus {
    outline: 0;
}

.field-name {
    color: var(--text-secondary);
}

.text-1 {
    font-weight: 400;
    font-size: 15px;
    color: var(--text-secondary);
}

.inline {
    height: 20px;
    align-items: center;
    justify-content: space-between;
    display: flex;
    gap: 5px;
}

.ignore {
    display: none;
}

.real-checkbox {
    display: none;
}

.user-divider {
    margin-bottom: 0;
    margin-top: 0;
}

.loading-divider {
    width: 100%;
    align-self: center;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--primary), transparent 50%) 50%, transparent 100%);
    margin: 0;
}

.keep-at-top {
    align-self: flex-start;
}

.primary-button {
    border: 0;
    background: var(--edit);
}

.description {
    height: 65%;
}

.text2 {
    justify-self: flex-end;
    text-align: center;
    font-size: 80%;
}

.text2 a {
    color: var(--primary);
}

@media (max-width: 1200px) {
    .topbar-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .topbar-links {
        display: none;
    }

    .dropdown-button {
        display: block;
    }
}