* {
    --nav-height: 3rem;
    --max-height: 100vh;
    --max-width: 100vw;
    --img-nav-height: calc(var(--nav-height) - 1.5rem);
    --w11-logo-gradient: linear-gradient(135deg, #6bd3ff, #0079d4);
    --bg-color-search: #1e202c;
    --border-color-search: #292b41;
    --bottom-border-color-search: #9dcbe3;
    --placeholder-color-search: #a2a5ae;
    --glass-white-color: rgba(255, 255, 255, 0.1);
    --footer-start-height: 4em;
    --sun-gradient: linear-gradient(135deg, #ffef80, #ecaa00);
    font-family: poppins, monospace;
}

body {
    height: var(--max-height);
    width: var(--max-width);
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-image: url(./images/bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    transition-duration: 0.5s;
}

body {
    display: grid;
    grid-template-columns: minmax(700px, 1fr) 1fr;
}

nav {
    background: linear-gradient(rgba(0, 0, 85, 0.075), transparent, rgba(0, 0, 85, 0.192));
    height: var(--nav-height);
    width: var(--max-width);
    position: fixed;
    bottom: 0;
    z-index: 1;
    box-shadow: 0 0 1em rgba(0, 0, 255, 0.027);
    backdrop-filter: blur(5em);
}

nav #nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    padding: 0 0.5em;
    box-sizing: border-box;
}

#first-container,
#second-container {
    display: flex;
    height: 100%;
    width: auto;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

#second-container {
    gap: 0rem !important;
}

#first-container div svg,
#first-container div img,
#second-container div svg,
#second-container div img {
    aspect-ratio: 1;
    height: var(--img-nav-height);
    width: auto;
    border-radius: 0.1em;
}

#first-container {
    margin: auto;
}

#second-container #sistema-info div {
    display: grid;
    place-content: center;
}

#sistema-info {
    height: 80%;
    gap: 0.6em;
    padding: 0 0.7em;
    border-radius: 0.5em;
    transition-duration: 0.5s;
    color: white;
    margin-right: 0.5em;
    display: grid;
    grid-auto-flow: column;
    align-items: center;
}

#sistema-info div svg {
    height: 1rem;
    width: auto;
}

#sistema-data {
    height: 80%;
    padding: 0 1em !important;
    color: white;
    margin-right: 0.5em;
    border-radius: 0.5em;
    display: flex;
    flex-direction: column;
    font-size: 0.65em;
    align-items: flex-end;
    justify-content: center;
}

#sistema-info:hover,
#sistema-data:hover {
    background-color: rgba(255, 255, 255, 0.075);
    transition-duration: 0.5s;
}

#sistema-info div {
    margin: auto;
}

#first-container div {
    aspect-ratio: 1;
    border-radius: 0.1rem;
    transition-duration: 0.2s;
    height: 85%;
    display: grid;
    place-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.0);
}

#second-container div svg {
    aspect-ratio: 1;
    display: grid;
    place-content: center;
    transform: scale(0.7);
}

#first-container div:hover {
    background-color: var(--glass-white-color);
    border-radius: 0.5rem;
    transition-duration: 0.1s;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
}

#w11-logo {
    border-radius: 0.2rem;
    fill: white;
}

#first-container div:nth-child(2) svg {
    color: #eff7ff;
}

#w11-start-section {
    color: white;
    align-self: center;
    justify-self: center;
}

#windows-logo {
    height: 1.5rem;
    width: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

#w11-start-section {
    display: grid;
    backdrop-filter: blur(5em);
    transition-duration: 0.5s;
    width: 40em;
    border-radius: 1em;
    position: fixed;
    bottom: calc(-150%);
    overflow: hidden;
    border: 2px solid var(--glass-white-color);
    transition-timing-function: cubic-bezier(.4, .01, .15, 1.1);
}

.padding-start:not(#footer-start-section) {
    padding: 0 2em 1em 2em;
}

#cerca-input-start {
    background-color: var(--bg-color-search);
    padding: 0 1em;
    box-sizing: border-box;
    color: white;
    width: 100%;
    height: 3em;
    font-size: 1em;
    border-radius: 0.5em;
    border: 1px solid var(--border-color-search);
    border-bottom: 2px solid var(--bottom-border-color-search);
}

#cerca-input-start::placeholder {
    color: var(--placeholder-color-search);
}

.input-div-start {
    padding: 2em 2em 0 2em;
}

.app-container-header {
    font-size: 0.95em;
    font-weight: bold;
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 1.5em 1em;
    align-items: center;
}

.app-container-header span {
    filter: drop-shadow(0 0 1em white);
}

.app-container-header div {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.2em 0.2em 0.2em 0.5em;
    border-radius: 0.5em;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    transition-duration: 0.2s;
    font-weight: 300;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.app-container-header div:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transition-duration: 0.5s;
    border-top-color: transparent;
}

.app-container-header div svg {
    padding: 0 0 0 0.5em;
    fill: white !important;
}

#second-app-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5em;
}

#second-app-container div {
    aspect-ratio: 1;
    border-radius: 0.3em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2em;
    cursor: pointer;
}

#second-app-container div:hover {
    background-color: var(--glass-white-color);
    transition-duration: 0.1s;
}

#second-app-container img,
#second-app-container svg {
    aspect-ratio: 1;
    width: 2.5rem;
    margin: 0.1em;
}

#second-app-container span {
    font-size: 0.7em;
    font-weight: lighter;
    color: white;
    text-align: center;
    text-transform: capitalize;
}

#second-app-container>div:active img,
#second-app-container>div:active svg {
    transform: scale(0.8);
    transition-duration: 0.3s;
}

#second-app-container>div img,
#second-app-container>div svg {
    transition-duration: 0.3s;
}

.on-visible-start {
    bottom: calc(var(--nav-height) + 1em) !important;
    transition-duration: 0.5s;
}

label input {
    display: none;
}

#not-mobile-friendly {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    place-content: center;
    color: white;
    height: 100vh;
    width: 100vw;
    z-index: 999;
    backdrop-filter: blur(2em);
    gap: 1em;
}

#not-mobile-friendly #titolo-errore {
    font-size: 6vw;
    text-decoration: underline;
    text-underline-offset: 0.3em;
    font-weight: bolder;
}

#dettagli-errore {
    font-size: 2.5vw;
}

#article-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
}

#article-container img,
#article-container .dc-folder-icon {
    aspect-ratio: 1;
    width: 2.5em;
    padding: 0.3em 1em;
    box-sizing: content-box;
}

#article-container>div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1em;
    padding: 0.5em;
    border-radius: 0.3em;
    align-items: center;
    transition-duration: 0.5s;
    cursor: pointer;
}

#article-container>div:hover {
    background-color: var(--glass-white-color);
    transition-duration: 0.5s;
}

#article-container>div>div:nth-child(2)>div:nth-child(1) {
    font-size: 0.9em;
}

#article-container>div>div:nth-child(2)>div:nth-child(2) {
    font-size: 0.8em;
    margin-top: 0.2em;
    opacity: 0.7;
}

#footer-start-section {
    height: var(--footer-start-height);
    backdrop-filter: blur(10em);
    background-color: rgba(0, 0, 0, 0.514);
    outline: var(--glass-white-color) solid 2px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 4em;
    align-items: center;
}

.nome-utente-start-section,
.spegni-pc-start-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5em;
    padding: 0.5em;
    transition-duration: 0.2s;
}

.nome-utente-start-section:hover,
.spegni-pc-start-section:hover {
    background-color: var(--glass-white-color);
    border-radius: 0.5em;
    transition-duration: 0.5s;
}

.nome-utente-start-section svg {
    height: 1.7em;
    width: auto;
    fill: white !important;
}

.spegni-pc-start-section svg {
    height: 1.7em;
    width: auto;
    fill: white !important;
}

#first-container div:active>img,
#first-container div:active>svg {
    transform: scale(0.5);
    transition-duration: 0.5s;
}

#first-container img,
#first-container svg {
    transition-duration: 0.5s;
}

#first-container>div[title]:hover::after,
#sistema-info>div[title]:hover::after,
#sistema-data[title]:hover::after {
    content: attr(title);
    color: white;
    position: absolute;
    transform: translateY(calc(-100% - 1em));
    padding: 0.2em 0.5em;
    border: 2px solid var(--glass-white-color);
    border-radius: 0.5em;
    font-size: 0.9em;
    background-color: rgba(0, 0, 68, 0.623);
    transition-duration: 0.5s;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(calc(-100% - 3em));
    }
    to {
        opacity: 1;
    }
}

#sistema-info>div[title]:hover::after {
    transform: translateY(calc(-100% - 2em));
    font-size: 0.6em;
}

#widget-section {
    backdrop-filter: blur(1em);
    background-color: rgba(0, 1, 63, 0.26);
    display: grid;
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
    margin: 1em 0 calc(var(--nav-height) + 1em) 1em;
    border-radius: 1em;
    color: white;
    padding: 1em;
    border: 2px solid var(--glass-white-color);
    transition-duration: 0.5s;
    transform: translateX(calc(-100% - 5em));
    transition-timing-function: cubic-bezier(.4, .01, .15, 1.1);
}

#widget-section {
    display: grid;
    grid-template-areas: "meteo calendario" "galleria calendario" "galleria video" "todo todo";
    gap: 1em;
    grid-auto-columns: 1fr;
    padding: 2em;
}

#widget-section>div {
    border: 3px solid var(--glass-white-color);
    border-radius: 0.7em;
}

#widget-section svg {
    height: 1em;
    aspect-ratio: 1;
}

.widget-header-card {
    padding: 0.5em 1em;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    text-transform: uppercase;
    font-weight: 300;
    border-bottom: 2px solid transparent;
}

.on-visible-widget {
    transform: translateX(0%) !important;
    transition-duration: 0.5s;
}

.sole-meteo {
    height: 6em;
    background: var(--sun-gradient);
    box-shadow: 0em 0.5em 3em #ecaa00;
    aspect-ratio: 1;
    border-radius: 50%;
    margin: 1em;
}

.content-widget {
    height: calc(100% - 40px - 3em);
    display: grid;
    place-items: center;
    grid-auto-flow: column;
    padding: 0 1em;
}

.temperatura-container {
    font-size: 4em;
    font-weight: 500;
}

.temperatura-container span:nth-of-type(2) {
    font-size: 0.5em;
    opacity: 0.5;
}

.btn-meteo-widget {
    display: grid;
    height: 3em;
    border-top: 2px solid var(--glass-white-color);
    place-content: center;
    text-decoration: none;
    color: white;
    text-shadow: 0 0 1em white;
    transition-duration: 0.3s;
    border-bottom: 0px solid white;
}

.btn-meteo-widget:hover {
    text-decoration: underline;
    text-underline-offset: 0.1em;
    transition-duration: 0.5s;
}

.widget-header-card:hover {
    border-bottom-color: var(--glass-white-color);
}

#meteo-widget {
    background: linear-gradient(135deg, #ffdd002d, #00ecd821);
}

#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    animation: fadeOut-video 5s ease-in;
    animation-fill-mode: forwards;
    z-index: -1;
}

@keyframes fadeOut-video {
    0% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    99% {
        opacity: 0;
    }
    100% {
        opacity: 0;
        display: none;
    }
}

.pc-off {
    transition-duration: 3s;
    display: grid !important;
    transition-timing-function: ease-out;
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    background-color: black;
    z-index: 1000;
    animation: opacity 2s ease-in-out;
}

@keyframes opacity {
    from {
        display: none;
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#spegni-section {
    place-content: center;
    transition-duration: 3s;
}

#spegni-section>div {
    display: grid;
    animation: rotateParent 2s ease-in-out infinite alternate;
}

@keyframes rotateParent {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#spegni-section {
    display: none;
}

#spegni-section div>div {
    position: relative;
    background: white;
    height: 1em;
    aspect-ratio: 1;
    border-radius: 50%;
    margin: 0em;
    transition-duration: 1s;
    animation: rotateChild 5s ease-in-out infinite alternate-reverse;
}

#spegni-section div>div {
    animation-delay: calc(var(--i) * 0.1s);
}

@keyframes rotateChild {
    from {
        transform: rotate(360deg);
        opacity: 1;
        transform-origin: 4em 15em;
        margin: 0em;
        background-color: blue;
        box-shadow: 0 0 5em blue;
    }
    to {
        transform: rotate(calc(var(--i) * 1deg));
        filter: blur(0.2em);
        opacity: 0.5;
        transform-origin: 15em 4em;
        margin: 1em;
        height: 1.5em;
    }
}

.on-visible-widget .coming-soon-widget {
    display: grid;
    place-self: center;
    place-items: center;
    font-size: 1.5em;
    animation: opacity 2s ease-in-out;
    height: calc(100% - 40px);
    transition-duration: 0.5s;
}

.coming-soon-tab {
    display: grid;
    place-items: center;
    font-size: 1.5em;
    animation: opacity 2s ease-in-out;
    color: white;
    flex: 1;
    min-height: 0;
    width: 100%;
    transition-duration: 0.01s;
}

.not-visible {
    display: none !important;
}

.windows-tab {
    border: 2px solid rgba(255, 255, 255, 0.37);
    min-height: 375px;
    height: 600px;
    backdrop-filter: blur(2em);
    min-width: 375px;
    width: 600px;
    position: absolute;
    display: none;
    flex-direction: column;
    border-radius: 0.5em;
    top: 1px;
    left: 1px;
    resize: both;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2)
}

.middle-width-all-height {
    height: 100vh !important;
    width: 50vw !important;
    top: 0px;
    left: 0px;
    transition-duration: 1s;
}

.all-width {
    width: 100% !important;
    transition-duration: 1s;
}

.topnavbar-tab {
    height: 2em;
    flex-shrink: 0;
    width: 100%;
    background: #202020;
    display: grid;
    place-items: center;
    grid-auto-flow: column;
    grid-template-columns: 1fr auto;
    color: white;
}

.top-left-menu-tab {
    display: grid;
    place-items: center;
    grid-auto-flow: column;
}

.top-left-menu-tab svg {
    height: 1em;
    aspect-ratio: 1;
    opacity: 0.5;
    transition-duration: 0.5s;
    pointer-events: none;
}

.top-left-menu-tab div:hover svg {
    transition-duration: 0.3s;
    opacity: 1 !important;
    filter: drop-shadow(0 0 0.1em black);
}

.top-left-menu-tab div {
    height: 2em;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.top-left-menu-tab div:hover {
    background-color: var(--glass-white-color);
}

.top-left-menu-tab div:nth-child(3):hover {
    background-color: rgb(255, 0, 25);
}

#tab-image {
    aspect-ratio: 1;
    width: 40%;
}

#search-content {
    min-height: 40vh;
    height: 100%;
    display: grid;
    place-items: center;
}

#notification-section {
    display: block;
    height: auto;
    max-height: 60vh;
    width: 320px;
    overflow-y: auto;
    backdrop-filter: blur(3em);
    position: fixed;
    right: 1rem;
    transform: translateX(150%);
    bottom: calc(var(--nav-height) + 1rem);
    border-radius: 0.7em;
    background-color: rgba(0, 17, 255, 0.1);
    border: 2px solid var(--glass-white-color);
    font-size: 1em;
    color: white;
    transition-duration: 0.2s;
}

.notification-on {
    transform: translateX(0%) !important;
    transition-duration: 1s;
    transition-timing-function: cubic-bezier(.4, .01, .15, 1.1);
}

@media(max-width: 1500px) {
    #myVideo {
        transform: translatex(16%);
    }
}

@media(max-width:1350px) {
    #myVideo {
        transform: translatex(15%);
    }
}

@media(max-width:1200px) {
    #myVideo {
        transform: translatex(22%);
    }
}

@media(max-width:1270px) {
    #myVideo {
        transform: translatex(18%);
    }
}

@media(max-width:1000px) {
    #myVideo {
        transform: translatex(25%);
    }
}

@media (max-width: 900px) {
    #myVideo {
        transform: translatex(30%);
    }
}

@media(max-width: 800px) {
    #not-mobile-friendly {
        display: grid;
    }
}

/* "About Discordia" și "Contact" trebuie sa fie mereu vizibile, indiferent de
   inaltimea ferestrei — de-aia regulile de mai jos tintesc explicit celelalte
   foldere (pe data-page), nu pozitia lor in grid. */
@media(max-height: 950px) {
    #article-container>[data-page="services"],
    #article-container>[data-page="technologies"] {
        display: none;
    }
}

@media (max-height: 850px) {
    #article-container>[data-page="services"],
    #article-container>[data-page="technologies"],
    #article-container>[data-page="backend"],
    #article-container>[data-page="terminal"] {
        display: none;
    }
}

@media (max-height: 750px) {
    #article-container>[data-page="services"],
    #article-container>[data-page="technologies"],
    #article-container>[data-page="backend"],
    #article-container>[data-page="terminal"],
    #article-container>[data-page="support"],
    #article-container>[data-page="portfolio"] {
        display: none;
    }
}

@media (max-height: 650px) {
    #widget-section .coming-soon-widget {
        font-size: 0.8em;
    }
}

@media (max-height: 600px) {
    #not-mobile-friendly {
        display: grid;
    }
}


/* new code in beta */

#div {
    border: 1px solid #1d75fe;
    background: #1d73fe38;
    display: none;
    position: absolute;
    border-radius: 0.2em;
}

/* ===== DISCORDIA — conținut real în fereastră ===== */
#tab-real-content {
    display: none;
    color: white;
    padding: 1.5em 1.8em;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
}

#tab-real-content h1 {
    font-size: 1.6em;
    font-weight: 600;
    margin: 0 0 0.4em 0;
}

#tab-real-content h3 {
    font-size: 1.05em;
    font-weight: 600;
    margin: 0 0 0.3em 0;
}

#tab-real-content p {
    margin: 0 0 0.8em 0;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
}

#tab-real-content .lead {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

#tab-real-content a {
    color: #6bd3ff;
    text-decoration: none;
}

#tab-real-content a:hover {
    text-decoration: underline;
}

.dc-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8em;
}

.dc-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5em;
    padding: 0.9em 1em;
}

.dc-card p {
    font-size: 0.9em;
    margin: 0;
}

.dc-tech {
    font-weight: 400 !important;
    color: #6bd3ff !important;
    letter-spacing: 0.03em;
}

.dc-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7em;
}

.dc-contact li {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.4em;
    padding: 0.7em 1em;
}

.dc-placeholder {
    opacity: 0.5;
    font-style: italic;
}

/* ===== DISCORDIA — Case Studies ===== */
.dc-case {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5em;
    padding: 1em 1.1em;
    margin-bottom: 0.9em;
}

.dc-case h3 {
    margin-bottom: 0.6em;
}

.dc-case p {
    margin: 0 0 0.4em 0;
    font-size: 0.92em;
}

.dc-problem { color: #ff8a8a; }
.dc-solution { color: #6bd3ff; }
.dc-result { color: #7dffa0; }

/* ===== DISCORDIA — Boot & Login screens ===== */
#dc-boot-screen, #dc-login-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0a0e17;
    color: white;
    font-family: 'Poppins', sans-serif;
    gap: 1.2em;
}

#dc-boot-screen {
    z-index: 10000;
}

#dc-login-screen {
    display: none;
    justify-content: flex-start;
    background:
        linear-gradient(160deg, rgba(4, 10, 25, 0.55), rgba(3, 8, 20, 0.7)),
        url(./images/bg.png) center/cover no-repeat;
    backdrop-filter: none;
    gap: 0;
}

#dc-boot-logo {
    width: 90px;
    height: auto;
    filter: drop-shadow(0 0 1em rgba(107, 211, 255, 0.4));
}

/* Ceas mare sus, ca în Windows */
#dc-login-clock {
    position: absolute;
    top: 12vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

#dc-login-time {
    font-size: 5em;
    font-weight: 600;
    line-height: 1;
}

#dc-login-date {
    font-size: 1.4em;
    font-weight: 400;
    margin-top: 0.2em;
}

/* Zona user, centrată vertical */
#dc-login-user {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8em;
}

#dc-login-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.55);
}

#dc-login-avatar img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}

#dc-login-name {
    font-size: 1.6em;
    font-weight: 500;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

#dc-boot-title {
    font-size: 1.8em;
    font-weight: 500;
    letter-spacing: 0.05em;
}

#dc-boot-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: #6bd3ff;
    border-radius: 50%;
    animation: dc-spin 0.8s linear infinite;
}

@keyframes dc-spin {
    to { transform: rotate(360deg); }
}

#dc-boot-text {
    font-size: 0.9em;
    font-weight: 300;
    opacity: 0.7;
    letter-spacing: 0.03em;
}

#dc-login-btn {
    margin-top: 0.5em;
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.6em 1.6em;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95em;
    color: white;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 2em;
    cursor: pointer;
    backdrop-filter: blur(1em);
    transition: all 0.25s;
}

#dc-login-btn svg {
    transition: transform 0.25s;
}

#dc-login-btn:hover {
    background: rgba(0, 121, 212, 0.9);
    border-color: rgba(107, 211, 255, 0.6);
}

#dc-login-btn:hover svg {
    transform: translateX(3px);
}

.dc-fade-out {
    opacity: 0 !important;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

/* ===== DISCORDIA — Technologies grid ===== */
.dc-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6em;
    margin-top: 0.5em;
}

.dc-tech-badge {
    background: rgba(0, 121, 212, 0.25);
    border: 1px solid rgba(107, 211, 255, 0.4);
    border-radius: 2em;
    padding: 0.4em 1em;
    font-size: 0.9em;
    color: #cce9ff;
}

/* ===== DISCORDIA — Terminal ===== */
#dc-terminal {
    background: rgba(0, 0, 0, 0.55);
    border-radius: 0.4em;
    padding: 1em;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.9em;
    color: #d4d4d4;
    min-height: 100%;
    box-sizing: border-box;
    line-height: 1.5;
}

#dc-terminal-output div {
    margin-bottom: 0.2em;
    word-break: break-word;
}

.dc-term-welcome { color: #6bd3ff; }
.dc-term-response { color: #7dffa0; }
.dc-term-error { color: #ff8a8a; }

.dc-terminal-line {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.dc-prompt {
    color: #6bd3ff;
    white-space: nowrap;
}

#dc-terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #d4d4d4;
    font-family: inherit;
    font-size: inherit;
}

/* ===== DISCORDIA — Browser intern ===== */
#dc-browser {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.4em;
    overflow: hidden;
}

#dc-browser-bar {
    display: flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.5em;
    background: rgba(32, 32, 32, 0.8);
}

.dc-browser-nav {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 2em;
    height: 2em;
    border-radius: 0.3em;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.2s;
}

.dc-browser-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

#dc-browser-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1em;
    padding: 0.4em 1em;
    color: white;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85em;
}

#dc-browser-url::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.dc-browser-go {
    background: #0079d4;
    border: none;
    color: white;
    padding: 0.4em 1em;
    border-radius: 0.3em;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background 0.2s;
}

.dc-browser-go:hover {
    background: #0088ee;
}

#dc-browser-shortcuts {
    display: flex;
    gap: 0.4em;
    padding: 0.4em 0.5em;
    background: rgba(32, 32, 32, 0.5);
    flex-wrap: wrap;
}

.dc-shortcut {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(107, 211, 255, 0.3);
    color: #cce9ff;
    padding: 0.25em 0.8em;
    border-radius: 1em;
    font-size: 0.8em;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background 0.2s;
}

.dc-shortcut:hover {
    background: rgba(0, 121, 212, 0.3);
}

#dc-browser-viewport {
    flex: 1;
    position: relative;
    background: white;
    min-height: 150px;
}

#dc-browser-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

#dc-browser-blocked {
    display: none;
    position: absolute;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8em;
    text-align: center;
    padding: 2em;
    background: #1e202c;
    color: white;
}

#dc-browser-blocked p {
    margin: 0;
    font-size: 0.95em;
}

#dc-browser-external {
    margin-top: 0.5em;
    background: #0079d4;
    color: white;
    padding: 0.6em 1.4em;
    border-radius: 2em;
    text-decoration: none;
    transition: background 0.2s;
}

#dc-browser-external:hover {
    background: #0088ee;
    text-decoration: none;
}

/* ===== DISCORDIA — Catalogs ===== */
.dc-catalog-list {
    display: flex;
    flex-direction: column;
    gap: 0.7em;
    margin-top: 0.8em;
}

.dc-catalog-item {
    display: flex;
    align-items: center;
    gap: 0.9em;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5em;
    padding: 0.8em 1em;
}

.dc-catalog-icon {
    font-size: 1.8em;
}

.dc-catalog-info {
    flex: 1;
}

.dc-catalog-name {
    font-weight: 500;
}

.dc-catalog-meta {
    font-size: 0.8em;
    opacity: 0.6;
}

.dc-catalog-btn {
    background: #0079d4;
    color: white;
    padding: 0.45em 1.1em;
    border-radius: 2em;
    text-decoration: none;
    font-size: 0.85em;
    transition: background 0.2s;
}

.dc-catalog-btn:hover {
    background: #0088ee;
    text-decoration: none;
}

/* ===== DISCORDIA — buton redirect din app-uri ===== */
.dc-goto-services {
    margin-top: 1em;
    padding: 0.6em 1.4em;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
    color: white;
    background: rgba(0, 121, 212, 0.85);
    border: 1px solid rgba(107, 211, 255, 0.5);
    border-radius: 2em;
    cursor: pointer;
    transition: all 0.25s;
}

.dc-goto-services:hover {
    background: #0079d4;
    box-shadow: 0 0 1.2em rgba(107, 211, 255, 0.4);
}

/* ===== DISCORDIA — Search content ===== */
#dc-search-inner {
    padding: 1em 2em;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1em;
}

.dc-search-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 0.5em;
    background: radial-gradient(circle, rgba(0,121,212,0.25), transparent 70%);
    filter: drop-shadow(0 0 1.2em rgba(107,211,255,0.4));
}

#dc-search-inner h3 {
    font-size: 1.5em;
    font-weight: 600;
    margin: 0 0 0.4em 0;
}

#dc-search-inner p {
    opacity: 0.7;
    margin: 0 0 1.4em 0;
    max-width: 340px;
}

.dc-search-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7em;
    max-width: 400px;
    margin: 0 auto;
}

.dc-search-link {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(107, 211, 255, 0.3);
    color: #cce9ff;
    padding: 0.9em 1em;
    border-radius: 0.6em;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
    transition: all 0.2s;
}

.dc-search-link:hover {
    background: rgba(0, 121, 212, 0.3);
    transform: translateY(-2px);
}

/* ===== DISCORDIA — Widget content ===== */
.dc-widget-content {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.3em;
    padding: 0.5em 0.8em;
    color: white;
    font-size: 0.85em;
    height: auto !important;
}

.dc-widget-content strong {
    font-size: 1.05em;
    color: #6bd3ff;
}

.dc-widget-content span {
    opacity: 0.85;
}

.dc-widget-clickable {
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 0.4em;
}

.dc-widget-clickable:hover {
    background: rgba(255, 255, 255, 0.08);
}

.dc-widget-cta {
    color: #6bd3ff !important;
    opacity: 1 !important;
    font-size: 0.85em;
    margin-top: 0.2em;
}

.dc-widget-list span {
    font-size: 0.9em;
    line-height: 1.6;
}

/* ===== DISCORDIA — Notification ===== */
#dc-notif-inner {
    padding: 1.3em 1.4em;
    color: white;
}

#dc-notif-inner strong {
    font-size: 1.15em;
    display: block;
    margin-bottom: 0.6em;
}

#dc-notif-inner p {
    margin: 0.4em 0;
    opacity: 0.85;
    font-size: 0.92em;
    line-height: 1.4;
}

.dc-notif-sub {
    color: #6bd3ff !important;
    opacity: 1 !important;
}

.dc-notif-sub a {
    color: #6bd3ff;
    text-decoration: none;
    white-space: nowrap;
}

/* ===== DISCORDIA — crossfade la comutarea Start <-> Search ===== */
.padding-start,
#search-content {
    transition: opacity 0.15s ease;
}

.dc-view-switching .padding-start,
.dc-view-switching #search-content {
    opacity: 0;
}

/* ===== DISCORDIA — iconiță fereastră minimizată ===== */
#dc-minimized-icon {
    aspect-ratio: 1;
    height: 85%;
    display: grid !important;
    place-content: center;
    border-radius: 0.2rem;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0.2em;
    border-bottom: 2px solid #6bd3ff;
}

#dc-minimized-icon:hover {
    background: rgba(255, 255, 255, 0.15);
}

#dc-minimized-icon img {
    height: 1.2em;
    width: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

/* ===== DISCORDIA — logo în butonul widget din taskbar ===== */
.dc-widget-logo {
    height: 1.4rem;
    width: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

/* ===== DISCORDIA — buton tichet în search ===== */
.dc-search-links {
    grid-template-columns: 1fr !important;
    max-width: 320px;
}

.dc-ticket-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    background: rgba(0, 121, 212, 0.85) !important;
    border: 1px solid rgba(107, 211, 255, 0.5) !important;
    color: white !important;
    padding: 0.7em 1.2em !important;
    font-size: 1em !important;
    font-weight: 500;
    transition: all 0.25s;
}

.dc-ticket-btn:hover {
    background: #0079d4 !important;
    box-shadow: 0 0 1.4em rgba(107, 211, 255, 0.5);
    transform: translateY(-2px);
    text-decoration: none;
}
