 @import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap'); body { font-family: 'Kanit', sans-serif; background: linear-gradient(rgb(255 255 255), rgb(187 226 255)); color: #005992; } .gradient-bg { background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); } .card-hover { transition: transform 0.2s; } .card-hover:hover { transform: translateY(-2px); } .game-card { aspect-ratio: 1; } /* .scrollbar-hide { scrollbar-width: none; -ms-overflow-style: none; } .scrollbar-hide::-webkit-scrollbar { display: none; } */ .swiper { width: 100%; } .swiper-slide { text-align: center; font-size: 18px; display: flex; justify-content: center; align-items: center; } .swiper-slide img { display: block; width: 100%; object-fit: cover; } .swiper-pagination-bullet { width: 25px; height: 6px; display: inline-block; border-radius: 3px; background: #3d3d3d; opacity: 0.4; transition: all 0.3s ease; } .swiper-pagination-bullet-active { width: 40px; opacity: 1; background: #3b82f6; } .swiper-pagination { position: relative; bottom: unset; left: unset; transform: unset; width: auto; text-align: center; padding-top: 10px; } .category-link { text-decoration: none; display: inline-block; } .category-button { background-image: var(--button-bg-normal); background-size: 100%; background-position: center; background-repeat: no-repeat; border: none; cursor: pointer; padding: 0; display: flex; justify-content: center; align-items: center; position: relative; transition: background-image 0.3s ease-in-out; } .category-button::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: var(--button-bg-hover); background-size: 100%; background-position: center; background-repeat: no-repeat; opacity: 0; transition: opacity 0.1s ease-in-out; } .category-button:hover::before { opacity: 1; } .category-button:hover .category-text { color: #fff; z-index: 2; } .category-text { color: #fff; z-index: 1; position: relative; } .radial-gradient-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, rgba(162, 228, 255, 0.6965379901960784) 0%, rgba(35, 193, 255, 1) 100%); } .pulsing-star { animation: pulse 2s infinite alternate; } @keyframes pulse { 0% { transform: scale(1); } 100% { transform: scale(1.1); } } .star-filled { color: #FFD700; } .star-empty { color: #D3D3D3; } .review-icon { width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; background-color: #E0F2FE; border-radius: 9999px; padding: 0.5rem; } .footer-logo-grid img:hover { filter: grayscale(0%); opacity: 1; } @media (max-width: 640px) { .footer-logo-grid { grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); gap: 1rem; } .footer-logo-grid img { max-width: 80px; } } .b-pm-mb { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; position: relative; margin-bottom: 12px; } .b-pm-mb-cartoon { position: relative; width: 185px; left: 5%; z-index: -2; } .b-pm-mb-frame { position: relative; width: 55%; min-width: 150px; right: 5%; overflow: hidden; border-radius: 45px; } .b-pm-mb-title { position: absolute; left: 0; bottom: 0; z-index: 2; } .hamburger-icon span { display: block; width: 24px; height: 2px; background-color: #c5c5c5; border-radius: 9999px; transition: all 0.3s ease; } .hamburger-icon span:nth-child(2) { margin: 4px 0; } .hamburger-icon.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); } .hamburger-icon.open span:nth-child(2) { opacity: 0; } .hamburger-icon.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); } .menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(175, 175, 175, 0.7); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(100%); transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease; z-index: 1000; } .menu-overlay.open { opacity: 1; visibility: visible; transform: translateY(0); } .menu-item:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); } .menu-item-1 { background-image: url('../images/category-bg-mobile.png'); } .menu-item-2 { background-image: url('../images/category-bg-mobile.png'); } .menu-item-3 { background-image: url('../images/category-bg-mobile.png'); } .menu-item-4 { background-image: url('../images/category-bg-mobile.png'); } .menu-item-1:hover { background-image: url('../images/category-bg-mobile-hover.png'); } .menu-item-2:hover { background-image: url('../images/category-bg-mobile-hover.png'); } .menu-item-3:hover { background-image: url('../images/category-bg-mobile-hover.png'); } .menu-item-4:hover { background-image: url('../images/category-bg-mobile-hover.png'); } .scrollbar-hide-mb { -ms-overflow-style: none; scrollbar-width: none; } .scrollbar-hide-mb::-webkit-scrollbar { display: none; } .category-button-mb { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; transition: background-image 0.3s ease-in-out; background-image: url('../images/category-bg-mobile.png'); overflow: hidden; } .category-button-mb:hover { background-image: url('../images/category-new-hover.webp'); } .category-button-mb::after { content: ''; position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.1); opacity: 0; transition: opacity 0.3s ease-in-out; } .category-button-mb:hover::after { opacity: 1; } .section-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: white; scroll-snap-align: start; padding-top: 50px; } .animate-on-scroll { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; } .animate-on-scroll.is-in-view { opacity: 1; transform: translateY(0); }