body {
    font-family: 'Koulen', sans-serif;
    background-color: #16a34a;
}

.logo-img { height: clamp(32px, 6vw, 48px); }
.logo-text { font-size: clamp(20px, 4vw, 36px); }

.section-title {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.25rem;
    font-family: 'Koulen', sans-serif;
}
@media (min-width: 768px) { .section-title { font-size: 1.5rem; } }

.bannerSwiper {
    border-radius: 1rem;
    overflow: hidden;
}

.bannerSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto !important;
}

.bannerSwiper img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.events-swiper .swiper-slide img { 
    border-radius: 0.75rem; 
    transition: transform 0.3s ease; 
}
.events-swiper .swiper-slide img:hover { 
    transform: scale(1.05); 
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.search-container {
    background-color: white;
    width: 90%;
    max-width: 600px;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #16a34a;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-family: 'Koulen', sans-serif;
    outline: none;
}

.search-input:focus {
    border-color: #15803d;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.search-results {
    margin-top: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.game-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: background-color 0.2s;
}

.game-item:hover { background-color: #f3f4f6; }

.game-item img {
    width: 50px;
    height: 50px;
    border-radius: 0.5rem;
    margin-right: 1rem;
    object-fit: cover;
}

.game-item span {
    font-size: 1rem;
    color: #374151;
    font-weight: bold;
    font-family: 'Bebas Neue', sans-serif;
}

.close-search {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    font-size: 1.1rem;
    font-family: 'Koulen', sans-serif;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: flex-start;
}

.menu-container {
    background-color: white;
    width: 300px;
    height: 100%;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 0.3s ease-out;
    font-family: 'Koulen', sans-serif;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-300px); }
    to { opacity: 1; transform: translateX(0); }
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #16a34a;
}

.menu-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-logo-img { height: 40px; width: auto; }

.menu-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #15803d;
    font-family: 'Bebas Neue', sans-serif;
}

.close-menu {
    background: none;
    border: none;
    font-size: 2rem;
    color: #374151;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #374151;
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.2s, transform 0.2s;
    font-family: 'Koulen', sans-serif;
}

.menu-link:hover {
    color: #16a34a;
    transform: translateX(5px);
}

.menu-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.menu-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e5e7eb;
    text-align: center;
}

.menu-footer-text {
    color: #6b7280;
    font-size: 0.9rem;
    font-family: 'Koulen', sans-serif;
}

@keyframes slide-up {
  0% { transform: translateY(50px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.animate-slide-up {
  animation: slide-up 0.5s ease-out forwards;
}

.english-text {
    font-family: 'Bebas Neue', sans-serif;
}

.khmer-text {
    font-family: 'Koulen', sans-serif;
}