:root { --color-primary: #6366F1; --color-secondary: #EC4899; --color-background: #F8FAFC; --color-surface: #FFFFFF; --color-text: #1E293B; --color-text-muted: #64748B; --color-border: #E2E8F0; --font-family: 'Inter', sans-serif; --border-radius: 0.75rem; } body { font-family: var(--font-family); background-color: var(--color-background); color: var(--color-text); margin: 0; display: flex; flex-direction: column; min-height: 100vh; } .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; } .main-header { background-color: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 1rem 0; } .main-header .container { display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 1.5rem; font-weight: 700; color: var(--color-primary); text-decoration: none; } .main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 1.5rem; } .main-nav a { text-decoration: none; color: var(--color-text-muted); font-weight: 600; transition: color 0.2s ease; } .main-nav a:hover { color: var(--color-primary); } main.container { flex-grow: 1; padding-top: 2rem; padding-bottom: 2rem; } .main-footer { background-color: var(--color-surface); border-top: 1px solid var(--color-border); padding: 1.5rem 0; text-align: center; color: var(--color-text-muted); font-size: 0.9rem; } /* Auth Pages */ .auth-container { display: flex; justify-content: center; align-items: center; padding: 2rem 0; } .auth-card { background-color: var(--color-surface); padding: 2.5rem; border-radius: var(--border-radius); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); width: 100%; max-width: 420px; text-align: center; } .auth-title { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; } .auth-subtitle { color: var(--color-text-muted); margin-bottom: 2rem; } .form-group { margin-bottom: 1.5rem; text-align: left; } .form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; } .form-group input, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--color-border); border-radius: 0.5rem; font-size: 1rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; background-color: var(--color-background); } .form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3); } .btn { display: inline-block; padding: 0.75rem 1.5rem; border: none; border-radius: 0.5rem; font-size: 1rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; } .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); } .btn-primary { background-color: var(--color-primary); color: white; } .btn-gradient { background-image: linear-gradient(to right, var(--color-primary), var(--color-secondary)); color: white; } .auth-switch { margin-top: 2rem; font-size: 0.9rem; color: var(--color-text-muted); } .auth-switch a { color: var(--color-primary); font-weight: 600; text-decoration: none; } .alert { padding: 1rem; margin-bottom: 1.5rem; border-radius: 0.5rem; text-align: center; } .alert-danger { background-color: #FEE2E2; color: #B91C1C; } /* Hero Section (Logged Out) */ .hero-section { text-align: center; padding: 4rem 1rem; } .hero-section h1 { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; } .hero-section p { font-size: 1.25rem; color: var(--color-text-muted); margin-bottom: 2rem; } /* Creator UI (Logged In) */ .creator-container { text-align: center; } .page-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; } .page-subtitle { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: 3rem; } .creator-card { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; background-color: var(--color-surface); padding: 2rem; border-radius: var(--border-radius); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); } .image-upload-wrapper { position: relative; cursor: pointer; border-radius: var(--border-radius); overflow: hidden; border: 2px dashed var(--color-border); } .image-preview { width: 100%; height: 100%; object-fit: cover; display: block; } .upload-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.3); color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; } .image-upload-wrapper:hover .upload-overlay { opacity: 1; } .upload-overlay svg { width: 48px; height: 48px; margin-bottom: 1rem; } .styled-preview-wrapper { border-radius: var(--border-radius); overflow: hidden; background-color: var(--color-background); } .styled-preview { width: 100%; height: 100%; object-fit: cover; transition: all 0.4s ease; } .styles-gallery { margin-top: 3rem; } .gallery-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 1.5rem; } .styles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; } .style-card { border-radius: var(--border-radius); overflow: hidden; cursor: pointer; border: 3px solid transparent; transition: border-color 0.3s ease; } .style-card.active { border-color: var(--color-primary); } .style-card img { width: 100%; display: block; } .style-name { padding: 0.75rem; background-color: var(--color-surface); font-weight: 600; } /* CSS Filters for Styles */ .style-pop-art { filter: contrast(1.5) saturate(1.8); } .style-pixel-art { image-rendering: pixelated; filter: grayscale(1) contrast(2); } .style-sketch { filter: grayscale(1) brightness(1.2) contrast(1.5); } /* Comments Section */ .comments-container { max-width: 800px; margin: 4rem auto 2rem; text-align: left; } .comments-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 1.5rem; text-align: center; } .comment-form-wrapper { background-color: var(--color-surface); padding: 1.5rem; border-radius: var(--border-radius); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); margin-bottom: 2rem; } .comment-form-wrapper textarea { min-height: 80px; resize: vertical; } .comment-form-wrapper .btn { margin-top: 1rem; } .comments-list { display: flex; flex-direction: column; gap: 1.5rem; } .comment-card { background-color: var(--color-surface); padding: 1.5rem; border-radius: var(--border-radius); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); } .comment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: 0.9rem; color: var(--color-text-muted); } .comment-author { font-weight: 600; color: var(--color-text); } .comment-body p { margin: 0; line-height: 1.6; }