
        @import url('https://fonts.googleapis.com/css2?family=Itim&display=swap');

        @import url('https://fonts.googleapis.com/css2?family=WDXL+Lubrifont+TC&display=swap');

        @import url('https://fonts.googleapis.com/css2?family=Passion+One:wght@400;700;900&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Itim", cursive;
        }

        .itim-regular {
            font-family: "Itim", cursive;
            font-weight: 400;
            font-style: normal;
        }

        :root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --secondary: #ec4899;
            --accent: #10b981;
            --warning: #f59e0b;
            --dark: #1f2937;
            --light: #f8fafc;
            --white: #ffffff;
            --gray-100: #f1f5f9;
            --gray-200: #e2e8f0;
            --gray-300: #cbd5e1;
            --gray-400: #94a3b8;
            --gray-600: #475569;
            --gray-800: #1e293b;
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            --gradient-light: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
        }

        body {
            font-family: "Itim", cursive;
            line-height: 1.6;
            color: var(--dark);
            background: var(--light);
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 18px 20px;
        }

        /* Header */
        header {
            background: var(--white);
            box-shadow: var(--shadow);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: 70px;
            transition: all 0.3s ease;
        }

        nav {
            margin-top: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.7rem;
            font-weight: 400;
            /* font-family: "Pacifico", cursive; */
            font-family: "Passion One", sans-serif;
            color: var(--primary);
            text-decoration: none;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .logo i {
            font-size: 2rem;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
            margin-left: auto;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--gray-600);
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--primary);
            transform: translateY(-2px);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .mobile-menu {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary);
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            margin-top: 80px;
            padding: 4rem 0;
            background: var(--gradient-light);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 200%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
            opacity: 0.3;
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(2deg); }
        }

        .hero-content {
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            margin-bottom: 1rem;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: fadeInUp 1s ease-out;
        }

        .hero p {
            font-size: 1.25rem;
            color: var(--gray-600);
            margin-bottom: 2rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            animation: fadeInUp 1s ease-out 0.2s both;
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--gradient);
            color: var(--white);
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow);
            animation: fadeInUp 1s ease-out 0.4s both;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        /* Form Section */
        .form-section {
            padding: 4rem 0;
            background: var(--white);
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.1rem;
            color: var(--gray-600);
            margin-bottom: 3rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .form-container {
            max-width: 800px;
            margin: 0 auto;
            background: var(--white);
            border-radius: 20px;
            padding: 2rem;
            box-shadow: var(--shadow);
            border: 1px solid var(--gray-200);
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .form-group {
            position: relative;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        .form-label {
            display: block;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--dark);
            transition: color 0.3s ease;
        }

        .form-input,
        .form-select,
        .form-textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid var(--gray-200);
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: var(--white);
        }

        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
            transform: translateY(-2px);
        }

        .form-textarea {
            resize: vertical;
            min-height: 120px;
        }

        .upload-area {
            border: 2px dashed var(--gray-300);
            border-radius: 12px;
            padding: 2rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background: var(--gray-100);
        }

        .upload-area:hover {
            border-color: var(--primary);
            background: rgba(99, 102, 241, 0.05);
        }

        .upload-area.dragover {
            border-color: var(--primary);
            background: rgba(99, 102, 241, 0.1);
            transform: scale(1.02);
        }

        .upload-icon {
            font-size: 3rem;
            color: var(--gray-400);
            margin-bottom: 1rem;
        }

        .reward-input {
            position: relative;
        }

        .reward-input::before {
            content: '฿';
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            font-weight: 600;
            color: var(--gray-600);
            z-index: 1;
        }

        .reward-input .form-input {
            padding-left: 2.5rem;
        }

        .submit-btn {
            grid-column: 1 / -1;
            background: var(--gradient);
            color: var(--white);
            border: none;
            border-radius: 12px;
            padding: 1.25rem 2rem;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow);
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        .submit-btn:active {
            transform: translateY(-1px);
        }

        /* Pet Cards Section */
        .pet-cards-section {
            padding: 4rem 0;
            background: var(--white);
        }

        .pet-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .pet-card {
            background: var(--white);
            border-radius: 16px;
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: all 0.3s ease;
            border: 1px solid var(--gray-200);
        }

        .pet-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .pet-image {
            position: relative;
            width: 100%;
            height: 200px;
            overflow: hidden;
        }

        .pet-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        a {
            text-decoration: none;
        }

        .reward-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            /* background: var(--gradient); */
            z-index: 2000;
            background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); /* โทนสีส้มอุ่น ๆ */
            color: var(--white);
            padding: 0.5rem 1rem;
            border-radius: 25px;
            font-weight: 600;
            font-size: 0.9rem;
            box-shadow: var(--shadow);
        }

        .urgency-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: var(--warning);
            color: var(--white);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            z-index: 1000;
        }

        .urgency-badge.urgent {
            background: var(--secondary);
        }

        .pet-info {
            padding: 1.5rem;
        }

        .pet-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .pet-name {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--dark);
        }

        .pet-type {
            font-size: 0.9rem;
            color: var(--gray-600);
            background: var(--gray-100);
            padding: 0.3rem 0.8rem;
            border-radius: 12px;
        }

        .pet-details {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
            margin-bottom: 1rem;
        }

        .detail-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.95rem;
            color: var(--gray-600);
        }

        .detail-item i {
            color: var(--primary);
        }

        .pet-description {
            font-size: 0.95rem;
            color: var(--gray-600);
            margin-bottom: 1.5rem;
            line-height: 1.5;
        }

        .contact-info {
            display: flex;
            gap: 1rem;
            justify-content: center;
        }

        .contact-btn, .share-btn {
            flex: 1;
            padding: 0.75rem;
            border: none;
            border-radius: 12px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .contact-btn {
            background: var(--primary);
            color: var(--white);
        }

        .contact-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        .share-btn {
            background: var(--gray-200);
            color: var(--gray-600);
        }

        .share-btn:hover {
            background: var(--gray-300);
            transform: translateY(-2px);
        }

        .view-all-container {
            text-align: center;
            margin-top: 3rem;
        }

        .view-all-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--gradient);
            color: var(--white);
            padding: 1rem 2rem;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: var(--shadow);
        }

        .view-all-btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        /* Features Section */
        .features {
            padding: 4rem 0;
            background: var(--gray-100);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .feature-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 16px;
            text-align: center;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            border: 1px solid var(--gray-200);
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .feature-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .feature-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--dark);
        }

        footer {
            background-color: #f9f9f9;
            color: #333;
            font-size: 0.85rem;       /* ลดขนาดฟอนต์ */
            padding: 1rem 1rem;       /* ลด padding */
            border-top: 1px solid #ddd;
        }
        
        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;      /* จัดกึ่งกลางแนวตั้ง */
            max-width: 1200px;
            margin: 0 auto;
            gap: 1rem;
        }
        
        .footer-info {
            flex: 1 1 250px;
            line-height: 1.3;
        }
        
        .footer-info p {
            margin: 0.2rem 0;         /* ย่อช่องว่างระหว่างบรรทัด */
        }
        
        .footer-info a {
            color: #007bff;
            text-decoration: none;
            margin-top: 0.3rem;
            display: inline-block;
        }
        
        .footer-info a:hover {
            text-decoration: underline;
        }
        
        .social-links {
            display: flex;
            gap: 0.8rem;
        }
        
        .social-links a {
            font-size: 1.1rem;        /* เล็กลงนิดหน่อย */
            color: #555;
            transition: color 0.2s ease-in-out;
        }
        
        .social-links a:hover {
            color: #007bff;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .footer-content {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 0.5rem;
            }
        
            .footer-info {
                flex: unset;
            }
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Success Message */
        .success-message {
            background: var(--accent);
            color: var(--white);
            padding: 1rem;
            border-radius: 12px;
            margin-bottom: 2rem;
            text-align: center;
            display: none;
            animation: slideDown 0.5s ease;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Form Validation */
        .form-input:invalid[required],
        .form-select:invalid[required],
        .form-textarea:invalid[required] {
            border-color: var(--warning);
        }

        .form-input:valid,
        .form-select:valid,
        .form-textarea:valid {
            border-color: var(--gray-200);
        }

        .form-input:focus:invalid,
        .form-select:focus:invalid,
        .form-textarea:focus:invalid {
            border-color: var(--warning);
            box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--white);
                padding: 1rem;
                box-shadow: var(--shadow);
                z-index: 999;
            }

            .nav-links.show {
                display: flex;
            }

            .mobile-menu {
                display: block;
            }

            .hero {
                padding: 2rem 0;
            }

            .form-container {
                margin: 0 1rem;
                padding: 1.5rem;
            }

            .form-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .footer-content {
                flex-direction: column;
                text-align: center;
            }
        }

        /* Loading Animation */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 2px solid var(--white);
            border-radius: 50%;
            border-top-color: transparent;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* ปรับขนาดและสีของลูกศร */
.swiper-button-next,
.swiper-button-prev {
  color: #ffffff; /* สีลูกศร */
  background-color: rgba(0, 0, 0, 0.5); /* พื้นหลังโปร่งใส */
  padding: 10px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  top: 60%;
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
}

/* จัดตำแหน่ง */
.swiper-button-next {
  right: 10px;
}
.swiper-button-prev {
  left: 10px;
}

/* จุดแสดงสถานะ pagination */
.swiper-pagination {
  bottom: 10px !important;
  text-align: center;
}

.swiper-pagination-bullet {
  background-color: #ffffff;
  opacity: 0.7;
  width: 10px;
  height: 10px;
  margin: 0 5px !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: #ff6600; /* สีจุดที่เลือก */
  opacity: 1;
}
 

/* Cat */
.title {
    /* color: white; */
    color: #ff6b9d;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: bounce 2s infinite;
}

.cat-container {
    position: relative;
    margin: 40px 0;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cat {
    font-size: 6rem;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.cat:hover {
    transform: scale(1.2) rotate(10deg);
}

.hearts {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

.heart {
    position: absolute;
    color: #ff6b9d;
    font-size: 2rem;
    opacity: 0;
    animation: heartFloat 4s infinite;
}

.heart:nth-child(1) { animation-delay: 0s; left: -60px; }
.heart:nth-child(2) { animation-delay: 1s; left: 60px; }
.heart:nth-child(3) { animation-delay: 2s; left: -30px; top: -30px; }
.heart:nth-child(4) { animation-delay: 3s; left: 30px; top: -30px; }

.message-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 1s ease-out 0.5s forwards;
}

.message {
    font-size: 1.5rem;
    color: #333;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.6;
}

.encouraging-text {
    color: #667eea;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 10px 0;
}

.button-container {
    margin-top: 30px;
}

.cheer-button {
    background: linear-gradient(45deg, #ff6b9d, #ffd93d);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
    margin: 10px;
}

.cheer-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.6);
}

.cheer-button:active {
    transform: translateY(-1px);
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    color: #ffd93d;
    font-size: 1.5rem;
    opacity: 0;
    animation: starTwinkle 3s infinite;
}

.paw-prints {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
}

.paw {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    color: white;
    animation: pawWalk 10s linear infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes heartFloat {
    0% {
        opacity: 0;
        transform: translateY(0px) scale(0.8);
    }
    15% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1.2);
    }
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes pawWalk {
    0% {
        left: -50px;
        opacity: 0.1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        left: 100%;
        opacity: 0.1;
    }
}

.celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff6b9d;
    animation: confettiFall 3s linear infinite;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    .cat {
        font-size: 4rem;
    }
    .message {
        font-size: 1.2rem;
    }
    .cheer-button {
        font-size: 1rem;
        padding: 12px 24px;
    }
}


