/* World-Class Domain Browse Page - Matching Index.php Theme Exactly */

/* Import Inter and Space Grotesk fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Luxury Color System - Exact match from index.php */
    --primary-dark: #0A0E27;
    --primary-navy: #1A1F3A;
    --luxury-gold: #F4D03F;
    --luxury-amber: #F39C12;
    --luxury-royal: #8E44AD;
    --luxury-violet: #9B59B6;

    /* Supporting Colors */
    --text-primary: #1A1F3A;
    --text-secondary: #5A6C7D;
    --text-light: #9CA3AF;
    --border-light: #E5E7EB;
    --bg-cream: #FDFBF7;
    --bg-white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #F59E0B 0%, #8B5CF6 100%);
    --gradient-royal: linear-gradient(135deg, #8E44AD 0%, #9B59B6 100%);
    --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #8B5CF6 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-cream);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation - Exact match from index.php */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(32px) saturate(180%);
    border-bottom: 1px solid rgba(244, 208, 63, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
    box-shadow: 0 4px 32px rgba(142, 68, 173, 0.08);
    border-bottom: 1px solid rgba(142, 68, 173, 0.2);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 88px;
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-navy);
    text-decoration: none;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo .ai {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.nav-menu {
    display: flex;
    gap: 56px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: all 0.3s;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero-section {
    padding: 140px 48px 80px;
    background: linear-gradient(165deg, var(--bg-cream) 0%, var(--bg-white) 50%, var(--bg-cream) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(244, 208, 63, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(142, 68, 173, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-navy);
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.65;
    letter-spacing: -0.01em;
}

/* Search Section */
.search-section {
    background: rgba(255, 255, 255, 0.98);
    padding: 32px 48px;
    border-bottom: 1px solid rgba(244, 208, 63, 0.15);
    position: sticky;
    top: 88px;
    z-index: 100;
    backdrop-filter: blur(32px) saturate(180%);
}

.search-container {
    max-width: 1400px;
    margin: 0 auto;
}

.search-wrapper {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 18px;
}

.search-input {
    width: 100%;
    padding: 18px 24px 18px 60px;
    border: 2px solid rgba(244, 208, 63, 0.2);
    background: var(--bg-white);
    border-radius: 16px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(142, 68, 173, 0.08);
}

.search-input:focus {
    outline: none;
    border-color: rgba(244, 208, 63, 0.6);
    box-shadow: 0 0 0 4px rgba(244, 208, 63, 0.15), 0 8px 24px rgba(142, 68, 173, 0.12);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 18px 48px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(244, 208, 63, 0.3);
}

.btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(142, 68, 173, 0.4);
}

/* Filter Row */
.filter-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 14px 24px;
    border: 2px solid rgba(244, 208, 63, 0.2);
    background: var(--bg-white);
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(26, 31, 58, 0.06);
}

.filter-select:focus {
    outline: none;
    border-color: rgba(244, 208, 63, 0.6);
    box-shadow: 0 0 0 4px rgba(244, 208, 63, 0.15);
}

/* Mobile-only elements hidden on desktop */
.mobile-only {
    display: none !important;
}

.mobile-filter-btn {
    display: none !important;
}

.mobile-filter-modal {
    display: none !important;
}

/* Mobile Menu Toggle - Hidden on desktop */
.mobile-menu-toggle {
    display: none;
    background: var(--gradient-primary);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:active {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.mobile-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-backdrop.active {
    display: block;
    opacity: 1;
}

.mobile-close-btn {
    display: none;
}

/* Domains Section */
.domains-section {
    padding: 60px 48px 80px;
    max-width: 1400px;
    margin: 0 auto;
    background: radial-gradient(circle at top right, rgba(244, 208, 63, 0.03), transparent 50%),
                radial-gradient(circle at bottom left, rgba(142, 68, 173, 0.03), transparent 50%);
}

/* Domains Grid */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

/* Domain Card - Click to view, no hover flipping */
.domain-card {
    background: var(--bg-white);
    border-radius: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(26, 31, 58, 0.08);
    cursor: pointer;
}

.domain-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 3px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.domain-card:active::before {
    opacity: 1;
}

.domain-card:active {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(142, 68, 173, 0.2);
}

/* Premium Domain Cards */
.domain-card.premium {
    background: linear-gradient(165deg, rgba(142, 68, 173, 0.03), var(--bg-white));
}

.domain-card.premium::before {
    background: var(--gradient-royal);
    opacity: 0.2;
}

.domain-card.premium:active::before {
    opacity: 1;
}

/* Featured Domain Cards */
.domain-card.featured {
    background: linear-gradient(165deg, rgba(244, 208, 63, 0.05), var(--bg-white));
}

.domain-card.featured::before {
    background: var(--gradient-gold);
    opacity: 0.3;
}

.domain-card.featured:active::before {
    opacity: 1;
}

/* Card Header */
.domain-card-header {
    padding: 24px 24px 16px;
}

.domain-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-hot {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

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

.badge-featured {
    background: var(--gradient-gold);
    color: white;
    box-shadow: 0 4px 16px rgba(244, 208, 63, 0.4);
}

.badge-premium {
    background: var(--gradient-royal);
    color: white;
    box-shadow: 0 4px 16px rgba(142, 68, 173, 0.4);
}

.domain-name-wrapper {
    text-align: center;
}

.domain-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-navy);
    letter-spacing: -0.04em;
    line-height: 1.1;
    word-break: break-word;
}

.domain-extension {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Tagline */
.domain-tagline {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 0 24px 24px;
    text-align: center;
    min-height: 66px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
}

/* Card Footer */
.domain-card-footer {
    padding: 24px 24px 28px;
    margin-top: auto;
    border-top: 2px solid rgba(244, 208, 63, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-wrapper {
    flex: 1;
}

.price-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

.domain-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
    line-height: 1;
    display: block;
}

.domain-price.make-offer {
    font-size: 32px;
    letter-spacing: -0.03em;
}

.domain-lease {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 12px;
    display: block;
}

.domain-lease strong {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.card-action {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(244, 208, 63, 0.1);
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 18px;
}

.btn-icon:active {
    transform: scale(0.95);
    background: var(--gradient-primary);
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Pagination */
.pagination-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px 80px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding-top: 60px;
    border-top: 2px solid rgba(244, 208, 63, 0.15);
}

.pagination a,
.pagination span {
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
}

.pagination a {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.pagination a:active {
    border-color: transparent;
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 208, 63, 0.3);
}

.pagination .current {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 24px rgba(244, 208, 63, 0.4);
}

/* Footer - Exact match from index.php */
.footer {
    background: var(--primary-navy);
    color: white;
    padding: 60px 48px 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 208, 63, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-brand {
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 15px;
    max-width: 600px;
}

.footer-section {
    margin-bottom: 32px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-links a:active {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ========== MOBILE RESPONSIVE ========== */

@media (max-width: 1200px) {
    .domains-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .domains-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Navigation adjustments */
    .nav-container {
        padding: 0 20px;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .mobile-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: rgba(26, 31, 58, 0.08);
        border: none;
        border-radius: 10px;
        color: #1A1F3A;
        font-size: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10;
    }

    .mobile-close-btn:active {
        transform: scale(0.9);
        background: rgba(26, 31, 58, 0.15);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
        display: flex;
        flex-direction: column;
        padding: 80px 20px 30px 20px;
        gap: 6px;
        transition: right 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        z-index: 9999;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.mobile-open {
        right: 0;
    }

    .nav-link {
        position: relative;
        display: flex;
        align-items: center;
        padding: 15px 20px;
        font-size: 16px;
        font-weight: 600;
        color: #1A1F3A;
        text-decoration: none;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background: #FFFFFF;
        border: 2px solid transparent;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        overflow: hidden;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: linear-gradient(180deg, #F59E0B 0%, #8B5CF6 100%);
        transform: scaleY(0);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:active {
        transform: scale(0.97);
    }

    .nav-link.active {
        background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 100%) !important;
        color: #D97706 !important;
        font-weight: 700 !important;
        border-color: #FDE68A !important;
        box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25) !important;
        -webkit-text-fill-color: #D97706 !important;
        background-clip: unset !important;
        -webkit-background-clip: unset !important;
    }

    .nav-link.active::before {
        transform: scaleY(1);
    }

    /* Hero */
    .hero-section {
        padding: 100px 20px 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    /* Hide desktop search, show mobile search */
    .search-section:not(.mobile-only) {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .search-section.mobile-only {
        position: sticky;
        top: 88px;
        padding: 16px 20px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(32px) saturate(180%);
        border-bottom: 1px solid rgba(244, 208, 63, 0.15);
        z-index: 99;
    }

    .mobile-search-wrapper {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .mobile-search-input {
        flex: 1;
        padding: 14px 20px;
        border: 2px solid rgba(244, 208, 63, 0.2);
        background: var(--bg-white);
        border-radius: 12px;
        font-size: 15px;
        font-family: 'Inter', sans-serif;
        color: var(--text-primary);
        box-shadow: 0 4px 12px rgba(26, 31, 58, 0.06);
    }

    .mobile-search-input:focus {
        outline: none;
        border-color: rgba(244, 208, 63, 0.6);
        box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.15);
    }

    .btn-search-mobile {
        width: 48px;
        height: 48px;
        background: var(--gradient-primary);
        border: none;
        border-radius: 12px;
        color: white;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        box-shadow: 0 4px 16px rgba(244, 208, 63, 0.3);
    }

    .btn-search-mobile:active {
        transform: scale(0.95);
    }

    /* Mobile Filter Button */
    .mobile-filter-btn {
        display: flex !important;
        position: fixed;
        bottom: 24px;
        right: 24px;
        width: 64px;
        height: 64px;
        background: var(--gradient-primary);
        border-radius: 50%;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        z-index: 999;
        box-shadow: 0 8px 32px rgba(244, 208, 63, 0.5);
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
    }

    .mobile-filter-btn:active {
        transform: scale(0.95);
    }

    .filter-count {
        position: absolute;
        top: -4px;
        right: -4px;
        background: #FF6B6B;
        color: white;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        font-size: 11px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 3px solid var(--bg-cream);
    }

    /* Mobile Filter Modal */
    .mobile-filter-modal {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-white);
        z-index: 9999;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        flex-direction: column;
    }

    .mobile-filter-modal.active {
        transform: translateY(0);
    }

    .filter-modal-header {
        padding: 16px 20px;
        border-bottom: 2px solid rgba(244, 208, 63, 0.15);
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--bg-cream);
        flex-shrink: 0;
    }

    .filter-modal-title {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 20px;
        font-weight: 700;
        color: var(--primary-navy);
    }

    .filter-modal-close {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: rgba(26, 31, 58, 0.08);
        border: none;
        color: var(--primary-navy);
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .filter-modal-close:active {
        transform: scale(0.9);
        background: rgba(26, 31, 58, 0.15);
    }

    .filter-modal-content {
        flex: 1;
        padding: 16px 20px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .filter-group {
        margin-bottom: 16px;
    }

    .filter-label {
        display: block;
        font-size: 12px;
        font-weight: 700;
        color: var(--primary-navy);
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .filter-select-mobile {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid rgba(244, 208, 63, 0.2);
        background: var(--bg-white);
        border-radius: 10px;
        font-size: 14px;
        font-family: 'Inter', sans-serif;
        color: var(--text-primary);
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(26, 31, 58, 0.06);
    }

    .filter-select-mobile:focus {
        outline: none;
        border-color: rgba(244, 208, 63, 0.6);
        box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.15);
    }

    .filter-modal-footer {
        padding: 16px 20px;
        border-top: 2px solid rgba(244, 208, 63, 0.15);
        display: flex;
        gap: 12px;
        background: var(--bg-cream);
        flex-shrink: 0;
    }

    .btn-clear-filters,
    .btn-apply-filters {
        flex: 1;
        padding: 14px 20px;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        border: none;
    }

    .btn-clear-filters {
        background: rgba(26, 31, 58, 0.08);
        color: var(--primary-navy);
    }

    .btn-clear-filters:active {
        transform: scale(0.98);
        background: rgba(26, 31, 58, 0.15);
    }

    .btn-apply-filters {
        background: var(--gradient-primary);
        color: white;
        box-shadow: 0 4px 16px rgba(244, 208, 63, 0.3);
    }

    .btn-apply-filters:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(244, 208, 63, 0.2);
    }

    /* Domains Section */
    .domains-section {
        padding: 32px 20px 100px;
    }

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

    /* Domain Cards */
    .domain-name {
        font-size: 24px;
    }

    .domain-price {
        font-size: 28px;
    }

    .domain-price.make-offer {
        font-size: 22px;
    }

    /* Pagination */
    .pagination-container {
        padding: 0 20px 100px;
    }

    .pagination {
        padding-top: 40px;
    }

    .pagination a,
    .pagination span {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
    }

    /* Footer */
    .footer {
        padding: 40px 20px 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .domain-name {
        font-size: 20px;
    }

    .domain-price {
        font-size: 24px;
    }

    .domain-price.make-offer {
        font-size: 20px;
    }
}
