/* ======================================================
   GLENDER PROMPT BUILDER PRO v6.0
   CINEMATIC LUXURY UI — FULL STYLESHEET
   ====================================================== */

/* ------------------------------------------------------
   HIDE PAGE TITLE (Protected: Glender...)
------------------------------------------------------ */
.page .entry-title,
.single .entry-title,
article .entry-title {
    display: none !important;
}

.page-header,
.entry-header {
    display: none !important;
}

/* ------------------------------------------------------
   GLOBAL WRAPPER
------------------------------------------------------ */
.glender-wrapper {
    background: #0a0a0a;
    border-radius: 24px;
    padding: 40px;
    max-width: 1000px;
    width: 100%;
    margin: 120px auto 40px auto;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    position: relative;
    overflow: visible;
    box-shadow: 0 0 40px rgba(255,160,60,0.15);
    box-sizing: border-box;
}

/* CINEMATIC GRAIN */
.glender-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIW2P8DwQACfsD/Qm7nLwAAAAASUVORK5CYII=');
    opacity: 0.16;
    mix-blend-mode: overlay;
}

/* ------------------------------------------------------
   LOGO
------------------------------------------------------ */
.glender-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.glender-logo svg {
    margin-bottom: 5px;
}

.glender-logo h2 {
    font-size: 26px;
    color: #ffb84d;
    font-weight: 700;
    margin: 0;
}

.glender-subtitle {
    font-size: 13px;
    color: #999;
    font-style: italic;
    margin: 0;
    letter-spacing: 0.5px;
}

/* ------------------------------------------------------
   LANGUAGE SWITCH
------------------------------------------------------ */
.glender-lang-switch {
    display: flex;
    margin-bottom: 15px;
    gap: 10px;
}

.lang-btn {
    padding: 8px 14px;
    background: #111;
    border: 1px solid #ffb84d;
    border-radius: 10px;
    color: #ffb84d;
    cursor: pointer;
    font-weight: 600;
}

.lang-btn.active {
    background: #ffb84d;
    color: #000;
}

/* ------------------------------------------------------
   TEXT INPUT AREA
------------------------------------------------------ */
#glender-user-input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 15px;
    font-size: 15px;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #333;
    border-radius: 8px;
    color: #fff;
    resize: vertical;
    min-height: 120px;
    margin-bottom: 10px;
}

.multi-prompt-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255, 184, 77, 0.1);
    border: 1px solid rgba(255, 184, 77, 0.3);
    border-radius: 6px;
    margin-top: 10px;
}

.info-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.info-text {
    font-size: 13px;
    color: #ffb84d;
    line-height: 1.4;
}

#glender-user-input:focus {
    outline: none;
    border-color: #ffb84d;
}

#glender-user-input.error {
    border-color: #ff4444;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ------------------------------------------------------
   FACE INJECTION BUTTONS
------------------------------------------------------ */
.face-injection-row {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.face-btn {
    background: #111;
    border: 1px solid #ffb84d;
    color: #ffb84d;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.face-btn:hover {
    background: #ffb84d;
    color: #000;
}

/* Extra face input */
#extra-face-input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #111;
    border: 1px solid #444;
    padding: 14px;
    color: #fff;
    border-radius: 10px;
    margin-top: 15px;
    margin-bottom: 0;
    height: 70px;
    resize: none;
    font-size: 14px;
    transition: border-color 0.3s;
}

#extra-face-input:focus {
    outline: none;
    border-color: #ffb84d;
}

/* ------------------------------------------------------
   MODE SELECTOR
------------------------------------------------------ */
.glender-modes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.mode-btn {
    padding: 18px 12px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid #ffb84d;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mode-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 184, 77, 0.3);
}

.mode-btn.active {
    background: linear-gradient(135deg, #ffb84d 0%, #ff9d2f 100%);
    border-color: #fff;
    box-shadow: 0 6px 20px rgba(255, 184, 77, 0.5);
}

.mode-icon {
    font-size: 28px;
}

.mode-text {
    font-size: 14px;
    font-weight: 600;
    color: #ffb84d;
}

.mode-btn.active .mode-text {
    color: #000;
}

.mode-desc {
    font-size: 11px;
    color: #888;
}

.mode-btn.active .mode-desc {
    color: #333;
}

/* ------------------------------------------------------
   SORA IMAGE UPLOAD
------------------------------------------------------ */
.sora-image-section {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 255, 255, 0.05);
    border: 2px dashed rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s;
}

.sora-upload-header h4 {
    color: #00ffff;
    font-size: 16px;
    margin: 0 0 5px 0;
}

.sora-upload-header p {
    color: #999;
    font-size: 12px;
    margin: 0 0 15px 0;
}

.sora-upload-zone {
    position: relative;
    border: 2px dashed #333;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #0a0a0a;
}

.sora-upload-zone:hover {
    border-color: #00ffff;
    background: #111;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-placeholder .upload-icon {
    font-size: 48px;
}

.upload-placeholder p {
    color: #00ffff;
    font-weight: 600;
    margin: 0;
    font-size: 14px;
}

.upload-placeholder small {
    color: #666;
    font-size: 11px;
}

.sora-image-preview {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.sora-image-preview img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #00ffff;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
}

.remove-sora-image {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff3333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(255, 51, 51, 0.5);
}

.remove-sora-image:hover {
    background: #ff0000;
    transform: scale(1.1);
}

/* SORA Duration Section */
.sora-duration-section {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
}

.sora-duration-header h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #00ffff;
    font-weight: 600;
}

.sora-duration-header p {
    margin: 0 0 15px 0;
    font-size: 13px;
    color: #999;
}

.sora-duration-options {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.duration-btn {
    flex: 1;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.duration-btn:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.6);
    transform: translateY(-2px);
}

.duration-btn.active {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    color: #00ffff;
}

/* ------------------------------------------------------
   TITLES
------------------------------------------------------ */
.glender-title {
    font-size: 18px;
    margin: 20px 0 10px;
    font-weight: 600;
    color: #ffb84d;
}

/* ------------------------------------------------------
   SCROLL CINEMATIC HOLDER
------------------------------------------------------ */
.glender-scroll {
    height: 210px;
    overflow-y: auto;
    padding-right: 8px;
    background: #111;
    border-radius: 14px;
    border: 1px solid #333;
    margin-bottom: 25px;
}

/* Custom scrollbar */
.glender-scroll::-webkit-scrollbar {
    width: 10px;
}
.glender-scroll::-webkit-scrollbar-thumb {
    background: #ffb84d;
    border-radius: 10px;
}
.glender-scroll::-webkit-scrollbar-track {
    background: #222;
}

/* ------------------------------------------------------
   GRID — CARDS
------------------------------------------------------ */
.glender-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px,1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.glender-card {
    background: #111;
    border: 1px solid rgba(255,180,80,0.12);
    padding: 18px;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    transition: 0.25s;
}

.glender-card:hover {
    border-color: #ffb84d;
    box-shadow: 0 0 18px rgba(255,180,90,0.35);
}

.glender-card.active {
    border-color: #ff9d2f;
    box-shadow: 0 0 24px rgba(255,160,70,0.55);
}

/* Card icon */
.glender-icon {
    font-size: 22px;
    margin-bottom: 6px;
    color: #ffb84d;
}

/* Card label */
.glender-card-label {
    font-size: 14px;
    color: #fff;
    line-height: 1.25;
}

/* ------------------------------------------------------
   RAW/IMAX PANEL
------------------------------------------------------ */
#raw-specs-panel {
    background: #0e0e0e;
    padding: 20px;
    border: 1px solid #222;
    border-radius: 12px;
    margin-bottom: 25px;
}

/* ------------------------------------------------------
   GENERATE BUTTON
------------------------------------------------------ */
.glender-generate-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #ffcf74, #ff9d2f);
    border-radius: 14px;
    color: #000;
    font-weight: bold;
    font-size: 17px;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    box-shadow: 0 0 20px rgba(255,170,60,0.35);
}

.glender-generate-btn:hover {
    box-shadow: 0 0 32px rgba(255,200,100,0.55);
}

/* ------------------------------------------------------
   OUTPUT BOX
------------------------------------------------------ */
.glender-output {
    background: #151515;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(255,180,80,0.25);
    margin-top: 25px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

#glender-final {
    background: #0a0a0a;
    padding: 18px;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    margin: 0;
    display: block;
}

.copy-btn {
    background: #ffb84d;
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #000;
}

.extend-btn {
    background: linear-gradient(135deg, #00ffff 0%, #00cccc 100%);
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.extend-btn:hover {
    background: linear-gradient(135deg, #00cccc 0%, #00aaaa 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.5);
}

.extend-btn .btn-icon {
    font-size: 18px;
}

/* ------------------------------------------------------
   EXPORT JSON
------------------------------------------------------ */
.glender-export-btn {
    margin-top: 20px;
    background: #222;
    border-radius: 10px;
    padding: 10px 20px;
    color: #ffb84d;
    border: 1px solid #ffb84d;
    cursor: pointer;
    font-weight: 600;
}

.glender-export-btn:hover {
    background: #ffb84d;
    color: #000;
}

/* ------------------------------------------------------
   MODAL (Preview)
------------------------------------------------------ */
.glender-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.80);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glender-modal-content {
    background: #111;
    border: 2px solid #ffb84d;
    padding: 25px;
    border-radius: 16px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    color: #fff;
    position: relative;
}

/* Scrollbar styling for modals */
.glender-modal-content::-webkit-scrollbar {
    width: 8px;
}

.glender-modal-content::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.glender-modal-content::-webkit-scrollbar-thumb {
    background: #ffb84d;
    border-radius: 4px;
}

.glender-modal-content::-webkit-scrollbar-thumb:hover {
    background: #ffc266;
}

#modal-close {
    float: right;
    cursor: pointer;
    font-size: 22px;
    color: #ffb84d;
}

/* ------------------------------------------------------
   LOADER ANIMATION
------------------------------------------------------ */
.glender-loader {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 20px;
    background: #151515;
    border-radius: 14px;
    border: 1px solid rgba(255,180,80,0.25);
    margin-top: 25px;
}

.glender-loader:not(.hidden) {
    display: flex !important;
}

.glender-loader.hidden {
    display: none !important;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #222;
    border-top: 4px solid #ffb84d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: #ffb84d;
    font-size: 16px;
    font-weight: 600;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loader-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* ------------------------------------------------------
   ADVANCED FEATURES
------------------------------------------------------ */
.glender-advanced-features {
    background: #0e0e0e;
    padding: 20px;
    border: 1px solid rgba(255,180,80,0.2);
    border-radius: 14px;
    margin-top: 25px;
}

.advanced-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.advanced-btn {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid #ffb84d;
    border-radius: 12px;
    padding: 16px 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.advanced-btn:hover {
    border-color: #ff9d2f;
    box-shadow: 0 0 20px rgba(255,180,77,0.4);
    transform: translateY(-2px);
}

.advanced-btn:active {
    transform: translateY(0);
}

.advanced-btn .btn-icon {
    font-size: 28px;
}

.advanced-btn .btn-text {
    font-size: 13px;
    font-weight: 600;
    color: #ffb84d;
}

/* ------------------------------------------------------
   VARIANTS OUTPUT
------------------------------------------------------ */
.glender-variants {
    background: #0e0e0e;
    padding: 20px;
    border: 1px solid rgba(255,180,80,0.2);
    border-radius: 14px;
    margin-top: 25px;
}

.variants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.variant-card {
    background: #111;
    border: 1px solid rgba(255,180,80,0.15);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s;
}

.variant-card:hover {
    border-color: #ffb84d;
    box-shadow: 0 0 15px rgba(255,180,77,0.25);
}

.variant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,180,80,0.1);
}

.variant-number {
    color: #ffb84d;
    font-weight: 600;
    font-size: 14px;
}

.variant-select-btn {
    background: #ffb84d;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    transition: all 0.2s;
}

.variant-select-btn:hover {
    background: #ff9d2f;
    transform: scale(1.05);
}

.variant-content {
    background: #0a0a0a;
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-height: 200px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    margin: 0;
}

.variant-content::-webkit-scrollbar {
    width: 6px;
}

.variant-content::-webkit-scrollbar-thumb {
    background: #ffb84d;
    border-radius: 3px;
}

.variant-content::-webkit-scrollbar-track {
    background: #222;
}

/* ------------------------------------------------------
   ADVANCED FEATURES PRO (Level 2)
------------------------------------------------------ */
.glender-advanced-features-pro {
    background: linear-gradient(135deg, #1a0a00 0%, #0a0a0a 100%);
    padding: 20px;
    border: 2px solid #ff9d2f;
    border-radius: 14px;
    margin-top: 25px;
    box-shadow: 0 0 30px rgba(255,157,47,0.3);
}

.advanced-btn-pro {
    background: linear-gradient(135deg, #2a1a0a 0%, #1a0a00 100%);
    border: 2px solid #ff9d2f;
    border-radius: 12px;
    padding: 16px 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    position: relative;
    min-height: 120px;
}

.advanced-btn-pro:hover {
    border-color: #ffcf74;
    box-shadow: 0 0 25px rgba(255,207,116,0.5);
    transform: translateY(-3px) scale(1.05);
}

.btn-description {
    font-size: 11px;
    color: #999;
    text-align: center;
    line-height: 1.4;
    margin-top: 4px;
    padding: 0 8px;
    max-width: 200px;
}

.section-description {
    color: #aaa;
    font-size: 13px;
    text-align: center;
    margin: -10px 0 20px 0;
    font-style: italic;
}

/* ------------------------------------------------------
   GLENDER SECTIONS (STEP-BY-STEP UI)
------------------------------------------------------ */
.glender-section {
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid rgba(255, 184, 77, 0.2);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.glender-section:hover {
    border-color: rgba(255, 184, 77, 0.4);
    box-shadow: 0 4px 20px rgba(255, 184, 77, 0.1);
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 184, 77, 0.2);
}

.section-title {
    font-size: 18px;
    color: #ffb84d;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.section-help {
    font-size: 13px;
    color: #999;
    margin: 0;
    line-height: 1.5;
}

.param-subsection {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(10, 10, 10, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 184, 77, 0.1);
}

.param-subsection:last-child {
    margin-bottom: 0;
}

.param-title {
    font-size: 16px;
    color: #ffcf74;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.param-description {
    font-size: 12px;
    color: #888;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.generate-section {
    text-align: center;
    margin: 30px 0;
}

.generate-help {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}

/* ------------------------------------------------------
   MOODBOARD OUTPUT
------------------------------------------------------ */
.moodboard-output {
    background: #0e0e0e;
    padding: 25px;
    border: 2px solid rgba(255,180,80,0.3);
    border-radius: 14px;
    margin-top: 25px;
}

.moodboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.moodboard-section {
    background: #111;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255,180,80,0.2);
}

.moodboard-section h4 {
    color: #ffb84d;
    margin-bottom: 12px;
    font-size: 14px;
}

#moodboard-references {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.reference-item {
    background: #0a0a0a;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
    color: #ccc;
}

#moodboard-palette {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 2px solid rgba(255,180,80,0.3);
    position: relative;
}

.color-swatch::after {
    content: attr(data-color);
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 10px;
    color: #888;
}

#moodboard-description {
    color: #ddd;
    font-size: 13px;
    line-height: 1.6;
}

#moodboard-keywords {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.keyword-tag {
    background: #ffb84d;
    color: #000;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

/* ------------------------------------------------------
   CAMERA PHYSICS MODAL
------------------------------------------------------ */
.camera-physics-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.physics-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.physics-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.physics-group label {
    color: #ffb84d;
    font-size: 13px;
    font-weight: 600;
}

.physics-group select,
.physics-group input {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    font-size: 14px;
}

.physics-results {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,180,80,0.2);
    margin: 20px 0;
}

.physics-results h4 {
    color: #ffb84d;
    margin-bottom: 15px;
}

#physics-calculations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.physics-calc-item {
    background: #111;
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #ffb84d;
}

.physics-calc-label {
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.physics-calc-value {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

/* ------------------------------------------------------
   LOCATION BOOSTER
------------------------------------------------------ */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.location-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid rgba(255,180,80,0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.location-card:hover {
    border-color: #ffb84d;
    box-shadow: 0 0 20px rgba(255,180,77,0.4);
    transform: translateY(-5px);
}

.location-card h4 {
    color: #ffb84d;
    margin-bottom: 10px;
    font-size: 16px;
}

.location-card p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.5;
}

.location-card.selected {
    border-color: #ff9d2f;
    background: linear-gradient(135deg, #2a1a0a 0%, #1a0a00 100%);
    box-shadow: 0 0 30px rgba(255,157,47,0.6);
}

/* ------------------------------------------------------
   ADVANCED FEATURES ULTRA (Level 3)
------------------------------------------------------ */
.glender-advanced-features-ultra {
    background: linear-gradient(135deg, #2a1a0a 0%, #1a0a00 100%);
    padding: 20px;
    border: 3px solid #ffcf74;
    border-radius: 14px;
    margin-top: 25px;
    box-shadow: 0 0 40px rgba(255,207,116,0.5);
    position: relative;
    overflow: hidden;
}

.glender-advanced-features-ultra::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff9d2f, #ffcf74, #ff9d2f);
    z-index: -1;
    filter: blur(10px);
    opacity: 0.3;
}

.advanced-btn-ultra {
    background: linear-gradient(135deg, #3a2a1a 0%, #2a1a0a 100%);
    border: 3px solid #ffcf74;
    border-radius: 12px;
    padding: 18px 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    position: relative;
    min-height: 130px;
}

.advanced-btn-ultra:hover {
    border-color: #fff;
    box-shadow: 0 0 35px rgba(255,255,255,0.6);
    transform: translateY(-4px) scale(1.08);
    background: linear-gradient(135deg, #4a3a2a 0%, #3a2a1a 100%);
}

.advanced-btn-ultra .btn-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 8px rgba(255,207,116,0.8));
}

/* ------------------------------------------------------
   MATERIALS GRID
------------------------------------------------------ */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.material-card {
    background: #111;
    border: 2px solid rgba(255,180,80,0.2);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.material-card:hover {
    border-color: #ffb84d;
    box-shadow: 0 0 20px rgba(255,180,77,0.4);
    transform: translateY(-3px);
}

.material-card.selected {
    border-color: #ffcf74;
    box-shadow: 0 0 30px rgba(255,207,116,0.6);
}

.material-preview {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(255,180,80,0.3);
}

.material-card h4 {
    color: #ffb84d;
    font-size: 14px;
    margin-bottom: 6px;
}

.material-card p {
    color: #aaa;
    font-size: 12px;
    line-height: 1.4;
}

/* ------------------------------------------------------
   COMPOSITION GRID
------------------------------------------------------ */
.composition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.composition-card {
    background: #111;
    border: 2px solid rgba(255,180,80,0.2);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.composition-card:hover {
    border-color: #ffb84d;
    box-shadow: 0 0 20px rgba(255,180,77,0.4);
    transform: translateY(-3px);
}

.composition-card.selected {
    border-color: #ffcf74;
    box-shadow: 0 0 30px rgba(255,207,116,0.6);
}

.composition-visual {
    width: 100%;
    height: 120px;
    background: #0a0a0a;
    border-radius: 8px;
    margin-bottom: 12px;
    position: relative;
    border: 1px solid rgba(255,180,80,0.2);
}

/* Composition visual patterns */
.thirds-grid {
    background-image: 
        linear-gradient(rgba(255,180,77,0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,180,77,0.3) 1px, transparent 1px);
    background-size: 33.33% 33.33%;
}

.golden-spiral::after {
    content: 'φ';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: rgba(255,180,77,0.4);
}

.center-box::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    border: 2px solid rgba(255,180,77,0.4);
}

.portrait-lines {
    background-image: linear-gradient(90deg, rgba(255,180,77,0.3) 1px, transparent 1px);
    background-size: 50% 100%;
    background-position: center;
}

.rembrandt-triangle::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 30%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 60px solid rgba(255,180,77,0.3);
}

.low-angle-lines {
    background: linear-gradient(to top, rgba(255,180,77,0.3) 0%, transparent 100%);
}

.high-angle-lines {
    background: linear-gradient(to bottom, rgba(255,180,77,0.3) 0%, transparent 100%);
}

.composition-card h4 {
    color: #ffb84d;
    font-size: 14px;
    margin-bottom: 6px;
}

.composition-card p {
    color: #aaa;
    font-size: 12px;
    line-height: 1.4;
}

/* ------------------------------------------------------
   COLOR GRADING
------------------------------------------------------ */
.grading-subtitle {
    color: #aaa;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 15px;
}

.grading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.grading-card {
    background: #111;
    border: 2px solid rgba(255,180,80,0.2);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.grading-card:hover {
    border-color: #ffb84d;
    box-shadow: 0 0 20px rgba(255,180,77,0.4);
    transform: translateY(-3px);
}

.grading-card.selected {
    border-color: #ffcf74;
    box-shadow: 0 0 30px rgba(255,207,116,0.6);
}

.grading-preview {
    width: 100%;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,180,80,0.3);
}

/* LUT Gradients */
.amberfire-gradient {
    background: linear-gradient(135deg, #ff9d2f 0%, #ffb84d 50%, #cc4400 100%);
}

.charcoal-gradient {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
}

.gold-gradient {
    background: linear-gradient(135deg, #ffcf74 0%, #ffb84d 50%, #ff9d2f 100%);
}

.fog-gradient {
    background: linear-gradient(135deg, #cccccc 0%, #999999 50%, #666666 100%);
}

.dusk-gradient {
    background: linear-gradient(135deg, #ff6600 0%, #ff9d2f 50%, #ffb84d 100%);
}

.ritual-gradient {
    background: linear-gradient(135deg, #1a0a00 0%, #ff6600 50%, #0a0a0a 100%);
}

.grading-card h4 {
    color: #ffb84d;
    font-size: 15px;
    margin-bottom: 8px;
}

.grading-card p {
    color: #aaa;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.grading-colors {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.grading-colors span {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 2px solid rgba(255,180,80,0.3);
}

/* ------------------------------------------------------
   ADVANCED FEATURES FUTURE (Level 4)
------------------------------------------------------ */
.glender-advanced-features-future {
    background: linear-gradient(135deg, #000000 0%, #1a0a00 50%, #000000 100%);
    padding: 25px;
    border: 4px solid #ff0000;
    border-radius: 16px;
    margin-top: 30px;
    box-shadow: 0 0 50px rgba(255,0,0,0.6), inset 0 0 30px rgba(255,100,0,0.2);
    position: relative;
    overflow: hidden;
    animation: futurePulse 3s ease-in-out infinite;
}

@keyframes futurePulse {
    0%, 100% { box-shadow: 0 0 50px rgba(255,0,0,0.6), inset 0 0 30px rgba(255,100,0,0.2); }
    50% { box-shadow: 0 0 70px rgba(255,50,0,0.8), inset 0 0 40px rgba(255,150,0,0.3); }
}

.glender-advanced-features-future::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #ff0000, #ff6600, #ffaa00, #ff6600, #ff0000);
    background-size: 400% 400%;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.5;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.future-subtitle {
    color: #ff6600;
    font-size: 12px;
    margin-top: -8px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.advanced-buttons-grid-future {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.advanced-btn-future {
    background: linear-gradient(135deg, #1a0000 0%, #000000 100%);
    border: 3px solid #ff0000;
    border-radius: 14px;
    padding: 25px 18px;
    cursor: pointer;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 140px;
}

.advanced-btn-future::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,100,0,0.3), transparent);
    transition: left 0.5s;
}

.advanced-btn-future:hover::before {
    left: 100%;
}

.advanced-btn-future:hover {
    border-color: #ff6600;
    box-shadow: 0 0 40px rgba(255,100,0,0.8);
    transform: translateY(-6px) scale(1.1);
    background: linear-gradient(135deg, #2a0000 0%, #1a0000 100%);
}

.advanced-btn-future .btn-icon {
    font-size: 40px;
    filter: drop-shadow(0 0 12px rgba(255,100,0,1));
    animation: iconGlow 2s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% { filter: drop-shadow(0 0 12px rgba(255,100,0,1)); }
    50% { filter: drop-shadow(0 0 20px rgba(255,150,0,1)); }
}

.btn-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff0000;
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    animation: badgePulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ------------------------------------------------------
   VIDEO EDIT MODE
------------------------------------------------------ */
.video-edit-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-subtitle {
    color: #aaa;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 20px;
}

.video-edit-input-section {
    margin-bottom: 25px;
}

.video-edit-input-section label {
    display: block;
    color: #ffb84d;
    font-weight: 600;
    margin-bottom: 10px;
}

#video-movements, #story-shots {
    width: 100%;
    min-height: 120px;
    background: #0a0a0a;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 15px;
    color: #fff;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    resize: vertical;
}

#video-movements:focus, #story-shots:focus {
    border-color: #ffb84d;
    outline: none;
}

.video-presets {
    margin-top: 15px;
}

.video-presets h4 {
    color: #ffb84d;
    font-size: 13px;
    margin-bottom: 10px;
}

.preset-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 8px 15px;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.preset-btn:hover {
    border-color: #ffb84d;
    background: #2a2a2a;
}

.video-timeline-output {
    margin-top: 25px;
    padding: 20px;
    background: #0a0a0a;
    border: 2px solid rgba(255,180,80,0.3);
    border-radius: 12px;
}

.timeline-viz {
    background: #111;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    min-height: 150px;
}

.timeline-script {
    background: #000;
    padding: 20px;
    border-radius: 10px;
    color: #0f0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.8;
    white-space: pre-wrap;
}

/* ------------------------------------------------------
   STORY SEQUENCER
------------------------------------------------------ */
.story-sequencer-content {
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
}

.story-input-section {
    margin-bottom: 25px;
}

.story-input-section label {
    display: block;
    color: #ffb84d;
    font-weight: 600;
    margin-bottom: 10px;
}

.story-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.story-option label {
    display: block;
    color: #aaa;
    font-size: 12px;
    margin-bottom: 8px;
}

.story-option select {
    width: 100%;
    background: #0a0a0a;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    font-size: 13px;
}

.story-option select:focus {
    border-color: #ffb84d;
    outline: none;
}

.storyboard-output {
    margin-top: 25px;
    padding: 20px;
    background: #0a0a0a;
    border: 2px solid rgba(255,180,80,0.3);
    border-radius: 12px;
}

.storyboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.storyboard-shot {
    background: #111;
    border: 2px solid rgba(255,180,80,0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.storyboard-shot:hover {
    border-color: #ffb84d;
    box-shadow: 0 0 20px rgba(255,180,77,0.4);
}

.shot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,180,80,0.2);
}

.shot-number {
    color: #ff6600;
    font-weight: 700;
    font-size: 16px;
}

.shot-duration {
    color: #aaa;
    font-size: 12px;
}

.shot-description {
    color: #ddd;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.shot-technical {
    background: #0a0a0a;
    padding: 12px;
    border-radius: 8px;
    font-size: 11px;
    color: #aaa;
    font-family: 'Courier New', monospace;
}

.shot-transition {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,180,80,0.1);
    color: #ffb84d;
    font-size: 12px;
    font-style: italic;
}

/* ------------------------------------------------------
   ADVANCED FEATURES MASTER (Level 5)
------------------------------------------------------ */
.glender-advanced-features-master {
    background: radial-gradient(circle at center, #1a0a00 0%, #000000 100%);
    padding: 30px;
    border: 5px solid #ffaa00;
    border-radius: 18px;
    margin-top: 35px;
    box-shadow: 0 0 60px rgba(255,170,0,0.8), inset 0 0 40px rgba(255,100,0,0.3);
    position: relative;
    overflow: hidden;
    animation: masterPulse 4s ease-in-out infinite;
}

@keyframes masterPulse {
    0%, 100% { 
        box-shadow: 0 0 60px rgba(255,170,0,0.8), inset 0 0 40px rgba(255,100,0,0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 90px rgba(255,200,0,1), inset 0 0 60px rgba(255,150,0,0.5);
        transform: scale(1.01);
    }
}

.glender-advanced-features-master::before {
    content: '';
    position: absolute;
    top: -5px; left: -5px; right: -5px; bottom: -5px;
    background: linear-gradient(45deg, #ffaa00, #ff6600, #ffaa00, #ff6600);
    background-size: 600% 600%;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.6;
    animation: masterGradient 6s ease infinite;
}

@keyframes masterGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.master-subtitle {
    color: #ffaa00;
    font-size: 13px;
    margin-top: -8px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255,170,0,0.8);
}

.advanced-buttons-grid-master {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.advanced-btn-master {
    background: linear-gradient(135deg, #2a1500 0%, #000000 100%);
    border: 4px solid #ffaa00;
    border-radius: 16px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 150px;
}

.advanced-btn-master::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: radial-gradient(circle, rgba(255,170,0,0.4), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    border-radius: 50%;
}

.advanced-btn-master:hover::before {
    width: 300px;
    height: 300px;
}

.advanced-btn-master:hover {
    border-color: #fff;
    box-shadow: 0 0 50px rgba(255,255,255,0.9);
    transform: translateY(-8px) scale(1.12);
    background: linear-gradient(135deg, #3a2500 0%, #1a0a00 100%);
}

.advanced-btn-master .btn-icon {
    font-size: 48px;
    filter: drop-shadow(0 0 15px rgba(255,170,0,1));
    animation: masterIconGlow 3s ease-in-out infinite;
}

@keyframes masterIconGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 15px rgba(255,170,0,1));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 25px rgba(255,200,0,1));
        transform: scale(1.1);
    }
}

.btn-badge-master {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ffaa00, #ff6600);
    color: #000;
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    box-shadow: 0 0 15px rgba(255,170,0,0.8);
    animation: masterBadgePulse 2s ease-in-out infinite;
}

@keyframes masterBadgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(255,170,0,0.8); }
    50% { transform: scale(1.15); box-shadow: 0 0 25px rgba(255,200,0,1); }
}

/* Tribal Glyph */
.tribal-glyph-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.glyph-input-section {
    margin-bottom: 25px;
}

.glyph-input-section label {
    display: block;
    color: #ffaa00;
    font-weight: 700;
    margin-bottom: 12px;
}

#glyph-input {
    width: 100%;
    min-height: 100px;
    background: #0a0a0a;
    border: 3px solid #ffaa00;
    border-radius: 12px;
    padding: 18px;
    color: #fff;
    font-size: 32px;
    text-align: center;
    font-family: serif;
    resize: vertical;
}

.glyph-presets {
    margin-top: 20px;
}

.glyph-presets h4 {
    color: #ffaa00;
    font-size: 14px;
    margin-bottom: 12px;
}

.glyph-preset-btn {
    background: #1a1a1a;
    border: 2px solid #ffaa00;
    border-radius: 10px;
    padding: 12px 20px;
    color: #ffaa00;
    font-size: 24px;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.glyph-preset-btn:hover {
    background: #2a2a2a;
    box-shadow: 0 0 20px rgba(255,170,0,0.6);
    transform: scale(1.1);
}

.glyph-output {
    margin-top: 30px;
    padding: 25px;
    background: #0a0a0a;
    border: 3px solid rgba(255,170,0,0.4);
    border-radius: 14px;
}

.glyph-result {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.glyph-section {
    background: #111;
    padding: 18px;
    border-radius: 12px;
    border-left: 4px solid #ffaa00;
}

.glyph-section h5 {
    color: #ffaa00;
    font-size: 13px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.glyph-section div {
    color: #ddd;
    font-size: 13px;
    line-height: 1.7;
}

/* Ancestral Memory */
.ancestral-content {
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
}

.ancestral-info {
    background: #0a0a0a;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid rgba(255,170,0,0.3);
    margin-bottom: 25px;
}

.ancestral-info p {
    color: #ddd;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.ancestral-info ul {
    list-style: none;
    padding: 0;
}

.ancestral-info li {
    color: #ffaa00;
    font-size: 13px;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.ancestral-info li::before {
    content: '🔱';
    position: absolute;
    left: 0;
}

/* Spirit Mode Panel */
.spirit-mode-panel {
    background: linear-gradient(135deg, #1a0a00 0%, #000000 100%);
    padding: 25px;
    border: 3px solid #ffaa00;
    border-radius: 14px;
    margin-top: 30px;
    box-shadow: 0 0 40px rgba(255,170,0,0.6);
}

.spirit-mode-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.spirit-mode-header h3 {
    color: #ffaa00;
    font-size: 20px;
    margin: 0;
}

.spirit-toggle {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 34px;
}

.spirit-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.spirit-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #333;
    transition: 0.4s;
    border-radius: 34px;
}

.spirit-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .spirit-slider {
    background-color: #ffaa00;
    box-shadow: 0 0 20px rgba(255,170,0,0.8);
}

input:checked + .spirit-slider:before {
    transform: translateX(36px);
}

.spirit-mode-info p {
    color: #ddd;
    font-size: 13px;
    margin-bottom: 15px;
}

.spirit-elements {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spirit-tag {
    background: linear-gradient(135deg, #2a1500, #1a0a00);
    border: 2px solid #ffaa00;
    padding: 8px 16px;
    border-radius: 20px;
    color: #ffaa00;
    font-size: 12px;
    font-weight: 600;
}

/* ------------------------------------------------------
   FUTURISTIC FEATURES PANEL
------------------------------------------------------ */
.futuristic-features-panel {
    background: linear-gradient(135deg, #0a0a1a 0%, #000000 100%);
    padding: 25px;
    border: 3px solid #00ffff;
    border-radius: 14px;
    margin-top: 30px;
    box-shadow: 0 0 40px rgba(0,255,255,0.5);
}

.futuristic-subtitle {
    color: #00ffff;
    font-size: 12px;
    margin-top: -8px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.futuristic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.futuristic-btn {
    background: linear-gradient(135deg, #001a1a 0%, #000000 100%);
    border: 2px solid #00ffff;
    border-radius: 12px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.futuristic-btn:hover {
    border-color: #00ffff;
    box-shadow: 0 0 30px rgba(0,255,255,0.7);
    transform: translateY(-3px);
}

.futuristic-btn .btn-icon {
    font-size: 32px;
}

/* Time Machine */
.time-machine-versions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.version-btn {
    background: #111;
    border: 2px solid #00ffff;
    border-radius: 10px;
    padding: 20px;
    color: #00ffff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.version-btn:hover {
    background: #1a1a1a;
    box-shadow: 0 0 20px rgba(0,255,255,0.5);
    transform: scale(1.05);
}

/* Scene Output */
.scene-content {
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
}

.scene-input label {
    display: block;
    color: #00ffff;
    font-weight: 600;
    margin-bottom: 10px;
}

#scene-description {
    width: 100%;
    min-height: 80px;
    background: #0a0a0a;
    border: 2px solid #00ffff;
    border-radius: 10px;
    padding: 15px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 15px;
}

.scene-output {
    margin-top: 25px;
    padding: 20px;
    background: #0a0a0a;
    border: 2px solid rgba(0,255,255,0.3);
    border-radius: 12px;
}

.scene-shot-card {
    background: #111;
    border-left: 4px solid #00ffff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.scene-shot-card h5 {
    color: #00ffff;
    margin-bottom: 10px;
}

.scene-shot-card p {
    color: #ddd;
    font-size: 13px;
    margin-bottom: 5px;
}

/* Continuity Locks */
.continuity-locks {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.continuity-locks h4 {
    color: #00ffff;
    margin-bottom: 15px;
}

.continuity-locks label {
    display: block;
    color: #ddd;
    padding: 10px;
    margin-bottom: 8px;
    background: #111;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.continuity-locks label:hover {
    background: #1a1a1a;
    border-left: 3px solid #00ffff;
}

.continuity-check {
    margin-right: 10px;
}

/* Motion Controls */
.motion-content {
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
}

.motion-controls {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.motion-param {
    margin-bottom: 20px;
}

.motion-param label {
    display: block;
    color: #00ffff;
    font-weight: 600;
    margin-bottom: 8px;
}

.motion-param input[type="range"] {
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 3px;
    outline: none;
}

.motion-param input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    background: #00ffff;
    border-radius: 50%;
    cursor: pointer;
}

.motion-param select,
.motion-param input[type="number"] {
    width: 100%;
    background: #111;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 10px;
    color: #fff;
}

.motion-output {
    margin-top: 30px;
    padding: 25px;
    background: #0a0a0a;
    border: 2px solid #00ffff;
    border-radius: 8px;
    position: relative;
}

.output-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.motion-output {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    white-space: pre-wrap;
}

/* Physics Sliders */
.physics-content {
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
}

.physics-sliders {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.physics-param {
    margin-bottom: 20px;
}

.physics-param label {
    display: flex;
    justify-content: space-between;
    color: #00ffff;
    font-weight: 600;
    margin-bottom: 8px;
}

.physics-param input[type="range"] {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #333, #00ffff);
    border-radius: 4px;
    outline: none;
}

.physics-param input[type="range"]::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    background: #00ffff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,255,255,0.8);
}

/* ------------------------------------------------------
   PRO PHOTOGRAPHY TOOLS
------------------------------------------------------ */
.pro-photo-panel {
    background: linear-gradient(135deg, #1a0f00 0%, #000000 100%);
    padding: 25px;
    border: 3px solid #ff6600;
    border-radius: 14px;
    margin-top: 30px;
    box-shadow: 0 0 40px rgba(255,102,0,0.5);
}

.pro-photo-subtitle {
    color: #ff6600;
    font-size: 12px;
    margin-top: -8px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pro-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.pro-photo-btn {
    background: linear-gradient(135deg, #2a1500 0%, #000000 100%);
    border: 2px solid #ff6600;
    border-radius: 12px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.pro-photo-btn:hover {
    border-color: #ff8833;
    box-shadow: 0 0 30px rgba(255,102,0,0.7);
    transform: translateY(-3px);
}

.pro-photo-btn .btn-icon {
    font-size: 32px;
}

/* Camera Calculator */
.calculator-content {
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
}

.calculator-inputs {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.calc-param {
    margin-bottom: 15px;
}

.calc-param label {
    display: block;
    color: #ff6600;
    font-weight: 600;
    margin-bottom: 8px;
}

.calc-param input,
.calc-param select {
    width: 100%;
    background: #111;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    font-size: 14px;
}

.calculator-output {
    margin-top: 20px;
    padding: 20px;
    background: #000;
    border: 2px solid #ff6600;
    border-radius: 10px;
    color: #ff8833;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.8;
}

.calculator-output strong {
    color: #ff6600;
}

/* Lens Imperfection */
.lens-content {
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
}

.lens-selector {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.lens-selector h4 {
    color: #ff6600;
    margin-bottom: 15px;
}

.lens-options {
    display: grid;
    gap: 12px;
}

.lens-option-btn {
    background: #111;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
}

.lens-option-btn:hover {
    border-color: #ff6600;
    background: #1a1a1a;
    box-shadow: 0 0 15px rgba(255,102,0,0.4);
}

.lens-option-btn.active {
    border-color: #ff6600;
    background: #2a1500;
}

.lens-option-btn strong {
    display: block;
    color: #ff6600;
    font-size: 15px;
    margin-bottom: 5px;
}

.lens-option-btn small {
    display: block;
    color: #999;
    font-size: 12px;
}

.lens-output {
    margin-top: 20px;
    padding: 20px;
    background: #0a0a0a;
    border: 2px solid #ff6600;
    border-radius: 10px;
}

.lens-output h4 {
    color: #ff6600;
    margin-bottom: 15px;
}

.lens-output p {
    color: #ddd;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Multi-Exposure */
.exposure-content {
    max-width: 750px;
    max-height: 85vh;
    overflow-y: auto;
}

.exposure-techniques {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.exposure-techniques h4 {
    color: #ff6600;
    margin-bottom: 15px;
}

.exposure-option {
    margin-bottom: 12px;
}

.exposure-option label {
    display: flex;
    align-items: center;
    color: #ddd;
    padding: 12px;
    background: #111;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.exposure-option label:hover {
    background: #1a1a1a;
    border-left: 3px solid #ff6600;
}

.exposure-check {
    margin-right: 12px;
    width: 18px;
    height: 18px;
}

.exposure-option strong {
    color: #ff6600;
    margin-right: 8px;
}

.exposure-params {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.exposure-params h4 {
    color: #ff6600;
    margin-bottom: 15px;
}

.exposure-param {
    margin-bottom: 20px;
}

.exposure-param label {
    display: flex;
    justify-content: space-between;
    color: #ff6600;
    font-weight: 600;
    margin-bottom: 8px;
}

.exposure-param input[type="range"] {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #333, #ff6600);
    border-radius: 4px;
    outline: none;
}

.exposure-param input[type="range"]::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    background: #ff6600;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255,102,0,0.8);
}

/* ------------------------------------------------------
   DESIGNER / ARTIST TOOLS
------------------------------------------------------ */
.designer-panel {
    background: linear-gradient(135deg, #1a001a 0%, #000000 100%);
    padding: 25px;
    border: 3px solid #ff00ff;
    border-radius: 14px;
    margin-top: 30px;
    box-shadow: 0 0 40px rgba(255,0,255,0.5);
}

.designer-subtitle {
    color: #ff00ff;
    font-size: 12px;
    margin-top: -8px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.designer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.designer-btn {
    background: linear-gradient(135deg, #2a002a 0%, #000000 100%);
    border: 2px solid #ff00ff;
    border-radius: 12px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.designer-btn:hover {
    border-color: #ff66ff;
    box-shadow: 0 0 30px rgba(255,0,255,0.7);
    transform: translateY(-3px);
}

.designer-btn .btn-icon {
    font-size: 32px;
}

/* Moodboard Builder 2.0 */
.moodboard-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.moodboard-input {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.moodboard-input label {
    display: block;
    color: #ff00ff;
    font-weight: 600;
    margin-bottom: 10px;
}

.moodboard-input input {
    width: 100%;
    background: #111;
    border: 2px solid #ff00ff;
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 15px;
}

.moodboard-output {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid rgba(255,0,255,0.3);
}

.moodboard-output h4 {
    color: #ff00ff;
    margin-bottom: 20px;
}

.moodboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.moodboard-section {
    background: #111;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #ff00ff;
}

.moodboard-section h5 {
    color: #ff00ff;
    margin-bottom: 12px;
    font-size: 14px;
}

.color-palette {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 2px solid #333;
    position: relative;
    cursor: pointer;
}

.color-swatch:hover {
    border-color: #ff00ff;
    transform: scale(1.1);
}

.visual-refs,
.texture-light,
.energy-mood {
    color: #ddd;
    font-size: 13px;
    line-height: 1.7;
}

/* Style Fusion Engine */
.fusion-content {
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
}

.fusion-selector {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.fusion-selector h4 {
    color: #ff00ff;
    margin-bottom: 15px;
}

.fusion-select {
    width: 100%;
    background: #111;
    border: 2px solid #ff00ff;
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 20px;
}

.fusion-options {
    display: grid;
    gap: 12px;
}

.fusion-option-btn {
    background: #111;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
}

.fusion-option-btn:hover {
    border-color: #ff00ff;
    background: #1a1a1a;
    box-shadow: 0 0 15px rgba(255,0,255,0.4);
}

.fusion-option-btn.active {
    border-color: #ff00ff;
    background: #2a002a;
}

.fusion-option-btn strong {
    display: block;
    color: #ff00ff;
    font-size: 15px;
    margin-bottom: 5px;
}

.fusion-option-btn small {
    display: block;
    color: #999;
    font-size: 12px;
}

.fusion-output {
    background: #0a0a0a;
    padding: 20px;
    border: 2px solid #ff00ff;
    border-radius: 10px;
}

.fusion-output h4 {
    color: #ff00ff;
    margin-bottom: 15px;
}

.fusion-output p {
    color: #ddd;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Color Harmony AI */
.harmony-content {
    max-width: 850px;
}

.harmony-selector {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.harmony-selector h4 {
    color: #ff00ff;
    margin-bottom: 15px;
}

.harmony-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.harmony-btn {
    background: #111;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.harmony-btn:hover {
    border-color: #ff00ff;
    background: #1a1a1a;
    box-shadow: 0 0 15px rgba(255,0,255,0.4);
}

.harmony-btn.active {
    border-color: #ff00ff;
    background: #2a002a;
}

.harmony-icon {
    font-size: 24px;
}

.harmony-btn strong {
    color: #ff00ff;
    font-size: 14px;
}

.harmony-btn small {
    color: #999;
    font-size: 11px;
}

.harmony-preview {
    width: 100%;
    height: 30px;
    border-radius: 6px;
    margin-top: 8px;
}

.analogous-preview {
    background: linear-gradient(to right, #3498db, #2ecc71, #f1c40f);
}

.complementary-preview {
    background: linear-gradient(to right, #3498db, #e74c3c);
}

.triadic-preview {
    background: linear-gradient(to right, #e74c3c, #f1c40f, #3498db);
}

.split-preview {
    background: linear-gradient(to right, #3498db, #e67e22, #f39c12);
}

.tetradic-preview {
    background: linear-gradient(to right, #e74c3c, #2ecc71, #3498db, #f1c40f);
}

.mono-preview {
    background: linear-gradient(to right, #1a1a1a, #666, #ccc);
}

.harmony-output {
    background: #0a0a0a;
    padding: 20px;
    border: 2px solid #ff00ff;
    border-radius: 10px;
}

.harmony-output h4 {
    color: #ff00ff;
    margin-bottom: 15px;
}

.harmony-output p {
    color: #ddd;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Atmospheric Pack */
.atmospheric-content {
    max-width: 750px;
    max-height: 85vh;
    overflow-y: auto;
}

.atmospheric-controls {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.atmos-param {
    margin-bottom: 25px;
}

.atmos-param label {
    display: flex;
    justify-content: space-between;
    color: #ff00ff;
    font-weight: 600;
    margin-bottom: 8px;
}

.atmos-param input[type="range"] {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #333, #ff00ff);
    border-radius: 4px;
    outline: none;
}

.atmos-param input[type="range"]::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    background: #ff00ff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255,0,255,0.8);
}

.atmos-param small {
    display: block;
    color: #999;
    font-size: 11px;
    margin-top: 5px;
}

.atmos-select {
    width: 100%;
    background: #111;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    font-size: 14px;
    margin-top: 8px;
}

.atmospheric-preview {
    background: #0a0a0a;
    padding: 20px;
    border: 2px solid rgba(255,0,255,0.3);
    border-radius: 10px;
    margin-top: 20px;
}

.atmospheric-preview h4 {
    color: #ff00ff;
    margin-bottom: 15px;
}

#atmos-preview-text {
    color: #ddd;
    font-size: 13px;
    line-height: 1.8;
    font-family: 'Courier New', monospace;
}

/* ------------------------------------------------------
   AUDIO / EMOTION / ENERGY TOOLS
------------------------------------------------------ */
.audio-emotion-panel {
    background: linear-gradient(135deg, #1a0a00 0%, #000000 100%);
    padding: 25px;
    border: 3px solid #ffaa00;
    border-radius: 14px;
    margin-top: 30px;
    box-shadow: 0 0 40px rgba(255,170,0,0.5);
}

.audio-emotion-subtitle {
    color: #ffaa00;
    font-size: 12px;
    margin-top: -8px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.audio-emotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.audio-emotion-btn {
    background: linear-gradient(135deg, #2a1500 0%, #000000 100%);
    border: 2px solid #ffaa00;
    border-radius: 12px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.audio-emotion-btn:hover {
    border-color: #ffcc33;
    box-shadow: 0 0 30px rgba(255,170,0,0.7);
    transform: translateY(-3px);
}

.audio-emotion-btn .btn-icon {
    font-size: 32px;
}

/* Sound-Mood Engine */
.sound-mood-content {
    max-width: 850px;
}

.sound-mood-selector {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.sound-mood-selector h4 {
    color: #ffaa00;
    margin-bottom: 15px;
}

.sound-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.sound-option-btn {
    background: #111;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sound-option-btn:hover {
    border-color: #ffaa00;
    background: #1a1a1a;
    box-shadow: 0 0 15px rgba(255,170,0,0.4);
}

.sound-option-btn.active {
    border-color: #ffaa00;
    background: #2a1500;
}

.sound-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
}

.sound-option-btn strong {
    color: #ffaa00;
    font-size: 14px;
}

.sound-option-btn small {
    color: #999;
    font-size: 11px;
}

.sound-mood-output {
    background: #0a0a0a;
    padding: 20px;
    border: 2px solid #ffaa00;
    border-radius: 10px;
}

.sound-mood-output h4 {
    color: #ffaa00;
    margin-bottom: 15px;
}

.sound-mood-output p {
    color: #ddd;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Emotional Intention Layer */
.emotional-content {
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
}

.emotional-selector {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.emotional-selector h4 {
    color: #ffaa00;
    margin-bottom: 15px;
}

.emotion-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.emotion-btn {
    background: #111;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.emotion-btn:hover {
    border-color: #ffaa00;
    background: #1a1a1a;
    box-shadow: 0 0 15px rgba(255,170,0,0.4);
}

.emotion-btn.active {
    border-color: #ffaa00;
    background: #2a1500;
}

.emotion-icon {
    font-size: 32px;
}

.emotion-btn strong {
    color: #ffaa00;
    font-size: 14px;
}

.emotion-btn small {
    color: #999;
    font-size: 11px;
}

.emotional-output {
    background: #0a0a0a;
    padding: 20px;
    border: 2px solid #ffaa00;
    border-radius: 10px;
}

.emotional-output h4 {
    color: #ffaa00;
    margin-bottom: 15px;
}

.emotional-output p {
    color: #ddd;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Rhythm & Pace Mode */
.rhythm-content {
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
}

.rhythm-controls {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.rhythm-param {
    margin-bottom: 25px;
}

.rhythm-param label {
    display: flex;
    justify-content: space-between;
    color: #ffaa00;
    font-weight: 600;
    margin-bottom: 8px;
}

.rhythm-param input[type="range"] {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #333, #ffaa00);
    border-radius: 4px;
    outline: none;
}

.rhythm-param input[type="range"]::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    background: #ffaa00;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255,170,0,0.8);
}

.rhythm-param small {
    display: block;
    color: #999;
    font-size: 11px;
    margin-top: 5px;
}

.rhythm-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.rhythm-labels span {
    font-size: 10px;
    color: #666;
}

.rhythm-select {
    width: 100%;
    background: #111;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    font-size: 14px;
    margin-top: 8px;
}

.rhythm-preview {
    background: #0a0a0a;
    padding: 20px;
    border: 2px solid rgba(255,170,0,0.3);
    border-radius: 10px;
    margin-top: 20px;
}

.rhythm-preview h4 {
    color: #ffaa00;
    margin-bottom: 15px;
}

#rhythm-preview-text {
    color: #ddd;
    font-size: 13px;
    line-height: 1.8;
    font-family: 'Courier New', monospace;
}

/* ------------------------------------------------------
   GLOBAL FEATURES (SAFETY MESH)
------------------------------------------------------ */
.global-features-panel {
    background: linear-gradient(135deg, #1a001a 0%, #000000 100%);
    padding: 25px;
    border: 3px solid #00ff00;
    border-radius: 14px;
    margin-top: 30px;
    box-shadow: 0 0 40px rgba(0,255,0,0.5);
}

.global-features-subtitle {
    color: #00ff00;
    font-size: 12px;
    margin-top: -8px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.global-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.global-features-btn {
    background: linear-gradient(135deg, #001a00 0%, #000000 100%);
    border: 2px solid #00ff00;
    border-radius: 12px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
    position: relative;
}

.global-features-btn:hover {
    border-color: #33ff33;
    box-shadow: 0 0 30px rgba(0,255,0,0.7);
    transform: translateY(-3px);
}

.global-features-btn .btn-icon {
    font-size: 32px;
}

.global-features-btn .btn-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #00ff00;
    color: #000;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
}

/* Safety Mesh Modal */
.safety-mesh-content {
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
}

.safety-mesh-info {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.safety-mesh-info h4 {
    color: #00ff00;
    margin-bottom: 15px;
}

.safety-checks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.safety-check-item {
    background: #111;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #00ff00;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.safety-check-item .check-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.safety-check-item strong {
    color: #00ff00;
    font-size: 14px;
}

.safety-check-item small {
    color: #999;
    font-size: 11px;
}

/* Toggle Switch */
.safety-mesh-toggle {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #00ff00;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-label {
    color: #00ff00;
    font-weight: 600;
    font-size: 14px;
}

.safety-mesh-toggle small {
    display: block;
    color: #999;
    font-size: 11px;
    margin-left: 75px;
    margin-top: -10px;
}

/* Safety Mesh Report */
.safety-mesh-report {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border: 2px solid rgba(0,255,0,0.3);
}

.safety-mesh-report h4 {
    color: #00ff00;
    margin-bottom: 15px;
}

.safety-mesh-report h5 {
    color: #00ff00;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 14px;
}

.safety-issues {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.safety-issue {
    background: #1a0000;
    border-left: 4px solid #ff3333;
    padding: 12px;
    border-radius: 6px;
}

.safety-issue.warning {
    background: #1a1a00;
    border-left-color: #ffaa00;
}

.safety-issue.info {
    background: #001a1a;
    border-left-color: #00aaff;
}

.safety-issue.success {
    background: #001a00;
    border-left-color: #00ff00;
}

.safety-issue-title {
    color: #ff3333;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 5px;
}

.safety-issue.warning .safety-issue-title {
    color: #ffaa00;
}

.safety-issue.info .safety-issue-title {
    color: #00aaff;
}

.safety-issue.success .safety-issue-title {
    color: #00ff00;
}

.safety-issue-desc {
    color: #ddd;
    font-size: 12px;
}

.corrections-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.correction-item {
    background: #111;
    padding: 10px;
    border-radius: 6px;
    border-left: 3px solid #00ff00;
}

.correction-item strong {
    color: #00ff00;
    font-size: 12px;
}

.correction-item p {
    color: #ddd;
    font-size: 11px;
    margin: 5px 0 0 0;
}

/* ------------------------------------------------------
   AI CHATBOT
------------------------------------------------------ */
.chatbot-btn {
    background: linear-gradient(135deg, #001a1a 0%, #000000 100%) !important;
    border-color: #00ffff !important;
}

.chatbot-btn:hover {
    border-color: #33ffff !important;
    box-shadow: 0 0 30px rgba(0,255,255,0.7) !important;
}

.ai-chatbot-content {
    max-width: 1200px;
    width: 95vw;
    max-height: 90vh;
    overflow: hidden;
}

.chatbot-wrapper {
    display: flex;
    gap: 0;
    height: 75vh;
    min-height: 600px;
    max-height: 80vh;
    overflow: hidden;
}

/* Chat History Sidebar */
.chatbot-sidebar {
    width: 280px;
    background: #0a0a0a;
    border-right: 2px solid #222;
    display: flex;
    flex-direction: column;
    border-radius: 10px 0 0 10px;
}

.sidebar-header {
    padding: 15px;
    border-bottom: 2px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h4 {
    color: #00ffff;
    margin: 0;
    font-size: 14px;
}

.new-chat-btn {
    background: #00ffff;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0,255,255,0.5);
}

.chat-sessions-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.loading-sessions {
    text-align: center;
    color: #999;
    padding: 20px;
    font-size: 12px;
}

.session-item {
    background: #111;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    position: relative;
}

.session-item:hover {
    background: #1a1a1a;
    border-left-color: #00ffff;
}

.session-item.active {
    background: #1a1a1a;
    border-left-color: #00ffff;
}

.session-title {
    color: #00ffff;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.session-preview {
    color: #999;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.session-time {
    color: #666;
    font-size: 10px;
    margin-top: 5px;
}

.session-delete {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ff3333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
}

.session-item:hover .session-delete {
    opacity: 1;
}

.session-delete:hover {
    background: #ff0000;
}

.chatbot-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0a0a0a;
    border-radius: 0 10px 10px 0;
    min-width: 0;
    overflow: hidden;
}

/* Chat Messages */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 0;
    max-height: calc(75vh - 250px);
}

.chat-message {
    display: flex;
    gap: 12px;
    animation: messageSlideIn 0.3s ease;
    max-width: 100%;
    word-wrap: break-word;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-avatar {
    font-size: 32px;
    flex-shrink: 0;
}

.message-content {
    background: #111;
    padding: 15px;
    border-radius: 12px;
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.bot-message .message-content {
    border-left: 3px solid #00ffff;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: #1a1a1a;
    border-left: 3px solid #00ff00;
}

.message-content strong {
    color: #00ffff;
    display: block;
    margin-bottom: 8px;
}

.message-content p {
    color: #ddd;
    font-size: 13px;
    line-height: 1.6;
    margin: 8px 0;
}

.message-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.message-content li {
    color: #ddd;
    font-size: 13px;
    line-height: 1.6;
    margin: 5px 0;
}

.message-content code {
    background: #000;
    padding: 2px 6px;
    border-radius: 4px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.message-content pre {
    background: #000;
    padding: 12px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 10px 0;
}

.message-content pre code {
    background: none;
    padding: 0;
}

/* Image Upload */
.chatbot-image-upload {
    padding: 10px 20px;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    background: #0a0a0a;
}

.image-upload-zone {
    border: 2px dashed #333;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.image-upload-zone:hover {
    border-color: #00ffff;
    background: #111;
}

.upload-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 5px;
}

.image-upload-zone p {
    color: #00ffff;
    font-weight: 600;
    margin: 0 0 3px 0;
    font-size: 13px;
}

.image-upload-zone small {
    color: #999;
    font-size: 10px;
}

.uploaded-image-preview {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.uploaded-image-preview img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #00ffff;
}

.remove-image-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff3333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: all 0.3s;
}

.remove-image-btn:hover {
    background: #ff0000;
    transform: scale(1.1);
}

/* Quick Actions */
.chatbot-quick-actions {
    padding: 10px 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid #222;
    background: #0a0a0a;
}

.quick-action-btn {
    background: #111;
    border: 2px solid #333;
    border-radius: 20px;
    padding: 8px 16px;
    color: #00ffff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-action-btn:hover {
    border-color: #00ffff;
    background: #1a1a1a;
    box-shadow: 0 0 10px rgba(0,255,255,0.3);
}

/* Chat Input */
.chatbot-input-area {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    align-items: flex-end;
    background: #0a0a0a;
    border-top: 1px solid #222;
}

#chatbot-input {
    flex: 1;
    background: #111;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 12px;
    color: #fff;
    font-size: 14px;
    resize: none;
    font-family: inherit;
    min-height: 45px;
    max-height: 120px;
    height: 45px;
}

#chatbot-input:focus {
    outline: none;
    border-color: #00ffff;
}

.chatbot-send-btn {
    background: linear-gradient(135deg, #00ffff 0%, #00aaaa 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,255,255,0.5);
}

.chatbot-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.send-icon {
    font-size: 16px;
}

/* Loading Animation */
.chat-loading {
    display: flex;
    gap: 5px;
    padding: 10px;
}

.chat-loading span {
    width: 8px;
    height: 8px;
    background: #00ffff;
    border-radius: 50%;
    animation: chatBounce 1.4s infinite ease-in-out both;
}

.chat-loading span:nth-child(1) {
    animation-delay: -0.32s;
}

.chat-loading span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes chatBounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Scrollbar */
.chatbot-messages::-webkit-scrollbar {
    width: 8px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #00ffff;
}

/* ------------------------------------------------------
   CHATBOT RESPONSIVE
------------------------------------------------------ */
@media (max-width: 1024px) {
    .ai-chatbot-content {
        width: 98vw;
    }
    
    .chatbot-sidebar {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .chatbot-wrapper {
        height: 85vh;
        min-height: 500px;
    }
    
    .chatbot-sidebar {
        width: 180px;
    }
    
    .chatbot-messages {
        padding: 15px;
        max-height: calc(85vh - 220px);
    }
    
    .message-avatar {
        font-size: 24px;
    }
    
    .message-content {
        padding: 12px;
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .chatbot-wrapper {
        flex-direction: column;
        height: 90vh;
    }
    
    .chatbot-sidebar {
        width: 100%;
        max-height: 150px;
        border-right: none;
        border-bottom: 2px solid #222;
        border-radius: 10px 10px 0 0;
    }
    
    .chatbot-container {
        border-radius: 0 0 10px 10px;
    }
    
    .chatbot-messages {
        max-height: calc(90vh - 300px);
    }
}

/* ------------------------------------------------------
   TOAST NOTIFICATIONS
------------------------------------------------------ */
.glender-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.glender-toast {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid #ffb84d;
    border-radius: 12px;
    padding: 16px 24px;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(255, 180, 77, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    animation: slideInRight 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.glender-toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ffb84d;
}

.glender-toast.success::before {
    background: #4caf50;
}

.glender-toast.error::before {
    background: #ff4444;
}

.glender-toast.info::before {
    background: #2196f3;
}

.glender-toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.glender-toast-content {
    flex: 1;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}

.glender-toast-close {
    background: none;
    border: none;
    color: #ffb84d;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.glender-toast-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.glender-toast.removing {
    animation: slideOutRight 0.3s ease-in forwards;
}

/* ------------------------------------------------------
   IMAGE PRESETS
------------------------------------------------------ */
.image-presets-section {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 184, 77, 0.05);
    border: 2px solid rgba(255, 184, 77, 0.3);
    border-radius: 12px;
    transition: all 0.3s;
}

.image-presets-header h4 {
    color: #ffb84d;
    font-size: 16px;
    margin: 0 0 5px 0;
}

.image-presets-header p {
    color: #999;
    font-size: 12px;
    margin: 0 0 15px 0;
}

.image-presets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.image-preset-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid rgba(255, 184, 77, 0.3);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.image-preset-card:hover {
    border-color: #ffb84d;
    background: linear-gradient(135deg, #222 0%, #111 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 184, 77, 0.3);
}

.image-preset-card.active {
    background: linear-gradient(135deg, #ffb84d 0%, #ff9d2f 100%);
    border-color: #fff;
    box-shadow: 0 6px 25px rgba(255, 184, 77, 0.6);
}

.image-preset-card .preset-icon {
    font-size: 32px;
    margin-bottom: 5px;
}

.image-preset-card .preset-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffb84d;
    margin-bottom: 5px;
}

.image-preset-card.active .preset-name {
    color: #000;
}

.image-preset-card .preset-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

.image-preset-card.active .preset-desc {
    color: #333;
}

/* ------------------------------------------------------
   SORA PRESETS
------------------------------------------------------ */
.sora-presets-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.sora-presets-header h4 {
    color: #00ffff;
    font-size: 16px;
    margin: 0 0 5px 0;
}

.sora-presets-header p {
    color: #999;
    font-size: 12px;
    margin: 0 0 15px 0;
}

.sora-presets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.sora-preset-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sora-preset-card:hover {
    border-color: #00ffff;
    background: linear-gradient(135deg, #222 0%, #111 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
}

.sora-preset-card.active {
    background: linear-gradient(135deg, #00ffff 0%, #00cccc 100%);
    border-color: #fff;
    box-shadow: 0 6px 25px rgba(0, 255, 255, 0.6);
}

.sora-preset-card .preset-icon {
    font-size: 32px;
    margin-bottom: 5px;
}

.sora-preset-card .preset-name {
    font-size: 15px;
    font-weight: 700;
    color: #00ffff;
    margin-bottom: 5px;
}

.sora-preset-card.active .preset-name {
    color: #000;
}

.sora-preset-card .preset-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

.sora-preset-card.active .preset-desc {
    color: #333;
}

/* ------------------------------------------------------
   UTILITY
------------------------------------------------------ */
.hidden {
    display: none !important;
}

