﻿:root {
    color-scheme: dark;
    font-family: 'Comfortaa', 'Roboto', sans-serif;
}

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
    scrollbar-color: rgba(75, 123, 201, 0.72) rgba(13, 20, 42, 0.34);
    scrollbar-width: thin;
}

body {
    background-image: url('../img/backgrounds/default.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    scroll-behavior: smooth;
}

@media (hover: hover) {
    body {
        background-attachment: fixed;
    }
}

body.media-background {
    background-image: url('../img/backgrounds/media-server.png');
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    pointer-events: none;
}

.card:not(.bg-light) {
    background-color: rgba(33, 37, 41, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    backdrop-filter: blur(6px);
    color: var(--mdb-light);
}

.sexy-background {
    background-image: url('../img/banner.png');
    background-size: cover;
    background-position: center;
    border: none !important;
    backdrop-filter: blur(12px);
}

#dropZone {
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#dropZone.drag-over {
    background-color: rgba(var(--mdb-primary-rgb), 0.14);
    border-color: var(--mdb-primary);
    transform: translateY(-2px);
}

#uploadResult {
    min-height: 56px;
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.account-menu {
    min-width: 19rem;
    overflow: hidden;
    padding: 0;
}

.account-menu-head {
    align-items: center;
    background: linear-gradient(135deg, rgba(69, 109, 238, 0.95), rgba(115, 96, 238, 0.92));
    color: var(--mdb-white);
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
}

.account-menu-avatar,
.account-avatar {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    justify-content: center;
    max-height: 100%;
    max-width: 100%;
    overflow: hidden;
}

.account-menu-avatar {
    border-radius: 0.35rem;
    flex: 0 0 2.75rem;
    height: 2.75rem;
    overflow: hidden;
    width: 2.75rem;
}

.account-menu-avatar img,
.account-avatar img {
    display: block;
    height: 100% !important;
    object-fit: cover;
    width: 100% !important;
}

.account-menu-id {
    min-width: 0;
}

.account-menu-id strong,
.account-menu-id span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu-id span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.8rem;
}

.account-menu .dropdown-item {
    align-items: center;
    display: flex;
    font-weight: 600;
    gap: 0.25rem;
    padding: 0.55rem 0.85rem;
}

.account-menu .dropdown-item i {
    color: rgba(var(--mdb-primary-rgb), 0.85);
    width: 1.25rem;
}

.account-profile {
    max-width: 1040px;
}

.account-profile .form-label {
    color: rgba(255, 255, 255, 0.78);
}

.account-profile .nav-pills .nav-link {
    background-color: rgba(20, 31, 58, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.375rem;
    color: rgba(255, 255, 255, 0.72);
}

.account-profile .nav-pills .nav-link.active {
    background-color: rgba(20, 31, 58, 0.9);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--mdb-white);
}

.account-form {
    max-width: 600px;
}

.account-profile-summary {
    background-color: rgba(20, 31, 58, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 1.25rem;
}

.account-profile-summary-grid {
    align-items: stretch;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 12rem minmax(0, 1fr);
}

.account-profile-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-top: 0.35rem;
}

.account-profile-name-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.account-profile-name-row h1 {
    min-width: 0;
    overflow-wrap: anywhere;
}

.account-avatar {
    border-radius: 0.5rem;
    flex: 0 0 5.5rem;
    font-size: 2rem;
    height: 5.5rem;
    overflow: hidden;
    width: 5.5rem;
}

.account-avatar-large {
    flex-basis: 12rem;
    height: 12rem;
    width: 12rem;
}

.account-profile-tabs {
    align-items: stretch;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    gap: 0;
    margin-top: auto;
    overflow-x: auto;
}

.account-profile-tabs .nav-link {
    border: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
    padding: 0.85rem 1rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.account-profile-tabs .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 -2px 0 rgba(var(--mdb-primary-rgb), 0.95);
    color: var(--mdb-white);
}

.account-panel {
    background-color: rgba(20, 31, 58, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.account-panel .form-label {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.account-input,
.account-input:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--mdb-white);
}

.account-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--mdb-primary-rgb), 0.18);
}

.account-input::file-selector-button {
    background-color: rgba(255, 255, 255, 0.16);
    border: 0;
    color: var(--mdb-white);
    margin-right: 0.75rem;
}

@media (max-width: 575.98px) {
    .account-avatar {
        flex-basis: 4.5rem;
        height: 4.5rem;
        width: 4.5rem;
    }

    .account-avatar-large {
        flex-basis: 8rem;
        height: 8rem;
        width: 8rem;
    }

    .account-profile-summary-grid {
        grid-template-columns: 1fr;
    }

    .account-profile-tabs .nav-link {
        padding: 0.75rem 0.85rem;
    }
}

html::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-track {
    background: rgba(13, 20, 42, 0.34);
}

html::-webkit-scrollbar-thumb {
    background-color: rgba(75, 123, 201, 0.72);
    border: 3px solid rgba(13, 20, 42, 0.34);
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover {
    background-color: rgba(95, 151, 235, 0.86);
}

.faq-accordion .accordion-item,
.faq-accordion .accordion-button,
.faq-accordion .accordion-body {
    background-color: rgba(20, 31, 58, 0.66);
}

.faq-accordion .accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.faq-accordion .accordion-button {
    color: var(--mdb-white);
}

.faq-accordion .accordion-button:hover,
.faq-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(27, 44, 78, 0.78);
}

.faq-accordion .accordion-body {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
}

.site-panel {
    background-color: rgba(20, 31, 58, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.setup-hero-image {
    max-height: 360px;
    object-fit: cover;
    width: 100%;
}

.setup-laptop-hero {
    background-color: rgba(20, 31, 58, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.14);
    min-height: 220px;
    overflow: hidden;
    position: relative;
}

.setup-laptop-image {
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    width: 100%;
}


.price-extra {
    background-color: rgba(12, 21, 42, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-panel-extra {
    background-color: rgba(20, 31, 58, 0.42);
}

.price-extra-badge {
    min-width: 2.75rem;
}

.site-panel-muted {
    background-color: rgba(20, 31, 58, 0.46);
}

.about-float-image {
    max-width: min(320px, 40%);
}

.about-skill-list {
    column-count: 2;
    column-gap: 2rem;
}

.about-skill-list li {
    break-inside: avoid;
}

@media (max-width: 767.98px) {
    .about-float-image {
        max-width: 100%;
    }

    .about-skill-list {
        column-count: 1;
    }
}

.discord-widget {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.discord-widget-header,
.discord-widget-footer {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 1rem;
}

.discord-widget-header {
    background-color: rgba(32, 86, 166, 0.44);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.discord-widget-count {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.875rem;
}

.discord-widget-body {
    flex: 1;
    padding: 1rem;
}

.discord-widget-section + .discord-widget-section {
    margin-top: 1rem;
}

.discord-widget-section h3 {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.discord-widget-row,
.discord-widget-member {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    min-width: 0;
    padding: 0.25rem 0;
}

.discord-widget-row i {
    color: rgba(255, 255, 255, 0.48);
}

.discord-widget-member span,
.discord-widget-row span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.discord-widget-member small {
    color: rgba(255, 255, 255, 0.38);
    margin-left: auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.discord-widget-avatar {
    flex: 0 0 auto;
    height: 20px;
    position: relative;
    width: 20px;
}

.discord-widget-avatar img {
    border-radius: 50%;
    height: 20px;
    width: 20px;
}

.discord-status {
    border: 2px solid rgb(20, 31, 58);
    border-radius: 50%;
    bottom: -2px;
    height: 9px;
    position: absolute;
    right: -2px;
    width: 9px;
}

.discord-status-online {
    background-color: #3ba55d;
}

.discord-status-idle {
    background-color: #faa61a;
}

.discord-status-dnd {
    background-color: #ed4245;
}

.discord-status-offline {
    background-color: #747f8d;
}

.discord-widget-footer {
    background-color: rgba(12, 21, 42, 0.38);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.875rem;
}

.media-gallery {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 1.5rem;
    padding-top: 1.25rem;
}

.media-gallery-shell {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
}

.media-gallery-sidebar {
    background-color: rgba(20, 31, 58, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.5rem;
    padding: 1rem;
}

.media-gallery-content {
    min-width: 0;
}

.media-gallery-heading {
    padding-bottom: 0.25rem;
}

.media-gallery-filter .form-select {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--mdb-white);
    min-width: 100%;
}

.media-gallery-filter .form-select option {
    color: #111827;
}

.media-gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}

.media-gallery-item {
    background-color: rgba(20, 31, 58, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.5rem;
    color: var(--mdb-white);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.media-gallery-item:hover {
    border-color: rgba(var(--mdb-primary-rgb), 0.82);
    color: var(--mdb-white);
    transform: translateY(-2px);
}

.media-gallery-thumb {
    color: inherit;
    display: block;
    text-decoration: none;
}

.media-gallery-item img {
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    width: 100%;
}

.media-gallery-meta {
    display: block;
    min-width: 0;
    padding: 0.75rem;
}

.media-gallery-meta span,
.media-gallery-meta small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-gallery-meta small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    margin-top: 0.2rem;
}

.media-gallery-delete {
    align-self: stretch;
    margin: 0 0.75rem 0.75rem;
}

.media-gallery-item .modal {
    color: var(--mdb-white);
    text-align: left;
}

.media-gallery-empty {
    background-color: rgba(20, 31, 58, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 992px) {
    .media-gallery-shell {
        grid-template-columns: 13rem minmax(0, 1fr);
    }

    .media-gallery-sidebar {
        position: sticky;
        top: 5rem;
    }
}

.media-view-media {
    display: block;
    height: auto;
    max-height: min(72vh, 52rem);
    max-width: 100%;
    object-fit: contain;
    width: auto;
}



.dtp-panel {
    background-color: rgba(20, 31, 58, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.media-view-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.media-view-detail-cell {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.9rem 1rem;
}

.media-view-detail-cell:first-child {
    border-top: 0;
}

.media-view-detail-cell {
    border-right: 0;
}

.media-view-detail-label {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.media-view-detail-value {
    color: #fff;
}

@media (min-width: 992px) {
    .media-view-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .media-view-detail-cell:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .media-view-detail-cell:nth-child(-n + 2) {
        border-top: 0;
    }

    .media-view-detail-cell:nth-child(2n) {
        border-right: 0;
    }

    .media-view-detail-cell:nth-child(2n + 1) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }
}
