/**
 * GameWorld - Fallout: New Vegas Theme
 * Post-apocalyptic orange/brown theme inspired by Fallout
 */

/* ============================================
   THEME OVERRIDE - FALLOUT NEW VEGAS
   ============================================ */

/* Body and background */
body {
    background: #1a1410;
    background-image: url('../images/background_img/fallout_nv_background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #d4a574;
}

/* Dark overlay for readability */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 20, 16, 0.15); /* Adjusted for lighter overlay */
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    background: rgba(26, 20, 16, 0.95);
    border-bottom: 2px solid #cc6600;
}

.logo a {
    color: #ff8c00;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5),
                 0 0 20px rgba(255, 140, 0, 0.2);
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
}

.logo a:hover {
    color: #ffa500;
    text-shadow: 0 0 15px rgba(255, 140, 0, 0.8),
                 0 0 25px rgba(255, 140, 0, 0.4);
}

.main-nav a {
    color: #d4a574;
    border-radius: 0;
    font-family: 'Courier New', monospace;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(204, 102, 0, 0.3);
    color: #ff8c00;
    border-left: 3px solid #cc6600;
}

.cart-link,
.wishlist-link {
    background: rgba(139, 69, 19, 0.4);
    border: 1px solid #8b4513;
}

/* Theme Switcher */
.theme-btn {
    background: rgba(139, 69, 19, 0.2);
    border: 1px solid #8b4513;
    color: #ff8c00;
    font-family: 'Courier New', monospace;
}

.theme-btn:hover,
.theme-btn.active {
    background: rgba(204, 102, 0, 0.4);
    border-color: #cc6600;
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero-banner {
    background: linear-gradient(135deg, #3d2817 0%, #1a1410 100%);
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(204, 102, 0, 0.03) 2px,
            rgba(204, 102, 0, 0.03) 4px
        ),
        linear-gradient(135deg, #3d2817 0%, #1a1410 100%);
    border-bottom: 3px solid #cc6600;
}

.banner-title {
    color: #ff8c00;
    font-family: 'Courier New', monospace;
    text-shadow: 
        0 0 20px rgba(255, 140, 0, 0.8),
        0 0 40px rgba(255, 140, 0, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 4px;
}

.banner-subtitle {
    color: #d4a574;
    font-family: 'Courier New', monospace;
}

.cta-button {
    background: linear-gradient(135deg, #cc6600 0%, #8b4513 100%);
    border: 2px solid #ff8c00;
    box-shadow: 
        0 5px 20px rgba(204, 102, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

.cta-button:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #cc6600 100%);
    box-shadow: 
        0 8px 30px rgba(255, 140, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ============================================
   SECTIONS
   ============================================ */
.section-title,
.page-title {
    color: #ff8c00;
    font-family: 'Courier New', monospace;
    text-shadow: 
        0 0 20px rgba(255, 140, 0, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 2px solid #cc6600;
    padding-bottom: 1rem;
}

/* ============================================
   /* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

.product-detail-page {
    padding: 2rem 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.product-detail-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    flex: 1;
}

.product-images-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    max-width: 600px;
}

.main-product-image {
    width: 100%;
    height: 400px;
    background: #0f0a06;
    border: 2px solid #cc6600;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-product-image:hover {
    border-color: #ff8c00;
    box-shadow: 0 0 20px rgba(204, 102, 0, 0.5);
}

.main-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-product-image:hover img {
    transform: scale(1.05);
}

.image-thumbnails {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid #8b4513;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #0f0a06;
}

.thumbnail:hover {
    border-color: #cc6600;
    box-shadow: 0 0 10px rgba(204, 102, 0, 0.5);
}

.thumbnail.active {
    border-color: #ff8c00;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.8);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-section {
    background: rgba(61, 40, 23, 0.6);
    border: 2px solid #cc6600;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    flex: 1;
    max-width: 500px;
}

/* Full screen image overlay */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    cursor: pointer;
}

.image-overlay.active {
    display: flex;
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 3px solid #cc6600;
    box-shadow: 0 0 50px rgba(204, 102, 0, 0.8);
}

.close-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(204, 102, 0, 0.8);
    border: 2px solid #ff8c00;
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.close-overlay:hover {
    background: rgba(255, 140, 0, 0.9);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.8);
}

.product-info-section {
    background: rgba(61, 40, 23, 0.6);
    border: 2px solid #cc6600;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.product-detail-name {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff8c00;
    font-family: 'Courier New', monospace;
    text-shadow: 
        0 0 20px rgba(255, 140, 0, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.category-badge {
    display: inline-block;
    background: rgba(204, 102, 0, 0.3);
    border: 1px solid #cc6600;
    color: #ff8c00;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-detail-price {
    font-size: 2rem;
    color: #ffa500;
    font-family: 'Courier New', monospace;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.product-short-desc {
    margin-bottom: 2rem;
    color: #d4a574;
    font-size: 1.1rem;
    line-height: 1.6;
}

.product-detail-form {
    margin-bottom: 2rem;
}

.quantity-selector {
    margin-bottom: 1.5rem;
}

.quantity-selector label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ff8c00;
    font-family: 'Courier New', monospace;
}

.quantity-input-detail {
    width: 80px;
    padding: 0.5rem;
    background: rgba(15, 10, 6, 0.8);
    border: 1px solid #8b4513;
    color: #d4a574;
    font-family: 'Courier New', monospace;
    border-radius: 0;
}

.quantity-input-detail:focus {
    border-color: #cc6600;
    box-shadow: 0 0 10px rgba(204, 102, 0, 0.5);
}

.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-add-cart-detail,
.btn-wishlist-detail {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: bold;
}

.btn-add-cart-detail {
    background: linear-gradient(135deg, #cc6600 0%, #8b4513 100%);
    border: 2px solid #ff8c00;
    color: white;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-add-cart-detail:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #cc6600 100%);
    box-shadow: 
        0 5px 15px rgba(204, 102, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-wishlist-detail {
    background: rgba(26, 20, 16, 0.8);
    border: 2px solid #cc6600;
    color: #ff8c00;
}

.btn-wishlist-detail:hover {
    background: rgba(204, 102, 0, 0.3);
    box-shadow: 0 5px 15px rgba(204, 102, 0, 0.5);
}

.stock-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 69, 19, 0.3);
    color: #b8956a;
    font-family: 'Courier New', monospace;
}

.back-navigation {
    margin-bottom: 2rem;
}

.btn-back {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(139, 69, 19, 0.3);
    border: 1px solid #8b4513;
    color: #ff8c00;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: rgba(204, 102, 0, 0.4);
    border-color: #cc6600;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .product-images-section,
    .product-info-section {
        max-width: 100%;
    }
    
    .product-detail-name {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-add-cart-detail,
    .btn-wishlist-detail {
        width: 100%;
        text-align: center;
    }
    
    .fullscreen-image {
        max-width: 95%;
        max-height: 95%;
    }
}UCT CARDS
   /*============================================ */
.product-card {
    background: rgba(61, 40, 23, 0.6);
    border: 2px solid rgba(204, 102, 0, 0.4);
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.product-card:hover {
    border-color: #cc6600;
    box-shadow: 
        0 10px 30px rgba(204, 102, 0, 0.4),
        inset 0 0 20px rgba(255, 140, 0, 0.1);
}

.product-image {
    background: #0f0a06;
    border-bottom: 2px solid #8b4513;
}

.product-name {
    color: #ff8c00;
    font-family: 'Courier New', monospace;
}

.product-price {
    color: #ffa500;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.product-description {
    color: #b8956a;
}

.btn-add-cart {
    background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
    border: 2px solid #cc6600;
    border-radius: 0;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #cc6600 0%, #8b4513 100%);
    box-shadow: 
        0 5px 15px rgba(204, 102, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.wishlist-btn {
    background: rgba(26, 20, 16, 0.8);
    border: 1px solid #cc6600;
}

.wishlist-btn:hover {
    background: rgba(204, 102, 0, 0.3);
}

/* ============================================
   CATEGORIES
   ============================================ */
.category-card {
    border: 2px solid #cc6600;
    border-radius: 0;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(255, 140, 0, 0.1);
}

.category-content {
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.9) 0%, rgba(26, 20, 16, 0.9) 100%);
    font-family: 'Courier New', monospace;
}

.category-card:hover .category-content {
    background: linear-gradient(135deg, rgba(204, 102, 0, 0.9) 0%, rgba(139, 69, 19, 0.9) 100%);
}

.category-card.playstation .category-content {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.9) 0%, rgba(101, 67, 33, 0.9) 100%);
}

.category-card.xbox .category-content {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.9) 0%, rgba(101, 67, 33, 0.9) 100%);
}

.category-card.pc .category-content {
    background: linear-gradient(135deg, rgba(204, 102, 0, 0.9) 0%, rgba(139, 69, 19, 0.9) 100%);
}
/* ============================================
   MR. HOUSE EASTER EGG POPUP
   ============================================ */
.mr-house-popup {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    animation: slideInHouse 0.4s ease-out;
    max-width: 420px;
}

@keyframes slideInHouse {
    from { transform: translateX(120%); opacity: 0; }
    to   { transform: translateX(0);   opacity: 1; }
}

.mr-house-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(15, 10, 6, 0.97);
    border: 2px solid #cc6600;
    padding: 1rem 1.25rem;
    box-shadow: 
        0 0 30px rgba(204, 102, 0, 0.6),
        inset 0 0 20px rgba(255, 140, 0, 0.05);
}

.mr-house-avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 2px solid #ff8c00;
    flex-shrink: 0;
    image-rendering: pixelated;
}

.mr-house-speech {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mr-house-name {
    color: #ff8c00;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(255, 140, 0, 0.6);
}

.mr-house-quote {
    color: #d4a574;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   FORMS
   ============================================ */
.contact-form-container,
.verification-form,
.cart-summary {
    background: rgba(61, 40, 23, 0.6);
    border: 2px solid #cc6600;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.form-group label {
    color: #ff8c00;
    font-family: 'Courier New', monospace;
}

.form-group input,
.form-group textarea,
.quantity-input {
    background: rgba(15, 10, 6, 0.8);
    border: 1px solid #8b4513;
    color: #d4a574;
    font-family: 'Courier New', monospace;
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #cc6600;
    box-shadow: 0 0 10px rgba(204, 102, 0, 0.5);
}

.btn-submit,
.btn-verify,
.btn-checkout,
.btn-update-cart {
    background: linear-gradient(135deg, #cc6600 0%, #8b4513 100%);
    border: 2px solid #ff8c00;
    border-radius: 0;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-submit:hover,
.btn-verify:hover,
.btn-checkout:hover,
.btn-update-cart:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #cc6600 100%);
    box-shadow: 
        0 5px 15px rgba(204, 102, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-reset {
    background: rgba(139, 69, 19, 0.3);
    border: 1px solid #8b4513;
    color: #ff8c00;
}

.btn-reset:hover {
    background: rgba(139, 69, 19, 0.5);
}

/* ============================================
   CART TABLE
   ============================================ */
.cart-table {
    background: rgba(61, 40, 23, 0.6);
    border: 2px solid #cc6600;
    border-radius: 0;
}

.cart-table th {
    background: rgba(139, 69, 19, 0.6);
    color: #ff8c00;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    border-bottom: 2px solid #cc6600;
}

.cart-table td {
    border-bottom: 1px solid rgba(139, 69, 19, 0.3);
    color: #d4a574;
}

.summary-row.total {
    color: #ffa500;
    font-family: 'Courier New', monospace;
}

/* ============================================
   MESSAGES
   ============================================ */
.success-message {
    background: rgba(139, 69, 19, 0.4);
    border: 2px solid #8b4513;
    color: #ffa500;
    font-family: 'Courier New', monospace;
    border-radius: 0;
}

.error-message {
    background: rgba(139, 0, 0, 0.3);
    border: 2px solid #8b0000;
    color: #ff6347;
    font-family: 'Courier New', monospace;
    border-radius: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: rgba(26, 20, 16, 0.95);
    border-top: 2px solid #cc6600;
}

.footer-info h3,
.footer-links h4,
.footer-categories h4 {
    color: #ff8c00;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-info p {
    color: #b8956a;
}

.footer-links a,
.footer-categories a {
    color: #d4a574;
}

.footer-links a:hover,
.footer-categories a:hover {
    color: #ff8c00;
}

/* ============================================
   SPECIAL EFFECTS
   ============================================ */

/* Scanline effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        transparent 1px,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 3px
    );
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}

/* Vignette effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    z-index: 9998;
}

/* Category filters */
.category-filters .filter-btn {
    background: rgba(139, 69, 19, 0.3);
    border: 1px solid #8b4513;
    color: #ff8c00;
    border-radius: 0;
    font-family: 'Courier New', monospace;
}

.category-filters .filter-btn:hover,
.category-filters .filter-btn.active {
    background: rgba(204, 102, 0, 0.5);
    border-color: #cc6600;
}

/* Download page specific */
.download-success,
.download-intro {
    border: 2px solid #cc6600;
    background: rgba(61, 40, 23, 0.6);
    border-radius: 0;
}

.btn-download {
    background: linear-gradient(135deg, #cc6600 0%, #8b4513 100%);
    border: 2px solid #ff8c00;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    display: inline-block;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-download:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #cc6600 100%);
}