/* Color Palette: Dark E-Sports Theme */
:root {
    --bg-dark: #0f1015;
    --bg-card: #181920;
    --bg-lighter: #22242e;
    --text-main: #d1d5db;
    --text-bright: #ffffff;
    --accent-amber: #ffaa00;
    --accent-amber-hover: #e69900;
    --border-dark: #2a2c38;
    
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.hx-header {
    background-color: var(--bg-card);
    padding: 20px 0;
    text-align: center;
    border-bottom: 2px solid var(--accent-amber);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hx-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-bright);
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Product Section */
.hx-product {
    display: flex;
    gap: 40px;
    background-color: var(--bg-card);
    padding: 40px;
    margin-top: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.hx-gallery {
    width: 45%;
}

.hx-info {
    width: 55%;
}

/* Pure CSS Image Gallery */
.hx-gallery input[type="radio"] {
    display: none;
}

.hx-main-view {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--bg-lighter);
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    overflow: hidden;
}

.hx-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.hx-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Active Slide Logic */
#img1:checked ~ .hx-main-view #slide1,
#img2:checked ~ .hx-main-view #slide2,
#img3:checked ~ .hx-main-view #slide3,
#img4:checked ~ .hx-main-view #slide4 {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

/* Navigation Arrows */
.hx-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(15, 16, 21, 0.7);
    border: 1px solid var(--accent-amber);
    color: var(--accent-amber);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 20;
    user-select: none;
}

.hx-main-view:hover .hx-arrow {
    opacity: 1;
}

.hx-arrow:hover {
    background-color: var(--accent-amber);
    color: var(--bg-dark);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Thumbnails */
.hx-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 8px;
}

/* Hide scrollbar for aesthetics */
.hx-thumbnails::-webkit-scrollbar { display: none; }
.hx-thumbnails { scrollbar-width: none; }

.hx-thumb {
    flex: 0 0 80px;
    height: 80px;
    background-color: var(--bg-lighter);
    border: 2px solid transparent;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.hx-thumb img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.hx-thumb:hover {
    opacity: 1;
}

/* Highlight Active Thumbnail */
#img1:checked ~ .hx-thumbnails .hx-thumb[for="img1"],
#img2:checked ~ .hx-thumbnails .hx-thumb[for="img2"],
#img3:checked ~ .hx-thumbnails .hx-thumb[for="img3"],
#img4:checked ~ .hx-thumbnails .hx-thumb[for="img4"] {
    border-color: var(--accent-amber);
    opacity: 1;
    background-color: var(--bg-card);
}

/* Product Info */
.hx-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-bright);
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hx-description h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-amber);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hx-features {
    list-style: none;
    margin-bottom: 25px;
}

.hx-features li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
}

.hx-features li::before {
    content: "►";
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--accent-amber);
    font-size: 0.7rem;
}

.hx-features li strong {
    color: var(--text-bright);
}

.hx-seo {
    background-color: var(--bg-lighter);
    padding: 15px 20px;
    border-radius: 6px;
    border-left: 3px solid var(--accent-amber);
    font-size: 0.9rem;
    color: var(--text-main);
    font-style: italic;
}

/* CTA Section */
.hx-cta-container {
    text-align: center;
    margin: 50px 0;
}

.hx-btn {
    display: inline-block;
    background-color: var(--accent-amber);
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 18px 60px;
    border-radius: 4px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.4);
}

.hx-btn:hover {
    background-color: var(--accent-amber-hover);
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(255, 170, 0, 0.6);
}

/* Reviews Section */
.hx-reviews-section {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-dark);
    margin-bottom: 50px;
}

.hx-reviews-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-bright);
    margin-bottom: 30px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 10px;
}

.hx-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hx-review {
    display: flex;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-dark);
}

.hx-review:last-child {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
}

.rev-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--bg-lighter);
}

.rev-content {
    flex: 1;
}

.rev-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-bright);
    margin-bottom: 5px;
}

.rev-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.stars {
    color: var(--accent-amber);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.rev-headline {
    font-weight: 600;
    color: var(--text-bright);
}

.rev-badge {
    font-size: 0.8rem;
    color: #ef4444; /* Alert Red for Verified */
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.rev-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.rev-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rev-photos img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-dark);
    transition: opacity 0.2s ease;
}

.rev-photos img:hover {
    opacity: 0.7;
    cursor: pointer;
}

/* Footer */
.hx-footer {
    background-color: var(--bg-card);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-dark);
}

.hx-footer h3 {
    font-family: var(--font-heading);
    color: var(--text-bright);
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hx-links {
    margin-bottom: 20px;
}

.hx-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 15px;
    transition: color 0.2s ease;
}

.hx-links a:hover {
    color: var(--accent-amber);
}

.hx-footer p {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Responsive Design */
@media screen and (max-width: 900px) {
    .hx-product {
        flex-direction: column;
        padding: 25px;
    }
    
    .hx-gallery, .hx-info {
        width: 100%;
    }

    .hx-title {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 600px) {
    .hx-review {
        flex-direction: column;
        gap: 15px;
    }
    
    .hx-arrow {
        opacity: 0.9;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .hx-btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 1.2rem;
    }

    .hx-links a {
        display: block;
        margin: 12px 0;
    }
}