/* 1. EN: Font import */
@import url('https://fonts.googleapis.com/css2?family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

/* 2. EN: Root variables */
:root {
    --color-white: #F0F0F0;
    --color-black: #0D0D0D;
}

/* 3. EN: Global resets */
* {
    font-family: 'Sansation', sans-serif; /* CZ: písmo / EN: font */
    margin: 0;                             /* CZ: okraje / EN: margin */
    padding: 0;                            /* CZ: výplně / EN: padding */
    box-sizing: border-box;                /* CZ: box model / EN: box model */
}

/* 4. EN: Body & html */
body, html {
    overflow-x: hidden;        /* CZ: skrýt horizontální scroll / EN: hide horizontal scroll */
    scroll-behavior: smooth;   /* CZ: plynulé rolování / EN: smooth scroll */
    opacity: 1;                /* CZ: průhlednost / EN: opacity */
}

/* 5. EN: Hidden body */
body.hidden {
    opacity: 0;
    transition: opacity 1s linear; /* CZ: plynulý přechod / EN: smooth transition */
}

/* 6. EN: fade up animation */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(50px); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* 7. EN: fade down animation */
@keyframes fadeDown {
    0% { opacity: 1; transform: translateY(0); filter: blur(0); }
    100% { opacity: 0; transform: translateY(50px); filter: blur(10px); }
}

/* 8. EN: Header animation */
@keyframes headerIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 9. EN: Arrow move animation */
@keyframes arrowMove {
    0% { transform: translateX(-6px); }
    100% { transform: translateX(6px); }
}

/* 10. EN: Header icons */
.header-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top: 32px;
    right: 32px;
    display: flex;
    gap: 16px;
    z-index: 1000;
    opacity: 0;
    animation: headerIn 1s ease forwards;
    animation-delay: 1s;
}

/* 11. EN: Service icons */
.service-icons img {
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: block;
    fill: var(--color-white);
    transition: all .5s;
}

.service-icons img:hover {
    transform: scale(1.2);
}

/* 12. EN: Language switch */
.lang-switch-fixed {
    position: fixed;
    top: 32px;
    left: 32px;
    display: flex;
    align-items: center;
    z-index: 1000;
    gap: 8px;
    background: transparent;
    backdrop-filter: blur(4px);
    padding: 4px 4px;
    border-radius: 16px;
    opacity: 0;
    animation: headerIn 1s ease forwards;
    animation-delay: 1s;
}

.lang-text {
    font-weight: bold;
    font-size: 16px;
    color: var(--color-white);
    user-select: none;
}

.lang-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.lang-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.lang-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-white);
    border-radius: 24px;
    border: none;
    transition: 0.4s;
}

.lang-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    background-color: rgba(0, 0, 0, 0.99);
    border-radius: 50%;
    transition: 0.4s;
}

.lang-switch input:checked + .lang-slider {
    background-color: var(--color-black);
}

.lang-switch input:checked + .lang-slider:before {
    transform: translateX(24px);
    background-color: var(--color-white);
}

/* 13. EN: Header */
header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 128px;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    opacity: 0;
    animation: headerIn 1s ease forwards;
    animation-delay: 1s;
}

header svg {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%) scale(0.4);
    transform-origin: top center;
    width: 100%;
    height: auto;
    z-index: 1;
}

header svg path { fill: var(--color-black); fill-opacity: 0.25; }

/* 14. EN: Navigation wrapper */
.nav-wrapper {
    position: relative;
    z-index: 2;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 16px;
}

.nav-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-side a {
    position: relative;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
    font-variant: small-caps;
    font-size: 24px;
}

.nav-side a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 100%;
    height: 4px;
    border-radius: 20px;
    background-color: var(--color-white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.nav-side img {
    display: none;
    width: 20px;
    height: 20px;
    fill: var(--color-white);
    margin-top: -16px;
    transition: .3s;
}

.nav-side img:hover {
    transform: scale(1.1);
}

.nav-side a:hover::after { transform: scaleX(1); }
.nav-side a:not(:hover)::after { transform: scaleX(0); transform-origin: right; }

/* 15. EN: Logo header */
.logo-header {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
}

.logo-header img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: .5s;
}

.logo-header img:hover {
    transform: scale(1.1);
}

/* 16. EN: Sections */
.video-section, .cards-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cards-section { display: flex; }

.card {
    position: relative;
    flex: 1;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: filter 0.5s;
}

.card::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    box-shadow: inset 0 0 0 rgba(255, 255, 255, 0);
    transition: box-shadow 0.5s;
    pointer-events: none;
}

.card:hover::after { box-shadow: inset 0 0 32px rgba(255,255,255,0.9); }
.card:hover { filter: brightness(90%); }

.card-1 { background-image: url(../assets/img/card-1.png); }
.card-2 { background-image: url(../assets/img/card-2.png); }
.card-3 { background-image: url(../assets/img/card-3.png); }

/* 17. EN: Card content */
.card-content {
    text-align: center;
    color: var(--color-white);
    height: 80%;
    font-variant: small-caps;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.card-content ul {
    height: 100%;
    transform: translateY(10%);
}

.card-content li {
    list-style: none;
    opacity: 0;
    transform: translateY(50px);
    letter-spacing: 10px;
    font-size: 48px;
    color: var(--color-white);
    transition: opacity 0.5s, transform 0.5s;
}

.card-content.visible li{ animation: fadeUp 1s forwards; }
.card-content.hidden li{ animation: fadeDown 1s forwards; }

.card-content.animate li:nth-child(1) { animation-delay: 0s; }
.card-content.animate li:nth-child(2) { animation-delay: 0.2s; }
.card-content.animate li:nth-child(3) { animation-delay: 0.4s; }
.card-content.animate li:nth-child(4) { animation-delay: 0.6s; }
.card-content.animate li:nth-child(5) { animation-delay: 0.8s; }
.card-content.animate li:nth-child(6) { animation-delay: 1s; }

/* 18. EN: Footer */
footer {
    background: var(--color-black);
    padding: 32px 16px;
    display: flex;
    justify-content: center;
}

footer .inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    position: relative;
}

.footer-left, .footer-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.footer-left { justify-content: flex-start;}
.footer-right { justify-content: flex-end;}

.footer-left a, .footer-right a {
    position: relative;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
    font-variant: small-caps;
    font-size: 32px;
    transition: all .5s ease;
}

.footer-left a:hover,
.footer-right a:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px var(--color-white));
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.logo-wrapper {
    position: relative;
    width: 128px;
    height: 128px;
}

.logo-footer {
    width: 128px;
    height: 128px;
    cursor: pointer;
    transition: .5s;
}

.logo-footer:hover {
    transform: scale(1.1);
}

.icons-left, .icons-right {
    position: absolute;
    top: 50%;
    display: flex;
    gap: 96px;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 1.5s ease;
}

.icons-left a:hover img,
.icons-right a:hover img {
    transform: scale(1.2);
    filter: brightness(0) invert(1) drop-shadow(0 0 20px var(--color-white));
}

.icons-left { left: -256px; }
.icons-right { right: -256px; }

.icons-left a img,
.icons-right a img { width: 32px; height: 32px; display: block; filter: brightness(0) invert(1); transition: all .5s ease; }

.logo-wrapper:hover .icons-left,
.logo-wrapper:hover .icons-right { opacity: 1;}

.footer-copy {
    margin-top: 10px;
    color: #555;
    font-size: 14px;
    text-align: center;
}

/* 19. EN: Carousel */
.carousel {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: var(--color-black);
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(90%);
    transition: opacity 1.2s ease-in-out;
    opacity: 0;
}

.carousel-img:first-child {
    opacity: 1;
}

.carousel-title {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 1024px;
    height: 128px;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: headerIn 1s ease forwards;
    animation-delay: 1s;
    z-index: 3;
}

.carousel-title img {
    width: 100%;
    height: 100%;
    filter: brightness(130%);
    background-position: center;
    background-size: cover;
    cursor: pointer;
    transition: .5s;
}

.carousel-title img:hover {
    transform: scale(1.1);
}

/* 20. EN: Video car section */
.video-car-section {
    width: 100vw;
    height: 100vh;
    display: flex;
    background-color: var(--color-black);
}

.specs-column {
    position: relative;
    width: 20%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-right: 2px solid var(--color-white);
}

.separator {
  width: 60%;
  height: 4px;
  background: var(--color-white);
  border-radius: 8px;
  margin: 20px auto;
}

.spec {
    display: flex;
    flex-direction: column;
    color: var(--color-white);
    position: relative;
    padding: 20px 0px;
    text-align: center;
    align-items: center;
}

.spec-title {
    font-variant: small-caps;
    font-weight: 900;
    font-size: 32px;
}

.spec-value {
    font-size: 48px;
    font-weight: bold;
    margin-top: 8px;
}

.video-wrapper {
    width: 80%;
    height: 100%;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 21. EN: Info section */
.info-section {
    display: flex;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: var(--color-black);
    color: var(--color-white);
}

.info-section.reverse {
    background-color: var(--color-white);
    color: var(--color-black);
    flex-direction: row-reverse;
}

.text-info {
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 40px 0px 40px;
}

.text-info h2 {
    font-size: 48px;
    margin-bottom: 64px;
}

.text-info p {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.info-image {
    width: 25%;
    height: 100%;
    overflow: hidden;
}

.info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 22. EN: Scroll indicators */
.scroll-indicators {
    position: fixed;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 9999;
    opacity: 0;
    animation: headerIn 1s ease forwards;
    animation-delay: 1s;
}

.indicator {
    width: 8px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: 0.5s;
    cursor: pointer;
}

.indicator.active {
    background: var(--color-white);
}

/* 23. EN: Model overlays */
.model-choice-overlay {
    position: fixed;
    display: none;
    width: 100vw;
    height: 100vh;
    z-index: 3000;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8)
}

.model-choice-overlay.active {
    display: flex;
}

.model-overlay {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    margin-top: 64px;
    width: 75%;
    height: 75%;
    border-radius: 32px;
    background-color: rgba(0, 0, 0, 0.6);
    transition: .5s;
}

.model-overlay:hover {
    box-shadow: 0 0 48px rgba(255,255,255,0.8);
}

.card-of-model {
    width: 25%;
    height: 80%;
    filter: brightness(50%);
    border-radius: 32px;
    transition: .5s;
    background-size: cover;
    background-position: center;
}

.card-of-model:hover {
    transform: scale(1.45);
    filter: brightness(150%);
    box-shadow: 0 0 16px rgba(255,255,255,0.8);
}

/* 24. EN: Config panel */
.config-panel {
    position: fixed;
    top: 0;
    right: 0px;
    width: 480px;
    height: 100vh;
    background: rgba(13, 13, 13, .7);
    transition: right 1s ease;
    z-index: 1000;
}

.panel-scroll {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
}

.panel-handle {
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 96px;
    background: rgba(13, 13, 13, .7);
    border-radius: 8px 0 0 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
}

.panel.open .panel-handle {
    left: 0;
    border-radius: 0 8px 8px 0;
}

.panel-handle p {
    font-variant: small-caps;
    font-size: 20px;
    color: var(--color-white);
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: upright;
    cursor: pointer;
}

.config-panel-title {
    font-size: 48px;
    color: var(--color-white);
    font-variant: small-caps;
    text-shadow: 0 0 8px var(--color-white);
}

.config-panel-divider {
    width: 90%;
    height: 2px;
    flex-shrink: 0;
    border-radius: 16px;
    background-color: var(--color-white);
    margin-top: 48px;
    margin-bottom: 48px;
    box-shadow: 0 0 16px var(--color-white);
}

.panel-option-divider {
    width: 90%;
    height: 1px;
    border-radius: 8px;
    background-color: var(--color-white);
    margin-top: 32px;
    margin-bottom: 32px;
    box-shadow: 0 0 8px var(--color-white);
}

.panel-models-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    width: 100%;
}

.panel-model-card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-white);
    border-radius: 16px;
    width: 128px;
    height: 128px;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: .5s;
}

.panel-model-card:hover{
    box-shadow: 0 0 16px var(--color-white);
}

.panel-model-name {
    position: relative;
    color: var(--color-white);
    font-variant: small-caps;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0;
    transition: 0.5s;
    z-index: 3;
}

.panel-model-card::after {
    content: "";
    position: absolute;
    width: 128px;
    height: 128px;
    border-radius: 16px;
    inset: 0;
    background: rgba(0, 0, 0, 0.0);
    transition: .5s;
    z-index: 2;
}

.panel-model-card:hover::after {
    background: rgba(0,0,0,0.75);
}

.panel-model-card:hover .panel-model-name {
    opacity: 1;
    text-shadow: 0 0 12px var(--color-white);
}

/* 25. EN: Panel options */
.panel-options-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.option-title,
.color-title {
    font-size: 32px;
    font-variant: small-caps;
    color: var(--color-white);
    margin-bottom: 32px;
}

.option-select {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.option-value {
    display: flex;
    background-color: var(--color-black)ce;
    width: 100%;
    height: 96px;
    border-radius: 32px;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: .5s;
    overflow: hidden;
}

.option-value:hover {
    border: 2px solid var(--color-white);
    box-shadow: 0 0 12px rgba(255, 255, 255, .75);
}

.option-value.active {
    background-color: #2b9421;
    border: 2px solid var(--color-white);
    box-shadow: 0 0 12px rgba(255, 255, 255, .75);
}

.option-text {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    width: 70%;
    height: 100%;

}

.option-price {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    height: 100%;
    font-size: 14px;
    border-top-right-radius: 32px;
    border-bottom-right-radius: 32px;
    border-left: 1px solid var(--color-white);
}

.panel-colors-container {
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}

.color-column-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-direction: row;
}

.color-option {
    width: 128px;
    height: 128px;
    border-radius: 32px;
    background-size: cover;
    background-position: center;
    transition: .5s;
    border: 1px solid none;
}

.color-option:hover {
    border: 1px solid var(--color-white);
    box-shadow: 0 0 12px var(--color-white);
}

.color-option.active {
    border: 1px solid #2ae01a;
    box-shadow: 0 0 12px #2ae01a;
}

/* 26. EN: Price calculation */
.price-calc-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.title-price {
    display: flex;
    width: 90%;
    align-items: center;
    justify-content: space-between;
    color: var(--color-white);
    margin-bottom: 16px;
}

.title-calc {
    display: flex;
    font-size: 18px;
    font-variant: normal;
}

.price-calc {
    display: flex;
    font-size: 18px;
    font-variant: small-caps;
}

.total-price-calc {
    font-size: 24px;
    color: var(--color-white);
    font-variant: small-caps;
    font-weight: 700;
    text-shadow: 0 0 4px var(--color-white);
}

/* 27. EN: Panel buttons */
.panel-buttons-box {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 24px;
}

.panel-button {
    font-size: 20px;
    font-weight: 700;
    font-variant: small-caps;
    padding: 15px 30px;
    border-radius: 20px;
    transition: .3s;
}

.panel-button:hover {
    transform: scale(1.1);
    text-shadow: 0 0 8px var(--color-white);
}

.panel-exit-btn,
.panel-reset-btn {
    color: var(--color-white);
    background-color: var(--color-black);
    border: 1px solid var(--color-white);
}

.panel-exit-btn:hover,
.panel-reset-btn:hover {
    box-shadow: 0 0 12px var(--color-white);
}

.panel-buy-btn {
    color: var(--color-black);
    background-color: var(--color-white);
    transition: all .3s;
    border: 1px solid var(--color-white);
}

.panel-buy-btn:hover {
    background-color: #2b9421;
    color: var(--color-white);
    box-shadow: 0 0 24px #2b9421;
}

/* 28. EN: Configurate section */
.configurate {
    height: 100vh;
    width: 100vw;
}

.controllers-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    bottom: 16px;
    left: 16px;
    z-index: 50;
}

.controllers-rows {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.controller-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 32px;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: all;
    opacity: 0;
    animation: headerIn 1s ease forwards;
    animation-delay: 1s;
}

.controller-icon img {
    width: 24px;
    height: 24px;
    border-radius: 24px;
    fill: var(--color-white);
    z-index: 1;
    transition: filter .5s ease;
}

.controller-icon.active img {
    filter: 
        brightness(0)
        saturate(100%)
        invert(73%)
        sepia(90%)
        saturate(500%)
        hue-rotate(70deg)
        drop-shadow(0 0 8px #2ae01a);
}

.controller-icon.active img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px var(--color-white));
}

.controller-icon img:hover{
    filter: drop-shadow(0 0 8px #2ae01a);
}

.controller-icon:hover {
    cursor: pointer;
}

.configurate video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.v3d {
    width: 100%;
    height: 100%;
    pointer-events: auto;
    position: relative;
}

/* 29. EN: Preloader */
.preloader {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-black);
  z-index: 2;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255,255,255,0.2);
  border-top-color: var(--color-white)fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* 30. EN: 3D card section */
.threeD-card-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100vh;
    transition: opacity 0.5s ease;
}

.threeD-card-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../assets/hdr/sky.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.75);
    z-index: -1;
}

.threeD-card {
    margin-top: 128px;
    width: 30%;
    height: 75%;
    backdrop-filter: blur(4px);
    transition: 0.5s;
}

.threeD-card:hover {
    box-shadow: 0 0 64px 16px rgba(255, 255, 255, .5);
}

.threeD-card-hg {
    height: 80%;
    width: 100%;
    position: relative;
}


.rotate-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hint-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-white);
    margin-bottom: 4px;
}

.hint-arrow {
    font-size: 24px;
    color: var(--color-white);
    display: inline-block;
    animation: arrowMove 1s infinite alternate;
}

.threeD-card-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: default;
    height: 20%;
    background-color: rgba(0, 0, 0, .1);
    color: var(--color-white);
}

.card-lg-divider {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 80%;
    height: 4px;
    background-color: var(--color-white);
    box-shadow: 0 0 8px var(--color-white);
    border-radius: 8px;
    margin: 8px;
}

.lg-h1 {
    font-size: 64px;
    font-variant: small-caps;
    position: relative;
    text-align: center;
}

.lg-p {
    font-size: 32px;
}

/* 31. EN: Forms & auth */
.global-reg-auth-forgot-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-reg-auth-forgot-container video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    filter: brightness(90%);
}

.reg-auth-forgot-container {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 16px;
    transform: translate(-50%, -50%);
    width: 480px;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 2px solid var(--color-white);
    border-radius: 24px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.reg-auth-title,
.forgot-reset-title {
    color:var(--color-white);
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 32px;
    text-align: center;
}

.switch-forms {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    opacity: 0;
    transform: translateX(40px);
    pointer-events: none;
    transition: 
        opacity .8s ease,
        transform .8s ease;
}

.name-row {
    display: flex;
    gap: 16px;
}

.switch-forms div {
    position: relative;
    width: 100%;
}

.switch-forms label img {
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    fill: var(--color-white);
    pointer-events: none;
    transition: all 0.3s ease;
}

.switch-forms input {
    width: 100%;
    padding: 12px 12px 12px 48px;
    border-radius: 12px;
    border: 1px solid var(--color-white);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.switch-forms input:focus {
    border-color: var(--color-white);
    box-shadow: 0 0 12px rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.08);
}

.switch-forms.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}

.reg-auth-forgot-container p {
    margin-top: 16px;
    text-align: center;
    font-size: 16px;
    color: var(--color-white);
}

.reg-auth-forgot-container p span {
    color: var(--color-white);
    text-decoration: underline;
    transition: all 0.3s ease;
    cursor: pointer;
}

.reg-auth-forgot-container p span:hover {
    text-shadow:  0 0 12px var(--color-white);
}

.auth-form a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-decoration: none;
    color: var(--color-white);
    font-weight: 700;
    font-size: 16px;
    transition: .7s;
}

.auth-form a:hover{
    color: var(--color-black);
    text-decoration: underline;
}

.reg-submit-btn,
.forgot-reset-submit-btn {
    width: 100%;                              
    padding: 14px;                           
    border-radius: 14px;                         
    border: 1px solid var(--color-white);                   
    background: rgba(255, 255, 255, 0.10);    
    color: var(--color-white);                  
    font-size: 16px;     
    font-weight: 600;       
    text-transform: uppercase;  
    cursor: pointer;          
    transition: all 0.3s ease;                 
    backface-visibility: hidden;     
}            

.reg-submit-btn:hover,
.forgot-reset-submit-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.7);
}

.form-remember {
    position: relative;
    display: flex;
    align-items: center;
}

.remember-input {
    all: unset !important;
    width: 16px;
    height: 16px;
    cursor: pointer;
    position: relative;
}

.remember-label {
    all: unset;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    cursor: pointer;
    position: relative;
    padding-left: 24px;
    transition: .7s;
}

.remember-label:hover {
    color: black;
}

.remember-label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid var(--color-white);
    background-color: transparent;
    transition: .5s;
}

.remember-label::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    width: 16px;
    height: 16px;
    fill: var(--color-white);
    background-image: url(../assets/icons/check-icon.svg);
    background-size: 16px 16px;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0;
    transition: opacity .5s;
}

.remember-input:checked + .remember-label::before {
    background-color: var(--color-black);
    border: 1px solid var(--color-black)
}

.remember-input:checked + .remember-label::after {
    opacity: 1;
}

.forgot-reset-forms {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.forgot-reset-forms div {
    position: relative;
    width: 100%;
}

.forgot-reset-forms label img {
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    fill: var(--color-white);
    pointer-events: none;
    transition: all 0.3s ease;
}

.forgot-reset-forms input {
    width: 100%;
    padding: 12px 12px 12px 48px;
    border-radius: 12px;
    border: 1px solid var(--color-white);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.forgot-reset-forms input:focus {
    border-color: var(--color-white);
    box-shadow: 0 0 12px rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.08);
}

.errors, .success {
    color: var(--color-white);
    padding: 12px;
    border-radius: 12px;
    font-size: 16px;
}

/* 32. EN: Profile */
.profile-main {
    width: 100vw;
    min-height: 100vh;
    background-color: var(--color-black);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.profile-main video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    filter: brightness(50%);
}

.profile-tabs-container {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 15vh;
    z-index: 1;
}

.profile-tabs {
    display: flex;
    gap: 8px;
}

.profile-tab {
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 900;
    border-radius: 8px 8px 0 0;
    color: var(--color-white);
    background-color: var(--color-black);
    transition: 0.3s;
}

.profile-tab.active {
    background-color: var(--color-white);
    color: var(--color-black);
}

.profile-container {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.profile-tab-content {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    background: transparent;
    box-sizing: border-box;
}

.profile-tab-content.active {
    display: flex;
}

.profile-user-info {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    margin-top: 20vh;
    gap: 32px;
    align-items: center;
}

.profile-info-fields,
.profile-password-form {
    width: 512px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.profile-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #444;
}

.profile-info-label { font-weight: 600; }
.profile-info-value { font-weight: 400; }

.profile-field-actions {
    display: flex;
    gap: 8px;
}

.profile-edit-icon,
.profile-confirm-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.profile-edit-icon {
    opacity: 0;
    margin-left: 8px;
}

.profile-info-row:hover .profile-edit-icon {
    opacity: 1;
}

.profile-info-input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #555;
    border-radius: 6px;
    background-color: var(--color-black);
    color: var(--color-white);
}

.profile-password-form input {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #555;
    background-color: var(--color-black);
    color: var(--color-white);
}

.profile-password-form button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    background-color: var(--color-white);
    color: var(--color-black);
    cursor: pointer;
    transition: 0.3s;
}

.profile-password-form button:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}
.profile-orders-table {
    width: 95%;
    border-collapse: collapse;
    color: var(--color-white);
    margin-top: 32px;
}

.profile-orders-table th,
.profile-orders-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #444;
}

.profile-orders-table th {
    background-color: #222;
    font-weight: 700;
}

.profile-orders-table tr:hover {
    background-color: #333;
}

.pagination {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination button {
    padding: 12px 16px;
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 4px;
    font-size: 20;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.pagination button.active {
    background: var(--color-white);
    color: var(--color-black);
}

.order-status-select {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #555;
    background-color: var(--color-black);
    color: var(--color-white);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.order-status-select:hover {
    background-color: #222;
}

.order-status-select:focus {
    outline: none;
    border-color: var(--color-white);
}

/* 33. EN: Order page */
.order-page-wrapper {
    display: flex;
    justify-content: center;
    background: var(--color-white);
    padding: 80px 0;
}

.order-card {
    width: 75%;
    background: var(--color-black);
    padding: 60px;
    border-radius: 20px;
    color: var(--color-white);
    transition: .5s;
}

.order-card:hover {
    box-shadow: 0 48px 96px rgba(0,0,0,0.75);
}

.order-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 32px;
}

.order-status {
    text-align: center;
    font-variant: small-caps;
    font-size: 32px;
    font-weight: 800;
    color: rgba(197, 30, 30, 0.9);
    margin-bottom: 64px;
}

.order-divider {
    height: 2px;
    background: var(--color-black);
    border-radius: 4px;
    margin: 50px 0;
}

.order-section {
    margin-bottom: 20px;
}

.centered-section {
    text-align: center;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin: 32px 0px 32px 0px;
}

.car-info div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 18px;
}
.car-info strong {
    font-size: 24px;
    font-weight: 700;
}

.car-info p {
    font-size: 18px;
    font-weight: 500;
}

.order-specs-list,
.order-color-list {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.spec-row,
.color-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 16px;
}

.spec-price {
    font-weight: 600;
}

.order-color-preview {
    width: 80%;
    height: 240px;
    margin: 30px auto 0 auto;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
}

.order-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.order-btn {
    padding: 12px 28px;
    background: var(--color-black);
    border: 1px solid #222;
    font-size: 18px;
    font-variant: small-caps;
    font-weight: 700;
    color: var(--color-white);
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s ease;
    text-decoration: none;
}

.order-btn:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.gallery-content {
    position: relative;
    width: 80vw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.gallery-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 48px;
    color: var(--color-white);
    cursor: pointer;
    transition: 0.2s;
    z-index: 10;
    user-select: none;
}

.gallery-prev {
    left: 16px;
}

.gallery-next {
    right: 16px;
}

.gallery-prev:hover,
.gallery-next:hover {
    text-shadow: 0 0 16px var(--color-white);
}

.order-buy-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.order-buy-submit video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    filter: brightness(50%);
}

.order-info-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 96px;
    width: 60%;
    height: 80%;
    border-radius: 32px;
    background-color: transparent;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 16px var(--color-white);
    transition: .3s;
}

.order-info-container:hover {
    box-shadow: 0 0 32px var(--color-white);
}

.order-steps {
    display: flex;
    justify-content: space-between;
    width: 60%;
    padding: 16px 16px;
    font-size: 18px;
}

.step {
    color: rgba(255,255,255,0.4);
    transition: .3s;
}

.step:hover {
    cursor: pointer;
}

.step.active {
    color: var(--color-white);
}

.order-content {
    display: flex;
    align-items: center;
    flex: 1;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    border-top: 1px solid rgba(255, 255, 255, .5);
}

.step-content {
    display: none;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.step-content.active {
    display: flex;
}

.info-block {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    width: 100%;
    height: 80%;
    padding: 16px 0px 16px 0px;
}

.order-buttons {
    display: flex;
    justify-content: space-between;
    width: 50%;
    padding: 8px;
}

.order-buttons button {
    padding: 12px 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
}

.info-order-options,
.info-order-colors,
.info-address {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.order-row,
.address-row {
    display: flex;
    padding: 8px;
    align-items: center;
    gap: 8px;
    flex-direction: column;
    position: relative;
}

.option-order-title {
    font-size: 18px;
    color: var(--color-white);
}

.option-order-price {
    font-size: 20px;
    color: var(--color-white);
}

.order-colors-preview {
    display: flex;
    flex-direction: row;
    gap: 32px;
}

.preview-order-color {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
}

.order-total-price {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-white);
    text-shadow: 0 0 8px var(--color-white);
    width: 100%;
    height: 20%;
}

.order-row::after,
.address-row::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: var(--color-white);
    box-shadow: 0 0 4px var(--color-white);
}

.content-of-form {
    align-items: center;
}

.order-form {
    width: 70%;
    opacity: 1;
    pointer-events: all;
    gap: 32px;
    transform: translateX(0px);
}

.order-confirm {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3;
    background-color: var(--color-black);
}

.order-confirm.active {
    display: flex;
}

.order-confirm h1 {
    font-size: 48px;
    color: #2b9421;
}
