:root {
    --primary: rgb(0, 20, 36);
    --secondary: rgb(255, 255, 255);
    --font: rgb(255, 255, 255);
    --accent: rgb(0, 153, 255);
    --dark-bg: var(--primary);
    --control-bg: rgba(0, 20, 36, 0.7);
    --control-hover: rgba(0, 153, 255, 0.3);
    --control-active: rgba(0, 153, 255, 0.5);
    --control-radius: 12px;
    --url-bar-bg: rgba(0, 20, 36, 0.7);
    --icon-color: var(--accent);
    --backdrop-blur: 10px;
    --transition-speed: 0.3s;
    --search-glow: 0 0 15px rgba(0, 153, 255, 0.5);
    --control-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --ripple-color: rgba(0, 153, 255, 0.5);
    --sidebar-width: 250px;
    --nav-height: 60px;
    --tab-height: 40px;
    --accent-glow: 0 0 20px rgba(0, 153, 255, 0.2);
}

@font-face {
    font-family: "font";
    src: url("../fonts/font.otf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "font", sans-serif;
}

body {
    background-color: var(--primary);
    color: var(--font);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    margin: 0;
    padding: 0;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    border-radius: 10px;
}

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

/* Settings sidebar */
.settings-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background-color: var(--control-bg);
    backdrop-filter: blur(var(--backdrop-blur));
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    padding: 0 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-header-left {
    display: flex;
    align-items: center;
}

.settings-logo {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.settings-header-text {
    font-size: 18px;
    font-weight: bold;
}

.settings-nav {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 6px;
    margin: 5px 10px;
    position: relative;
    overflow: hidden;
}

.nav-item:hover {
    background-color: var(--control-hover);
    transform: translateX(5px);
}

.nav-item.active {
    background-color: var(--control-active);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease-in-out;
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item.active::after {
    width: 100%;
}

.nav-item svg {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    fill: var(--font);
    transition: transform 0.3s ease;
}

.nav-item:hover svg {
    transform: scale(1.1);
}

.nav-item span {
    font-size: 15px;
}

.settings-container {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 15px;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.settings-top-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 5px 10px;
    background-color: transparent;
    backdrop-filter: none;
    margin-bottom: 0;
    height: auto;
    min-height: auto;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1000;
}

.settings-title {
    font-size: 20px;
    font-weight: bold;
}

.horizontal-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-button {
    background-color: var(--primary);
    border: none;
    color: var(--icon-color);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.control-button:hover {
    background-color: #001e34;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.control-button:active {
    transform: scale(0.95) translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.control-button svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.control-button:hover svg {
    transform: rotate(90deg);
}

/* Settings content */
.settings-content {
    flex: 1;
    overflow-y: auto;
    background-color: rgba(0, 40, 70, 0.6);
    border-radius: var(--control-radius);
    padding: 20px;
    backdrop-filter: blur(var(--backdrop-blur));
    height: 100%;
    margin-top: 0;
}

.settings-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.settings-section.active {
    display: block;
    animation: fadeIn 0.4s ease-out forwards;
}

.settings-section h2 {
    margin-bottom: 25px;
    font-size: 28px;
    color: var(--accent);
    text-shadow: var(--accent-glow);
    text-align: center;
    padding-top: 15px;
}

.settings-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.settings-option:hover {
    border-bottom-color: rgba(0, 153, 255, 0.3);
    background-color: rgba(0, 153, 255, 0.05);
    padding-left: 8px;
    border-radius: 4px;
}

.settings-option label {
    font-size: 16px;
}

.settings-select,
.settings-input {
    background-color: var(--control-bg);
    color: var(--font);
    padding: 8px 12px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    width: 200px;
    outline: none;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.settings-select:focus,
.settings-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(0, 153, 255, 0.25);
    transform: translateY(-2px);
}

.settings-select:hover,
.settings-input:hover {
    border-color: var(--accent);
}

.settings-select option {
    background-color: var(--primary);
}

.settings-button {
    background-color: var(--accent);
    color: var(--font);
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.settings-button:hover {
    background-color: rgba(0, 153, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.settings-button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.settings-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.settings-button:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0) translate(-50%, -50%);
        opacity: 0.5;
    }

    100% {
        transform: scale(20, 20) translate(-50%, -50%);
        opacity: 0;
    }
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    transition: all 0.3s ease;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--control-bg);
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border-radius: 24px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input:checked+.toggle-slider {
    background-color: var(--accent);
}

input:checked+.toggle-slider:before {
    transform: translateX(26px);
}

.toggle-switch:hover .toggle-slider:before {
    box-shadow: 0 0 5px var(--accent);
}

/* About section */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    text-align: center;
    transition: all 0.3s ease;
}

.about-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.about-logo:hover {
    animation: pulse 1.5s infinite;
}

.about-content h3 {
    margin-bottom: 5px;
    font-size: 20px;
}

.about-content p {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
}

/* Tooltip */
.tooltip {
    position: fixed;
    background-color: var(--control-bg);
    backdrop-filter: blur(var(--backdrop-blur));
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    display: block;
    width: auto;
    height: auto;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--accent);
    color: var(--font);
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s ease;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .settings-sidebar {
        width: 200px;
    }

    .settings-container {
        margin-left: 200px;
    }

    .settings-option {
        flex-direction: column;
        align-items: flex-start;
    }

    .settings-select,
    .settings-input,
    .settings-button {
        width: 100%;
        margin-top: 10px;
    }

    .toggle-switch {
        margin-top: 10px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.cloak-img,
.cheat-img {
    max-width: 30px;
    max-height: 30px;
    border-radius: 15%;
}

.cloak-button,
.cheat-button {
    background-color: var(--accent);
    color: var(--font);
    border: none;
    border-radius: 6px;
    padding: 10px 10px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-right: 10px;
}

.cloak-button:hover,
.cheat-button:hover {
    background-color: rgba(0, 153, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.cloak-button:active,
.cheat-button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cloak-button::after,
.cheat-button::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1);
}

#cloak-tab-buttons,
#cheats-buttons,
#settings-stuffs {
    display: flex;
    flex-direction: row;
}

#username,
#uvdecoder,
#sjdecoder,
#bolt-premium {
    margin-right: 10px;
}

#delete-account {
    background-color: #f44336;
}