/* Reset & base */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } :root { --bg: #050508; --bg-elevated: rgba(15, 18, 32, 0.72); --card-bg: rgba(20, 24, 45, 0.55); --card-border: rgba(147, 155, 211, 0.22); --card-glow: rgba(120, 140, 255, 0.18); --text: #f1f3fb; --text-muted: #9aa3c2; --accent: #7c8cff; --accent-soft: #a5b4fc; --accent-dark: #4b55a8; --distill-pink: #ffb6d5; --distill-purple: #c4b5fd; --radius: 24px; --radius-sm: 14px; --shadow: 0 20px 60px rgba(0, 0, 0, 0.45); --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1); } html { scroll-behavior: smooth; } body { min-height: 100vh; font-family: "Inter", "Noto Serif SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: linear-gradient(90deg, #06040d 0%, transparent 18%, transparent 82%, #06040d 100%), linear-gradient(180deg, transparent 0%, transparent 55%, #06040d 92%), url(img/bg.png); background-color: #06040d; background-size: 100% 100%, 100% 100%, auto 100vh; background-position: center, center, center top; background-repeat: no-repeat, no-repeat, no-repeat; background-attachment: scroll, scroll, scroll; color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; } .universe, .stars, .glow-orb { display: none; } /* App shell */ .app { position: relative; z-index: 1; min-height: 100vh; max-width: 520px; margin: 0 auto; padding: 48px 38px 32px; display: flex; flex-direction: column; } .view { display: none; flex: 1; flex-direction: column; animation: fadeIn 0.5s ease forwards; } .view.active { display: flex; } @keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } /* Landing */ .view--landing { justify-content: flex-start; padding-top: 40vh; gap: 0; } /* Cards */ .cards { display: flex; flex-direction: column; gap: 22px; margin: 0; } .card { position: relative; border-radius: 30px; overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); cursor: pointer; isolation: isolate; } .card__frame { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; } /* Characters card: deep space crystal */ .card--characters { min-height: 188px; display: flex; align-items: center; padding: 26px 24px; background: linear-gradient(100deg, rgba(8, 10, 26, 0.82) 0%, rgba(15, 20, 55, 0.45) 45%, transparent 75%), url(img/card1.png); background-size: cover, cover; background-position: center, center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 0 1px rgba(140, 160, 255, 0.28), 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 48px rgba(100, 120, 255, 0.2); } .card--characters .card__frame { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 0 24px rgba(120, 140, 255, 0.12); } .card--characters:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 0 1px rgba(160, 180, 255, 0.45), 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 60px rgba(110, 135, 255, 0.3); } /* Distill card: warm sunset lovers */ .card--distill { min-height: 210px; display: flex; align-items: flex-end; padding: 26px 24px; background: linear-gradient(100deg, rgba(45, 25, 60, 0.78) 0%, rgba(80, 40, 80, 0.35) 40%, transparent 72%), linear-gradient(0deg, rgba(20, 15, 35, 0.55) 0%, transparent 45%), url(img/card2.png); background-size: cover, cover, cover; background-position: center, center, center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 0 1px rgba(255, 160, 205, 0.35), 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 52px rgba(255, 130, 180, 0.22); } .card--distill .card__frame { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 0 28px rgba(255, 160, 200, 0.12); } .card--distill:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 0 0 1px rgba(255, 170, 210, 0.5), 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 68px rgba(255, 140, 190, 0.32); } .card__content { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; z-index: 2; } .card__title { font-family: "Noto Serif SC", serif; font-size: 27px; font-weight: 700; letter-spacing: 1px; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); } .card__desc { font-size: 14px; color: rgba(235, 238, 255, 0.82); margin-bottom: 6px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); } /* Buttons */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent; font-size: 14px; font-weight: 500; cursor: pointer; transition: all var(--transition); font-family: inherit; white-space: nowrap; } .btn--primary { background: linear-gradient(135deg, #8b9dff 0%, #6c7bf7 100%); color: #fff; box-shadow: 0 6px 24px rgba(108, 123, 247, 0.35); } .btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 32px rgba(108, 123, 247, 0.5); } .btn--outline { background: rgba(0, 0, 0, 0.22); border-color: rgba(255,255,255,0.35); color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } .btn--outline:hover { background: rgba(0, 0, 0, 0.35); border-color: rgba(255,255,255,0.55); } .btn--ghost { background: transparent; color: var(--text-muted); } .btn--ghost:hover { color: var(--text); } .btn--small { padding: 7px 14px; font-size: 13px; } .btn--block { width: 100%; } .btn__arrow { transition: transform var(--transition); } .btn:hover .btn__arrow { transform: translateX(3px); } .icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); color: var(--text); font-size: 18px; cursor: pointer; transition: background var(--transition); } .icon-btn:hover { background: rgba(255,255,255,0.12); } /* Footer */ .landing-footer { display: flex; justify-content: space-between; margin-top: 28px; padding: 0 6px 8px; } .footer-link { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color var(--transition); } .footer-link:hover { color: var(--text); } /* Creator view */ .view--creator { padding-top: 40vh; } .creator-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; } .creator-brand { display: flex; flex-direction: column; flex: 1; } .creator-brand__name { font-family: "Noto Serif SC", serif; font-size: 18px; font-weight: 600; letter-spacing: 1px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); } .creator-brand__step { font-size: 12px; color: var(--text-muted); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); } .stepper { display: flex; gap: 6px; } .stepper__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.15); transition: background var(--transition); } .stepper__dot.active { background: var(--accent); box-shadow: 0 0 8px var(--accent); } /* Form */ .creator-form { display: flex; flex-direction: column; flex: 1; } .form-step { display: none; flex-direction: column; flex: 1; border: none; animation: fadeIn 0.35s ease; } .form-step.active { display: flex; } .form-step__legend { font-family: "Noto Serif SC", serif; font-size: 22px; font-weight: 600; margin-bottom: 18px; padding: 0; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55); } .field-group { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .field { display: flex; flex-direction: column; gap: 6px; grid-column: 1 / -1; } .field--half { grid-column: span 1; } .field--checkbox { flex-direction: row; align-items: center; gap: 10px; cursor: pointer; } .field__label { font-size: 13px; color: var(--text-muted); } .field__label small { color: rgba(154, 163, 194, 0.7); font-size: 11px; } .field__input { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.12); background: rgba(8, 10, 26, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--text); font-size: 14px; font-family: inherit; outline: none; transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); } .field__input::placeholder { color: rgba(154, 163, 194, 0.45); } .field__input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124, 140, 255, 0.12); } textarea.field__input { resize: vertical; min-height: 86px; line-height: 1.6; } textarea.field__input--tall { min-height: 120px; } .field--checkbox input { position: absolute; opacity: 0; width: 0; height: 0; } .checkmark { width: 18px; height: 18px; border-radius: 5px; border: 1px solid rgba(255,255,255,0.2); background: rgba(8, 10, 26, 0.78); display: grid; place-items: center; transition: all var(--transition); flex-shrink: 0; } .field--checkbox input:checked + .checkmark { background: var(--accent); border-color: var(--accent); } .field--checkbox input:checked + .checkmark::after { content: "✓"; color: #fff; font-size: 11px; font-weight: 700; } .form-actions { margin-top: auto; padding-top: 22px; display: flex; justify-content: flex-end; } .form-actions--split { justify-content: space-between; } /* Result panel */ .result-panel { display: flex; flex-direction: column; gap: 18px; animation: fadeIn 0.5s ease; } .result-panel__header { text-align: center; } .result-panel__title { font-family: "Noto Serif SC", serif; font-size: 24px; font-weight: 600; } .result-panel__desc { font-size: 13px; color: var(--text-muted); margin-top: 4px; } .result-panel__files { display: flex; gap: 12px; } .file-card { flex: 1; display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: var(--radius-sm); border: 1px solid var(--card-border); background: var(--card-bg); backdrop-filter: blur(16px); } .file-card__icon { font-size: 24px; } .file-card__info { display: flex; flex-direction: column; flex: 1; gap: 2px; } .file-card__info strong { font-size: 14px; } .file-card__info small { font-size: 11px; color: var(--text-muted); } .result-panel__preview { border-radius: var(--radius); border: 1px solid var(--card-border); background: rgba(0, 0, 0, 0.35); overflow: hidden; } .preview-tabs { display: flex; border-bottom: 1px solid rgba(255,255,255,0.08); } .preview-tab { flex: 1; padding: 12px; background: transparent; border: none; color: var(--text-muted); font-size: 13px; cursor: pointer; transition: color var(--transition), background var(--transition); } .preview-tab.active { color: var(--text); background: rgba(255,255,255,0.05); } .preview-code { padding: 16px; margin: 0; overflow-x: auto; max-height: 320px; overflow-y: auto; font-family: "SF Mono", Monaco, "Cascadia Code", monospace; font-size: 12px; line-height: 1.6; color: #d4d8f0; white-space: pre-wrap; word-break: break-word; } .preview-code code { font-family: inherit; } /* Auth view */ .view--auth { padding-top: 40vh; } .auth-tabs { display: flex; gap: 8px; margin-bottom: 22px; padding: 5px; border-radius: var(--radius); background: rgba(8, 9, 22, 0.55); border: 1px solid rgba(255, 255, 255, 0.08); } .auth-tab { flex: 1; padding: 10px; border-radius: var(--radius-sm); border: none; background: transparent; color: var(--text-muted); font-size: 14px; font-weight: 500; cursor: pointer; transition: color var(--transition), background var(--transition); } .auth-tab.active { background: rgba(255, 255, 255, 0.1); color: var(--text); } .auth-form { display: none; flex-direction: column; flex: 1; animation: fadeIn 0.35s ease; } .auth-form.active { display: flex; } .auth-hint { margin-top: 14px; font-size: 12px; color: var(--text-muted); text-align: center; line-height: 1.6; } /* Distill ex service page */ .view--distill-page { padding-top: 40vh; } .distill-page { display: flex; flex-direction: column; gap: 20px; } .distill-quick { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(255, 160, 205, 0.22), rgba(160, 140, 255, 0.22)); border: 1px solid rgba(255, 160, 205, 0.35); color: #ffe4f0; font-size: 14px; text-decoration: none; text-align: center; transition: transform var(--transition), box-shadow var(--transition); } .distill-quick:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 130, 180, 0.2); } .distill-section { padding: 18px; border-radius: var(--radius); background: rgba(8, 9, 22, 0.55); border: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } .distill-section__title { font-family: "Noto Serif SC", serif; font-size: 17px; font-weight: 600; margin-bottom: 10px; color: #fff; } .distill-section__text, .distill-list, .distill-steps { font-size: 13px; line-height: 1.75; color: rgba(220, 225, 255, 0.85); } .distill-list, .distill-steps { padding-left: 18px; margin: 0; } .distill-list li { margin-bottom: 6px; } .distill-steps li { margin-bottom: 8px; } .distill-steps span { color: var(--accent); font-weight: 600; margin-right: 4px; } .distill-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 18px; border-radius: var(--radius); background: rgba(8, 9, 22, 0.55); border: 1px solid rgba(255, 255, 255, 0.08); } .distill-price__label { font-size: 14px; color: var(--text-muted); } .distill-price__value { font-size: 32px; font-weight: 700; color: #fff; } .distill-price__unit { font-size: 13px; color: var(--text-muted); } .distill-note, .distill-revenue { font-size: 12px; line-height: 1.7; color: var(--text-muted); text-align: center; } .distill-revenue { padding: 12px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.04); } /* Utility */ [hidden] { display: none !important; } /* Responsive */ @media (max-width: 420px) { .app { padding: 36px 26px 24px; } .card--characters { padding: 22px 20px; } .card__title { font-size: 22px; } .field-group { grid-template-columns: 1fr; } .field--half { grid-column: 1 / -1; } .result-panel__files { flex-direction: column; } } @media (min-width: 640px) { .app { max-width: 560px; } }