/* ============ LAYOUT CSS STYLE FILE UVBaker Generator ============ */

        body {
            margin: 0;
            padding: 30px;
            font-family: Arial, sans-serif;
            background: #1d1d22;
            color: #f0f0f0;
        }
			
		a, a:link, a:visited {
    color: #f0f0f0;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.18s ease, opacity 0.18s ease;
	margin: auto 8px;
}
		
		a:hover, a:active {
			color: #f0f0f0;
		}

        h1 {
            margin: 0 0 6px;
            font-size: 28px;
        }

        .subtitle {
            margin: 0 0 22px;
            color: #bbb;
            line-height: 1.45;
        }

        .panel {
            max-width: 1500px;
            margin: 0 auto;
            background: #2a2a31;
            padding: 24px;
            border-radius: 14px;
            box-shadow: 0 0 30px rgba(0,0,0,0.35);
        }

        .controls {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
            margin-bottom: 12px;
        }

        .controlSection {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
            margin-bottom: 12px;
        }

        .controlSection.textureSection {
            padding-top: 12px;
            border-top: 1px solid rgba(255,255,255,0.14);
        }

        .controlSection.actionSection {
            padding-top: 12px;
            border-top: 1px solid rgba(255,255,255,0.14);
            margin-top: 2px;
        }

        input,
        button,
        select {
            padding: 10px 12px;
            border-radius: 8px;
            border: 1px solid #555;
            background: #18181d;
            color: #f0f0f0;
        }

        input[type="range"] {
            padding: 0;
        }

        button {
            cursor: pointer;
            background: #3d5afe;
            border-color: #3d5afe;
            font-weight: bold;
        }

        button:hover {
            filter: brightness(1.12);
        }

        button:disabled {
            cursor: not-allowed;
            opacity: 0.45;
            filter: grayscale(0.4);
        }

        button:disabled:hover {
            filter: grayscale(0.4);
        }

        button.secondary {
            background: #444;
            border-color: #555;
        }

        label {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .canvases {
            display: flex;
            flex-wrap: wrap;
            gap: 18px;
            align-items: flex-start;
        }

        .canvasBox {
            flex: 1 1 420px;
            min-width: 320px;
        }

        .canvasBox h2 {
            margin: 0 0 8px;
            font-size: 17px;
            color: #ddd;
        }

        canvas {
            display: block;
            width: 100%;
            max-width: 1400px;
            height: auto;
            background: #ffffff;
            border-radius: 8px;
            image-rendering: auto;
        }

        .resultBox {
            flex: 1 1 100%;
            min-width: 320px;
        }

        .floatingTextureBox {
            position: fixed;
            right: 18px;
            top: 50%;
            transform: translateY(-50%);
            width: 260px;
            z-index: 20;
            background: rgba(42, 42, 49, 0.96);
            border: 1px solid #555;
            border-radius: 14px;
            padding: 12px;
            box-shadow: 0 0 26px rgba(0,0,0,0.45);
            backdrop-filter: blur(4px);
            user-select: none;
        }

        .floatingTextureHeader {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            cursor: move;
            margin: -4px -4px 10px;
            padding: 8px 10px;
            border-radius: 10px;
            background: rgba(255,255,255,0.05);
        }

        .floatingTextureHeader h2 {
            font-size: 15px;
            margin: 0;
        }

        .dragHint {
            font-size: 12px;
            color: #aaa;
            white-space: nowrap;
        }

        #texturePreview {
            width: 100%;
            max-width: 260px;
            image-rendering: auto;
        }

        @media (max-width: 900px) {
            .floatingTextureBox {
                position: static;
                transform: none;
                width: auto;
                margin-top: 18px;
            }
        }

        .objAlert {
            display: none;
            margin: 0 0 16px;
            padding: 12px 14px;
            border-radius: 10px;
            border: 1px solid #a33;
            background: rgba(170, 30, 30, 0.18);
            color: #ff8a80;
            font-size: 16px;
            line-height: 1.4;
        }

        .objAlert.visible {
            display: block;
        }

        .info {
            margin-top: 12px;
            color: #ccc;
            font-size: 14px;
            line-height: 1.5;
        }

        .error {
            color: #ff8a80;
        }

        .ok {
            color: #a5d6a7;
        }

        .warn {
            color: #ffd180;
        }

        .small {
            font-size: 13px;
            color: #aaa;
        }
    
        /* AMV landing overlay
           All classes are prefixed with amv-landing-* so they do not collide
           with the baker UI classes such as .panel, .controls, button, canvas, etc.
        */
        body.amv-landing-lock {
            overflow: hidden;
        }

        .amv-landing-overlay {
            position: fixed;
            inset: 0;
            z-index: 9999;
            background: #000000;
            color: #ffffff;
            overflow: hidden;
            transition:
                transform 0.75s ease,
                opacity 0.45s ease;
        }

        .amv-landing-overlay.is-hidden {
            transform: translateY(-105%);
            opacity: 0;
            pointer-events: none;
        }

        .amv-landing-topbar {
            height: 70px;
            padding: 0 22px;
            display: flex;
            align-items: center;
            background: #1d1d22;
            box-sizing: border-box;
        }

        .amv-landing-brand {
            font-size: 34px;
            font-weight: 800;
            letter-spacing: -0.03em;
        }

        .amv-landing-hero {
            min-height: 525px;
            display: grid;
            grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
            align-items: center;
            gap: 48px;
            padding: 62px 9vw 52px;
            box-sizing: border-box;
            background:
                radial-gradient(circle at 78% 42%, rgba(80, 88, 130, 0.26), transparent 38%),
                linear-gradient(90deg, #000000 0%, #020203 58%, #07070a 100%);
        }

        .amv-landing-copy {
            max-width: 650px;
        }

        .amv-landing-copy h1 {
            margin: 0 0 24px;
            font-size: clamp(46px, 5.2vw, 78px);
            line-height: 0.94;
            letter-spacing: -0.055em;
            font-weight: 900;
        }

        .amv-landing-lead {
            max-width: 610px;
            margin: 0 0 16px;
            font-size: clamp(22px, 2vw, 34px);
            line-height: 1.12;
            letter-spacing: 0.01em;
            color: #f2f2f2;
        }

        .amv-landing-trust {
            margin: 0 0 26px;
            max-width: 560px;
            font-size: 17px;
            line-height: 1.45;
            color: #cfcfd6;
        }

        .amv-landing-button {
            min-width: 220px;
            padding: 14px 26px;
            border: 0;
            border-radius: 0;
            background: #1aa7e1;
            color: #000000;
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
            transition:
                transform 0.18s ease,
                filter 0.18s ease;
        }

        .amv-landing-button:hover {
            transform: translateY(-1px);
            filter: brightness(1.1);
        }

        .amv-landing-art {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 0;
        }

        .amv-landing-art img {
            display: block;
            width: min(100%, 650px);
            height: auto;
            filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.65));
            transform: rotate(-1deg);
        }

        .amv-landing-benefits {
            min-height: 170px;
            padding: 30px 9vw;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 26px;
            align-items: center;
            background: #2a2a31;
            box-sizing: border-box;
        }

        .amv-landing-benefits div {
            min-width: 0;
        }

        .amv-landing-benefits strong {
            display: block;
            margin-bottom: 8px;
            font-size: 24px;
            line-height: 1.1;
            color: #ffffff;
        }

        .amv-landing-benefits span {
            display: block;
            font-size: 17px;
            line-height: 1.35;
            color: #d7d7df;
        }

        @media (max-width: 1000px) {
            .amv-landing-hero {
                grid-template-columns: 1fr;
                gap: 26px;
                padding: 42px 28px;
            }

            .amv-landing-art {
                justify-content: flex-start;
            }

            .amv-landing-art img {
                width: min(100%, 520px);
            }

            .amv-landing-benefits {
                grid-template-columns: 1fr;
                gap: 18px;
                padding: 28px;
            }
        }

        @media (max-width: 620px) {
            .amv-landing-topbar {
                height: 62px;
            }

            .amv-landing-brand {
                font-size: 24px;
            }

            .amv-landing-copy h1 {
                font-size: 42px;
            }

            .amv-landing-lead {
                font-size: 21px;
            }

            .amv-landing-button {
                width: 100%;
            }
        }
		
		
		
		
		/* AMV footer
   Isolated classes, no global footer/a/button overrides.
*/
.amv-footer {
    max-width: 1500px;
    margin: 24px auto 0;
    padding: 26px 24px 30px;
    box-sizing: border-box;
    color: #cfcfd6;
    background: #18191f;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px 14px 0 0;
}

.amv-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.amv-footer-links a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition:
        color 0.18s ease,
        opacity 0.18s ease;
}

.amv-footer-links a:hover {
    color: #1aa7e1;
}

.amv-footer-copy {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1.45;
    color: #aeb0ba;
    text-align: center;
}

.amv-footer-copy span {
    display: inline-flex;
    align-items: center;
}

.amv-footer-copy span:not(:last-child)::after {
    content: "•";
    margin-left: 16px;
    color: #555965;
}

@media (max-width: 700px) {
    .amv-footer {
        margin-top: 18px;
        padding: 22px 18px 26px;
    }

    .amv-footer-links {
        gap: 14px;
    }

    .amv-footer-copy {
        flex-direction: column;
        gap: 6px;
    }

    .amv-footer-copy span:not(:last-child)::after {
        content: "";
        margin-left: 0;
    }
}



.content {
    width: 90%;
    max-width: 1400px;
    margin: auto;
}