* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #000000 0%, #080808 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-icon img {
    width: 24px;

    /* adjust as needed */
    height: 24px;

    /* adjust as needed */
    vertical-align: middle;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(8, 8, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #303034;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;

    /* prevent nav items from wrapping if using flex for other items */
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;

    /* prevents the text from breaking to next line */
    flex: 0 0 auto;

    /* don't let the logo shrink */
}

.logo-icon {
    width: 40px;

    /* requested size */
    height: auto;

    /* preserve aspect ratio */
    display: block;

    /* removes inline-gap issues */
    object-fit: contain;

    /* prevents distortion inside the box */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    /* space between image and text */
    white-space: nowrap;

    /* keep text on one line */
}

.logo-icon img {
    width: 100px;
    height: auto;

    /* keeps image proportional */
}

.logo-text {
    display: inline-block;
    white-space: nowrap;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;

    /* optional: scales with viewport */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #b0b0b8;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #facc15;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    transition: width 0.3s ease;
}

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

.login-btn {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(250, 204, 21, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(250, 204, 21, 0.4);
}

/* Steps */
.step {
    display: none;
    min-height: 100vh;
    padding-top: 80px;
    animation: fadeIn 0.8s ease;
}

.step.active {
    display: block;
}

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

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

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

.hero-left {
    animation: slideInLeft 1s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

.version-tag {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #25200e 0%, #30270f 100%);
    color: #facc15;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid #665525;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.title-main {
    display: block;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    color: #e4e4e7;
    font-size: 3rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.25rem;
    color: #b0b0b8;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.cta-button {
    position: relative;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 4rem;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(250, 204, 21, 0.4);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover .button-glow {
    left: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: #111113;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #232326;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #facc15;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #b0b0b8;
    font-weight: 500;
}

/* Hero Visual */
.hero-right {
    position: relative;
    height: 500px;
    animation: slideInRight 1s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-character {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: floatCharacter 4s ease-in-out infinite;
}

.character-img {
    height: 50vh;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(250, 204, 21, 0.3));
}

@keyframes floatCharacter {
    0%,
    100% {
        transform: translateX(-50%) translateY(0px);
    }

    50% {
        transform: translateX(-50%) translateY(-15px);
    }
}

.status-badge {
    position: absolute;
    background: #111113;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #232326;
    animation: float 3s ease-in-out infinite;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.badge-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.badge-2 {
    top: 35%;
    right: 5%;
    animation-delay: 0.5s;
}

.badge-3 {
    bottom: 35%;
    left: 5%;
    animation-delay: 1s;
}

.badge-4 {
    bottom: 15%;
    right: 15%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fde68a;
    animation: pulse-dot 2s ease-in-out infinite;
}

.status-dot.live {
    background: #fde68a;
    box-shadow: 0 0 10px rgba(253, 230, 138, 0.5);
}

@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.status-text {
    color: #fde68a;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.badge-icon {
    font-size: 1rem;
}

.badge-text {
    color: #e4e4e7;
    font-weight: 600;
    white-space: nowrap;
}

.main-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
}

.visual-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    opacity: 0.1;
    animation: pulse 2s ease-in-out infinite;
}

.visual-pulse {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-radius: 50%;
    border: 2px solid #facc15;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

/* Partners */
.partners {
    padding: 4rem 0;
    text-align: center;
}

.partners-label {
    color: #b0b0b8;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner {
    color: #92929c;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.partner:hover {
    color: #facc15;
    opacity: 1;
    transform: scale(1.05);
}

/* Form Section */
.form-section {
    max-width: 600px;
    margin: 4rem auto;
    padding: 3rem;
    background: #111113;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #232326;
    animation: slideInUp 0.8s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-logo {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 30px rgba(250, 204, 21, 0.3);
    background-image: url('img/icon.png');
    background-size: cover;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.form-subtitle {
    color: #b0b0b8;
    font-size: 1.125rem;
}

.input-section {
    margin-bottom: 2rem;
}

.input-label {
    display: block;
    font-weight: 600;
    color: #e4e4e7;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #303034;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #0b0b0d;
}

.form-input:focus {
    outline: none;
    border-color: #facc15;
    background: #111113;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.input-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #facc15, #eab308);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.form-input:focus + .input-glow {
    opacity: 0.1;
}

.platform-section {
    margin-bottom: 3rem;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.platform-card {
    padding: 1.5rem;
    background: #0b0b0d;
    border: 2px solid #303034;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.platform-card:hover {
    background: #111113;
    border-color: #facc15;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.15);
}

.platform-card.selected {
    background: linear-gradient(135deg, #25200e 0%, #30270f 100%);
    border-color: #facc15;
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.2);
}

.platform-icon {
    font-size: 2rem;
}

.platform-name {
    font-weight: 600;
    color: #e4e4e7;
    font-size: 16px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.continue-button {
    flex: 1;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-button:disabled {
    background: #303034;
    cursor: not-allowed;
}

.continue-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.3);
}

.back-button {
    color: #b0b0b8;
    background: none;
    border: none;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.back-button:hover {
    color: #e4e4e7;
}

/* Processing Section */
.processing-section {
    max-width: 600px;
    margin: 4rem auto;
    padding: 4rem 3rem;
    background: #111113;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #232326;
    text-align: center;
    animation: slideInUp 0.8s ease;
}

.processing-visual {
    margin-bottom: 3rem;
}

.loading-ring {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: #facc15;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    border-top-color: #eab308;
    animation-duration: 1s;
    animation-direction: reverse;
}

.ring:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    border-top-color: #facc15;
    animation-duration: 0.75s;
}

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

.processing-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.processing-message {
    color: #b0b0b8;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.progress-container {
    margin-bottom: 3rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #232326;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    color: #b0b0b8;
    font-weight: 600;
}

.request-details {
    background: #151517;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    color: #b0b0b8;
    font-weight: 500;
}

.detail-value {
    color: #e4e4e7;
    font-weight: 600;
}

.processing-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.download-button {
    position: relative;
    background: linear-gradient(135deg, #fde68a 0%, #f4c430 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(253, 230, 138, 0.3);
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.download-button:hover .button-shine {
    left: 100%;
}

.try-again-button {
    background: #232326;
    color: #e4e4e7;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.try-again-button:hover {
    background: #303034;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        min-height: calc(100vh - 80px);
        padding: 2rem 0;
    }

    .hero-left {
        order: 2;
        text-align: center;
        z-index: 10;
        position: relative;
    }

    .hero-right {
        order: 1;
        height: 350px;
        margin-top: 2rem;
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .title-sub {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        margin-bottom: 2.5rem;
        padding: 1.25rem 3rem;
        font-size: 1.125rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }

    .stat-card {
        padding: 1rem 0.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        display: none;
    }

    .partners-grid {
        gap: 1.5rem;
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .continue-button {
        width: 100%;
    }

    .processing-actions {
        flex-direction: column;
    }

    .download-button,
    .try-again-button {
        width: 100%;
    }

    /* Enhanced mobile floating elements */
    .floating-character {
        top: 20%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    .character-img {
        width: 200px;
        height: 200px;
        filter: drop-shadow(0 8px 20px rgba(250, 204, 21, 0.4));
    }

    .status-badge {
        padding: 0.6rem 0.85rem;
        font-size: 0.8rem;
        font-weight: 600;
        border-radius: 10px;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .badge-1 {
        top: 12%;
        left: 8%;
        animation: float 3s ease-in-out infinite;
    }

    .badge-2 {
        top: 30%;
        right: 8%;
        animation: float 3s ease-in-out infinite;
        animation-delay: 0.5s;
    }

    .badge-3 {
        bottom: 30%;
        left: 8%;
        animation: float 3s ease-in-out infinite;
        animation-delay: 1s;
    }

    .badge-4 {
        bottom: 12%;
        right: 12%;
        animation: float 3s ease-in-out infinite;
        animation-delay: 1.5s;
    }

    .main-visual {
        width: 160px;
        height: 160px;
    }

    .visual-circle,
    .visual-pulse {
        animation: pulse 2s ease-in-out infinite;
    }

    .version-tag {
        margin-bottom: 1.5rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    /* Mobile navigation improvements */
    .nav-container {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 8px 16px;

        /* prevent nav items from wrapping if using flex for other items */
        flex-wrap: nowrap;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .logo-text {
        font-size: 1.25rem;

        /* default for desktop */
    }

    /* Mobile fix: reduce font size on small screens */
    @media (max-width: 480px) {
        .logo-text {
            font-size: 1.5rem;

            /* smaller font size on mobile */
            white-space: nowrap;

            /* prevent wrapping */
            overflow: hidden;
            text-overflow: ellipsis;

            /* if it’s still too long, show ... */
            max-width: 100vw;

            /* limit width so it doesn’t push layout */
            display: inline-block;
            vertical-align: middle;
            text-transform: uppercase;
        }
    }

    .login-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Enhanced mobile animations */
    .hero-left {
        animation: slideInUp 1s ease;
        animation-delay: 0.3s;
        animation-fill-mode: both;
    }

    .hero-right {
        animation: slideInDown 1s ease;
        animation-fill-mode: both;
    }

    @keyframes slideInDown {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }

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

    /* Mobile-specific floating animation */
    @keyframes mobileFloat {
        0%,
        100% {
            transform: translateY(0px) scale(1);
        }

        50% {
            transform: translateY(-10px) scale(1.05);
        }
    }

    .status-badge {
        animation: mobileFloat 3s ease-in-out infinite !important;
    }

    .badge-1 {
        animation-delay: 0s !important;
    }

    .badge-2 {
        animation-delay: 0.7s !important;
    }

    .badge-3 {
        animation-delay: 1.4s !important;
    }

    .badge-4 {
        animation-delay: 2.1s !important;
    }
}

/* Additional mobile enhancements for very small screens */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .title-sub {
        font-size: 1.8rem;
    }

    .character-img {
        width: 250px;
        height: 250px;
    }

    .status-badge {
        padding: 0.5rem 0.7rem;
        font-size: 0.75rem;
    }

    .badge-1 {
        top: 15%;
        left: 5%;
    }

    .badge-2 {
        top: 35%;
        right: 5%;
    }

    .badge-3 {
        bottom: 35%;
        left: 5%;
    }

    .badge-4 {
        bottom: 15%;
        right: 8%;
    }

    .main-visual {
        width: 140px;
        height: 140px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1rem;
    }
}

/* Interface refinements */
.ui-icon {
    width: 1.25em;
    height: 1.25em;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    min-height: 78px;
    justify-content: center;
    padding: 14px 24px;
}

.logo {
    text-decoration: none;
    color: #ffffff;
    gap: 12px;
}

.logo-icon {
    width: 42px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #f4c430;
    color: #fff;
    box-shadow: 0 5px 16px #facc1525;
}

.logo-icon .ui-icon {
    width: 25px;
    height: 25px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.logo-text {
    font-size: 17px;
    letter-spacing: .08em;
}

.brand-light {
    font-weight: 400;
    letter-spacing: .035em;
}

.brand-caption {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .22em;
    color: #a1a1aa;
}

.form-logo {
    background: #28230f;
    color: #fde68a;
    box-shadow: none;
}

.form-logo .ui-icon {
    width: 30px;
    height: 30px;
}

.badge-icon {
    display: flex;
    color: #fde68a;
}

.platform-icon {
    display: grid;
    place-items: center;
    color: #d4d4d8;
    height: 40px;
}

.platform-icon .ui-icon {
    width: 34px;
    height: 34px;
}

.platform-card.selected .platform-icon {
    color: #facc15;
}

button {
    font-family: inherit;
}

.back-button,
.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

button:active {
    scale: .97;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid #fde68a;
    outline-offset: 5px;
}

.step {
    animation: none;
}

.step.active {
    animation: stepEnter .5s cubic-bezier(.2,.7,.2,1) both;
}

.step.is-leaving {
    animation: stepExit .22s ease both;
    pointer-events: none;
}

.step.active .platform-card {
    animation: cardEnter .45s ease both;
}

.platform-card:nth-child(2) {
    animation-delay: 60ms!important;
}

.platform-card:nth-child(3) {
    animation-delay: 120ms!important;
}

.platform-card:nth-child(4) {
    animation-delay: 180ms!important;
}

@keyframes stepEnter{
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

@keyframes stepExit{
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes cardEnter{
    from {
        opacity: 0;
        translate: 0 14px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

#step3 .processing-section {
    border-color: #665525;
    box-shadow: 0 14px 50px #eab3080b;
}

#step3 .processing-visual {
    margin-bottom: 22px;
}

.verification-icon {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin: auto;
    background: #28230f;
    color: #f4c430;
    border: 1px solid #665525;
    border-radius: 25px;
    box-shadow: 0 0 0 9px #19160c;
}

.verification-icon .ui-icon {
    width: 36px;
    height: 36px;
}

#step3 .processing-title {
    color: #fde68a;
}

#step3 .processing-message {
    margin-bottom: 24px;
}

.verification-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    color: #fde68a;
    margin-bottom: 20px;
}

#step3 .download-button {
    background: #f4c430;
    box-shadow: 0 6px 18px #f4c43020;
}

#step3 .download-button:hover {
    background: #fde68a;
    box-shadow: 0 9px 24px #f4c43030;
}

.detail-value {
    overflow-wrap: anywhere;
    min-width: 0;
    text-align: right;
}

.detail-item {
    gap: 18px;
}

.notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 22px;
    background: #202024;
    color: #fff;
    border-radius: 12px;
    z-index: 2000;
    width: max-content;
    max-width: calc(100% - 32px);
    box-shadow: 0 8px 30px #0002;
}

@media (max-width:768px){
    .nav-container {
        min-height: 76px;
        padding: 12px 16px;
    }

    .logo-text {
        font-size: 16px;
        max-width: none;
    }

    .logo-icon {
        width: 40px;
        height: 44px;
    }

    .brand-caption {
        font-size: 8px;
        letter-spacing: .2em;
    }

    .form-section,
    .processing-section {
        margin: 28px auto;
        padding: 28px 20px;
        border-radius: 20px;
    }

    .form-title {
        font-size: 25px;
    }

    .form-subtitle,
    .processing-message {
        font-size: 15px;
    }

    .form-header {
        margin-bottom: 26px;
    }

    .platform-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px;
    }

    .platform-card {
        padding: 20px 10px;
    }

    .platform-section {
        margin-bottom: 24px;
    }

    .processing-actions {
        align-items: stretch;
    }

    .hero-right {
        overflow: hidden;
    }

    .stats-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .stat-card {
        padding: 14px 5px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion:reduce){
    *,
    *::before,
    *::after {
        animation: none!important;
        transition: none!important;
        scroll-behavior: auto!important;
    }
}

/* Compact mobile landing: keep the primary action in the first viewport. */
@media (max-width:768px){
    #step1 {
        padding-top: 76px;
    }

    #step1 .hero {
        min-height: 0;
        gap: 8px;
        padding: 8px 0 20px;
        align-items: start;
    }

    #step1 .hero-right {
        height: clamp(150px,28svh,250px);
        margin-top: 0;
        order: 1;
        overflow: visible;
    }

    #step1 .hero-left {
        order: 2;
        animation-delay: 0s;
    }

    #step1 .floating-character {
        top: 0;
        z-index: 2;
        height: 100%;
        display: flex;
        align-items: center;
    }

    #step1 .character-img {
        width: auto;
        max-width: 210px;
        height: 90%;
        object-fit: contain;
    }

    #step1 .status-badge {
        z-index: 3;
        padding: 6px 9px;
        font-size: 10px;
        border-radius: 9px;
    }

    #step1 .badge-1 {
        top: 10%;
        left: 6%;
    }

    #step1 .badge-2 {
        top: 24%;
        right: 2%;
    }

    #step1 .badge-3 {
        bottom: 18%;
        left: 0;
    }

    #step1 .badge-4 {
        bottom: 5%;
        right: 4%;
    }

    #step1 .main-visual {
        width: 125px;
        height: 125px;
    }

    #step1 .version-tag {
        padding: 4px 11px;
        font-size: 10px;
        margin-bottom: 9px;
    }

    #step1 .hero-title {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: center;
        gap: 8px;
        font-size: clamp(25px,7.3vw,36px);
        line-height: 1.15;
        margin-bottom: 10px;
    }

    #step1 .title-main,
    #step1 .title-sub {
        display: inline;
        font-size: inherit;
    }

    #step1 .title-sub {
        font-weight: 400;
    }

    #step1 .hero-description {
        max-width: 390px;
        margin: 0 auto 15px;
        font-size: 13px;
        line-height: 1.55;
    }

    #step1 .cta-button {
        display: block;
        width: 100%;
        max-width: 350px;
        min-height: 48px;
        margin: 0 auto 18px;
        padding: 12px 22px;
        font-size: 15px;
        border-radius: 12px;
    }

    #step1 .stats-grid {
        margin-top: 0;
        gap: 8px;
    }

    #step1 .stat-card {
        padding: 10px 4px;
        border-radius: 12px;
    }

    #step1 .stat-number {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 3px;
    }

    #step1 .stat-label {
        font-size: 10px;
    }

    #step1 .partners {
        padding: 24px 0;
    }

    #step1 .partners-grid {
        flex-direction: row;
        gap: 16px;
        font-size: 12px;
    }
}

@media (max-width:768px) and (max-height:600px){
    #step1 .hero-right {
        height: 125px;
    }

    #step1 .hero {
        gap: 4px;
        padding-top: 4px;
    }

    #step1 .version-tag {
        margin-bottom: 5px;
    }

    #step1 .hero-description {
        font-size: 12px;
        margin-bottom: 10px;
    }

    #step1 .hero-title {
        font-size: 25px;
        margin-bottom: 7px;
    }

    #step1 .cta-button {
        margin-bottom: 12px;
    }
}

#step4 .progress-fill {
    transition: width 80ms linear;
}

@media (prefers-reduced-motion:reduce){
    #step4 .progress-fill {
        transition: none;
    }
}

/* Dark theme native controls */
:root {
    color-scheme: dark;
}

.form-input {
    color: #ffffff;
}

.form-input::placeholder {
    color: #92929c;
}

#step3 .download-button:hover {
    background: #eab308;
}

/* Compact device rows and pack selection */
.device-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

.device-grid .platform-card {
    flex-direction: row;
    justify-content: flex-start;
    padding: 0.85rem 1rem;
    gap: 0.85rem;
    border-radius: 12px;
}

.device-grid .platform-icon {
    height: 28px;
}

.device-grid .platform-icon .ui-icon {
    width: 28px;
    height: 28px;
}

.device-grid .platform-card::after {
    content: '';
    margin-left: auto;
    width: 16px;
    height: 16px;
    border: 2px solid #52525b;
    border-radius: 50%;
    flex-shrink: 0;
}

.device-grid .platform-card.selected::after {
    border-color: #facc15;
    background: #facc15;
    box-shadow: inset 0 0 0 3px #25200e;
}

.platform-section {
    margin-bottom: 1.5rem;
}

.pack-section {
    margin-bottom: 2rem;
}

.pack-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.pack-card {
    min-width: 0;
    padding: 1.25rem;
}

.pack-image {
    display: block;
    width: 100%;
    max-width: 104px;
    height: 104px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(250, 204, 21, 0.18));
}

.pack-amount {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.pack-card.selected .pack-amount {
    color: #fde68a;
}

@media (max-width: 480px) {
    .pack-grid {
        gap: 0.75rem;
    }

    .pack-card {
        padding: 1rem 0.75rem;
    }

    .pack-image {
        height: 88px;
        max-width: 88px;
    }
}

/* Yellow gold accents and slow ambient glass theme. */
:root {
    --accent-gradient: linear-gradient(125deg, #fff3a3 0%, #fadd49 38%, #eab308 100%);
    --glass-border: rgba(255, 244, 193, .14);
    --glass-shadow: 0 18px 55px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .07);
}
body {
    background: #090a0c;
    position: relative;
    isolation: isolate;
    min-height: 100vh;
}
body::before, body::after {
    content: '';
    position: fixed;
    inset: -15%;
    z-index: -1;
    pointer-events: none;
    background-repeat: no-repeat;
    will-change: transform;
}
body::before {
    background:
        radial-gradient(ellipse at 18% 24%, rgba(207, 169, 38, .16), transparent 48%),
        radial-gradient(ellipse at 86% 74%, rgba(143, 107, 26, .13), transparent 47%),
        radial-gradient(ellipse at 65% 10%, rgba(99, 111, 132, .09), transparent 42%);
    animation: ambientDrift 32s ease-in-out infinite alternate;
}
body::after {
    background:
        radial-gradient(ellipse at 75% 38%, rgba(248, 213, 80, .08), transparent 42%),
        radial-gradient(ellipse at 28% 88%, rgba(124, 136, 160, .07), transparent 46%);
    animation: ambientDrift 44s ease-in-out -17s infinite alternate-reverse;
}
@keyframes ambientDrift {
    from { transform: translate3d(-3%, -2%, 0) scale(1); }
    to { transform: translate3d(4%, 3%, 0) scale(1.08); }
}
.navbar {
    background: rgba(12, 13, 15, .62);
    border-bottom-color: var(--glass-border);
    -webkit-backdrop-filter: blur(22px) saturate(125%);
    backdrop-filter: blur(22px) saturate(125%);
    box-shadow: 0 6px 30px rgba(0, 0, 0, .15);
}
.stat-card, .status-badge, .form-section, .processing-section, .notification {
    background: linear-gradient(135deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .015)), rgba(14, 15, 18, .58);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    backdrop-filter: blur(20px) saturate(120%);
    box-shadow: var(--glass-shadow);
}
.platform-card, .request-details, .form-input, .try-again-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)), rgba(10, 11, 13, .35);
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}
.platform-card:hover, .try-again-button:hover {
    background: rgba(250, 204, 21, .07);
    border-color: rgba(250, 204, 21, .46);
}
.platform-card.selected {
    background: linear-gradient(135deg, rgba(250, 204, 21, .17), rgba(234, 179, 8, .045));
    border-color: #facc15;
    box-shadow: 0 8px 28px rgba(250, 204, 21, .09), inset 0 1px 0 rgba(255, 243, 163, .15);
}
.version-tag, .verification-icon {
    background: linear-gradient(135deg, rgba(250, 204, 21, .14), rgba(234, 179, 8, .04));
    border-color: rgba(250, 204, 21, .25);
    color: #fde68a;
}
.title-main, .stat-number {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cta-button, .login-btn, .continue-button:not(:disabled), .download-button,
#step3 .download-button, #step3 .download-button:hover {
    background: var(--accent-gradient);
    color: #211b08;
    box-shadow: 0 8px 28px rgba(234, 179, 8, .15), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.cta-button:hover, .login-btn:hover, .continue-button:not(:disabled):hover,
.download-button:hover, #step3 .download-button:hover {
    filter: brightness(1.06);
    box-shadow: 0 12px 36px rgba(250, 204, 21, .25), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.continue-button:disabled {
    background: rgba(255, 255, 255, .08);
    color: #93938f;
    box-shadow: none;
}
.progress-fill, .visual-circle, .nav-link::after, .device-grid .platform-card.selected::after {
    background: var(--accent-gradient);
}
#step3 .processing-section {
    border-color: rgba(250, 204, 21, .22);
    box-shadow: var(--glass-shadow);
}
.form-input:focus {
    background: rgba(18, 18, 16, .65);
    border-color: #facc15;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, .1);
}
@media (prefers-reduced-motion: reduce) {
    body::before, body::after { animation: none; will-change: auto; }
}
