/* Doolapa - Premium Fashion Platform */

/* ============================================
   CSS CUSTOM PROPERTIES (LIGHT & DARK THEMES)
   ============================================ */

:root {
    /* Base Colors */
    --primary-50: #fef2f2;
    --primary-100: #fce7e8;
    --primary-200: #fad1d4;
    --primary-300: #f7a8ae;
    --primary-400: #f17a84;
    --primary-500: #e74c5c;
    --primary-600: #d32f42;
    --primary-700: #b12436;
    --primary-800: #942232;
    --primary-900: #7d2130;
    
    /* Accent Colors */
    --accent-gold: #d4a574;
    --accent-rose: #e8b4bc;
    --accent-lavender: #b8a9c9;
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #e74c5c 0%, #d32f42 100%);
    --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    --gradient-accent: linear-gradient(135deg, #e74c5c 0%, #d4a574 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(231, 76, 92, 0.15);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* Light Theme (Default) */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-elevated: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.5);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    --text-inverse: #ffffff;
    
    --border-primary: #e2e8f0;
    --border-secondary: #cbd5e1;
    --border-hover: #94a3b8;
    
    --nav-bg: rgba(255, 255, 255, 0.95);
    --nav-border: rgba(226, 232, 240, 0.8);
    
    --card-bg: #ffffff;
    --card-hover: #f8fafc;
    
    --input-bg: #ffffff;
    --input-border: #e2e8f0;
    --input-focus: var(--primary-500);
    
    --dropdown-bg: #ffffff;
    --dropdown-hover: #f1f5f9;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0a0a0f;
    --bg-secondary: #121218;
    --bg-tertiary: #1a1a24;
    --bg-elevated: #1e1e2a;
    --bg-overlay: rgba(0, 0, 0, 0.7);
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --text-inverse: #0f172a;
    
    --border-primary: #2a2a3a;
    --border-secondary: #3a3a4a;
    --border-hover: #4a4a5a;
    
    --nav-bg: rgba(10, 10, 15, 0.95);
    --nav-border: rgba(42, 42, 58, 0.8);
    
    --card-bg: #1a1a24;
    --card-hover: #1e1e2a;
    
    --input-bg: #1a1a24;
    --input-border: #2a2a3a;
    --input-focus: var(--primary-400);
    
    --dropdown-bg: #1a1a24;
    --dropdown-hover: #2a2a3a;
    
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(231, 76, 92, 0.25);
}

/* ============================================
   BASE STYLES
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    min-height: 100vh;
    transition: background-color var(--transition-base), color var(--transition-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--primary-200);
    color: var(--primary-900);
}

[data-theme="dark"] ::selection {
    background-color: var(--primary-700);
    color: var(--primary-100);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

.display-heading {
    font-family: var(--font-display);
    font-weight: 700;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--nav-border);
    padding: 0.75rem 0;
    transition: all var(--transition-base);
}

.navbar-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.brand-logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: #F25C54;
    letter-spacing: -0.5px;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.5rem 0.875rem;
    margin: 0 0.125rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-500);
    background: var(--bg-tertiary);
}

.navbar-nav .nav-link.active {
    color: var(--primary-500);
    background: var(--primary-50);
}

[data-theme="dark"] .navbar-nav .nav-link.active {
    background: rgba(231, 76, 92, 0.1);
}

.dropdown-menu {
    background: var(--dropdown-bg);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 200px;
}

.dropdown-item {
    color: var(--text-secondary);
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    color: var(--text-primary);
    background: var(--dropdown-hover);
}

.dropdown-divider {
    border-color: var(--border-primary);
    margin: 0.5rem 0;
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    transform: scale(1.05);
}

.theme-toggle i {
    position: absolute;
    font-size: 1rem;
    transition: all var(--transition-base);
}

[data-theme="light"] .theme-icon-dark {
    opacity: 1;
    color: var(--text-secondary);
    transform: rotate(0deg);
}

[data-theme="light"] .theme-icon-light {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="dark"] .theme-icon-dark {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .theme-icon-light {
    opacity: 1;
    color: var(--accent-gold);
    transform: rotate(0deg);
}

/* User Menu */
.user-menu {
    display: flex !important;
    align-items: center !important;
    padding: 0.375rem 0.75rem !important;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: var(--gradient-hero);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(231, 76, 92, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(212, 165, 116, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 76, 92, 0.3);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(231, 76, 92, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 92, 0.4);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-500);
    border: 2px solid var(--primary-500);
}

.btn-outline-primary:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.card-header {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-primary);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-primary);
    padding: 1rem 1.5rem;
}

/* Item Cards */
.item-card {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 1px solid var(--border-primary);
}

.item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-tertiary);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.item-card:hover .item-overlay {
    opacity: 1;
}

.item-info {
    padding: 1rem;
}

.item-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.item-details {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.item-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.125rem;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.item-tag.category {
    background: var(--primary-100);
    color: var(--primary-700);
}

[data-theme="dark"] .item-tag.category {
    background: rgba(231, 76, 92, 0.15);
    color: var(--primary-400);
}

.item-tag.color {
    background: var(--accent-rose);
    color: var(--primary-900);
}

/* ============================================
   FORMS
   ============================================ */

.form-control, .form-select {
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-control:focus, .form-select:focus {
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(231, 76, 92, 0.15);
    outline: none;
    background: var(--input-bg);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-tertiary);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.input-group-text {
    background: var(--bg-tertiary);
    border: 2px solid var(--input-border);
    border-right: none;
    color: var(--text-tertiary);
}

.input-group .form-control {
    border-left: none;
}

.input-group:focus-within .input-group-text {
    border-color: var(--input-focus);
}

/* File Upload */
.upload-area {
    border: 2px dashed var(--border-secondary);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    background: var(--bg-tertiary);
}

.upload-area:hover {
    border-color: var(--primary-500);
    background: rgba(231, 76, 92, 0.05);
}

.upload-area.dragover {
    border-color: var(--primary-500);
    background: rgba(231, 76, 92, 0.1);
}

.upload-icon {
    font-size: 3rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

/* ============================================
   STATS & ANALYTICS
   ============================================ */

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

/* ============================================
   OUTFIT RECOMMENDATIONS
   ============================================ */

.outfit-section {
    background: var(--card-bg);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.outfit-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.outfit-primary {
    border-left: 4px solid var(--success);
}

.outfit-secondary {
    border-left: 4px solid var(--info);
}

.outfit-future {
    border-left: 4px solid var(--warning);
}

.outfit-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.outfit-explanation {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-500);
    color: var(--text-secondary);
    font-style: italic;
}

/* ============================================
   QUESTION CARDS & OPTIONS
   ============================================ */

.question-card {
    background: var(--card-bg);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.question-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.option-card {
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-secondary);
}

.option-card:hover {
    border-color: var(--primary-300);
    background: rgba(231, 76, 92, 0.05);
}

.option-card.selected {
    border-color: var(--primary-500);
    background: rgba(231, 76, 92, 0.1);
    color: var(--primary-500);
}

.option-card input[type="radio"] {
    display: none;
}

/* ============================================
   FILTERS
   ============================================ */

.filter-section {
    background: var(--card-bg);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

/* ============================================
   ALERTS
   ============================================ */

.alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--success);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: var(--danger);
    color: var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: var(--warning);
    color: var(--warning);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: var(--info);
    color: var(--info);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-primary);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.footer-brand .brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #F25C54;
    letter-spacing: -0.5px;
}

.footer-brand .brand-icon {
    width: 28px;
    height: 28px;
    font-size: 1rem;
}

.footer-tagline {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    margin-left: 1.5rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-500);
}

.footer-copyright {
    color: var(--text-tertiary);
    font-size: 0.75rem;
    margin: 0;
}

/* ============================================
   EMPTY STATES
   ============================================ */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.empty-state p {
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   LOADING & ANIMATIONS
   ============================================ */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================
   SHOPPING SUGGESTIONS
   ============================================ */

.shopping-suggestion {
    background: linear-gradient(135deg, rgba(231, 76, 92, 0.05) 0%, rgba(212, 165, 116, 0.05) 100%);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all var(--transition-base);
}

.shopping-suggestion:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.suggestion-item {
    font-weight: 500;
    color: var(--text-primary);
}

.suggestion-price {
    color: var(--primary-500);
    font-weight: 600;
}

/* ============================================
   SOCIAL FEATURES
   ============================================ */

.social-card {
    background: var(--card-bg);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.social-card:hover {
    box-shadow: var(--shadow-md);
}

.social-user-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
}

.social-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.social-actions {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-top: 1px solid var(--border-primary);
}

.social-action-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.social-action-btn:hover {
    color: var(--primary-500);
    background: var(--bg-tertiary);
}

.social-action-btn.liked {
    color: var(--danger);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .theme-toggle {
        margin: 0.5rem 0;
    }
    
    .option-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .outfit-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .outfit-section {
        padding: 1.25rem;
    }
    
    .question-card {
        padding: 1.25rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.text-primary-color {
    color: var(--primary-500) !important;
}

.bg-primary-subtle {
    background-color: var(--primary-50) !important;
}

[data-theme="dark"] .bg-primary-subtle {
    background-color: rgba(231, 76, 92, 0.1) !important;
}

.border-primary-subtle {
    border-color: var(--primary-200) !important;
}

.text-muted {
    color: var(--text-secondary) !important;
}

.bg-light {
    background-color: var(--bg-tertiary) !important;
}

.text-dark {
    color: var(--text-primary) !important;
}

/* Ensure good contrast for links */
a {
    color: var(--primary-500);
}

a:hover {
    color: var(--primary-600);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}
