/* ============================================
   ThriveX Feature Suggestions
   Professional Styles - Light Theme
   VERSION: 2026-02-03
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-color: #1ECBE1;
    --primary-dark: #17a8ba;
    --primary-light: #e0f7fb;

    /* Accent Colors */
    --accent-color: #E1341E;
    --accent-dark: #c12a18;
    --secondary-color: #6366f1;

    /* Status Colors */
    --status-new: #4b5563;
    --status-planned: #3b82f6;
    --status-in-progress: #f59e0b;
    --status-implemented: #1ECBE1;
    --status-wont-do: #E1341E;

    /* Text Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #6b7280;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;

    /* Border & Radius */
    --border-color: #e5e7eb;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 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);

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;

    /* Font */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== GLOBAL RESETS & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, #e0f7fb 0%, #f0f9ff 50%, #e0f2fe 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== HEADER ===== */
.suggestions-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 60px 30px;
    box-shadow: var(--shadow-lg);
}

.logo {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text {
    color: white;
}

.logo-accent {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.suggestions-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.suggestions-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 8px;
    font-weight: 500;
}

.suggestions-header .description {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 24px;
}

/* App Selector */
.app-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.app-selector-label {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.9;
}

.app-select {
    padding: 10px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    min-width: 220px;
}

.app-select:hover {
    background: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.app-select:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.fire-icon {
    font-size: 2.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ===== TOP 5 HERO SECTION ===== */
.top-suggestions-hero {
    background: linear-gradient(135deg, rgba(30, 203, 225, 0.08) 0%, rgba(23, 168, 186, 0.04) 100%);
    padding: 60px 30px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 60px;
    box-shadow: var(--shadow);
}

.top-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.top-suggestion-card {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary-color);
    transition: var(--transition-normal);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.top-suggestion-card:nth-child(1) { animation-delay: 0.1s; }
.top-suggestion-card:nth-child(2) { animation-delay: 0.2s; }
.top-suggestion-card:nth-child(3) { animation-delay: 0.3s; }
.top-suggestion-card:nth-child(4) { animation-delay: 0.4s; }
.top-suggestion-card:nth-child(5) { animation-delay: 0.5s; }

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

.top-suggestion-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-dark);
}

/* Rank Badge */
.rank-badge {
    position: absolute;
    top: -16px;
    left: 24px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 6px 20px rgba(225, 52, 30, 0.5);
    border: 3px solid white;
}

/* Vote Count Large */
.vote-count-large {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 20px;
    border-radius: var(--border-radius-md);
    text-align: center;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}

.vote-count-large .number {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.vote-count-large .label {
    font-size: 0.95rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Suggestion Text Large */
.suggestion-text-large {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 500;
}

/* ===== FILTER BAR ===== */
.filter-bar {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.filter-select {
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    background: white;
    cursor: pointer;
    transition: var(--transition-fast);
    min-width: 160px;
}

.filter-select:hover {
    border-color: var(--primary-color);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 203, 225, 0.1);
}

/* Toggle Switch */
.toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.toggle-container input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.toggle-container input[type="checkbox"]:focus-visible + .toggle-slider {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.toggle-slider {
    position: relative;
    width: 52px;
    height: 28px;
    background: #cbd5e1;
    border-radius: 14px;
    transition: var(--transition-fast);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    top: 3px;
    left: 3px;
    transition: var(--transition-fast);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-container input:checked + .toggle-slider {
    background: var(--primary-color);
}

.toggle-container input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.toggle-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Search Bar */
.search-bar {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 203, 225, 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* ===== ALL SUGGESTIONS SECTION ===== */
.all-suggestions {
    margin-bottom: 60px;
}

.suggestions-count {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.suggestion-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease forwards;
}

.suggestion-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
    flex-wrap: wrap;
}

.vote-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.vote-count::before {
    content: '↑';
    font-size: 1.2rem;
}

/* Suggestion Text */
.suggestion-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* ===== VOTE BUTTON ===== */
.vote-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(30, 203, 225, 0.3);
    width: 100%;
    justify-content: center;
}

.vote-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 203, 225, 0.5);
}

.vote-button:active:not(:disabled) {
    transform: translateY(0);
}

.vote-button.voted {
    background: linear-gradient(135deg, var(--status-implemented), #0d9668);
    cursor: default;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.vote-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.vote-button.loading {
    position: relative;
    color: transparent;
}

.vote-button.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ===== STATUS BADGES ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid;
    white-space: nowrap;
}

.status-new {
    background: rgba(107, 114, 128, 0.1);
    color: var(--status-new);
    border-color: rgba(107, 114, 128, 0.3);
}

.status-planned {
    background: rgba(59, 130, 246, 0.1);
    color: var(--status-planned);
    border-color: rgba(59, 130, 246, 0.3);
}

.status-in-progress {
    background: rgba(245, 158, 11, 0.1);
    color: var(--status-in-progress);
    border-color: rgba(245, 158, 11, 0.3);
}

.status-implemented {
    background: rgba(16, 185, 129, 0.1);
    color: var(--status-implemented);
    border-color: rgba(16, 185, 129, 0.3);
}

.status-wont-do {
    background: rgba(239, 68, 68, 0.1);
    color: var(--status-wont-do);
    border-color: rgba(239, 68, 68, 0.3);
}

/* ===== SUBMIT FORM SECTION ===== */
.submit-section {
    margin-bottom: 60px;
}

.submit-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.submit-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--border-radius-lg) + 2px);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 200%;
    animation: borderGlow 4s ease infinite;
    z-index: -1;
    opacity: 0.5;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.submit-header {
    text-align: center;
    margin-bottom: 40px;
}

.submit-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.submit-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.suggestion-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Form Group */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.required {
    color: var(--accent-color);
}

.form-input,
.form-textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
    background: white;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 203, 225, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.char-counter {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.char-counter.warning {
    color: var(--accent-color);
}

/* Form Validation */
.form-error {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 500;
    display: none;
    margin-top: 4px;
}

.form-error.visible {
    display: block;
}

.form-input.invalid,
.form-textarea.invalid {
    border-color: var(--accent-color);
}

.form-input.invalid:focus,
.form-textarea.invalid:focus {
    box-shadow: 0 0 0 3px rgba(225, 52, 30, 0.1);
}

/* Submit Button */
.btn-submit {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: white;
    border: none;
    padding: 18px 48px;
    border-radius: 50px;
    font-family: var(--font-family);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(225, 52, 30, 0.4);
    align-self: center;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(225, 52, 30, 0.5);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit.loading {
    position: relative;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-icon {
    opacity: 0;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn-icon {
    transition: transform 0.2s ease;
}

.btn-submit:hover .btn-icon {
    transform: translateX(4px);
}

/* Rate Limit Notice */
.rate-limit-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(30, 203, 225, 0.08);
    border: 1px solid rgba(30, 203, 225, 0.2);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.notice-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

/* ===== STATS FOOTER ===== */
.stats-footer {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 32px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stats-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 28px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

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

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: white;
    padding: 16px 24px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 500px;
    pointer-events: auto;
    transform: translateX(120%);
    animation: slideInRight 0.3s ease forwards;
}

@keyframes slideInRight {
    to { transform: translateX(0); }
}

.toast.hiding {
    animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideOutRight {
    to { transform: translateX(120%); }
}

.toast-success {
    border-left-color: var(--status-implemented);
    color: var(--status-implemented);
}

.toast-error {
    border-left-color: var(--accent-color);
    color: var(--accent-color);
}

.toast-info {
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ===== LOADING STATE ===== */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    gap: 20px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(30, 203, 225, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-container p {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .suggestions-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .top-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
    .suggestions-header {
        padding: 40px 20px;
    }

    .suggestions-header h1 {
        font-size: 2rem;
    }

    .suggestions-header .subtitle {
        font-size: 1rem;
    }

    .app-selector {
        flex-direction: column;
        gap: 8px;
    }

    .app-select {
        width: 100%;
        min-width: auto;
    }

    .container {
        padding: 20px 16px;
    }

    .top-suggestions-hero {
        padding: 40px 20px;
        margin-bottom: 40px;
    }

    .top-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .top-suggestion-card {
        padding: 24px;
    }

    .filter-bar {
        padding: 20px;
    }

    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .filter-select {
        width: 100%;
    }

    .search-bar {
        max-width: 100%;
    }

    .suggestions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .submit-card {
        padding: 32px 24px;
    }

    .submit-header h2 {
        font-size: 1.75rem;
    }

    .btn-submit {
        width: 100%;
        padding: 16px 32px;
    }

    .stats-footer {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .toast-container {
        left: 16px;
        right: 16px;
        top: 16px;
    }

    .toast {
        min-width: auto;
        width: 100%;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .vote-count-large .number {
        font-size: 2.5rem;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
    .suggestions-header h1 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 8px;
    }

    .top-suggestion-card,
    .suggestion-card {
        padding: 20px;
    }

    .submit-card {
        padding: 24px 20px;
    }

    .stat-value {
        font-size: 2rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Visible (for keyboard navigation) */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus-visible {
    outline-offset: 4px;
}
