/* ========================================
   PETSAGE AI - MAIN STYLESHEET
   Mobile-First Responsive Design
   Created: 2025-10-10
   ======================================== */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;900&display=swap');

/* ========================================
   1. GLOBAL RESET & VARIABLES
   ======================================== */

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

:root {
    /* Original Patch colors - kept for compatibility */
    --patch-red: #EF3340;
    --patch-blue: #2B2D77;
    --patch-mint: #C2DDD4;
    --patch-tan: #EFE3CF;
    --patch-grey: #6D6E71;
    --patch-light-grey: #D9D9D6;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 25%, #3b82f6 50%, #60a5fa 75%, #93c5fd 100%);
    color: white;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========================================
   2. NAVIGATION BAR
   ======================================== */

.navbar {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.navbar-version {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 400;
    margin-left: 8px;
}

.nav-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(78, 168, 222, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(78, 168, 222, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    list-style: none;
}

.user-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.user-name {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.version {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin-top: 2px;
}

.nav-links {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background: rgba(30, 58, 138, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-links.active {
    display: flex;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
    display: block;
}

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

/* Mobile hamburger menu */
.mobile-menu-toggle {
    display: block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
}

/* ========================================
   3. BUTTON STYLES
   ======================================== */

.btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    display: inline-block;
}

.btn-primary {
    background: rgba(59, 130, 246, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(96, 165, 250, 0.9);
    color: white;
    padding: 18px 40px;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
    font-weight: 600;
}

.btn-primary:hover, .btn-primary:active {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 1);
    border-color: rgba(96, 165, 250, 1);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: rgba(96, 165, 250, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 18px 40px;
    border: 2px solid rgba(147, 197, 253, 0.8);
    border-radius: 30px;
    font-weight: 600;
}

.btn-secondary:hover, .btn-secondary:active {
    background: rgba(96, 165, 250, 0.8);
    border-color: rgba(147, 197, 253, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.btn-conclude {
    background: rgba(34, 197, 94, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(34, 197, 94, 1);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    margin: 20px;
    width: calc(100% - 40px);
    max-width: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-conclude:hover {
    background: rgba(34, 197, 94, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.5);
}

/* ========================================
   4. PAGE MANAGEMENT
   ======================================== */

.page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    padding-top: 80px;
    overflow-y: auto;
    z-index: 100;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 25%, #3b82f6 50%, #60a5fa 75%, #93c5fd 100%);
}

.page.active {
    display: block;
}

/* Landing page doesn't need fixed positioning but should be hidden when not active */
#landing.page {
    position: relative;
    z-index: 1;
}

#landing.page.active {
    z-index: 50;
}

#landing.page:not(.active) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* Force hide all landing page children when not active */
#landing.page:not(.active) * {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Ensure chat page has full background coverage */
#chat.page {
    background: linear-gradient(135deg, #1F4E78 0%, #2563a0 25%, #3b82f6 50%, #4EA8DE 75%, #93c5fd 100%);
    padding: 0;
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

/* Hide main navbar on chat page */
#chat.page .navbar {
    display: none !important;
}

#chat.page.active {
    z-index: 1500;
}

/* Chat page header styles */
#chat .chat-page-header {
    padding: 15px 20px;
    background: rgba(31, 78, 120, 0.6);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

#chat .header-left-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

#chat .logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

#chat .logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
    border-radius: 8px;
    padding: 4px;
}

#chat .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#chat .logo-text-main {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

#chat .version {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 500;
}

#chat .token-links-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

#chat .token-display {
    background: rgba(78, 168, 222, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

#chat .chat-link {
    background: rgba(31, 78, 120, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

#chat .chat-link:hover {
    background: rgba(78, 168, 222, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Discount banner - DEBUG VERSION */
#chat .discount-banner {
    background: rgba(34, 197, 94, 0.9) !important;
    border: 5px solid red !important;
    padding: 20px !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
}

#chat .discount-banner p {
    margin: 0 auto !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: yellow !important;
    background: blue !important;
    padding: 10px !important;
}

#chat .discount-highlight {
    color: red !important;
    font-weight: 800 !important;
    background: white !important;
}

/* Ensure pets page has full background coverage */
#pets.page {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 25%, #3b82f6 50%, #60a5fa 75%, #93c5fd 100%);
}

#pets.page.active {
    z-index: 1500;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

/* Ensure profile page has full background coverage */
#profile.page {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 25%, #3b82f6 50%, #60a5fa 75%, #93c5fd 100%);
}

#profile.page.active {
    z-index: 1500;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

/* ========================================
   5. LANDING PAGE (HOME TAB)
   ======================================== */

.mobile-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.hero {
    padding: 40px 20px;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.voice-highlight {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.5;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 80px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #60a5fa;
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    margin-top: 5px;
}

/* CTA Consultation Button Section */
.cta-consultation-section {
    padding: 50px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-cta-consultation {
    background: linear-gradient(135deg, rgba(239, 51, 64, 0.95) 0%, rgba(239, 51, 64, 0.85) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 24px 60px;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 12px 40px rgba(239, 51, 64, 0.5), 0 0 0 0 rgba(239, 51, 64, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 90%;
    max-width: 400px;
}

.btn-cta-consultation:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, rgba(239, 51, 64, 1) 0%, rgba(239, 51, 64, 0.95) 100%);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 16px 50px rgba(239, 51, 64, 0.7), 0 0 30px rgba(239, 51, 64, 0.5);
    animation: none;
}

.btn-cta-consultation:active {
    transform: translateY(-2px) scale(0.98);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 12px 40px rgba(239, 51, 64, 0.5), 0 0 0 0 rgba(239, 51, 64, 0.4);
    }
    50% {
        box-shadow: 0 12px 40px rgba(239, 51, 64, 0.6), 0 0 20px 10px rgba(239, 51, 64, 0);
    }
}

.species-section {
    padding: 40px 20px;
    text-align: center;
}

.species-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.species-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 1rem;
}

.species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.species-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    cursor: pointer;
}

.species-card:hover {
    background: rgba(96, 165, 250, 0.25);
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3);
}

.species-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.species-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.features-section {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* GekkoVet Extended Block - Featured highlight (Global) */
.gekkovet-featured {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 40px;
    margin: 0 0 40px 0;
    width: 100%;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.gekkovet-featured:hover {
    transform: translateY(-5px);
    background: rgba(78, 168, 222, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.gekkovet-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4EA8DE 0%, #3b82f6 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(78, 168, 222, 0.4);
}

.gekkovet-featured .feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    width: auto;
    height: auto;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    display: block;
}

.gekkovet-featured .feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.gekkovet-featured .feature-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .gekkovet-featured {
        padding: 30px 20px;
    }

    .gekkovet-featured .feature-title {
        font-size: 1.3rem;
    }

    .gekkovet-featured .feature-description {
        font-size: 0.95rem;
    }
}

.features-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.feature-list {
    max-width: 600px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(96, 165, 250, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
}

.feature-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: white;
}

.feature-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.email-notification {
    background: rgba(96, 165, 250, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 15px;
    padding: 20px;
    margin: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
}

.email-notification h3 {
    color: #93c5fd;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.email-notification p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
}

.action-buttons {
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.action-buttons .btn-primary,
.action-buttons .btn-secondary {
    width: 100%;
    max-width: 300px;
}

.footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ========================================
   6. NOTIFICATION SYSTEM
   ======================================== */

.notification {
    position: fixed;
    top: 90px;
    right: 20px;
    padding: 18px 32px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    transform: translateX(600px);
    transition: transform 0.3s ease;
    max-width: 450px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: white;
    text-shadow: none;
    letter-spacing: 0.3px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    will-change: transform;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #22c55e;
    border: 4px solid #16a34a;
}

.notification.error {
    background: #ef4444;
    border: 4px solid #dc2626;
}

.notification.warning {
    background: #f59e0b;
    border: 4px solid #d97706;
    color: white;
}

.notification.info {
    background: #3b82f6;
    border: 4px solid #2563eb;
}

/* ========================================
   7. CHAT/CONSULTATION PAGE
   ======================================== */

.chat-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

.chat-header {
    background: linear-gradient(135deg, #2B2D77 0%, #3b82f6 100%);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.consultation-pet-info {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 1.5rem;
}

.chat-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.chat-status {
    font-size: 14px;
    opacity: 0.9;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    background: #f9f9f9;
}

/* ========================================
   8. MESSAGE DISPLAY
   ======================================== */

.message {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: messageIn 0.3s ease;
}

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

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--patch-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.message.assistant .message-avatar {
    background: var(--patch-mint);
    overflow: hidden;
}

.message-content {
    max-width: 70%;
    background: white;
    padding: 15px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    word-wrap: break-word;
    white-space: pre-wrap;
    color: var(--patch-blue);
}

.message.user .message-content {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.message-time {
    font-size: 12px;
    color: var(--patch-grey);
    margin-top: 5px;
}

.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 15px 20px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--patch-grey);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* ========================================
   9. CHAT INPUT
   ======================================== */

.chat-input-container {
    background: white;
    border-top: 1px solid var(--patch-light-grey);
    padding: 20px;
}

.quick-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.quick-action {
    background: var(--patch-tan);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    color: var(--patch-blue);
}

.quick-action:hover {
    background: var(--patch-mint);
    transform: translateY(-2px);
}

.chat-input-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--patch-light-grey);
    border-radius: 25px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    resize: none;
    outline: none;
    transition: border-color 0.3s ease;
    color: var(--patch-blue);
    background: white;
}

.chat-input:focus {
    border-color: #3b82f6;
}

.send-button {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* ========================================
   10. MODAL STYLES
   ======================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    pointer-events: auto;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    color: var(--patch-blue);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Ensure all modal buttons are visible and properly spaced */
.modal-content button {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Modal close button styling */
.modal-close {
    color: var(--patch-grey);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    transition: color 0.3s ease;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--patch-red);
}

.close {
    color: var(--patch-grey);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--patch-red);
}

/* ========================================
   11. FORM STYLES
   ======================================== */

/* Form container for pages (Profile, Pets) */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.form-container h2 {
    color: white;
    margin-bottom: 10px;
    font-size: 2rem;
}

.form-container p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.form-container h3 {
    color: white;
    margin-top: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

/* White labels for page forms */
.page .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 0.95rem;
}

/* Dark labels for modal forms */
.modal .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--patch-blue);
}

/* Default input styles (for modals) */
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--patch-light-grey);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    color: var(--patch-blue);
    background: white;
}

/* Light yellow inputs for page forms (Profile, Pets) */
.page input[type="text"],
.page input[type="email"],
.page input[type="tel"],
.page input[type="number"],
.page input[type="password"],
.page select,
.page textarea {
    background: #fffbea;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--patch-blue);
    font-weight: 500;
}

.page input:focus,
.page select:focus,
.page textarea:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.8);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Input validation states */
input.valid,
input[style*="border-color: rgb(34, 197, 94)"],
input[style*="border-color:#22c55e"] {
    border-color: #22c55e !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

input.invalid,
input[style*="border-color: rgb(220, 38, 38)"],
input[style*="border-color:#dc3545"] {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

select.form-control,
select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232B2D77' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

/* Enhanced select hover for pages */
.page select:hover {
    background-color: white;
    border-color: rgba(59, 130, 246, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    cursor: pointer;
}

/* Enhanced select active/click state for pages */
.page select:active,
.page select:focus {
    background-color: white !important;
    border-color: rgba(59, 130, 246, 1) !important;
    transform: translateY(0) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5) !important;
    outline: 3px solid rgba(59, 130, 246, 0.3);
    outline-offset: 2px;
}

/* Enhanced select hover for modals */
.modal select:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

/* Enhanced select active/click state for modals */
.modal select:active,
.modal select:focus {
    background-color: white !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4) !important;
    outline: 2px solid rgba(59, 130, 246, 0.3);
    outline-offset: 2px;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* ========================================
   12. URGENCY INDICATORS
   ======================================== */

.urgency-indicator {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.urgency-emergency {
    background: #ff4444;
    color: white;
}

.urgency-urgent {
    background: #ff8800;
    color: white;
}

.urgency-routine {
    background: var(--patch-mint);
    color: var(--patch-blue);
}

.urgency-preventive {
    background: #4CAF50;
    color: white;
}

/* ========================================
   13. LOADING SPINNER
   ======================================== */

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(59, 130, 246, 0.2);
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

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

/* ========================================
   14. VOICE CONTROLS
   ======================================== */

.voice-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.voice-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.voice-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.voice-button.recording {
    background: var(--patch-mint);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(194, 221, 212, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(194, 221, 212, 0); }
    100% { box-shadow: 0 0 0 0 rgba(194, 221, 212, 0); }
}

/* ========================================
   15. RESPONSIVE DESIGN
   ======================================== */

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .species-grid {
        grid-template-columns: repeat(7, 1fr);
    }

    .action-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .navbar {
        padding: 20px 40px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-user-info {
        margin-right: 10px;
        padding: 6px 12px;
    }

    .user-label {
        font-size: 0.8rem;
    }

    .user-name {
        font-size: 0.85rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        background: rgba(30, 58, 138, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 15px;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        min-width: 200px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: center;
    }

    .chat-container {
        margin: 10px;
        height: calc(100vh - 110px);
        border-radius: 15px;
    }

    .message-content {
        max-width: 85%;
    }

    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

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

    .stats-row {
        gap: 15px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .species-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .species-card {
        padding: 15px 10px;
    }

    .species-icon {
        font-size: 2rem;
    }

    .chat-messages {
        padding: 20px 15px;
    }

    .chat-input-container {
        padding: 15px;
    }

    .voice-controls {
        bottom: 10px;
        right: 10px;
    }

    .voice-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ========================================
   16. PASSWORD TOGGLE & TOOLTIPS
   ======================================== */

/* Password toggle eyeball icon */
.input-with-icon {
    position: relative;
    width: 100%;
}

.input-with-icon input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    user-select: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.password-toggle:hover {
    opacity: 1;
}

/* Username field with tooltip */
.input-with-tooltip {
    position: relative;
    width: 100%;
}

.tooltip-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: help;
    font-size: 18px;
    color: var(--patch-blue);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 10;
    font-weight: bold;
}

.tooltip-icon:hover {
    opacity: 1;
}

/* Tooltip bubble */
.tooltip-bubble {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 2px solid var(--patch-blue);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 24px rgba(43, 45, 119, 0.3);
    z-index: 1000;
    font-size: 13px;
    line-height: 1.6;
    color: var(--patch-blue);
}

.tooltip-bubble strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--patch-blue);
}

/* Show tooltip on parent hover or focus */
.input-with-tooltip:hover .tooltip-bubble,
.input-with-tooltip input:focus + .tooltip-icon + .tooltip-bubble,
.tooltip-icon:hover + .tooltip-bubble {
    display: block;
    animation: tooltipFadeIn 0.2s ease;
}

/* Password tooltip (always visible below field) */
.password-tooltip {
    position: relative;
    display: block;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--patch-blue);
    border-radius: 12px;
    padding: 12px 15px;
    box-shadow: 0 4px 16px rgba(43, 45, 119, 0.2);
    font-size: 12px;
    line-height: 1.6;
    color: var(--patch-blue);
}

.password-tooltip strong {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive adjustments for tooltips */
@media (max-width: 480px) {
    .tooltip-bubble,
    .password-tooltip {
        font-size: 11px;
        padding: 10px 12px;
    }
    
    .tooltip-bubble strong,
    .password-tooltip strong {
        font-size: 12px;
    }
}

/* ================================================
   POST-CHAT PAGE STYLES
   ================================================ */

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.post-chat-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.post-chat-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1F4E78 0%, #2563a0 25%, #3b82f6 50%, #4EA8DE 75%, #93c5fd 100%);
    color: white;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.post-chat-page .header {
    padding: 15px 20px;
    background: rgba(31, 78, 120, 0.6);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.post-chat-page .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.post-chat-page .logo:hover {
    transform: scale(1.05);
}

.post-chat-page .logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    padding: 6px;
    position: relative;
    overflow: hidden;
}


.post-chat-page .species-icon {
    font-size: 44px;
    line-height: 1;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.post-chat-page .species-icon.fade-out {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

.post-chat-page .species-icon.fade-in {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.post-chat-page .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.post-chat-page .logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.post-chat-page .logo-text-main {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
    white-space: nowrap;
}

.post-chat-page .version {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 500;
}

.post-chat-page .header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.post-chat-page .sponsor-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-chat-page .sponsor-logos {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.post-chat-page .sponsor-logo-mini {
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.post-chat-page .sponsor-logo-box {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    padding: 2px;
    overflow: hidden;
}

.post-chat-page .sponsor-logo-box img {
    width: 95%;
    height: 95%;
    object-fit: contain;
}

.post-chat-page .sponsor-logo-box .emoji-placeholder {
    font-size: 2.2rem;
}

.post-chat-page .sponsor-name {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    max-width: 90px;
    word-wrap: break-word;
}

.post-chat-page .sponsor-logo-mini:hover .sponsor-logo-box {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 1);
}



.post-chat-page .sponsor-link {
    background: rgba(31, 78, 120, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.post-chat-page .sponsor-link:hover {
    background: rgba(78, 168, 222, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.post-chat-page .container {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease;
}

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

/* Success Card - Higher Contrast */
.post-chat-page .success-card {
    background: rgba(31, 78, 120, 0.5);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.post-chat-page .success-icon {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.5);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(34, 197, 94, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 25px;
    animation: scaleIn 0.6s ease both;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.post-chat-page .success-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.post-chat-page .success-message {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Email Info - Higher Contrast */
.post-chat-page .email-info {
    background: rgba(59, 130, 246, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.7);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.post-chat-page .email-info-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.post-chat-page .email-info-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Discount Badge - Higher Contrast */
.post-chat-page .discount-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.5);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(34, 197, 94, 0.9);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 30px;
    animation: pulse 2s ease infinite;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

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

/* Benefits Section */
.post-chat-page .benefits-section {
    margin: 30px 0;
}

.post-chat-page .benefits-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.post-chat-page .benefit-item {
    background: rgba(31, 78, 120, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.post-chat-page .benefit-item:hover {
    background: rgba(78, 168, 222, 0.5);
    border-color: rgba(78, 168, 222, 0.8);
    transform: translateX(5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.post-chat-page .benefit-icon {
    width: 45px;
    height: 45px;
    background: rgba(78, 168, 222, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.post-chat-page .benefit-text h4 {
    font-size: 1rem;
    margin-bottom: 3px;
    font-weight: 700;
    color: white;
}

.post-chat-page .benefit-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Divider */
.post-chat-page .divider {
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    margin: 25px 0;
}

/* Standardized Buttons */
.post-chat-page .action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.post-chat-page .btn {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
}

.post-chat-page .btn-primary {
    background: rgba(78, 168, 222, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.post-chat-page .btn-primary:hover {
    background: rgba(78, 168, 222, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.post-chat-page .btn-secondary {
    background: rgba(31, 78, 120, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.post-chat-page .btn-secondary:hover {
    background: rgba(31, 78, 120, 0.9);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.post-chat-page .footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-top: 25px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-chat-page .success-card {
        padding: 30px 20px;
    }

    .post-chat-page .success-title {
        font-size: 1.6rem;
    }

    .post-chat-page .success-message {
        font-size: 1rem;
    }

    .post-chat-page .success-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }

    .post-chat-page .logo {
        font-size: 1.3rem;
    }

    .post-chat-page .benefit-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .post-chat-page .success-card {
        padding: 50px 40px;
    }

    .post-chat-page .action-buttons {
        flex-direction: row;
    }

    .post-chat-page .btn {
        flex: 1;
    }
}

/* ================================================
   HORSE LANDING PAGE STYLES (horse.index.html)
   ================================================ */

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

.horse-landing {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1F4E78 0%, #2563a0 25%, #3b82f6 50%, #4EA8DE 75%, #93c5fd 100%);
    color: white;
    line-height: 1.6;
    min-height: 100vh;
}

.horse-landing .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.horse-landing .header {
    padding: 20px 25px;
    background: rgba(31, 78, 120, 0.6);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.horse-landing .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.horse-landing .logo:hover {
    transform: scale(1.05);
}

/* Rotating logo with species icons */
.horse-landing .logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    padding: 6px;
    position: relative;
    overflow: hidden;
}

.horse-landing .species-icon {
    font-size: 44px;
    line-height: 1;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.horse-landing .species-icon.fade-out {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

.horse-landing .species-icon.fade-in {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.horse-landing .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.horse-landing .logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.horse-landing .logo-text-main {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
    white-space: nowrap;
}

.horse-landing .version {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

.horse-landing .header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.horse-landing .sponsor-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.horse-landing .sponsor-logos {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Larger sponsor logos with images for horse landing */
.horse-landing .sponsor-logo-mini {
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.horse-landing .sponsor-logo-box {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    padding: 2px;
    overflow: hidden;
}

.horse-landing .sponsor-logo-box img {
    width: 95%;
    height: 95%;
    object-fit: contain;
}

.horse-landing .sponsor-logo-box .emoji-placeholder {
    font-size: 2.2rem;
}

.horse-landing .sponsor-name {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    max-width: 90px;
    word-wrap: break-word;
}

.horse-landing .sponsor-logo-mini:hover .sponsor-logo-box {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 1);
}

/* Hero Section */
.horse-landing .hero {
    padding: 60px 20px;
    text-align: center;
}

.horse-landing .hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.horse-landing .hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Stats Row */
.horse-landing .stats-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.horse-landing .stat {
    text-align: center;
    min-width: 100px;
}

.horse-landing .stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #4EA8DE;
    display: block;
}

.horse-landing .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Cards */
.horse-landing .card {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
    margin: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.horse-landing .btn {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
}

.horse-landing .btn-primary {
    background: rgba(78, 168, 222, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.horse-landing .btn-primary:hover {
    background: rgba(78, 168, 222, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.horse-landing .btn-secondary {
    background: rgba(31, 78, 120, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.horse-landing .btn-secondary:hover {
    background: rgba(31, 78, 120, 0.9);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Species Section - 8 species with special grid layout */
.horse-landing .species-section {
    padding: 40px 20px;
    text-align: center;
}

.horse-landing .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.horse-landing .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    font-size: 1rem;
}

.horse-landing .species-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* First 6 cards span 2 columns each (3 cards per row) */
.horse-landing .species-grid .species-card:nth-child(-n+6) {
    grid-column: span 2;
}

/* Last 2 cards: offset by 1 column and span 2 columns each to center them */
.horse-landing .species-grid .species-card:nth-child(7) {
    grid-column: 2 / 4;
}

.horse-landing .species-grid .species-card:nth-child(8) {
    grid-column: 4 / 6;
}

.horse-landing .species-card {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 150px;
}

.horse-landing .species-card:hover {
    transform: translateY(-5px);
    background: rgba(78, 168, 222, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.horse-landing .species-card .species-icon {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    line-height: 1;
    margin-bottom: 15px;
}

.horse-landing .species-name {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-align: center;
    display: block;
    width: 100%;
    line-height: 1.3;
    margin-top: 0;
}

/* Features Section */
.horse-landing .features-section {
    padding: 40px 20px;
}

/* VetLexicon Extended Block - Featured highlight */
.horse-landing .vetlexicon-featured {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 40px;
    margin: 0 0 40px 0;
    width: 100%;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.horse-landing .vetlexicon-featured:hover {
    transform: translateY(-5px);
    background: rgba(78, 168, 222, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.horse-landing .vetlexicon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4EA8DE 0%, #3b82f6 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(78, 168, 222, 0.4);
}

.horse-landing .vetlexicon-featured .feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.horse-landing .vetlexicon-featured .feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.horse-landing .vetlexicon-featured .feature-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

/* GekkoVet Extended Block - Featured highlight */
.horse-landing .gekkovet-featured {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.horse-landing .gekkovet-featured:hover {
    transform: translateY(-5px);
    background: rgba(78, 168, 222, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.horse-landing .gekkovet-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4EA8DE 0%, #3b82f6 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(78, 168, 222, 0.4);
}

.horse-landing .gekkovet-featured .feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.horse-landing .gekkovet-featured .feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.horse-landing .gekkovet-featured .feature-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

.horse-landing .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.horse-landing .feature-card {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.horse-landing .feature-card:hover {
    transform: translateY(-5px);
    background: rgba(78, 168, 222, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.horse-landing .feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.horse-landing .feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.horse-landing .feature-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer */
.horse-landing .footer {
    background: rgba(31, 78, 120, 0.6);
    backdrop-filter: blur(15px);
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.3);
}

.horse-landing .footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.horse-landing .footer-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.horse-landing .footer-link:hover {
    color: #4EA8DE;
    text-shadow: 0 0 10px rgba(78, 168, 222, 0.5);
}

.horse-landing .footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Modal */
.horse-landing .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.horse-landing .modal-content {
    background: rgba(31, 78, 120, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.horse-landing .modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.horse-landing .modal-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.horse-landing .modal-close {
    background: rgba(78, 168, 222, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 12px 30px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.horse-landing .modal-close:hover {
    background: rgba(78, 168, 222, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Responsive Design */
@media (max-width: 768px) {
    .horse-landing .hero-title {
        font-size: 2rem;
    }

    .horse-landing .hero {
        padding: 40px 20px;
    }

    .horse-landing .species-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .horse-landing .features-grid {
        grid-template-columns: 1fr;
    }

    .horse-landing .card {
        margin: 20px 10px;
        padding: 20px;
    }

    .horse-landing .stats-row {
        gap: 20px;
    }

    .horse-landing .vetlexicon-featured {
        padding: 30px 20px;
    }

    .horse-landing .vetlexicon-featured .feature-title {
        font-size: 1.3rem;
    }

    .horse-landing .vetlexicon-featured .feature-description {
        font-size: 0.95rem;
    }

    .horse-landing .gekkovet-featured {
        padding: 30px 20px;
    }

    .horse-landing .gekkovet-featured .feature-title {
        font-size: 1.3rem;
    }

    .horse-landing .gekkovet-featured .feature-description {
        font-size: 0.95rem;
    }
}

@media (min-width: 769px) {
    .horse-landing .container {
        padding: 0 20px;
    }

    .horse-landing .hero {
        padding: 80px 40px;
    }

    .horse-landing .species-section,
    .horse-landing .features-section {
        padding: 60px 40px;
    }
}

/* ========================================
   NEXT-INDEX PAGE STYLES
   Extracted from next-index.html inline styles
   ======================================== */

/* Global styles for next-index page */
.next-index * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.next-index body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1F4E78 0%, #2563a0 25%, #3b82f6 50%, #4EA8DE 75%, #93c5fd 100%);
    color: white;
    line-height: 1.6;
    min-height: 100vh;
}

.next-index .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.next-index .header {
    padding: 20px 25px;
    background: rgba(31, 78, 120, 0.6);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.next-index .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.next-index .logo:hover {
    transform: scale(1.05);
}

.next-index .logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    padding: 6px;
    position: relative;
    overflow: hidden;
}

.next-index .species-icon {
    font-size: 44px;
    line-height: 1;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.next-index .species-icon.fade-out {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

.next-index .species-icon.fade-in {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.next-index .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.next-index .logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.next-index .logo-text-main {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
    white-space: nowrap;
}

.next-index .version {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

.next-index .header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.next-index .sponsor-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.next-index .sponsor-logos {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.next-index .sponsor-logo-mini {
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.next-index .sponsor-logo-box {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    padding: 2px;
    overflow: hidden;
}

.next-index .sponsor-logo-box img {
    width: 95%;
    height: 95%;
    object-fit: contain;
}

.next-index .sponsor-logo-box .emoji-placeholder {
    font-size: 2.2rem;
}

.next-index .sponsor-name {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    max-width: 90px;
    word-wrap: break-word;
}

.next-index .sponsor-logo-mini:hover .sponsor-logo-box {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 1);
}

/* Hero Section */
.next-index .hero {
    padding: 60px 20px;
    text-align: center;
}

.next-index .hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.next-index .hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Stats Row */
.next-index .stats-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.next-index .stat {
    text-align: center;
    min-width: 100px;
}

.next-index .stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #4EA8DE;
    display: block;
}

.next-index .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Cards */
.next-index .card {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
    margin: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.next-index .btn {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
}

.next-index .btn-primary {
    background: rgba(78, 168, 222, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.next-index .btn-primary:hover {
    background: rgba(78, 168, 222, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.next-index .btn-secondary {
    background: rgba(31, 78, 120, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.next-index .btn-secondary:hover {
    background: rgba(31, 78, 120, 0.9);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Species Section */
.next-index .species-section {
    padding: 40px 20px;
    text-align: center;
}

.next-index .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.next-index .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    font-size: 1rem;
}

.next-index .species-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* First 6 cards span 2 columns each (3 cards per row) */
.next-index .species-grid .species-card:nth-child(-n+6) {
    grid-column: span 2;
}

/* Last 2 cards: offset by 1 column and span 2 columns each to center them */
.next-index .species-grid .species-card:nth-child(7) {
    grid-column: 2 / 4;
}

.next-index .species-grid .species-card:nth-child(8) {
    grid-column: 4 / 6;
}

.next-index .species-card {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 20px 15px 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 150px;
}

.next-index .species-card:hover {
    transform: translateY(-5px);
    background: rgba(78, 168, 222, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.next-index .species-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.next-index .species-card .species-icon {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    line-height: 1;
    margin-bottom: 15px;
}

.next-index .species-name {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-align: center;
    display: block;
    width: 100%;
    line-height: 1.3;
    margin-top: 0;
}

/* Features Section */
.next-index .features-section {
    padding: 40px 20px;
}

/* VetLexicon Extended Block - Same style as feature cards */
.next-index .vetlexicon-featured {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 40px;
    margin: 0 0 40px 0;
    width: 100%;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.next-index .vetlexicon-featured:hover {
    transform: translateY(-5px);
    background: rgba(78, 168, 222, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.next-index .vetlexicon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4EA8DE 0%, #3b82f6 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(78, 168, 222, 0.4);
}

.next-index .vetlexicon-featured .feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.next-index .vetlexicon-featured .feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.next-index .vetlexicon-featured .feature-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

.next-index .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.next-index .feature-card {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.next-index .feature-card:hover {
    transform: translateY(-5px);
    background: rgba(78, 168, 222, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.next-index .feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.next-index .feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.next-index .feature-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer */
.next-index .footer {
    background: rgba(31, 78, 120, 0.6);
    backdrop-filter: blur(15px);
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.3);
}

.next-index .footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.next-index .footer-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.next-index .footer-link:hover {
    color: #4EA8DE;
    text-shadow: 0 0 10px rgba(78, 168, 222, 0.5);
}

.next-index .footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Modal */
.next-index .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.next-index .modal-content {
    background: rgba(31, 78, 120, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.next-index .modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.next-index .modal-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.next-index .modal-close {
    background: rgba(78, 168, 222, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 12px 30px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.next-index .modal-close:hover {
    background: rgba(78, 168, 222, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Responsive Design */
@media (max-width: 768px) {
    .next-index .hero-title {
        font-size: 2rem;
    }

    .next-index .hero {
        padding: 40px 20px;
    }

    .next-index .species-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .next-index .features-grid {
        grid-template-columns: 1fr;
    }

    .next-index .card {
        margin: 20px 10px;
        padding: 20px;
    }

    .next-index .stats-row {
        gap: 20px;
    }
    
    .next-index .vetlexicon-featured {
        padding: 30px 20px;
    }
    
    .next-index .vetlexicon-featured .feature-title {
        font-size: 1.3rem;
    }
    
    .next-index .vetlexicon-featured .feature-description {
        font-size: 0.95rem;
    }
}

@media (min-width: 769px) {
    .next-index .container {
        padding: 0 20px;
    }

    .next-index .hero {
        padding: 80px 40px;
    }

    .next-index .species-section,
    .next-index .features-section {
        padding: 60px 40px;
    }
}

/* ========================================
   NEXT-SPONSORS PAGE STYLES
   Extracted from next-sponsors.html inline styles
   ======================================== */

/* Global styles for next-sponsors page */
.next-sponsors * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.next-sponsors body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1F4E78 0%, #2563a0 25%, #3b82f6 50%, #4EA8DE 75%, #93c5fd 100%);
    color: white;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.next-sponsors .header {
    padding: 20px 25px;
    background: rgba(31, 78, 120, 0.6);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.next-sponsors .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.next-sponsors .logo:hover {
    transform: scale(1.05);
}

.next-sponsors .logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    padding: 6px;
    position: relative;
    overflow: hidden;
}

.next-sponsors .species-icon {
    font-size: 44px;
    line-height: 1;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.next-sponsors .species-icon.fade-out {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

.next-sponsors .species-icon.fade-in {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.next-sponsors .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.next-sponsors .logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.next-sponsors .logo-text-main {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
    white-space: nowrap;
}

.next-sponsors .version {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

.next-sponsors .header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.next-sponsors .sponsor-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.next-sponsors .sponsor-logos {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.next-sponsors .sponsor-logo-mini {
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.next-sponsors .sponsor-logo-box {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    padding: 2px;
    overflow: hidden;
}

.next-sponsors .sponsor-logo-box img {
    width: 95%;
    height: 95%;
    object-fit: contain;
}

.next-sponsors .sponsor-logo-box .emoji-placeholder {
    font-size: 2.2rem;
}

.next-sponsors .sponsor-name {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    max-width: 90px;
    word-wrap: break-word;
}

.next-sponsors .sponsor-logo-mini:hover .sponsor-logo-box {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 1);
}

.next-sponsors .token-display {
    background: rgba(78, 168, 222, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.next-sponsors .sponsor-link {
    background: rgba(31, 78, 120, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.next-sponsors .sponsor-link:hover {
    background: rgba(78, 168, 222, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.next-sponsors .discount-banner {
    background: rgba(34, 197, 94, 0.7);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(34, 197, 94, 0.9);
    border-radius: 0;
    padding: 12px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.next-sponsors .discount-banner p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.next-sponsors .discount-highlight {
    color: #ffffff;
    font-weight: 800;
}

.next-sponsors .chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.next-sponsors .welcome-section {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.next-sponsors .welcome-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.next-sponsors .welcome-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.next-sponsors .sponsor-thanks {
    background: rgba(78, 168, 222, 0.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(78, 168, 222, 0.6);
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.next-sponsors .sponsor-thanks h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.next-sponsors .sponsor-thanks p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.next-sponsors .sponsor-grid-mini {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.next-sponsors .sponsor-chip {
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1F4E78;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.next-sponsors .info-box {
    background: rgba(42, 157, 143, 0.35);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(42, 157, 143, 0.6);
    border-radius: 15px;
    padding: 15px;
    margin: 15px 0;
    display: flex;
    align-items: start;
    gap: 12px;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.next-sponsors .info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.next-sponsors .info-text {
    flex: 1;
}

.next-sponsors .info-text h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.next-sponsors .info-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.next-sponsors .suggestions-section {
    margin-bottom: 20px;
}

.next-sponsors .section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.next-sponsors .suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.next-sponsors .suggestion-card {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.next-sponsors .suggestion-card:hover {
    background: rgba(78, 168, 222, 0.35);
    border-color: rgba(78, 168, 222, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.next-sponsors .suggestion-category {
    font-size: 0.85rem;
    color: #4EA8DE;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.next-sponsors .suggestion-question {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.next-sponsors .suggestion-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.next-sponsors .chat-messages {
    flex: 1;
    background: rgba(31, 78, 120, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.next-sponsors .message {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 15px;
    max-width: 80%;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.next-sponsors .message-user {
    background: rgba(78, 168, 222, 0.5);
    border: 1px solid rgba(78, 168, 222, 0.7);
    margin-left: auto;
    text-align: right;
}

.next-sponsors .message-ai {
    background: rgba(31, 78, 120, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.next-sponsors .message-sender {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.next-sponsors .message-text {
    font-size: 0.95rem;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.next-sponsors .sponsor-ad-inline {
    margin: 15px 0;
    padding: 15px;
    background: rgba(31, 78, 120, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    max-width: 100%;
    animation: slideIn 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.next-sponsors .sponsor-ad-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.next-sponsors .sponsor-ad-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    font-weight: 600;
}

.next-sponsors .sponsor-ad-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.next-sponsors .sponsor-ad-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.next-sponsors .sponsor-ad-text {
    flex: 1;
}

.next-sponsors .sponsor-ad-text h5 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.next-sponsors .sponsor-ad-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.next-sponsors .sponsor-ad-cta {
    background: rgba(78, 168, 222, 0.6);
    border: 1px solid rgba(78, 168, 222, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.next-sponsors .sponsor-ad-cta:hover {
    background: rgba(78, 168, 222, 0.7);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.next-sponsors .input-section {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.next-sponsors .chat-controls {
    margin-top: 20px;
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.45), rgba(34, 197, 94, 0.35));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(34, 197, 94, 0.7);
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.5s ease;
}

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

.next-sponsors .btn-end-chat {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(34, 197, 94, 0.7));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    min-height: 56px;
}

.next-sponsors .btn-end-chat:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(34, 197, 94, 0.95));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.5);
    border-color: rgba(255, 255, 255, 0.85);
}

.next-sponsors .btn-end-chat:active {
    transform: translateY(-1px);
}

.next-sponsors .control-note {
    margin-top: 15px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.98);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.next-sponsors .control-note strong {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
}

.next-sponsors .input-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.next-sponsors .chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    padding: 12px 20px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.next-sponsors .chat-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.next-sponsors .chat-input:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(78, 168, 222, 0.8);
}

.next-sponsors .btn-icon {
    width: 45px;
    height: 45px;
    background: rgba(78, 168, 222, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.next-sponsors .btn-icon:hover {
    background: rgba(78, 168, 222, 0.7);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.next-sponsors .btn-send {
    background: rgba(78, 168, 222, 0.6);
    border-color: rgba(78, 168, 222, 0.7);
}

.next-sponsors .input-helper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.next-sponsors .quick-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.next-sponsors .quick-action-btn {
    background: rgba(31, 78, 120, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.next-sponsors .quick-action-btn:hover {
    background: rgba(78, 168, 222, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .next-sponsors .suggestions-grid {
        grid-template-columns: 1fr;
    }

    .next-sponsors .welcome-section {
        padding: 20px;
    }

    .next-sponsors .welcome-title {
        font-size: 1.5rem;
    }

    .next-sponsors .message {
        max-width: 90%;
    }

    .next-sponsors .sponsor-banner {
        flex-direction: column;
        gap: 10px;
    }

    .next-sponsors .header {
        padding: 12px 15px;
        gap: 12px;
    }

    .next-sponsors .logo {
        font-size: 1.3rem;
    }

    .next-sponsors .logo-icon {
        width: 40px;
        height: 40px;
    }

    .next-sponsors .header-right {
        flex-wrap: wrap;
        gap: 10px;
    }

    .next-sponsors .token-display, .next-sponsors .sponsor-link {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .next-sponsors .chat-controls {
        padding: 20px 15px;
    }

    .next-sponsors .btn-end-chat {
        padding: 14px 30px;
        font-size: 1rem;
        width: 100%;
    }

    .next-sponsors .control-note {
        font-size: 0.95rem;
    }
}

/* ========================================
   SPONSORS PAGE STYLES
   For sponsors.html (body.sponsors-page)
   Extracted from next-sponsors.html
   ======================================== */

/* Reset and Body styles for sponsors page */
body.sponsors-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.sponsors-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1F4E78 0%, #2563a0 25%, #3b82f6 50%, #4EA8DE 75%, #93c5fd 100%);
    color: white;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Use the same styles as next-sponsors but without the wrapper prefix */
body.sponsors-page .header {
    padding: 20px 25px;
    background: rgba(31, 78, 120, 0.6);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

body.sponsors-page .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

body.sponsors-page .logo:hover {
    transform: scale(1.05);
}

body.sponsors-page .logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    padding: 6px;
    position: relative;
    overflow: hidden;
}

body.sponsors-page .species-icon {
    font-size: 44px;
    line-height: 1;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

body.sponsors-page .species-icon.fade-out {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

body.sponsors-page .species-icon.fade-in {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

body.sponsors-page .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.sponsors-page .logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

body.sponsors-page .logo-text-main {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
    white-space: nowrap;
}

body.sponsors-page .version {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

body.sponsors-page .header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

body.sponsors-page .sponsor-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.sponsors-page .sponsor-logos {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

body.sponsors-page .sponsor-logo-mini {
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.sponsors-page .sponsor-logo-box {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    padding: 2px;
    overflow: hidden;
}

body.sponsors-page .sponsor-logo-box img {
    width: 95%;
    height: 95%;
    object-fit: contain;
}

body.sponsors-page .sponsor-logo-box .emoji-placeholder {
    font-size: 2.2rem;
}

body.sponsors-page .sponsor-name {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    max-width: 90px;
    word-wrap: break-word;
}

body.sponsors-page .sponsor-logo-mini:hover .sponsor-logo-box {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 1);
}

body.sponsors-page .token-display {
    background: rgba(78, 168, 222, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

body.sponsors-page .sponsor-link {
    background: rgba(31, 78, 120, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

body.sponsors-page .sponsor-link:hover {
    background: rgba(78, 168, 222, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

body.sponsors-page .discount-banner {
    background: rgba(34, 197, 94, 0.7);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(34, 197, 94, 0.9);
    border-radius: 0;
    padding: 12px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body.sponsors-page .discount-banner p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.sponsors-page .discount-highlight {
    color: #ffffff;
    font-weight: 800;
}

body.sponsors-page .chat-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

body.sponsors-page .welcome-section {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

body.sponsors-page .welcome-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

body.sponsors-page .welcome-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

body.sponsors-page .sponsor-thanks {
    background: rgba(78, 168, 222, 0.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(78, 168, 222, 0.6);
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body.sponsors-page .sponsor-thanks h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

body.sponsors-page .sponsor-thanks p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

body.sponsors-page .sponsor-link-inline {
    display: inline-block;
    margin-top: 12px;
    color: #4EA8DE;
    text-decoration: underline;
    font-size: 0.9rem;
    font-weight: 600;
}

body.sponsors-page .sponsor-grid-mini {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

body.sponsors-page .sponsor-chip {
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1F4E78;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

body.sponsors-page .info-box {
    background: rgba(42, 157, 143, 0.35);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(42, 157, 143, 0.6);
    border-radius: 15px;
    padding: 15px;
    margin: 15px 0;
    display: flex;
    align-items: start;
    gap: 12px;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body.sponsors-page .info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

body.sponsors-page .info-text {
    flex: 1;
}

body.sponsors-page .info-text h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

body.sponsors-page .info-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

body.sponsors-page .suggestions-section {
    margin-bottom: 20px;
}

body.sponsors-page .section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

body.sponsors-page .suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

body.sponsors-page .suggestion-card {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

body.sponsors-page .suggestion-card:hover {
    background: rgba(78, 168, 222, 0.35);
    border-color: rgba(78, 168, 222, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

body.sponsors-page .suggestion-category {
    font-size: 0.85rem;
    color: #4EA8DE;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

body.sponsors-page .suggestion-question {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

body.sponsors-page .suggestion-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

body.sponsors-page .chat-messages {
    background: rgba(31, 78, 120, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.sponsors-page .consultation-pet-info {
    background: rgba(78, 168, 222, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(78, 168, 222, 0.7);
    padding: 12px 20px;
    border-radius: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.sponsors-page .message {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 15px;
    max-width: 80%;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

body.sponsors-page .message-user {
    background: rgba(78, 168, 222, 0.5);
    border: 1px solid rgba(78, 168, 222, 0.7);
    margin-left: auto;
    text-align: right;
}

body.sponsors-page .message-ai {
    background: rgba(31, 78, 120, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

body.sponsors-page .message-sender {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

body.sponsors-page .message-text {
    font-size: 0.95rem;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Typing indicator for AI thinking */
body.sponsors-page .typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

body.sponsors-page .typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    animation: typing-bounce 1.4s infinite ease-in-out;
}

body.sponsors-page .typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

body.sponsors-page .typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

body.sponsors-page .typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

body.sponsors-page .sponsor-ad-inline {
    margin: 15px 0;
    padding: 15px;
    background: rgba(31, 78, 120, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    max-width: 100%;
    animation: slideIn 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.sponsors-page .sponsor-ad-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

body.sponsors-page .sponsor-ad-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    font-weight: 600;
}

body.sponsors-page .sponsor-ad-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.sponsors-page .sponsor-ad-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.sponsors-page .sponsor-ad-text {
    flex: 1;
}

body.sponsors-page .sponsor-ad-text h5 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

body.sponsors-page .sponsor-ad-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

body.sponsors-page .sponsor-ad-cta {
    background: rgba(78, 168, 222, 0.6);
    border: 1px solid rgba(78, 168, 222, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.sponsors-page .sponsor-ad-cta:hover {
    background: rgba(78, 168, 222, 0.7);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

body.sponsors-page .chat-controls {
    margin-top: 20px;
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.45), rgba(34, 197, 94, 0.35));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(34, 197, 94, 0.7);
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.5s ease;
    display: none;
}

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

body.sponsors-page .btn-end-chat {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.8), rgba(34, 197, 94, 0.7));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    min-height: 56px;
}

body.sponsors-page .btn-end-chat:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(34, 197, 94, 0.85));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.5);
    border-color: rgba(255, 255, 255, 0.85);
}

body.sponsors-page .btn-end-chat:active {
    transform: translateY(-1px);
}

body.sponsors-page .control-note {
    margin-top: 15px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.98);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

body.sponsors-page .control-note strong {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
}

body.sponsors-page .input-section {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

body.sponsors-page .input-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

body.sponsors-page .chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    padding: 12px 20px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

body.sponsors-page .chat-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

body.sponsors-page .chat-input:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(78, 168, 222, 0.8);
}

body.sponsors-page .btn-icon {
    width: 45px;
    height: 45px;
    background: rgba(78, 168, 222, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.sponsors-page .btn-icon:hover {
    background: rgba(78, 168, 222, 0.7);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

body.sponsors-page .btn-send {
    background: rgba(78, 168, 222, 0.6);
    border-color: rgba(78, 168, 222, 0.7);
}

body.sponsors-page .input-helper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

body.sponsors-page .quick-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

body.sponsors-page .quick-action-btn {
    background: rgba(31, 78, 120, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.sponsors-page .quick-action-btn:hover {
    background: rgba(78, 168, 222, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

body.sponsors-page .btn-conclude {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(34, 197, 94, 0.7));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: none;
    margin: 20px auto 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    transition: all 0.3s ease;
}

body.sponsors-page .btn-conclude:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(34, 197, 94, 0.95));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.5);
}

body.sponsors-page .notification {
    display: block;
    visibility: visible;
    position: fixed;
    top: 80px;
    right: 20px;
    background: rgba(31, 78, 120, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    padding: 15px 20px;
    max-width: 350px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    transform: translateX(600px);
    z-index: 2000;
}

body.sponsors-page .notification.success {
    border-color: rgba(34, 197, 94, 0.95);
    background: rgba(34, 197, 94, 0.95);
    border-width: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body.sponsors-page .suggestions-grid {
        grid-template-columns: 1fr;
    }

    body.sponsors-page .welcome-section {
        padding: 20px;
    }

    body.sponsors-page .welcome-title {
        font-size: 1.5rem;
    }

    body.sponsors-page .message {
        max-width: 90%;
    }

    body.sponsors-page .sponsor-banner {
        flex-direction: column;
        gap: 10px;
    }

    body.sponsors-page .header {
        padding: 12px 15px;
        gap: 12px;
    }

    body.sponsors-page .logo {
        font-size: 1.3rem;
    }

    body.sponsors-page .logo-icon {
        width: 40px;
        height: 40px;
    }

    body.sponsors-page .header-right {
        flex-wrap: wrap;
        gap: 10px;
    }

    body.sponsors-page .token-display,
    body.sponsors-page .sponsor-link {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    body.sponsors-page .chat-controls {
        padding: 20px 15px;
    }

    body.sponsors-page .btn-end-chat {
        padding: 14px 30px;
        font-size: 1rem;
        width: 100%;
    }

    body.sponsors-page .control-note {
        font-size: 0.95rem;
    }
}

body.sponsors-page .notification.error {
    border-color: rgba(239, 68, 68, 0.95);
    background: rgba(239, 68, 68, 0.95);
    border-width: 3px;
}

body.sponsors-page .notification.show {
    transform: translateX(0) !important;
}

/* Sponsors page footer - matching index.html styling */
body.sponsors-page .footer {
    background: rgba(31, 78, 120, 0.6);
    backdrop-filter: blur(15px);
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.3);
}

body.sponsors-page .footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

body.sponsors-page .footer-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

body.sponsors-page .footer-link:hover {
    color: #4EA8DE;
    text-shadow: 0 0 10px rgba(78, 168, 222, 0.5);
}

body.sponsors-page .footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ============================================ */
/* #landing VetLexicon Featured Block Styles */
/* ============================================ */

#landing .vetlexicon-featured {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 40px;
    margin: 0 0 40px 0;
    width: 100%;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

#landing .vetlexicon-featured:hover {
    transform: translateY(-5px);
    background: rgba(78, 168, 222, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

#landing .vetlexicon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4EA8DE 0%, #3b82f6 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(78, 168, 222, 0.4);
}

#landing .vetlexicon-featured .feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

#landing .vetlexicon-featured .feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

#landing .vetlexicon-featured .feature-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    #landing .vetlexicon-featured {
        padding: 30px 20px;
    }

    #landing .vetlexicon-featured .feature-title {
        font-size: 1.3rem;
    }

    #landing .vetlexicon-featured .feature-description {
        font-size: 0.95rem;
    }
}

#landing .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

#landing .feature-card {
    background: rgba(31, 78, 120, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

#landing .feature-card:hover {
    transform: translateY(-5px);
    background: rgba(78, 168, 222, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

#landing .feature-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

#landing .feature-card .feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

#landing .feature-card .feature-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.5;
}

#landing .footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

#landing .footer-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

#landing .footer-link:hover {
    color: #4EA8DE;
    text-shadow: 0 0 10px rgba(78, 168, 222, 0.5);
}

/* ============================================ */
/* Utility Classes - Replace Inline Styles */
/* ============================================ */

.hidden {
    display: none !important;
}

.action-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-row-tight {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-full-width {
    width: 100%;
    display: block;
}

.btn-flex-1 {
    flex: 1;
}

.text-center {
    text-align: center;
}

.text-center-mt {
    text-align: center;
    margin-top: 20px;
}

.modal-header {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.modal-subtitle {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.modal-content-padded {
    padding: 30px 40px;
}

.modal-btn {
    margin-bottom: 12px;
    width: 100%;
    display: block;
    padding: 14px 20px;
}

.modal-btn-last {
    width: 100%;
    display: block;
    padding: 14px 20px;
}

.modal-action-btn {
    margin-bottom: 10px;
    width: 100%;
}

.divider {
    margin: 40px 0;
    border-color: rgba(255, 255, 255, 0.1);
}

.user-info-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.user-name-text {
    color: white;
    font-weight: 700;
}

#landing .section-title-centered {
    text-align: center;
    margin-bottom: 15px;
}

#landing .section-subtitle-centered {
    text-align: center;
    margin-bottom: 40px;
}

/* Footer Styles */
footer {
    background: #0a1e3d;
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    color: #FFD700;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}
