:root {
    /* Agoda-inspired color palette */
    --primary: #1a73e8; /* Agoda blue */
    --primary-dark: #1557b0;
    --primary-light: #4285f4;
    --secondary: #34a853; /* Agoda green */
    --accent: #ea4335; /* Agoda red accent */
    --accent-yellow: #fbbc04; /* Agoda yellow */
    --accent-purple: #9c27b0; /* Agoda purple */
    
    /* Neutral colors */
    --text: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    
    /* Shadows with more depth */
    --shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 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);
    
    /* Border radius */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-i18n {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.i18n-select {
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Kanit', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    background: white;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
}

.i18n-select:hover {
    border-color: var(--primary);
}

.i18n-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 4px rgba(26, 115, 232, 0.2);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-search {
    background: linear-gradient(135deg, var(--secondary) 0%, #2d8650 100%);
    color: white;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(52, 168, 83, 0.25);
    transition: var(--transition);
    font-weight: 600;
}

.btn-search:hover {
    background: linear-gradient(135deg, #2d8650 0%, var(--secondary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 168, 83, 0.35);
}

.btn-search:active {
    transform: translateY(0);
}

.btn-google {
    background: #4285f4;
    color: white;
    width: 100%;
    margin-bottom: 1rem;
}

.btn-microsoft {
    background: #00a4ef;
    color: white;
    width: 100%;
}

.btn-google:hover,
.btn-microsoft:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--accent-purple) 100%);
    opacity: 0.08;
    z-index: -1;
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Search Tabs */
.search-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.search-tab-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.search-tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 6px rgba(26, 115, 232, 0.2);
    transform: translateY(-2px);
}

.search-tab-btn:hover {
    border-color: var(--primary);
}

/* AI Search Container */
.ai-search-container {
    margin: 2.5rem 0;
    width: 100%;
}

.ai-search-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(26, 115, 232, 0.1);
    backdrop-filter: blur(10px);
}

.ai-search-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.gemini-logo {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.ai-search-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.ai-search-input-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.ai-input-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.ai-search-input {
    flex: 1;
    padding: 1rem 1.25rem;
    padding-right: 3.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
    width: 100%;
}

.ai-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.ai-reset-btn {
    position: absolute;
    right: 0.75rem;
    background: var(--text-lighter);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s;
    z-index: 10;
}

.ai-reset-btn:hover {
    background: var(--text-light);
    transform: scale(1.1);
}

.ai-loading-spinner {
    position: absolute;
    right: 0.75rem;
    display: flex;
    gap: 4px;
    align-items: center;
    z-index: 10;
}

.spinner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: spinnerBounce 1.4s ease-in-out infinite both;
}

.spinner-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.spinner-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.spinner-dot:nth-child(3) {
    animation-delay: 0s;
}

@keyframes spinnerBounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.ai-search-input:disabled {
    background: var(--bg-light);
    cursor: not-allowed;
    opacity: 0.7;
}

.ai-voice-btn {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--primary) 100%);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-voice-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.3);
}

.ai-voice-btn.recording {
    background: linear-gradient(135deg, var(--danger) 0%, var(--accent) 100%);
    animation: recordingPulse 1s ease-in-out infinite;
}

@keyframes recordingPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

.ai-search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.ai-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.3);
}

.ai-search-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ai-search-status {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(26, 115, 232, 0.1);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--primary);
    text-align: center;
    transition: all 0.3s;
}

.ai-search-status.ai-search-status-success {
    background: rgba(52, 168, 83, 0.1);
    color: var(--secondary);
}

.ai-search-status.ai-search-status-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent);
}

.ai-search-status.ai-search-status-info {
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary);
}

/* Search Box */
.search-box {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
    position: relative;
    z-index: 100;
    isolation: isolate;
}

.search-form {
    width: 100%;
}

.search-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.search-field {
    position: relative;
    z-index: 101;
}

.search-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: var(--primary);
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    z-index: 99999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: none;
}

.suggestion-item {
    padding: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.suggestion-item:hover {
    background: var(--bg-light);
}

/* Results Section */
.results-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.hotel-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.hotel-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hotel-info {
    padding: 1.5rem;
}

.hotel-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--accent);
}

.review-score {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hotel-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.hotel-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-discount {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.points-badge {
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Rewards Section */
.rewards-section {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.reward-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.reward-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.reward-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.reward-card:hover::before {
    transform: scaleX(1);
}

.reward-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.reward-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.reward-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.reward-points {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-large {
    max-width: 800px;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text);
}

.auth-buttons {
    margin-top: 2rem;
}

/* Dashboard */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.dashboard-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-light);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Loading */
.loading {
    text-align: center;
    padding: 3rem;
}

.spinner {
    border: 4px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error */
.error-message {
    background: #fee2e2;
    color: #dc2626;
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--text);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    max-width: 400px;
    pointer-events: auto;
    animation: slideInRight 0.3s ease-out;
    border-left: 4px solid var(--primary);
}

.toast.success {
    border-left-color: var(--secondary);
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.warning {
    border-left-color: var(--accent);
}

.toast.info {
    border-left-color: var(--primary);
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.toast-message {
    font-size: 0.875rem;
    color: var(--text-light);
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.2s;
}

.toast-close:hover {
    color: var(--text);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast.hiding {
    animation: slideOutRight 0.3s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar .container {
        flex-wrap: wrap;
        position: relative;
    }
    
    .nav-brand h1 {
        font-size: 1.25rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        background: var(--bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-i18n {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 0;
        border-top: 1px solid var(--border-light);
        border-bottom: 1px solid var(--border-light);
    }
    
    .i18n-select {
        width: 100%;
    }
    
    .nav-auth {
        width: 100%;
        padding-top: 1rem;
    }
    
    .nav-auth > div {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .nav-auth button {
        width: 100%;
    }

    .nav-toggle {
        display: block;
        order: 2;
        margin-left: auto;
        padding: 0.5rem;
    }
    
    .nav-brand {
        order: 1;
    }

    .hero-title {
        font-size: 2rem;
    }

    .search-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .search-field {
        z-index: 102;
    }

    .suggestions {
        z-index: 99999;
        position: fixed;
        max-width: calc(100vw - 40px);
        left: 20px;
        right: 20px;
    }

    .results-grid,
    .rewards-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
    }

    .search-box {
        padding: 1.5rem;
    }

    .hero-content {
        padding: 2rem 0;
    }

    .nav-auth {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .nav-auth > div {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .nav-auth button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .search-tabs {
        flex-direction: column;
    }

    .search-tab-btn {
        width: 100%;
    }
}

