/* Reset & Base (mobile-first) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a1a1a, #333333);
    color: #ffffff;
    line-height: 1.6;
}

/* Header mobile-friendly */
.main-header {
    position: sticky;
    top: 0;
    background: #8d0000;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    max-height: 60px;
    width: auto;
    filter: drop-shadow(0 0 8px #000000);
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.08);
}
.header-right a{
    text-decoration: none;
}
.header-right .register-btn {
    background: linear-gradient(45deg, #00ff00, #00cc00);
    color: #000;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
    transition: all 0.3s;
}

.register-btn:hover {
    background: linear-gradient(45deg, #ff4500, #ff6600);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.7);
    color: #fff;
}

.register-btn i {
    font-size: 1.1rem;
}

/* Responsif untuk mobile */
@media (max-width: 768px) {
    .main-header {
        padding: 10px 15px;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        max-height: 45px;
        width: auto;
    }

    .register-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        min-width: 110px;
    }
}
/* Product Section - Mobile-first: stack vertical */
.product-section {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-gallery {
    margin-bottom: 1.5rem;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 3px solid #00ff00;
    box-shadow: 0 0 20px #00ff00aa;
    display: block;
}

.thumbnails {
    display: flex;
    overflow-x: auto;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.thumbnails::-webkit-scrollbar {
    height: 6px;
}

.thumbnails::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 3px;
}

.thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #444;
    cursor: pointer;
    flex-shrink: 0;
    transition: border 0.3s;
}

.thumb.active,
.thumb:hover {
    border: 2px solid #8d0000;
}

/* Product Details - Mobile optimized */
.product-details {
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 0 15px #8d0000aa;
}

.product-details h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 6vw, 2.4rem);
}

.price {
    font-size: clamp(1.6rem, 5vw, 2rem);
    color: #00ff00;
}

.old-price {
    text-decoration: line-through;
    color: #ff0000;
    font-size: 0.8em;
}

.description,
.features li {
    font-size: clamp(1rem, 3.5vw, 1.1rem);
}

.cta-button {
    background: #00ff00;
    color: #000;
    border: none;
    width: 100%;
    padding: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    margin: 1.5rem 0;
    transition: all 0.3s;
    position: sticky;
    bottom: 1rem;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.cta-button:hover {
    background: #8d0000;
    transform: scale(1.02);
}

/* Rating */
.rating {
    font-size: clamp(1.2rem, 4vw, 1.4rem);
    color: #ffd700;
}

/* FAQ (Updated: Icons, hover effects, smoother animation) */
.faq {
    margin-top: 2rem;
}

.faq h3 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    text-shadow: 0 0 5px #00ff00;
}

.faq-item {
    margin-bottom: 1rem;
    background: rgba(255, 69, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 0 15px #00ff00;
}

.faq-question {
    padding: 1rem;
    cursor: pointer;
    background: #8d0000;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: clamp(1rem, 3.5vw, 1.1rem);
}

.faq-question i.fa-question-circle {
    margin-right: 0.8rem;
    color: #fff;
}

.faq-toggle {
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 1rem;
}

/* Reviews (Updated: Avatars, hover effects, neon borders) */
.reviews-section {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-section h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px #8d0000;
}

.review-grid {
    display: grid;
    gap: 1.5rem;
}

.review-card {
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    display: flex;
    gap: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.6);
}

.review-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #8d0000;
}

.review-content {
    flex: 1;
}

.review-rating {
    color: #ffd700;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

.review-author {
    font-size: 0.9rem;
    color: #aaa;
}

/* Footer */
footer a{
    text-decoration: none;
}
footer a,footer{
    color: white;
}
footer {
    background: #8d0000;
    text-align: center;
    padding: 1rem;
    font-size: small;
}
#atas-besar{
    text-align: center;
}

/* Desktop & Tablet enhancements */
@media (min-width: 768px) {
    .product-section {
        flex-direction: row;
        gap: 2rem;
        padding: 2rem;
    }

    .product-gallery {
        flex: 1 1 45%;
        margin-bottom: 0;
    }

    .thumbnails {
        overflow-x: hidden;
        flex-wrap: wrap;
        justify-content: center;
    }

    .thumb {
        width: 100px;
        height: 100px;
    }

    .product-details {
        flex: 1 1 55%;
    }

    .cta-button {
        width: auto;
        padding: 1rem 2.5rem;
        position: static;
        margin: 2rem 0 0;
    }

    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-section {
        gap: 3rem;
    }

    .review-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .thumb {
        width: 120px;
        height: 120px;
    }
}