* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8b5cf6;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --dark: #1e1b4b;
    --light: #f8fafc;
    --success: #10b981;
    --warning: #f59e0b;
    --gradient: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 20%, #45b7d1 40%, #96ceb4 60%, #feca57 80%, #ff9ff3 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --text: #334155;
    --border: #e2e8f0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.background-shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.shape1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: 10%;
    left: 10%;
    animation-duration: 25s;
}

.shape2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    top: 60%;
    right: 10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.shape3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    bottom: 20%;
    left: 30%;
    animation-duration: 35s;
    animation-delay: -10s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

header {
    text-align: center;
    padding: 60px 20px;
    animation: slideIn 0.4s ease-out;
}

.logo {
    display: inline-block;
    margin-bottom: 20px;
}

.logo-text {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 5s ease infinite;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.subtitle {
    font-size: 1.25rem;
    color: white;
    margin-top: 10px;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
    flex-wrap: wrap;
    animation: slideIn 0.4s ease-out 0.1s both;
}

.tab-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.tab-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-content.active {
    display: block;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 {
    font-size: 1.5rem;
    margin: 25px 0 15px;
    color: var(--dark);
}

.search-section {
    margin-bottom: 30px;
}

.search-input-wrapper {
    margin: 20px 0 15px 0;
}

.search-buttons-container {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.search-input-group {
    flex: 1;
    min-width: 300px;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    background: white;
}

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

.search-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.search-btn-secondary {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.15);
}

.search-btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.search-help code {
    background: rgba(139, 92, 246, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

.search-suggestions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.suggestion-chip {
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.suggestion-chip:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.keyword-chip {
    display: inline-block;
    padding: 4px 10px;
    margin: 2px 4px 2px 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    font-weight: 500;
}

.keyword-chip:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.suggestions-container {
    position: relative;
    margin: 15px 0;
}

.suggestions-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-height: 42px;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.suggestions-wrapper.expanded {
    max-height: 500px;
}

.suggestions-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.suggestions-wrapper.expanded::after {
    opacity: 0;
}

.toggle-suggestions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.toggle-suggestions:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.25));
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

.toggle-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.toggle-suggestions.expanded .toggle-icon {
    transform: rotate(180deg);
}

.endpoint {
    background: linear-gradient(135deg, #f6f8fb, #ffffff);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.endpoint:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.1);
}

.method {
    display: inline-block;
    padding: 4px 12px;
    background: var(--success);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-right: 10px;
}

.url {
    font-family: 'Courier New', monospace;
    color: var(--dark);
    font-weight: 600;
}

.swagger-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
    margin: 20px 0;
}

.swagger-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.params {
    margin-top: 15px;
    padding: 15px;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 10px;
}

.param {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.param-name {
    font-weight: 600;
    color: var(--primary);
    min-width: 120px;
}

.param-type {
    padding: 2px 8px;
    background: var(--accent);
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
}

.param-desc {
    color: #64748b;
    font-size: 0.9rem;
}

.demo-section {
    margin: 30px 0;
}

.demo-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

input, select {
    padding: 10px 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

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

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-secondary {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
    min-height: 100px;
}

.image-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    background: white;
    cursor: pointer;
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

.image-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-item img.loaded {
    opacity: 1;
}

.image-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 20%, #f0f0f0 40%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-loader::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid rgba(139, 92, 246, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.image-info {
    padding: 10px;
    font-size: 0.875rem;
    color: var(--text);
}

.skeleton-loader {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 15px;
}

.filters-advanced {
    background: rgba(139, 92, 246, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.2s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 90%;
    max-height: 90vh;
    overflow: auto;
    display: flex;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-image-container {
    flex: 1;
    min-width: 300px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.modal-details {
    flex: 0 0 400px;
    padding: 30px;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.detail-label {
    font-weight: 600;
    color: var(--dark);
}

.detail-value {
    color: var(--text);
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.color-swatch {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #ddd;
    vertical-align: middle;
    margin-left: 8px;
}

.colors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.color-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.875rem;
}

.open-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.2s ease;
}

.open-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
}

.code-block {
    background: #1e1b4b;
    border-radius: 10px;
    margin: 15px 0;
    position: relative;
}

.code-block pre {
    color: #e2e8f0;
    padding: 20px;
    padding-right: 80px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    margin: 0;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    z-index: 10;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 5px;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.dice-spinning {
    display: inline-block;
    animation: dice-spin 0.6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes dice-spin {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(1); }
    75% { transform: rotate(270deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.loading-text {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin: 20px 0;
    animation: pulse 1.5s ease-in-out infinite;
}

.footer {
    text-align: center;
    padding: 40px 20px;
    color: white;
    margin-top: 60px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--dark);
    margin-bottom: 5px;
}

.feature-content p {
    color: #64748b;
    font-size: 0.9rem;
}

.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-info {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #0891b2;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(34, 197, 94, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.05); }
}

.heart {
    display: inline-block;
    color: #ef4444;
    animation: heartbeat 2s ease-in-out infinite;
    font-size: 1.1em;
}

.hero-stat {
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-5px);
}

.hero-stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5),
                 0 0 20px rgba(139, 92, 246, 0.8),
                 0 4px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 8px;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 40px rgba(255, 255, 255, 0.5), 0 0 20px rgba(139, 92, 246, 0.8), 0 4px 6px rgba(0, 0, 0, 0.3); }
    to { text-shadow: 0 0 50px rgba(255, 255, 255, 0.7), 0 0 30px rgba(236, 72, 153, 0.9), 0 4px 8px rgba(0, 0, 0, 0.4); }
}

.hero-stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

@media (min-width: 769px) {
    .stat-divider {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .hero-stat-number {
        font-size: 2.2rem;
    }
    
    .hero-stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .demo-controls {
        grid-template-columns: 1fr;
    }

    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .card {
        padding: 20px;
    }

    .param {
        flex-direction: column;
        align-items: start;
    }

    .modal-content {
        flex-direction: column;
        max-width: 95%;
        max-height: 95vh;
    }

    .modal-details {
        flex: 1;
        max-width: 100%;
    }

    .search-buttons-container {
        justify-content: center;
        gap: 10px;
    }

    .search-btn {
        flex: 1;
        min-width: 120px;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .search-input-group {
        width: 100%;
    }
}