/* Responsive design styles */

/* Mobile first approach */
@media (max-width: 640px) {
    body {
        padding: 0.5rem;
    }
    
    .title {
        font-size: 1.875rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .content {
        padding: 1rem;
    }
    
    .question {
        font-size: 1.25rem;
    }
    
    .option-button {
        padding: 1rem;
    }
    
    .option-icon {
        font-size: 1.875rem;
    }
    
    .option-text {
        font-size: 0.875rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .result-title {
        font-size: 1.5rem;
    }
    
    .result-name {
        font-size: 1rem;
    }
}

/* Tablet styles */
@media (min-width: 641px) and (max-width: 1024px) {
    .container {
        max-width: 42rem;
    }
    
    .content {
        padding: 1.5rem;
    }
    
    .question {
        font-size: 1.375rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop styles */
@media (min-width: 1025px) {
    body {
        padding: 2rem;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .question {
        font-size: 1.875rem;
    }
    
    .content {
        padding: 3rem;
    }
    
    .result-title {
        font-size: 2.5rem;
    }
    
    .result-name {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .option-icon {
        font-size: 2.5rem;
    }
    
    .feature-dot {
        width: 0.625rem;
        height: 0.625rem;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
    
    .option-button {
        border: 1px solid #d1d5db;
    }
    
    .result-card {
        background: #f3f4f6;
        color: #1f2937;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #064e3b 100%);
        color: #f1f5f9;
    }
    
    .card {
        background: #1e293b;
        color: #f1f5f9;
    }
    
    .title {
        color: #f1f5f9;
    }
    
    .subtitle {
        color: #94a3b8;
    }
    
    .question {
        color: #f1f5f9;
    }
    
    .question-subtitle {
        color: #94a3b8;
    }
    
    .option-button {
        background: linear-gradient(90deg, #1e293b, #334155);
        border-color: #475569;
        color: #f1f5f9;
    }
    
    .option-button:hover {
        background: linear-gradient(90deg, #3b82f6, #10b981);
    }
    
    .result-section {
        background: #334155;
        color: #f1f5f9;
    }
    
    .reset-section {
        background: #334155;
        border-color: #475569;
    }
}
