/**
 * GameWorld - Star Wars Theme
 * Classic Star Wars yellow/black/red color scheme
 */

/* ============================================
   THEME OVERRIDE - STAR WARS
   ============================================ */

/* Body and background */
body {
    background: #000000;
    background-image: url('../images/background_img/starwars_background_img.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffe81f;
}

/* Dark overlay for readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 3px solid #ffe81f;
}

.logo a {
    color: #ffe81f;
    text-shadow: 
        0 0 20px rgba(255, 232, 31, 0.8),
        0 0 40px rgba(255, 232, 31, 0.4);
    font-family: 'Arial Black', sans-serif;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.logo a:hover {
    color: #fff;
    text-shadow: 
        0 0 30px rgba(255, 232, 31, 1),
        0 0 50px rgba(255, 232, 31, 0.6);
}

.main-nav a {
    color: #ffe81f;
    border-radius: 0;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255, 232, 31, 0.2);
    color: #fff;
    border-bottom: 3px solid #ffe81f;
}

.cart-link,
.wishlist-link {
    background: rgba(220, 20, 60, 0.3);
    border: 2px solid #dc143c;
}

.cart-link:hover,
.wishlist-link:hover {
    background: rgba(220, 20, 60, 0.5);
}

/* Theme Switcher */
.theme-btn {
    background: rgba(255, 232, 31, 0.1);
    border: 2px solid #ffe81f;
    color: #ffe81f;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

.theme-btn:hover,
.theme-btn.active {
    background: rgba(255, 232, 31, 0.3);
    border-color: #fff;
    color: #fff;
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero-banner {
    background: 
        linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%),
        linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    background-image: 
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="stars" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,232,31,0.3)"/><circle cx="50" cy="30" r="0.5" fill="rgba(255,232,31,0.5)"/><circle cx="80" cy="60" r="1.5" fill="rgba(255,232,31,0.2)"/><circle cx="30" cy="80" r="0.8" fill="rgba(255,232,31,0.4)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>'),
        linear-gradient(to bottom, #000000 0%, #1a1a1a 100%);
    border-bottom: 3px solid #ffe81f;
}

.banner-title {
    color: #ffe81f;
    font-family: 'Arial Black', sans-serif;
    text-shadow: 
        0 0 30px rgba(255, 232, 31, 1),
        0 0 60px rgba(255, 232, 31, 0.5),
        3px 3px 6px rgba(0, 0, 0, 1);
    letter-spacing: 8px;
    text-transform: uppercase;
}

.banner-subtitle {
    color: #fff;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.cta-button {
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    border: 3px solid #ffe81f;
    box-shadow: 
        0 5px 20px rgba(220, 20, 60, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-family: 'Arial Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #ff1744 0%, #dc143c 100%);
    box-shadow: 
        0 8px 30px rgba(255, 232, 31, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

/* ============================================
   SECTIONS
   ============================================ */
.section-title,
.page-title {
    color: #ffe81f;
    font-family: 'Arial Black', sans-serif;
    text-shadow: 
        0 0 20px rgba(255, 232, 31, 0.8),
        3px 3px 6px rgba(0, 0, 0, 1);
    text-transform: uppercase;
    letter-spacing: 5px;
    border-bottom: 3px solid #ffe81f;
    padding-bottom: 1rem;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
    background: rgba(20, 20, 20, 0.9);
    border: 2px solid rgba(255, 232, 31, 0.5);
    border-radius: 0;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 232, 31, 0.2);
}

.product-card:hover {
    border-color: #ffe81f;
    box-shadow: 
        0 10px 30px rgba(255, 232, 31, 0.5),
        inset 0 0 30px rgba(255, 232, 31, 0.1);
}

.product-image {
    background: #000;
    border-bottom: 3px solid #dc143c;
}

.product-name {
    color: #ffe81f;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

.product-price {
    color: #00ff00;
    font-family: 'Arial Black', sans-serif;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.product-description {
    color: #cccccc;
}

.btn-add-cart {
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    border: 2px solid #ffe81f;
    border-radius: 0;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 10px rgba(220, 20, 60, 0.5);
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #ff1744 0%, #dc143c 100%);
    box-shadow: 
        0 5px 15px rgba(255, 232, 31, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.wishlist-btn {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ffe81f;
}

.wishlist-btn:hover {
    background: rgba(255, 232, 31, 0.3);
    border-color: #fff;
}

/* ============================================
   CATEGORIES
   ============================================ */
.category-card {
    border: 3px solid #ffe81f;
    border-radius: 0;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.8),
        inset 0 0 40px rgba(255, 232, 31, 0.1);
}

.category-content {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(0, 0, 0, 0.9) 100%);
    font-family: 'Arial Black', sans-serif;
    text-transform: uppercase;
}

.category-card:hover .category-content {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.8) 0%, rgba(139, 0, 0, 0.8) 100%);
}

.category-card.playstation .category-content {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.9) 0%, rgba(70, 0, 0, 0.9) 100%);
}

.category-card.xbox .category-content {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.9) 0%, rgba(70, 0, 0, 0.9) 100%);
}

.category-card.pc .category-content {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.9) 0%, rgba(139, 0, 0, 0.9) 100%);
}

/* ============================================
   FORMS
   ============================================ */
.contact-form-container,
.verification-form,
.cart-summary {
    background: rgba(20, 20, 20, 0.9);
    border: 3px solid #ffe81f;
    border-radius: 0;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 232, 31, 0.3);
}

.form-group label {
    color: #ffe81f;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.quantity-input {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #ffe81f;
    color: #fff;
    font-family: 'Arial', sans-serif;
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 232, 31, 0.8);
}

.btn-submit,
.btn-verify,
.btn-checkout,
.btn-update-cart {
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    border: 3px solid #ffe81f;
    border-radius: 0;
    font-family: 'Arial Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 15px rgba(220, 20, 60, 0.5);
}

.btn-submit:hover,
.btn-verify:hover,
.btn-checkout:hover,
.btn-update-cart:hover {
    background: linear-gradient(135deg, #ff1744 0%, #dc143c 100%);
    box-shadow: 
        0 5px 15px rgba(255, 232, 31, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

.btn-reset {
    background: rgba(139, 0, 0, 0.3);
    border: 2px solid #dc143c;
    color: #ffe81f;
}

.btn-reset:hover {
    background: rgba(139, 0, 0, 0.5);
    border-color: #ffe81f;
}

/* ============================================
   CART TABLE
   ============================================ */
.cart-table {
    background: rgba(20, 20, 20, 0.9);
    border: 3px solid #ffe81f;
    border-radius: 0;
}

.cart-table th {
    background: rgba(139, 0, 0, 0.6);
    color: #ffe81f;
    font-family: 'Arial Black', sans-serif;
    text-transform: uppercase;
    border-bottom: 3px solid #ffe81f;
}

.cart-table td {
    border-bottom: 1px solid rgba(255, 232, 31, 0.2);
    color: #fff;
}

.summary-row.total {
    color: #00ff00;
    font-family: 'Arial Black', sans-serif;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* ============================================
   MESSAGES
   ============================================ */
.success-message {
    background: rgba(0, 100, 0, 0.3);
    border: 3px solid #00ff00;
    color: #00ff00;
    font-family: 'Arial', sans-serif;
    border-radius: 0;
    text-transform: uppercase;
}

.error-message {
    background: rgba(139, 0, 0, 0.3);
    border: 3px solid #dc143c;
    color: #ff6347;
    font-family: 'Arial', sans-serif;
    border-radius: 0;
    text-transform: uppercase;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: rgba(0, 0, 0, 0.95);
    border-top: 3px solid #ffe81f;
}

.footer-info h3,
.footer-links h4,
.footer-categories h4 {
    color: #ffe81f;
    font-family: 'Arial Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 232, 31, 0.5);
}

.footer-info p {
    color: #cccccc;
}

.footer-links a,
.footer-categories a {
    color: #fff;
}

.footer-links a:hover,
.footer-categories a:hover {
    color: #ffe81f;
    text-shadow: 0 0 10px rgba(255, 232, 31, 0.5);
}

/* ============================================
   SPECIAL EFFECTS
   ============================================ */

/* Star field animation */
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Light saber glow effect for buttons */
.btn-add-cart,
.btn-submit,
.btn-verify,
.btn-checkout {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 10px rgba(220, 20, 60, 0.5);
    }
    50% {
        box-shadow: 
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            0 0 20px rgba(220, 20, 60, 0.8);
    }
}

/* Category filters */
.category-filters .filter-btn {
    background: rgba(139, 0, 0, 0.3);
    border: 2px solid #dc143c;
    color: #ffe81f;
    border-radius: 0;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

.category-filters .filter-btn:hover,
.category-filters .filter-btn.active {
    background: rgba(220, 20, 60, 0.6);
    border-color: #ffe81f;
    color: #fff;
}

/* Download page specific
.download-success,
.download-intro {
    border: 3px solid #ffe81f;
    background: rgba(20, 20, 20, 0.9);
    border-radius: 0;
}

.btn-download {
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    border: 3px solid #ffe81f;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    display: inline-block;
    font-family: 'Arial Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 15px rgba(220, 20, 60, 0.5);
}

.btn-download:hover {
    background: linear-gradient(135deg, #ff1744 0%, #dc143c 100%);
    border-color: #fff;
    box-shadow: 
        0 5px 20px rgba(255, 232, 31, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
} */

/* Lightsaber cursor trail effect */
* {
    cursor: crosshair;
}

a, button, input[type="submit"], .btn-add-cart {
    cursor: pointer;
}

/* ============================================
   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: #000000;
    border: 3px solid #ffe81f;
    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: #ff1744;
    box-shadow: 0 0 20px rgba(255, 232, 31, 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 #ffe81f;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #000000;
}

.thumbnail:hover {
    border-color: #ff1744;
    box-shadow: 0 0 10px rgba(255, 23, 68, 0.5);
}

.thumbnail.active {
    border-color: #dc143c;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.8);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-section {
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid #ffe81f;
    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 #ffe81f;
    box-shadow: 0 0 50px rgba(255, 232, 31, 0.8);
}

.close-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 23, 68, 0.8);
    border: 2px solid #ffe81f;
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: 'Arial Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.close-overlay:hover {
    background: rgba(220, 20, 60, 0.9);
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.8);
}

/* ============================================
   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%;
    }
}