Files
opal-ios-studio/style.css
T

1091 lines
21 KiB
CSS

:root {
--bg-dark: #070A0F;
--bg-surface: #0E141F;
--card-bg: rgba(18, 26, 38, 0.75);
--card-border: rgba(255, 255, 255, 0.08);
--card-border-active: rgba(147, 51, 234, 0.4);
--gold-primary: #F59E0B;
--gold-light: #FDE68A;
--gold-glow: rgba(245, 158, 11, 0.25);
--purple-primary: #8B5CF6;
--purple-glow: rgba(139, 92, 246, 0.3);
--blue-primary: #3B82F6;
--cyan-primary: #06B6D4;
--emerald: #10B981;
--rose: #F43F5E;
--whatsapp: #25D366;
--text-primary: #FFFFFF;
--text-secondary: #94A3B8;
--text-muted: #64748B;
--radius-xl: 24px;
--radius-lg: 18px;
--radius-md: 12px;
--radius-sm: 8px;
--font-family: 'Plus Jakarta Sans', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, sans-serif;
--shadow-glass: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
-webkit-tap-highlight-color: transparent;
}
body {
background-color: var(--bg-dark);
color: var(--text-primary);
font-family: var(--font-family);
min-height: 100vh;
padding-bottom: 95px;
display: flex;
flex-direction: column;
overflow-x: hidden;
user-select: none;
background-image:
radial-gradient(circle at 20% 15%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.03) 0%, transparent 60%);
background-attachment: fixed;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 5px;
height: 5px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #334155;
border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
background: #475569;
}
/* Top App Header */
.app-header {
position: sticky;
top: 0;
z-index: 100;
background: rgba(7, 10, 15, 0.85);
backdrop-filter: blur(25px);
-webkit-backdrop-filter: blur(25px);
border-bottom: 1px solid var(--card-border);
padding: env(safe-area-inset-top, 12px) 20px 12px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.brand-group {
display: flex;
align-items: center;
gap: 12px;
cursor: pointer;
}
.logo-box {
width: 42px;
height: 42px;
background: linear-gradient(135deg, #8B5CF6, #3B82F6, #EC4899);
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
font-size: 22px;
box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
position: relative;
overflow: hidden;
}
.logo-box::after {
content: '';
position: absolute;
top: 0; left: -100%;
width: 100%; height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
animation: shimmer 3s infinite;
}
@keyframes shimmer {
100% { left: 100%; }
}
.brand-titles h1 {
font-size: 17px;
font-weight: 800;
letter-spacing: -0.02em;
display: flex;
align-items: center;
gap: 6px;
}
.brand-titles h1 span {
background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.brand-badge {
font-size: 9px;
font-weight: 800;
background: rgba(139, 92, 246, 0.2);
color: #C084FC;
padding: 2px 6px;
border-radius: 6px;
border: 1px solid rgba(139, 92, 246, 0.4);
}
.brand-titles p {
font-size: 11px;
color: var(--text-muted);
}
.header-actions {
display: flex;
align-items: center;
gap: 8px;
}
.pill-btn {
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--card-border);
color: var(--text-secondary);
padding: 6px 12px;
border-radius: 20px;
font-size: 12px;
font-weight: 700;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
gap: 6px;
}
.pill-btn:hover {
background: rgba(255, 255, 255, 0.1);
color: var(--text-primary);
}
.pill-btn.primary {
background: linear-gradient(135deg, #8B5CF6, #6366F1);
color: white;
border: none;
box-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}
.pill-btn.primary:hover {
transform: translateY(-1px);
box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}
/* Main Container */
.main-container {
flex: 1;
padding: 18px;
max-width: 820px;
margin: 0 auto;
width: 100%;
}
.tab-page {
display: none;
flex-direction: column;
gap: 18px;
animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.tab-page.active {
display: flex;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
/* Glassmorphic Cards */
.card {
background: var(--card-bg);
border: 1px solid var(--card-border);
border-radius: var(--radius-xl);
padding: 22px;
box-shadow: var(--shadow-glass);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
position: relative;
overflow: hidden;
}
.card-header {
display: flex;
gap: 14px;
align-items: flex-start;
margin-bottom: 20px;
}
.card-header .icon {
width: 44px;
height: 44px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--card-border);
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
font-size: 22px;
shrink: 0;
}
.card-header h2 {
font-size: 17px;
font-weight: 800;
color: var(--text-primary);
line-height: 1.3;
}
.card-header p {
font-size: 12px;
color: var(--text-secondary);
margin-top: 4px;
line-height: 1.5;
}
/* Form Groups & Inputs */
.form-group {
margin-bottom: 16px;
}
.form-group label {
display: block;
font-size: 12px;
font-weight: 700;
color: #CBD5E1;
margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
background: rgba(10, 14, 22, 0.85);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: var(--radius-md);
padding: 11px 14px;
font-size: 13px;
color: var(--text-primary);
font-family: inherit;
transition: all 0.2s;
outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
border-color: var(--purple-primary);
box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
background: rgba(14, 20, 32, 0.95);
}
.form-group textarea {
resize: vertical;
min-height: 75px;
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
margin-bottom: 16px;
}
.form-row-3 {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
margin-bottom: 16px;
}
@media (max-width: 600px) {
.form-row, .form-row-3 {
grid-template-columns: 1fr;
}
}
.hint-text {
display: block;
font-size: 11px;
color: var(--text-muted);
margin-top: 5px;
}
/* Stage Theme Switcher Chips */
.theme-selector-group {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
gap: 8px;
margin-bottom: 16px;
}
.theme-chip {
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--card-border);
border-radius: var(--radius-md);
padding: 10px;
cursor: pointer;
text-align: center;
transition: all 0.2s;
}
.theme-chip:hover {
background: rgba(255, 255, 255, 0.08);
}
.theme-chip.active {
background: rgba(139, 92, 246, 0.15);
border-color: var(--purple-primary);
box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}
.theme-chip .icon {
font-size: 18px;
display: block;
margin-bottom: 4px;
}
.theme-chip .name {
font-size: 11px;
font-weight: 700;
color: #E2E8F0;
display: block;
}
/* File Upload Button */
.file-upload-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
background: rgba(255, 255, 255, 0.04);
border: 1.5px dashed rgba(255, 255, 255, 0.2);
border-radius: var(--radius-md);
padding: 12px;
font-size: 12px;
font-weight: 700;
color: #CBD5E1;
cursor: pointer;
transition: all 0.2s;
width: 100%;
}
.file-upload-btn:hover {
border-color: var(--purple-primary);
background: rgba(139, 92, 246, 0.08);
color: #FFFFFF;
}
.file-upload-btn input[type="file"] {
display: none;
}
.photo-preview-box {
position: relative;
width: 100%;
max-height: 160px;
border-radius: var(--radius-md);
overflow: hidden;
margin-bottom: 16px;
border: 1px solid var(--card-border);
background: #000;
display: flex;
align-items: center;
justify-content: center;
}
.photo-preview-box img {
max-height: 160px;
object-fit: contain;
}
.badge-attached {
position: absolute;
bottom: 8px;
right: 8px;
background: rgba(16, 185, 129, 0.9);
color: white;
font-size: 10px;
font-weight: 800;
padding: 4px 8px;
border-radius: 20px;
backdrop-filter: blur(4px);
}
/* Primary Action Buttons */
.btn-primary {
width: 100%;
background: linear-gradient(135deg, #8B5CF6, #6366F1, #3B82F6);
border: none;
border-radius: var(--radius-md);
padding: 14px 20px;
color: white;
font-size: 14px;
font-weight: 800;
cursor: pointer;
transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}
.btn-primary:active {
transform: translateY(0);
}
.btn-primary:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
}
.action-buttons-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-top: 14px;
}
.btn-action {
padding: 12px;
border-radius: var(--radius-md);
font-size: 13px;
font-weight: 700;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
transition: all 0.2s;
}
.btn-action.success-btn {
background: #10B981;
color: white;
box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}
.btn-action.whatsapp-btn {
background: #25D366;
color: white;
box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-action:hover {
transform: translateY(-1px);
}
/* Status Message */
.status-msg {
font-size: 12px;
font-weight: 600;
margin-top: 12px;
text-align: center;
padding: 8px 12px;
border-radius: var(--radius-sm);
background: rgba(255, 255, 255, 0.05);
}
/* Canvas Wrapper */
.canvas-wrapper {
width: 100%;
aspect-ratio: 1/1;
border-radius: var(--radius-lg);
overflow: hidden;
border: 1px solid var(--card-border);
background: #000;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
}
.canvas-wrapper.aspect-reels {
aspect-ratio: 9/16;
max-height: 520px;
}
.canvas-wrapper canvas {
width: 100%;
height: 100%;
object-fit: contain;
}
/* Result Card */
.result-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 14px;
}
.result-header h3 {
font-size: 14px;
font-weight: 800;
}
.gold-badge {
font-size: 10px;
font-weight: 800;
background: linear-gradient(135deg, #F59E0B, #D97706);
color: #000;
padding: 3px 8px;
border-radius: 12px;
}
/* Section Title Row */
.section-title-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 4px;
}
.section-title-row h2 {
font-size: 18px;
font-weight: 800;
color: var(--text-primary);
}
.badge-count {
font-size: 11px;
font-weight: 800;
background: rgba(139, 92, 246, 0.2);
color: #C084FC;
padding: 3px 9px;
border-radius: 20px;
border: 1px solid rgba(139, 92, 246, 0.4);
}
/* Category Filter Chips */
.category-filter-bar {
display: flex;
gap: 8px;
overflow-x: auto;
padding-bottom: 6px;
margin-bottom: 10px;
}
.filter-chip {
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--card-border);
color: var(--text-secondary);
padding: 6px 14px;
border-radius: 20px;
font-size: 12px;
font-weight: 700;
cursor: pointer;
white-space: nowrap;
transition: all 0.2s;
}
.filter-chip.active {
background: rgba(139, 92, 246, 0.2);
border-color: var(--purple-primary);
color: #FFFFFF;
}
/* Apps Grid */
.apps-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 14px;
}
.app-card {
background: var(--card-bg);
border: 1px solid var(--card-border);
border-radius: var(--radius-lg);
padding: 16px;
cursor: pointer;
transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
overflow: hidden;
}
.app-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; height: 3px;
background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
opacity: 0;
transition: opacity 0.2s;
}
.app-card:hover {
transform: translateY(-3px);
border-color: rgba(139, 92, 246, 0.4);
box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}
.app-card:hover::before {
opacity: 1;
}
.app-card-top {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
.app-card .app-icon {
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--card-border);
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
}
.tag-gem {
font-size: 9px;
font-weight: 800;
background: rgba(245, 158, 11, 0.15);
color: #FBBF24;
padding: 2px 7px;
border-radius: 6px;
border: 1px solid rgba(245, 158, 11, 0.3);
}
.app-card h3 {
font-size: 14px;
font-weight: 800;
color: var(--text-primary);
margin-bottom: 6px;
}
.app-card p {
font-size: 11.5px;
color: var(--text-secondary);
line-height: 1.45;
margin-bottom: 12px;
}
.app-card-footer {
display: flex;
align-items: center;
justify-content: space-between;
border-top: 1px solid rgba(255, 255, 255, 0.06);
padding-top: 10px;
font-size: 10.5px;
}
.meta-tag {
color: var(--text-muted);
font-weight: 600;
}
.btn-embed-chip {
background: rgba(255, 255, 255, 0.06);
border: 1px solid var(--card-border);
color: #A5B4FC;
padding: 3px 8px;
border-radius: 8px;
font-size: 10px;
font-weight: 700;
cursor: pointer;
transition: all 0.2s;
}
.btn-embed-chip:hover {
background: rgba(139, 92, 246, 0.3);
color: white;
}
/* Reply Blocks */
.reply-block {
background: rgba(10, 14, 22, 0.7);
border: 1px solid var(--card-border);
border-radius: var(--radius-lg);
padding: 14px;
margin-bottom: 12px;
}
.reply-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.reply-header h4 {
font-size: 12px;
font-weight: 700;
color: var(--gold-light);
}
.copy-chip-btn {
background: rgba(255, 255, 255, 0.08);
border: 1px solid var(--card-border);
color: #CBD5E1;
padding: 4px 10px;
border-radius: 12px;
font-size: 11px;
font-weight: 700;
cursor: pointer;
transition: all 0.2s;
}
.copy-chip-btn:hover {
background: var(--purple-primary);
color: white;
}
.reply-content {
font-size: 12px;
line-height: 1.6;
color: #E2E8F0;
white-space: pre-wrap;
}
/* Modal Windows (Embed & Runner) */
.modal-backdrop {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.75);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
z-index: 200;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
animation: fadeIn 0.2s ease-out;
}
.modal-backdrop.hidden {
display: none;
}
.modal-content {
background: #0E141F;
border: 1px solid var(--card-border-active);
border-radius: var(--radius-xl);
max-width: 580px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
padding: 24px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
position: relative;
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--card-border);
padding-bottom: 14px;
margin-bottom: 18px;
}
.modal-header h3 {
font-size: 16px;
font-weight: 800;
display: flex;
align-items: center;
gap: 8px;
}
.btn-close-modal {
width: 32px;
height: 32px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.08);
border: none;
color: var(--text-secondary);
font-size: 14px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
}
.btn-close-modal:hover {
background: rgba(239, 68, 68, 0.2);
color: #EF4444;
}
.code-snippet-box {
background: #05080C;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: var(--radius-md);
padding: 14px;
font-family: monospace;
font-size: 11.5px;
color: #38BDF8;
overflow-x: auto;
margin-bottom: 14px;
position: relative;
}
/* Bottom Navigation Bar (iOS 18 Style) */
.bottom-nav {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 100;
background: rgba(10, 14, 22, 0.88);
backdrop-filter: blur(25px);
-webkit-backdrop-filter: blur(25px);
border-top: 1px solid var(--card-border);
height: 72px;
display: flex;
justify-content: space-around;
align-items: center;
padding: 4px 10px env(safe-area-inset-bottom, 8px) 10px;
}
.nav-item {
background: none;
border: none;
color: var(--text-muted);
display: flex;
flex-direction: column;
align-items: center;
gap: 3px;
cursor: pointer;
padding: 6px 12px;
border-radius: var(--radius-md);
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
flex: 1;
}
.nav-item .nav-icon {
font-size: 20px;
transition: transform 0.2s;
}
.nav-item .nav-label {
font-size: 10.5px;
font-weight: 700;
}
.nav-item.active {
color: #C084FC;
}
.nav-item.active .nav-icon {
transform: translateY(-2px);
}
.nav-item:active {
transform: scale(0.92);
}
/* Utilities */
.hidden {
display: none !important;
}
.danger-text {
color: #F87171 !important;
}
.empty-state {
text-align: center;
padding: 40px 20px;
color: var(--text-muted);
}
.empty-state .icon-empty {
font-size: 40px;
display: block;
margin-bottom: 10px;
opacity: 0.5;
}
.safari-hint {
margin-top: 14px;
padding: 12px 14px;
border-radius: var(--radius-md);
background: rgba(139, 92, 246, 0.1);
border: 1px solid rgba(139, 92, 246, 0.3);
font-size: 11.5px;
color: #DDD6FE;
line-height: 1.5;
}
/* UGC Video Studio & Google Flow Styling */
.ugc-timeline-container {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 14px;
}
.ugc-shot-card {
background: rgba(10, 14, 22, 0.75);
border: 1px solid var(--card-border);
border-radius: var(--radius-md);
padding: 14px;
position: relative;
overflow: hidden;
}
.ugc-shot-card::before {
content: '';
position: absolute;
top: 0; left: 0; bottom: 0;
width: 3.5px;
background: linear-gradient(180deg, #8B5CF6, #06B6D4);
}
.ugc-shot-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 6px;
}
.ugc-shot-time {
font-size: 10px;
font-weight: 800;
background: rgba(139, 92, 246, 0.2);
color: #C084FC;
padding: 2px 7px;
border-radius: 6px;
font-family: monospace;
}
.ugc-shot-title {
font-size: 12.5px;
font-weight: 700;
color: #F8FAFC;
}
.ugc-shot-desc {
font-size: 11.5px;
color: #94A3B8;
line-height: 1.5;
margin-bottom: 8px;
}
.ugc-shot-script {
font-size: 12px;
color: #FDE68A;
background: rgba(245, 158, 11, 0.08);
border: 1px dashed rgba(245, 158, 11, 0.25);
padding: 8px 12px;
border-radius: 6px;
line-height: 1.5;
}
.ugc-prompt-box {
background: #05080C;
border: 1px solid rgba(139, 92, 246, 0.3);
border-radius: var(--radius-md);
padding: 14px;
font-family: monospace;
font-size: 11.5px;
color: #38BDF8;
line-height: 1.6;
white-space: pre-wrap;
position: relative;
margin-top: 10px;
box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}
.ugc-tag-pill {
font-size: 9px;
font-weight: 800;
padding: 2px 6px;
border-radius: 4px;
text-transform: uppercase;
}
.ugc-tag-pill.veo {
background: rgba(59, 130, 246, 0.2);
color: #60A5FA;
border: 1px solid rgba(59, 130, 246, 0.4);
}
.ugc-tag-pill.omni {
background: rgba(236, 72, 153, 0.2);
color: #F472B6;
border: 1px solid rgba(236, 72, 153, 0.4);
}
.ugc-presets-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
gap: 10px;
margin-bottom: 16px;
}
.ugc-preset-card {
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--card-border);
border-radius: var(--radius-md);
padding: 12px;
cursor: pointer;
transition: all 0.2s;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.ugc-preset-card:hover {
background: rgba(139, 92, 246, 0.08);
border-color: var(--purple-primary);
transform: translateY(-2px);
}
.ugc-preset-card.active {
background: rgba(139, 92, 246, 0.15);
border-color: var(--purple-primary);
box-shadow: 0 0 14px rgba(139, 92, 246, 0.3);
}
.ugc-preset-card .icon {
font-size: 22px;
margin-bottom: 6px;
}
.ugc-preset-card h4 {
font-size: 12px;
font-weight: 700;
color: #F1F5F9;
margin-bottom: 4px;
}
.ugc-preset-card p {
font-size: 10.5px;
color: #94A3B8;
line-height: 1.4;
}