       :root {
            --primary: #00f2fe;
            --secondary: #4facfe;
            --accent: #f093fb;
            --bg-dark: #0a0b10;
            --card-bg: rgba(255, 255, 255, 0.05);
            --glass-border: rgba(255, 255, 255, 0.1);
            --neon-glow: 0 0 15px rgba(79, 172, 254, 0.5);
            --text-main: #e0e0e0;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }

        body {
            background-color: var(--bg-dark);
            /* Animasi Background Gradient */
            background-image: 
                radial-gradient(circle at 20% 30%, rgba(79, 172, 254, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(240, 147, 251, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 50% 10%, rgba(0, 242, 254, 0.1) 0%, transparent 40%);
            background-size: 200% 200%;
            animation: moveBg 15s ease infinite alternate;
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            overflow-x: hidden;
            padding-bottom: 50px;
        }

        @keyframes moveBg {
            0% { background-position: 0% 0%; }
            100% { background-position: 100% 100%; }
        }

        /* Header Styles */
        header {
            padding: 60px 20px;
            text-align: center;
            width: 100%;
        }

        .glow-text {
            font-size: 3.5rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 5px;
            background: linear-gradient(90deg, #fff, var(--primary), var(--accent), #fff);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shine 3s linear infinite;
            filter: drop-shadow(var(--neon-glow));
        }

        @keyframes shine {
            to { background-position: 200% center; }
        }

        .subtitle {
            font-size: 1.1rem;
            color: #888;
            margin-top: 10px;
            letter-spacing: 2px;
        }

        /* Main Container */
        .container {
            width: 90%;
            max-width: 1000px;
            z-index: 1;
        }

        /* Glassmorphism Panel */
        .panel {
            background: var(--card-bg);
            backdrop-filter: blur(15px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 40px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            margin-bottom: 30px;
        }

        .grid-inputs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 25px;
        }

        @media (max-width: 768px) {
            .grid-inputs { grid-template-columns: 1fr; }
            .glow-text { font-size: 2.2rem; }
            /* Responsiveness for Location & Idea Button on Mobile */
            .location-flex {
                flex-direction: column;
                align-items: stretch !important;
            }
            .btn-idea {
                width: 100%;
            }
        }

        .input-group {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        label {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--primary);
            text-transform: uppercase;
            padding-left: 5px;
        }

        /* Input & Select style */
        select, textarea, input[type="text"] {
            background: #000000;
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            padding: 15px;
            color: white;
            font-size: 1rem;
            transition: all 0.3s ease;
            outline: none;
        }

        /* Animation Shine khusus untuk input lokasi */
        #location {
            background: linear-gradient(110deg, #000 45%, rgba(255,255,255,0.05) 50%, #000 55%);
            background-size: 200% 100%;
            animation: inputShine 4s linear infinite;
            border: 1px solid rgba(0, 242, 254, 0.3);
        }

        @keyframes inputShine {
            to { background-position: 200% 0; }
        }

        select:focus, textarea:focus, input[type="text"]:focus {
            border-color: var(--primary);
            box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
        }

        textarea {
            resize: vertical;
            min-height: 100px;
        }

        /* Button Style */
        .btn-generate {
            width: 100%;
            background: linear-gradient(45deg, var(--secondary), var(--accent));
            border: none;
            border-radius: 15px;
            padding: 20px;
            color: white;
            font-size: 1.2rem;
            font-weight: 800;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-top: 10px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--neon-glow);
        }

        .btn-generate:hover {
            transform: scale(1.02);
            filter: brightness(1.2);
            box-shadow: 0 0 30px rgba(79, 172, 254, 0.6);
        }

        .btn-generate:active {
            transform: scale(0.98);
        }

        /* Location Area with Flex */
        .location-flex {
            display: flex;
            gap: 15px;
            align-items: flex-end;
        }

        .btn-idea {
            background: rgba(240, 147, 251, 0.2);
            border: 1px solid var(--accent);
            color: var(--accent);
            padding: 15px 20px;
            border-radius: 12px;
            cursor: pointer;
            font-weight: 700;
            transition: 0.3s;
            white-space: nowrap;
            height: 52px;
        }

        .btn-idea:hover {
            background: var(--accent);
            color: #000;
            box-shadow: 0 0 15px var(--accent);
        }

        /* Loading Animation */
        #loading {
            display: none;
            text-align: center;
            margin: 30px 0;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 5px solid rgba(255,255,255,0.1);
            border-top: 5px solid var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 15px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Result Styles */
        #result-container {
            display: none;
            margin-top: 40px;
        }

        .result-header {
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 20px;
            margin-bottom: 25px;
            position: relative;
        }

        .result-title {
            color: var(--primary);
            font-size: 1.8rem;
            margin-bottom: 10px;
            padding-right: 80px;
        }

        .meta-info {
            display: grid;
            gap: 15px;
            margin-bottom: 20px;
        }

        .meta-item {
            position: relative;
            background: rgba(255,255,255,0.02);
            padding: 15px;
            border-radius: 12px;
            border: 1px solid var(--glass-border);
        }

        .meta-item b {
            color: var(--accent);
            display: block;
            margin-bottom: 5px;
        }

        /* Storyboard Styles */
        .storyboard-grid {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .scene-card {
            background: rgba(0, 0, 0, 0.4);
            border-left: 4px solid var(--primary);
            padding: 20px;
            border-radius: 12px;
            position: relative;
        }

        .scene-number {
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 10px;
            display: block;
        }

        .prompt-text {
            font-size: 0.95rem;
            line-height: 1.6;
            color: #ccc;
            margin-bottom: 15px;
            background: rgba(255,255,255,0.05);
            padding: 10px;
            border-radius: 8px;
        }

        .copy-btn {
            background: rgba(255,255,255,0.1);
            border: 1px solid var(--glass-border);
            color: white;
            padding: 8px 15px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.8rem;
            transition: 0.3s;
        }

        .inline-copy {
            position: absolute;
            right: 15px;
            top: 15px;
        }

        .title-copy {
            top: 0;
            right: 0;
        }

        .copy-btn:hover {
            background: var(--primary);
            color: black;
        }

        .action-footer {
            display: flex;
            justify-content: center;
            margin-top: 30px;
        }

        .btn-copy-all {
            background: #fff;
            color: #000;
            border: none;
            padding: 15px 40px;
            border-radius: 50px;
            font-weight: 700;
            cursor: pointer;
            transition: 0.3s;
        }

        .btn-copy-all:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(255,255,255,0.2);
        }

        /* Success Toast */
        #toast {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary);
            color: black;
            padding: 10px 30px;
            border-radius: 50px;
            font-weight: 600;
            display: none;
            z-index: 100;
        }
        
                .btn-back {
            display: inline-block;
            margin-bottom: 30px;
            padding: 10px 20px;
            background: #334155;
            color: #fff;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            transition: background 0.3s;
        }

        .btn-back:hover {
            background: var(--accent);
            color: #000;
        }