:root {
    --bg-dark: #000000;
    --text-white: #ffffff;
    --text-muted: #888888;
    --accent: #ffffff;
    --font-family: 'Public Sans', sans-serif;
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-family);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#live-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    transition: opacity 1s ease;
}

.vignette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, #000000 100%);
    pointer-events: none;
    z-index: -1;
}

.navbar {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4rem;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    z-index: 100;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 100px;
    height: auto;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.wizard-steps {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 600;
}

.step-dot.active {
    background: white;
    color: black;
    border-color: white;
}

.step-line {
    width: 25px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.app-container {
    max-width: 1400px;
    min-height: 930px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    overflow: hidden;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.6s ease-out;
}

.wizard-step.active {
    display: block;
}

#step-2 .form-container, #step-3 .form-container, #step-4 .form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    text-align: center;
    margin-bottom: 4rem;
}

.step-header h1 {
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.step-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: center;

    @media (max-width: 991px) {
        height: auto;
    }
}

.carousel-scene {
    width: 100%;
    height: 100%;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel {
    position: relative;
    width: 450px;
    height: 340px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);

    @media (max-width: 991px) {
        height: 220px;
    }
}

.carousel-card {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    /*background: #0a0a0a;*/
    border: none;
    border-radius: 40px;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.3;
    filter: grayscale(1);
    overflow: hidden;
    cursor: pointer;
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;

    @media (max-width: 991px) {
        object-fit: scale-down;
        /*object-position: top;*/
    }
}

.carousel-card.active {
    opacity: 1;
    filter: grayscale(0);
    border: none;
    z-index: 10;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;

    @media (max-width: 991px) {
        /*top: auto;*/
        /* bottom: 0;*/
        /* transform: none;*/
    }

    &.left {
        @media (max-width: 991px) {
            left: -40px!important;
        }
    }
    &.right {
        @media (max-width: 991px) {
            right: -40px!important;
        }
    }

    @media (hover: hover) {
        &:hover {
            background: white;
            color: black;
            border-color: white;
        }
    }
}

.nav-arrow.left {
    left: 40px;
}

.nav-arrow.right {
    right: 40px;
}

.selection-info {
    text-align: center;
    margin-top: 2.5rem;
}

.selection-info h2 {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.badge {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: black;
    background: white;
    font-weight: 800;
}

.identity-zone {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 3rem;
    justify-content: center;
}

.input-block label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    display: block;
    margin-bottom: 10px;
}

.input-wrapper, .upload-box {
    border: 1px solid var(--border-color);
    height: 140px;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.input-wrapper input {
    background: transparent !important;
    border: none;
    color: white;
    padding: 10px;
    width: 80%;
    outline: none;
}

.input-wrapper input:-webkit-autofill {
    -webkit-text-fill-color: white;
    -webkit-box-shadow: 0 0 0px 1000px black inset;
    transition: background-color 5000s ease-in-out 0s;
}

.product-section {
    margin-top: 2rem;
    width: 100%;
    max-width: 630px;
}

.product-section .upload-box {
    width: 100%;
}

.product-section label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    display: block;
    margin-bottom: 10px;
}

.nav-button-container {
    /*position: fixed;*/
    margin-top: 50px;
    bottom: 40px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1000;
}

.nav-button-container button {
    pointer-events: auto;
}

.step-actions.center-action {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.btn-primary, .btn-confirm, .btn-secondary {
    /*background: white;*/
    /*color: black;*/
    padding: 20px 50px;
    /*border: none;*/
    /*cursor: pointer;*/
    /*font-size: 0.85rem;*/
    /*text-transform: uppercase;*/
    /*font-weight: 800;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*gap: 15px;*/

    border: 1px solid white;
    /*padding: 5px 10px;*/
    color: var(--white);
    transition: all 0.3s ease;
    background: transparent;

    font-weight: 700;
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 26px;
    font-family: "Gustavo", sans-serif;
    font-size: 16px;
    line-height: 1.4;

    @media (hover: hover) {
        &:hover {
            color: var(--black);
            background-color: var(--white);
        }
    }
}

/*.btn-secondary {*/
/*    background: transparent;*/
/*    border: 1px solid var(--border-color);*/
/*    color: var(--text-white);*/
/*    padding: 20px 40px;*/
/*    cursor: pointer;*/
/*    font-weight: 800;*/
/*    font-size: 0.85rem;*/
/*    text-transform: uppercase;*/
/*}*/

.context-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
}

.context-input-wrapper input {
    width: 100%;
    padding: 30px;
    background: transparent !important;
    border: 1px solid var(--border-color);
    color: white;
    font-size: 0.9rem;
    text-align: center;
    outline: none;
}

.context-input-wrapper input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px black inset !important;
    -webkit-text-fill-color: white !important;
}

.preview-card img {
    width: 100%;
    max-width: 1000px;
    border: 1px solid var(--border-color);
    margin: 0 auto;
    display: block;
}

.or-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.7rem;
}

.or-divider .line {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.dimmed {
    opacity: 0.3;
    pointer-events: none;
}

.d-none {
    display: none !important;
}

.large-url-style {
    width: 100% !important;
    max-width: 800px !important;
}

.large-url-style .input-wrapper {
    width: 100% !important;
    max-width: 800px !important;
    height: auto !important;
}

.large-url-style .input-wrapper input {
    width: 100% !important;
    padding: 30px !important;
    text-align: center !important;

    line-height: 26px;
    font-family: "Gustavo", sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.large-url-style .input-icon {
    display: none !important;
}

/* Result Screen Styles */
.result-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.final-actions {
    width: 100%;
    max-width: 600px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.email-gate label {
    display: block;
    margin-bottom: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.email-row {
    display: flex;
    border: 1px solid var(--border-color);
}

.email-row input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 15px;
    outline: none;
}

.btn-send {
    background: white;
    color: black;
    border: none;
    padding: 0 25px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.restart-btn {
    align-self: center;
}

.status-msg {
    margin-top: 10px;
    color: #4CAF50;
    font-size: 0.8rem;
}

/* Loader Styles */
.loading-view {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.video-loader-container {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #0a0a0a;
    border: none;
    overflow: hidden;
}

#loadingVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PROTECTION STYLES */
.protection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: transparent;
}

#finalImage {
    user-select: none;
    -webkit-user-drag: none;
}