/* Main Slider */
.slider-container {
    max-width: 100%;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: var(--primary);
}

.dots-container {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: var(--primary);
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from { opacity: .4 }
    to { opacity: 1 }
}

/* Categories Section */
.categories-section {
    padding: 40px 15px;
    margin-bottom: 30px;
}

.categories-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;
    flex-wrap: wrap;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 18%;
    min-width: 140px;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    object-position: bottom center;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.15));
}

.category-item span {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* Retro Banner */
.banner-retro {
    width: 100%;
    max-width: 1500px;
    margin: 10px auto 60px auto;
    padding: 0 15px;
}

.banner-wrapper {
    width: 100%;
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.banner-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-wrapper:hover img {
    transform: scale(1.02);
}

/* Club Logos */
.club-logos-section {
    max-width: 1500px;
    margin: 0 auto 30px auto;
    padding: 0 15px;
}

.logos-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.logos-grid::-webkit-scrollbar {
    display: none;
}

.logo-item {
    flex: 1;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.logo-item:hover {
    transform: scale(1.2);
    z-index: 10;
}

.logo-item img {
    height: 60px;
    width: auto;
    max-width: 85px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    backface-visibility: hidden;
}

.logo-item span {
    font-size: 11px;
    color: #444;
    font-weight: 600;
    white-space: nowrap;
}

/* Special Offer */
.special-offer-container {
    background: linear-gradient(90deg, #D30000 0%, #990000 100%);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1500px;
    margin: 60px auto 80px auto;
}

.special-info {
    flex: 0 0 250px;
    color: #fff;
    margin-right: 10px;
}

.special-info h3 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 10px;
    font-weight: 700;
}

.special-info p {
    font-size: 14px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn-white-pill {
    background-color: #fff;
    color: #D30000;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    transition: transform 0.3s;
}

.btn-white-pill:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.special-grid {
    flex: 1;
    display: flex; justify-content: space-between; gap: 15px;
}

.card-special {
    flex: 0 0 calc(25% - 12px);
    max-width: calc(25% - 12px);
    background-color: #fff;
    border-radius: 8px;
    padding: 0 !important;
    border: none !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card-special:hover {
    transform: translateY(-5px);
}

.img-special {
    width: 100%; height: 280px; margin: 0 !important; padding: 0 !important; display: block;
}

.img-special img {
    width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.5s ease;
}

.card-special:hover .img-special img {
    transform: scale(1.08);
}

.info-special {
    padding: 15px; text-align: left; background: #fff; width: 100%; box-sizing: border-box;
}

.info-special h4 {
    font-size: 14px; color: #333; font-weight: 600; margin-bottom: 5px; height: 38px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

.price-special {
    display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px;
}

.price-special .old {
    font-size: 12px; text-decoration: line-through; color: #666;
}

.price-special .new {
    font-size: 18px; font-weight: 800; color: #D30000;
}

.installment-special-text {
    font-size: 12px; color: #767676; font-weight: 400;
}

/* About Section */
.about-section {
    background-color: #f9f9f9;
    padding: 80px 0;
    margin-top: 60px;
}

.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-text {
    flex: 1;
    max-width: 600px;
}

.about-text h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 3px solid #cc0000;
    display: inline-block;
    padding-bottom: 5px;
}

.about-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.btn-red {
    display: inline-block;
    background-color: #cc0000;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.btn-red:hover {
    background-color: #990000;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive Adjustments for Home */
@media (max-width: 1000px) {
    .special-offer-container { flex-direction: column; text-align: center; }
    .special-info { margin-bottom: 20px; flex: auto; }
    .special-grid { flex-wrap: wrap; justify-content: center; }
    .card-special { flex: 0 0 calc(50% - 10px); max-width: calc(50% - 10px); }
}

@media (max-width: 768px) {
    .prev, .next { font-size: 18px; padding: 10px; }
    .categories-container { justify-content: center; gap: 40px; }
    .category-item { width: 45%; }
    .logos-grid { justify-content: flex-start; }
    .logo-item { min-width: 90px; }
    .logo-item:hover { transform: scale(1.05); }
    .about-wrapper { flex-direction: column; text-align: center; }
    .about-text h3 { display: inline-block; }
    .about-text p { text-align: center; }
    .about-image img { max-width: 250px; margin-top: 30px; }
}