/*
Theme Name: GNDM Base
Description: A responsive WordPress theme for the Gundam Card Game database website, based on the responsive_website.html design.
Author: Ralph Casafrancisco
Version: 1.2.1
Text Domain: gndm-base
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

/* Header Styles */
.header {
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
}

/* Dropdown Styles */
.dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 150px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f3f4f6;
    color: #333;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    transition: background 0.3s ease;
    cursor: pointer;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.mobile-dropdown {
    background: rgba(0, 0, 0, 0.1);
}

.mobile-dropdown-item {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.75rem 3rem;
    transition: background 0.3s ease;
    cursor: pointer;
}

.mobile-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.content-area {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 500px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.welcome-content {
    text-align: center;
    margin-top: 3rem;
}

.welcome-content h1 {
    color: #4f46e5;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.welcome-content p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer Styles */
.footer {
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-left .disclaimer {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-left .disclaimer:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.social-btn.discord {
    background: #5865f2;
}

.social-btn.bluesky {
    background: #00bcd4;
}

.social-btn.buymeacoffee {
    background: #ff813f;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* WordPress specific styles */
.site-main {
    margin-bottom: 2rem;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    color: #4f46e5;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.entry-content {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #4f46e5;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.entry-content h1 { font-size: 2.5rem; }
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.75rem; }
.entry-content h4 { font-size: 1.5rem; }
.entry-content h5 { font-size: 1.25rem; }
.entry-content h6 { font-size: 1.1rem; }

.entry-content p {
    margin-bottom: 1rem;
}

/* Loading States */
.loading {
    display: none;
    text-align: center;
    padding: 3rem;
    color: #666;
}

.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-container {
        padding: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    .welcome-content h1,
    .entry-title {
        font-size: 2rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .social-buttons {
        justify-content: center;
    }
}

/* Cards Archive Page Styles */
.cards-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    color: #4f46e5;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-description {
    color: #666;
    font-size: 1.1rem;
}

/* Filter Controls */
.cards-filters {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

/* Always Visible Search Section */
.search-section {
    padding: 1.5rem 2rem;
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.search-group {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: #e5e7eb;
    color: #6b7280;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-clear:hover {
    background: #d1d5db;
    color: #374151;
}

/* Hamburger Menu Section */
.filter-hamburger-section {
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #7c3aed 0%, #4f46e5 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.filter-hamburger {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-hamburger:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.filter-hamburger.active {
    background: rgba(255, 255, 255, 0.3);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform-origin: center;
}

.filter-hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.filter-hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.filter-hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger-text {
    font-weight: 600;
}

.filter-controls {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.filter-controls.active {
    max-height: 800px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.filter-group input,
.filter-group select {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #4f46e5;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal !important;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    margin: 0;
}

.checkbox-label input[type="checkbox"]:checked {
    background: #4f46e5;
    border-color: #4f46e5;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
}

.color-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.color-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.color-button:hover {
    transform: translateY(-2px);
}

.color-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    border: 3px solid transparent;
}

/* 3D Pressed Effect */
.color-button:active .color-circle {
    transform: translateY(2px);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 2px 6px rgba(0, 0, 0, 0.3),
        inset 0 -1px 2px rgba(255, 255, 255, 0.2);
}

/* Active/Selected State */
.color-button.active .color-circle {
    border-color: #4f46e5;
    box-shadow: 
        0 0 0 2px #4f46e5,
        0 6px 12px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Individual Color Styles */
.blue-color {
    background: linear-gradient(145deg, #60a5fa, #2563eb);
}

.green-color {
    background: linear-gradient(145deg, #4ade80, #16a34a);
}

.red-color {
    background: linear-gradient(145deg, #f87171, #dc2626);
}

.white-color {
    background: linear-gradient(145deg, #ffffff, #e5e7eb);
    border: 2px solid #d1d5db;
}

.purple-color {
    background: linear-gradient(145deg, #a78bfa, #7c3aed);
}

.all-colors {
    background: linear-gradient(145deg, #fbbf24, #f59e0b, #ec4899, #8b5cf6, #3b82f6, #10b981);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.all-text {
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* Level Filter Buttons */
.level-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.level-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.level-button:hover {
    transform: translateY(-2px);
}

.level-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: #475569;
}

/* Level Button 3D Pressed Effect */
.level-button:active .level-circle {
    transform: translateY(2px);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 2px 6px rgba(0, 0, 0, 0.2),
        inset 0 -1px 2px rgba(255, 255, 255, 0.3);
}

/* Level Button Active/Selected State */
.level-button.active .level-circle {
    background: linear-gradient(145deg, #ddd6fe, #c4b5fd);
    border-color: #4f46e5;
    color: #4338ca;
    box-shadow: 
        0 0 0 2px #4f46e5,
        0 6px 12px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(79, 70, 229, 0.2);
    transform: translateY(-2px);
}

/* Filter Helper Text */
.filter-helper {
    margin-top: 0.5rem;
    text-align: center;
}

.filter-helper small {
    color: #6b7280;
    font-style: italic;
}

.filter-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.range-inputs input {
    flex: 1;
    max-width: 80px;
}

.filter-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #4f46e5;
    color: white;
}

.btn-primary:hover {
    background: #4338ca;
}

.btn-secondary {
    background: #e5e7eb;
    color: #374151;
}

.btn-secondary:hover {
    background: #d1d5db;
}

/* Results Info */
.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#results-count {
    font-weight: 600;
    color: #374151;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

/* Responsive Grid Adjustments */
@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1400px) {
    .cards-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 1.75rem;
    }
}

.card-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-item:hover .card-image img {
    transform: scale(1.05);
}

.card-badges {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-badge {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-alt {
    background: #f59e0b;
}

.badge-beta {
    background: #ef4444;
}

.card-info {
    padding: 1rem;
}

.card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card-number {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem;
    background: #f9fafb;
    border-radius: 4px;
    font-size: 0.875rem;
}

.stat-label {
    font-weight: 600;
    color: #6b7280;
}

.stat-value {
    color: #1f2937;
    font-weight: 700;
}

/* Card Modal */
.card-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

.card-modal.active {
    display: block;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    max-height: 90%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    max-height: 80vh;
    overflow-y: auto;
}

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

.modal-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-header {
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 1rem;
}

.card-header h2 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.modal-details .card-number {
    color: #6b7280;
    font-size: 1rem;
}

.modal-details .card-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
}

.stat-row .stat-label {
    font-weight: 600;
    color: #374151;
}

.stat-row .stat-value {
    font-weight: 700;
    color: #1f2937;
}

.card-description h4 {
    color: #374151;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.card-description div {
    color: #4b5563;
    line-height: 1.6;
    background: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #4f46e5;
}

.card-traits h4 {
    color: #374151;
    margin-bottom: 0.5rem;
}

.traits-list {
    color: #6b7280;
    font-style: italic;
}

/* Cards Mobile Responsive */
@media (max-width: 768px) {
    .cards-page {
        padding: 1rem;
    }
    
    .filter-controls {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }
    
    .modal-content {
        width: 95%;
        max-height: 95%;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }
    
    .results-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .color-filters {
        justify-content: center;
    }
}