:root {
            --bg-deep: #0a0a0f;
            --bg-mid: #12121a;
            --accent-warm: #e8b87d;
            --accent-cool: #7db8e8;
            --text-primary: #f0ebe3;
            --text-secondary: #8a8a9a;
        }

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

        body {
            font-family: 'Cormorant Garamond', Georgia, serif;
            background: var(--bg-deep);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-primary);
            overflow: hidden;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(ellipse at 20% 20%, rgba(232, 184, 125, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 80%, rgba(125, 184, 232, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(30, 30, 45, 0.5) 0%, transparent 70%);
            pointer-events: none;
            z-index: -1;
        }

        .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
        }

        h1 {
            font-size: 3rem;
            font-weight: 300;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: var(--text-primary);
            text-shadow: 0 0 40px rgba(232, 184, 125, 0.2);
        }

        #loading-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
        }

        .status-text {
            font-size: 1.1rem;
            color: var(--text-secondary);
            font-style: italic;
        }

        #canvas-container {
            position: relative;
            width: 300px;
            height: 300px;
            border-radius: 4px;
            overflow: hidden;
            box-shadow:
                0 0 0 1px rgba(255, 255, 255, 0.05),
                0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 100px rgba(232, 184, 125, 0.1);
        }

        #main-canvas {
            display: block;
            width: 300px;
            height: 300px;
        }

        .controls-row {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            margin-top: 1rem;
        }

        .play-pause-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-primary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .play-pause-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: var(--accent-warm);
            box-shadow: 0 0 15px rgba(232, 184, 125, 0.3);
        }

        .play-pause-btn svg {
            width: 14px;
            height: 14px;
            fill: currentColor;
        }

        .image-indicator {
            display: flex;
            gap: 10px;
        }

        .indicator-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.15);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .indicator-dot:hover {
            background: rgba(255, 255, 255, 0.4);
            transform: scale(1.3);
        }

        .indicator-dot.active {
            background: var(--accent-warm);
            box-shadow: 0 0 12px var(--accent-warm);
        }

        .indicator-dot.active:hover {
            background: var(--accent-warm);
        }

        .indicator-dot::after {
            content: attr(data-name);
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            padding: 6px 10px;
            background: rgba(20, 20, 30, 0.95);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            font-size: 0.85rem;
            color: var(--text-primary);
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s ease, transform 0.2s ease;
            margin-bottom: 8px;
            letter-spacing: 0.05em;
        }

        .indicator-dot:hover::after {
            opacity: 1;
            transform: translateX(-50%) translateY(-2px);
        }

        .hidden {
            display: none !important;
        }

        #display-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }

        .image-title {
            font-size: 1.2rem;
            color: var(--text-secondary);
            letter-spacing: 0.2em;
            text-transform: lowercase;
            min-height: 1.5em;
        }

        .error-text {
            color: #e87d7d;
            font-size: 1rem;
            text-align: center;
            max-width: 400px;
        }

        .status-badge {
            font-size: 0.75rem;
            padding: 3px 8px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-secondary);
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .status-badge.paused {
            background: rgba(232, 184, 125, 0.2);
            color: var(--accent-warm);
        }
