/* Body styles */
/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Base Animation Styles */
section {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.animate {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: var(--animation-delay, 0s);
}

.stagger-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--stagger-delay, 0s);
}

section.animate .stagger-animation {
    opacity: 1;
    transform: translateY(0);
}

/* Specific Section Animations */
.about-section.animate {
    animation-name: fadeIn;
}

.about-section.animate .about-image {
    animation: slideInLeft 0.8s ease-out forwards;
}

.about-section.animate .about-text {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Base Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

/* Hero section styles */
.hero {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Contact Button */
.contact-btn {
    background: #8a5a44;
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 6px;
    transition: all 0.2s ease !important;
    -webkit-transition: all 0.2s ease !important;
    -moz-transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0 0 0 0.5rem;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #a67c52 0%, #d4b483 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 30px;
}

.contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: #774433;
}

.contact-btn:hover::before {
    width: 100%;
}

/* Rundown Section */
.rundown-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    z-index: 2;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.6s ease-out;
}

.rundown-section.hidden {
    transform: translateY(20px);
    opacity: 0;
}

.rundown-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.rundown-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.rundown-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #d4b483, #a67c52);
    border-radius: 2px;
}

.rundown-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.rundown-day {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.rundown-day::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #d4b483, #a67c52);
}

.rundown-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.rundown-day h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px dashed #e9ecef;
    font-weight: 700;
    position: relative;
}

.rundown-day ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.rundown-day li {
    margin-bottom: 15px;
    padding: 12px 0;
    color: #333333; /* Darker gray for better contrast on light backgrounds */
    font-size: 1.05rem;
    line-height: 1.6;
    position: relative;
    border-bottom: 1px solid #f1f1f1;
    transition: all 0.2s ease;
    display: flex;
    align-items: flex-start;
}

.rundown-day li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.rundown-day li:hover {
    color: #2c3e50;
    transform: translateX(5px);
}

.rundown-time {
    display: inline-block;
    background: #f8f9fa;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444444; /* Darker gray for better readability */
    margin-right: 10px;
    min-width: 130px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.rundown-day li::before {
    content: '→';
    color: #d4b483;
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.4;
}

.rundown-time {
    display: inline-block;
    width: 180px;
    color: #d4b483;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    /* General adjustments for tablets */
    .container {
        padding: 0 20px;
    }
    
    .hero-button {
        margin-top: 40px;
    }
    
    .countdown-timer {
        flex-direction: column;
        align-items: center;
    }
    
    .countdown-item {
        margin: 10px 0;
    }
    
    .about-us-container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-us-image {
        margin-bottom: 30px;
    }
    
    .merchant-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .merchant-item.large,
    .merchant-item.small {
        height: 180px;
    }
    
    .rundown-day {
        padding: 20px;
    }
    
    .rundown-time {
        display: block;
        margin-bottom: 5px;
    }
    
    .faq-item {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    /* Adjustments for tablets and large phones */
    .hero-image img {
        width: 100%;
        height: auto;
    }
    
    .countdown-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .about-us-content h2 {
        font-size: 2rem;
    }
    
    .merchant-title {
        font-size: 2rem;
    }
    
    .guest-star-content h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .faq-section .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    /* Mobile-specific adjustments */
    html {
        font-size: 14px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .btn-more {
        padding: 15px 30px;
        font-size: 0.9rem;
    }
    
    .countdown-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .about-us-content {
        padding: 20px;
    }
    
    .about-us-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .about-us-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .merchant-grid {
        grid-template-columns: 1fr !important;
    }
    
    .merchant-item.large,
    .merchant-item.small {
        height: 200px;
    }
    
    .merchant-title {
        font-size: 1.8rem;
    }
    
    .guest-star-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .faq-section .section-title {
        font-size: 1.6rem;
    }
    
    .faq-question h3 {
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .rundown-time {
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Transitions */
section {
    transition: all 0.5s ease-in-out;
    overflow: hidden;
}

/* Full Width Background Image Section */
.fullscreen-bg {
    width: 100%;
    margin: 0;
    padding: 0;
}

.bg-image {
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    pointer-events: none;
}

/* Import Brunson Font */
/* Swiper Container */
.mySwiper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 0 60px;
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    align-items: stretch;
    box-sizing: border-box;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

/* Swiper Slide */
.swiper-slide {
    width: 100%;
    max-width: 380px;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
    flex-shrink: 0;
}

/* Adjust card size and spacing */
.competition-card {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Ensure poster fills the card */
.competition-card .poster {
    width: 100%;
    height: 0;
    padding-bottom: 140%; /* 5:7 aspect ratio */
    position: relative;
    overflow: hidden;
}

.competition-card .poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .swiper-slide {
        max-width: 320px;
    }
    
    .competition-card {
        min-height: 400px;
    }
}

@media (max-width: 767px) {
    .swiper-slide {
        max-width: 300px;
    }
    
    .competition-card {
        min-height: 380px;
    }
}

/* Navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    background: rgba(255, 255, 255, 0.9);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    color: #1a2a6c;
    font-weight: bold;
}

/* Hide navigation on mobile */
@media (max-width: 767px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Ensure slides don't shrink */
.swiper-slide {
    flex-shrink: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    height: auto;
}

/* Adjust slide width based on viewport */
@media (min-width: 1024px) {
    .swiper-slide {
        width: 33.333%;
        padding: 15px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .swiper-slide {
        width: 50%;
        padding: 12px;
    }
}

@media (max-width: 479px) {
    .swiper-slide {
        padding: 8px;
    }
}

/* Add some space around active slide */
.swiper-slide-active {
    z-index: 1;
}

/* Add touch feedback for slides */
.swiper-slide:active {
    transform: scale(0.98);
}

/* Competition Card Styles */
.competition-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    transform: translateZ(0);
    display: flex;
    flex-direction: column;
}

.competition-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.competition-card .poster-container {
    position: relative;
    width: 100%;
    padding-top: 133.33%; /* 3:4 aspect ratio */
    overflow: hidden;
}

.competition-card .poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

/* Ensure poster fills the container on all devices */
.competition-card .poster {
    min-width: 100%;
    min-height: 100%;
}

.competition-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px 15px;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 70%, transparent 100%);
    color: white;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, background, padding;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 50%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .competition-card .card-content {
        padding: 25px 20px 20px;
        min-height: 40%;
        transform: translateY(100%);
        background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
    }
    
    .competition-card:hover .card-content,
    .competition-card:focus-within .card-content {
        transform: translateY(0);
        background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,0.5) 100%);
    }
}

.competition-card .card-title {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}

.competition-card .card-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #fdbb2d;
    transition: width 0.3s ease;
}

.competition-card:hover .card-title:after {
    width: 60px;
}

.competition-card .card-description {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
    font-weight: 400;
    max-height: 500px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 1;
}

@media (min-width: 768px) {
    .competition-card .card-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .competition-card .card-title:after {
        width: 50px;
    }
    
    .competition-card:hover .card-title:after {
        width: 80px;
    }
    
    .competition-card .card-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
        max-height: 0;
        opacity: 0;
    }
    
    .competition-card:hover .card-description,
    .competition-card:focus-within .card-description {
        max-height: 200px;
        opacity: 0.9;
    }
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
    background: rgba(26, 42, 108, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.9);
    opacity: 0.9;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.4rem;
    font-weight: 800;
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(26, 42, 108, 1);
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Swiper Pagination */
.swiper-pagination {
    position: relative;
    margin-top: 20px;
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
    background: #fdbb2d;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(253, 187, 45, 0.6);
    width: 24px;
    border-radius: 4px;
}

/* Adjust pagination for mobile */
@media (max-width: 767px) {
    .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        margin: 0 4px !important;
    }
    
    .swiper-pagination-bullet-active {
        width: 18px;
    }
}

/* Mobile touch improvements */
.competition-card {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Hide navigation on mobile and adjust layout */
@media (max-width: 767px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .competition-card .card-content {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        padding: 15px;
    }
    
    .competition-card {
        height: 350px;
        border-radius: 12px;
        margin: 0 5px;
    }
    
    .swiper-slide {
        padding: 0 10px;
    }
    
    .lomba-header {
        margin-bottom: 30px;
    }
    
    .lomba-title {
        font-size: 2.4rem;
        margin-bottom: 5px;
    }
    
    .lomba-instruction {
        font-size: 1rem;
        margin-top: 5px;
    }
    
    /* Improve touch scrolling */
    .mySwiper {
        padding: 10px 0 40px;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better touch feedback */
    .swiper-slide:active {
        transform: scale(0.98);
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1023px) {
    .competition-card {
        height: 380px;
    }
    
    .lomba-title {
        font-size: 2.8rem;
    }
    
    .competition-card .more-info-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 44px;
        height: 44px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 1.2rem;
    }
}

/* Small mobile devices */
@media (max-width: 479px) {
    .lomba-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .lomba-instruction {
        font-size: 0.95rem;
        padding: 0 15px;
        line-height: 1.4;
    }
    
    .competition-card {
        height: 300px;
    }
    
    .competition-card .card-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .competition-card .card-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 5px !important;
    }
}

/* Large desktop screens */
@media (min-width: 1600px) {
    .lomba-container {
        max-width: 1500px;
    }
    
    .competition-card {
        height: 450px;
    }
}

.competition-card .more-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, #fdbb2d 0%, #f7a91b 100%);
    color: #1a2a6c;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(253, 187, 45, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    min-width: 140px;
    margin: 10px auto 0;
    width: auto;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Desktop hover effects */
@media (min-width: 768px) {
    .competition-card .more-info-btn {
        opacity: 0;
        transform: translateY(15px);
        padding: 12px 28px;
        font-size: 0.9rem;
        font-weight: 800;
        letter-spacing: 1px;
    }
    
    .competition-card:hover .more-info-btn {
        opacity: 1;
        transform: translateY(0);
    }
}

.competition-card .more-info-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ffd166 0%, #f7a91b 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.competition-card .more-info-btn span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.competition-card .more-info-btn i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.competition-card:hover .more-info-btn,
.competition-card:focus .more-info-btn,
.competition-card:focus-within .more-info-btn {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(253, 187, 45, 0.4);
}

/* Touch device styles */
@media (hover: none) and (pointer: coarse) {
    .competition-card .more-info-btn {
        opacity: 1;
        transform: translateY(0) !important;
        padding: 10px 20px;
        font-size: 0.85rem;
        min-width: 130px;
        margin: 10px auto 0;
        box-shadow: 0 4px 12px rgba(253, 187, 45, 0.3);
    }
    
    .competition-card:active .more-info-btn {
        transform: translateY(2px) scale(0.98) !important;
        box-shadow: 0 2px 8px rgba(253, 187, 45, 0.25) !important;
    }
    
    .competition-card .card-content {
        padding: 15px 15px 70px;
    }
    
    .competition-card .card-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .competition-card .card-description {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    /* Ensure button is always visible on mobile */
    .competition-card .more-info-btn {
        position: relative;
        bottom: 10px;
    }
}

/* Hover effects for non-touch devices */
@media (hover: hover) and (pointer: fine) {
    .competition-card {
        will-change: transform, box-shadow;
        backface-visibility: hidden;
        -webkit-font-smoothing: subpixel-antialiased;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        -moz-transform: translateZ(0);
        -ms-transform: translateZ(0);
        -o-transform: translateZ(0);
    }
    
    .competition-card:hover {
        transform: translateY(-8px) translateZ(0);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    }
    
    .competition-card:hover .poster {
        transform: scale(1.05) translateZ(0);
    }
    
    .competition-card .card-content {
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                   background 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                   padding 0.3s ease;
    }
    
    .competition-card .card-title:after {
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                   background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .competition-card .more-info-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(253, 187, 45, 0.4);
        background: linear-gradient(135deg, #ffd166 0%, #f7a91b 100%);
    }
    
    .competition-card .more-info-btn:active {
        transform: translateY(1px) scale(0.98);
        box-shadow: 0 3px 15px rgba(253, 187, 45, 0.35);
    }
    
    .competition-card .more-info-btn i {
        transition: transform 0.3s ease;
    }
    
    .competition-card .more-info-btn:hover i {
        transform: translateX(3px);
    }
    
    /* Smooth transitions for hover states */
    .competition-card .more-info-btn {
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Button focus state for accessibility */
.competition-card .more-info-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5), 0 0 0 4px #1a2a6c;
}

/* Loading state for button (optional) */
.competition-card .more-info-btn.loading {
    pointer-events: none;
}

.competition-card .more-info-btn.loading:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid #1a2a6c;
    border-top-color: transparent;
    border-radius: 50%;
    animation: button-loading 0.6s linear infinite;
}

@keyframes button-loading {
    to { transform: rotate(360deg); }
}

.competition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.competition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.competition-card:hover .poster {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.competition-card:hover .more-info-btn {
    bottom: 30px;
    opacity: 1;
}

.competition-card:hover::before {
    opacity: 1;
}

.competition-card .more-info-btn:hover {
    background-color: #c19a65;
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Ensure swiper slide has proper dimensions */
.swiper-slide {
    height: auto;
    padding: 10px;
    width: 100% !important;
}



.buy-now-btn:hover {
    background-color: #c19a65;
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    
}



@media (max-width: 768px) {
    
    .merchant-title {
        font-size: 2.2rem;
    }

    .merchant-item {
        height: 140px;
    }
}

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

    .merchant-item {
        height: 130px;
    }
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 50px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 20px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #d2af37;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.nav-link:hover,
.nav-link.active {
    color: #d2af37;
}

/* Button Style */
.nav-btn {
    background: linear-gradient(45deg, #d2af37, #f8de7e);
    color: #000 !important;
    padding: 10px 25px !important;
    border-radius: 30px;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(210, 175, 55, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 175, 55, 0.4);
    color: #000;
}

.nav-btn::after {
    display: none;
}

/* Mobile Menu Button */
.mobile-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .mobile-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 80px 0;
        transition: all 0.5s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 10px 25px;
    }
    
    .nav-btn {
        margin-top: 20px;
        padding: 12px 30px !important;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 12px 0;
    }
    
    .logo img {
        height: 50px;
    }
    
    .navbar.scrolled .logo img {
        height: 45px;
    }
    
    .nav-menu {
        width: 100%;
        max-width: 100%;
    }
}

/* Hero Section Styles */
.hero {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    padding-right: 40px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Brunson', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text p {
    font-size: 1.5rem;
    color: #333333; /* Darker gray for better contrast on light backgrounds */
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    max-width: 600px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.hero-button {
    margin-top: 30px;
    text-align: left;
}

/* Prevent image dragging and selection */
.hero-image {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.hero-image img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Responsive Hero Section */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-text p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-text {
        padding-right: 0;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-button {
        text-align: center;
    }
    
    .hero-image {
        max-width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 15px 40px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .hero-button {
        margin-top: 20px;
    }
    
    .btn-more {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

.btn-more {
    display: inline-block;
    padding: 20px 40px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    background: linear-gradient(135deg, #E6D5B8 0%, #D4B483 100%);
    color: #4A3A2F;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Brunson', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(180, 150, 100, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #D4B483 0%, #B89B72 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-more:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(180, 150, 100, 0.4);
    color: white;
}

.btn-more:hover::before {
    width: 100%;
}

.btn-more:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 5px 15px rgba(180, 150, 100, 0.3);
}

/* Competition Section */
.competition-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-color: #f8f5ee;
}

.competition-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.competition-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.competition-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.competition-image {
    flex: 1;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.competition-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.competition-image img:hover {
    transform: translateY(-10px);
}

.competition-text {
    flex: 1;
    color: #4A3A2F;
}

.competition-text h2 {
    font-family: 'Brunson', sans-serif;
    font-size: 42px;
    margin-bottom: 25px;
    color: #4A3A2F;
    position: relative;
    display: inline-block;
}

.competition-text h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: #D4B483;
    bottom: -10px;
    left: 0;
}

.competition-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #6D5D4B;
}

.btn-competition {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #D4B483 0%, #B89B72 100%);
    color: #ffffff; /* Full white for better contrast on dark backgrounds */
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Brunson', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(180, 150, 100, 0.2);
    border: none;
    cursor: pointer;
}

.btn-competition:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(180, 150, 100, 0.3);
    background: linear-gradient(135deg, #B89B72 0%, #9C7F56 100%);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive Design */
/* Responsive Design for Competition Section */
@media (max-width: 992px) {
    .competition-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .competition-text h2::after {
        left: 50%;
        font-size: 30px;
    }
    
    .competition-text p {
        font-size: 15px;
    }
    
    .btn-competition {
        padding: 12px 25px;
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-links {
        display: none; /* You can implement a mobile menu here */
    }
    
    .btn-more {
        padding: 12px 30px;
        font-size: 13px;
    }
}


@keyframes glow {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #e6d5b8, 0 0 20px #d4b483;
    }
    to {
        text-shadow: 0 0 10px #fff, 0 0 20px #e6d5b8, 0 0 30px #d4b483, 0 0 40px #c4a15f;
    }
}

/* Image Section */
.image-section {
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    position: relative;
}

.responsive-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    /* Removed vertical-align as it's not needed with flexbox */ /* Fix for inline-block gap */
}

/* About Us Section */
.about-us {
    width: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0; /* Remove space below image */
    margin: 0;
    padding: 0;
    font-size: 0; /* Fix for inline-block gap */
    display: block;
}

/* Lomba-lomba Section */
.lomba-lomba {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    line-height: 0; /* Remove space below image */
    font-size: 0; /* Fix for inline-block gap */
    display: block;
    margin-top: -1px; /* Compensate for any remaining line */
}

/* Prevent image dragging and selection */
.responsive-image {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-select: none;
    -ms-touch-action: none;
    touch-action: none;
    pointer-events: none;
}

/* Countdown Section */
.countdown-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.countdown-section .section-title {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.countdown-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    padding: 20px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.countdown-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Responsive styles for countdown */
@media (max-width: 768px) {
    .countdown-section {
        padding: 60px 0;
    }
    
    .countdown-container {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: calc(50% - 20px);
        margin-bottom: 10px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .countdown-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .countdown-item {
        min-width: calc(50% - 10px);
        padding: 15px 5px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
}

/* About Section Styles */
.about-section {
    background-color: #d0b990;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-logo {
    flex: 0 0 420px;
    text-align: center;
    padding: 10px 0 0 0;
    margin-right: 20px;
}

.about-logo img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.about-text {
    flex: 1;
    text-align: left;
    padding: 30px 0 15px 0;
    max-width: 700px;
}

.about-text h2 {
    color: #4a3a2f;
    font-family: 'Brunson', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.about-text p {
    color: #4a3a2f;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 15px 0;
    font-weight: 500;
    text-align: justify;
    text-justify: inter-word;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #1a2a3a 0%, #0f1a23 100%);
    color: #ffffff; /* Full white for better contrast on dark backgrounds */
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #d4b483;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 15px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-section h3 {
    color: #d4b483;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #d4b483;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-section ul li i {
    margin-right: 10px;
    color: #d4b483;
    width: 20px;
    text-align: center;
}

.footer-section a {
    color: #ffffff; /* Full white for better contrast on dark backgrounds */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d4b483;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff; /* Full white for better contrast on dark backgrounds */
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #d4b483;
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto 15px;
    }
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Responsive adjustments for about section */
@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-logo {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 70px 0;
    }
    
    .about-text h2 {
        font-size: 28px;
    }
    
    .about-text p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 50px 0;
    }
    
    .about-text h2 {
        font-size: 24px;
    }
    
    .about-text p {
        font-size: 14px;
    }
}

/* Responsive adjustments for countdown */
@media (max-width: 1024px) {
    .countdown-timer {
        flex-wrap: wrap;
        max-width: 800px;
    }
    
    .countdown-item {
        min-width: 120px;
        padding: 20px 10px;
        margin: 5px;
        flex: 0 0 calc(50% - 20px);
    }
    
    .countdown-number {
        font-size: 36px;
    }
    
    .countdown-label {
        font-size: 12px;
    }
    
    .footer-text {
        font-size: 20px;
    }
    
    .footer-title {
        font-size: 48px;
    }
}

/* Animate numbers when they change */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.countdown-number.changing {
    animation: pulse 0.5s ease-in-out;
}

/* Floating particles in background */
.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: float 100s linear infinite;
    z-index: 1;
}

@keyframes float {
    0% { background-position: 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 100px 100px, -100px -100px, 100px -100px, -100px 100px; }
}

/* Responsive styles */
@media (max-width: 992px) {
    .countdown-item {
        min-width: 120px;
        padding: 20px 10px;
    }
    
    .countdown-number {
        font-size: 2.8rem;
    }
    
    .countdown-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .countdown-timer {
        gap: 15px;
        padding: 0 15px;
        max-width: 400px;
    }
    
    .countdown-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .footer-text {
        font-size: 1.1rem;
    }
    
    .footer-title {
        font-size: 1.8rem;
    }
    
    .countdown-title::before,
    .countdown-title::after {
        width: 30px;
    }
    
    .countdown-title::before {
        left: -30px;
    }
    
    .countdown-title::after {
        right: -30px;
    }
    
    .countdown-item {
        min-width: 100px;
        padding: 15px 5px;
        margin: 0;
        flex: 0 0 calc(50% - 10px);
    }
    
    .countdown-number {
        font-size: 48px;
    }
    
    .countdown-label {
        font-size: 12px;
    }
    
    .footer-text {
        font-size: 20px;
    }
    
    .footer-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .countdown-section {
        padding: 50px 10px;
    }
    
    .countdown-title {
        font-size: 1.4rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .countdown-timer {
        gap: 12px;
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .countdown-item {
        padding: 12px 5px;
        border-radius: 8px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
        margin-bottom: 3px;
    }
    
    .countdown-label {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .countdown-footer {
        margin-top: 30px;
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-text {
        font-size: 1.1rem;
    }
    
    .footer-title {
        font-size: 2rem;
    }
}

/* Guest Star Section */
.guest-star {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-star-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('asset/guest star.png') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

.guest-star-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.0);
    z-index: 1;
}

.guest-star-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.section-title {
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 3.5rem;
    color: #ffffff; /* Full white for better contrast on dark backgrounds */
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e53 100%);
    margin: 0 auto;
    position: relative;
    border-radius: 2px;
}

.guest-star-card {
    max-width: 500px;
    margin: 0 auto;
    perspective: 1000px;
}

.placeholder-photo {
    width: 100%;
    padding: 60px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff; /* Full white for better contrast on dark backgrounds */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    overflow: hidden;
    position: relative;
}

.placeholder-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.placeholder-photo:hover::before {
    left: 100%;
}

.placeholder-photo i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ff6b6b;
    transition: all 0.3s ease;
}

.placeholder-photo span {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    color: #ffffff; /* Full white for better contrast on dark backgrounds */
    text-transform: uppercase;
}

.placeholder-photo:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.placeholder-photo:hover i {
    transform: scale(1.1);
    color: #ff8e53;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .placeholder-photo {
        padding: 40px 20px;
    }
    
    .placeholder-photo i {
        font-size: 3.5rem;
    }
    
    .placeholder-photo span {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .guest-star {
        padding: 60px 10px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .placeholder-photo {
        width: 90%;
        margin: 0 auto;
    }
}

/* About Us Section */
.about-us {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.about-bg {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-us-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.about-us-image {
    flex: 0 0 40%;
    max-width: 400px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-us-content {
    flex: 1;
    max-width: 600px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    color: white;
}

.about-us-content h2 {
    font-weight: bold;
    text-decoration: none;
    border-bottom: none;
    margin-bottom: 15px;
}

.about-us-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.about-us-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: #ffffff;
}

.about-us-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 20px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .about-us-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .about-us-image {
        flex: 0 0 auto;
        max-width: 300px;
        margin-bottom: 20px;
    }
    
    .about-us-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-us-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .about-us-content h2 {
        font-size: 2rem;
    }
    
    .about-us-content p {
        font-size: 0.9rem;
    }
}

/* Lomba-lomba Section */
.lomba-lomba {
    position: relative;
    background: url('asset/background lomba lomba.png') repeat-y center top;
    background-size: cover;
    padding: 80px 0 120px;
    text-align: center;
    overflow: hidden;
}

.lomba-top-ornament {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: auto;
    background: url('asset/top-wave.png') no-repeat top center;
    background-size: cover;
    aspect-ratio: 1920/150; /* Ganti dengan rasio asli gambarnya */
    z-index: 2;
    pointer-events: none;
}


.lomba-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.lomba-header {
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.lomba-title {
    font-family: 'Brunson', sans-serif;
    font-size: 3.5rem;
    color: #ffffff;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

/* Instruction text styling */
.lomba-instruction {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    margin: 30px auto !important;
    padding: 15px 30px !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1) !important;
    font-weight: 600 !important;
    display: block !important;
    text-align: center !important;
    position: relative !important;
    z-index: 1000 !important;
    background: rgba(0, 0, 0, 0.9) !important;
    border-radius: 8px !important;
    max-width: 80% !important;
    border: 2px solid #d4af37 !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7) !important;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
}

/* Swiper Styles */
.swiper {
    width: 100%;
    padding: 40px 0 120px;
    position: relative;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.swiper-slide-active .poster,
.swiper-slide-duplicate-active .poster {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.poster {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

/* Navigation Buttons - Enhanced Style */
.swiper-button-next,
/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    z-index: 2;
}

.faq-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.faq-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #d4b483;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-question:hover h3 {
    color: #d4b483;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    transition: all 0.3s ease;
    min-width: 20px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #d4b483;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    background-color: #fafafa;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

.faq-answer p {
    margin: 0;
    color: #333333; /* Darker gray for better contrast on light backgrounds */
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .faq-section {
        padding: 50px 0;
    }
    
    .faq-section .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 10px;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
}

.swiper-button-prev,
.swiper-button-next {
    color: #ffffff; /* Full white for better contrast on dark backgrounds */
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.9;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    top: 50%;
    margin: 0;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-family: 'Font Awesome 6 Free';
    font-size: 20px;
    font-weight: 900;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-prev:after {
    content: '\f053';
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-next:after {
    content: '\f054';
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.7);
    opacity: 1;
}

/* Hide on mobile */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Pagination - Enhanced */
.swiper-pagination {
    position: absolute;
    bottom: 40px !important; /* Increased from 20px to 40px */
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    width: auto !important;
    min-width: 120px;
    max-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    margin: 0 4px !important;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
}

.swiper-pagination-bullet-active {
    background: #d4af37;
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

/* Responsive adjustments */
@media (max-width: 1536px) {
    .lomba-container {
        max-width: 1200px;
    }
}

@media (max-width: 1280px) {
    .lomba-container {
        max-width: 1000px;
    }
}

@media (max-width: 1024px) {
    .lomba-container {
        max-width: 800px;
    }
    
    .lomba-title {
        font-size: 3rem;
    }
    
    .poster {
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    .lomba-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    
    .poster {
        max-width: 220px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .lomba-lomba {
        padding: 60px 0 100px;
    }
    
    .lomba-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .poster {
        max-width: 180px;
    }
    
    .swiper {
        padding: 10px 0 50px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 36px;
        height: 36px;
        display: none; /* Hide on mobile for better touch experience */
    }
    
    .swiper-pagination {
        bottom: 20px;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 5px !important;
    }
}

/* About Us Section */
.about-section {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.about-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #d4b483, #a67c52);
    border-radius: 2px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 30px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4b483, #a67c52);
}

.about-text p {
    color: #333333; /* Darker gray for better contrast on light backgrounds */
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 15px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.feature i {
    font-size: 1.5rem;
    color: #d4b483;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.feature:hover i {
    transform: scale(1.1);
    color: #a67c52;
}

.feature span {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

/* Tablet and Mobile Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-image, .about-text {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-features {
        justify-content: center;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-section .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .about-text h3 {
        font-size: 1.7rem;
    }
    
    .about-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature {
        padding: 12px 20px;
    }
}

/* Competition Section */
.lomba-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.competition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    gap: 30px;
    justify-content: center;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.competition-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 3/4;
}

.competition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Section Title Styles */
.lomba-section .section-title {
    text-align: center;
    font-size: 3rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.lomba-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #8a5a44, #d4b483);
    border-radius: 2px;
}

.competition-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
    z-index: 2;
}

.competition-card:hover .card-overlay {
    opacity: 1;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    text-align: center;
    background: #fff;
    color: #333;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 3;
}

.btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Make buttons more touch-friendly on mobile */
.btn:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .competition-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .lomba-section {
        padding: 40px 15px;
    }
    
    .competition-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        min-width: 120px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .competition-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .btn {
        padding: 8px 16px;
        min-width: 100px;
        font-size: 0.85rem;
    }
}

/* Merchant Section */
.merchant-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.merchant-section .section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.merchant-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #8a5a44;
}

.merchant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding: 20px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.merchant-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.merchant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.merchant-image {
    position: relative;
    overflow: visible;
    height: 0;
    padding-bottom: 100%; /* 1:1 aspect ratio */
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 90%;
}

.merchant-image img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
}

.merchant-card:hover .merchant-image img {
    transform: translate(-50%, -50%) scale(1);
}

.buy-now-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.merchant-card:hover .buy-now-overlay {
    opacity: 1;
}

.buy-now-btn {
    padding: 12px 30px;
    background: #8a5a44;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.merchant-card:hover .buy-now-btn {
    transform: translateY(0);
    opacity: 1;
}

.buy-now-btn:hover {
    background: #6d4735;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.merchant-info {
    padding: 15px 10px;
    text-align: center;
}

.merchant-info h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #333;
}

.merchant-info .price {
    font-size: 1.1rem;
    color: #8a5a44;
    font-weight: 600;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .merchant-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
        padding: 10px 15px;
    }
    
    .merchant-info h3 {
        font-size: 1.1rem;
    }
    
    .merchant-info .price {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .merchant-section {
        padding: 50px 0;
    }
    
    .merchant-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
}
  