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

body {
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: system-ui, -apple-system, sans-serif;
}

.container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
}

.svg-filters {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.tilt-shift-wrapper {
    position: relative;
    width: 90vw;
    max-width: 1200px;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-layer {
    position: absolute;
    width: 100%;
    height: auto;
    overflow: visible;
    pointer-events: none;
}

.text-layer text {
    font-size: 160px;
    font-weight: 900;
    font-family: system-ui, -apple-system, sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Sharp/focused layer - visible in the focus band (top layer) */
.text-layer.sharp {
    z-index: 4;
}

/* Light blur layer - transition zone */
.text-layer.blur-light {
    z-index: 3;
}

/* Medium blur layer */
.text-layer.blur-medium {
    z-index: 2;
}

/* Heavy blur layer - outer edges (base layer, no mask) */
.text-layer.blur-heavy {
    z-index: 1;
}

/* Tiny Panel - Controls */
.controls {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 200px;
    font-size: 12px;
    transition: all 0.25s ease;
}

.controls.collapsed {
    width: auto;
    padding: 8px 12px;
}

.controls.collapsed .controls-body {
    display: none;
}

.controls-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.controls-title {
    color: rgba(0, 0, 0, 0.5);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.controls-toggle {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.3);
    font-size: 14px;
    transition: transform 0.25s ease;
}

.controls.collapsed .controls-toggle {
    transform: rotate(180deg);
}

.controls-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.control-group label {
    display: flex;
    justify-content: space-between;
    color: rgba(0, 0, 0, 0.5);
    font-size: 11px;
    font-weight: 500;
}

.control-group label span {
    color: #0088ff;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #0088ff;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #0088ff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

