* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

body {
    background-color: #0a0a0a;
    color: #fff;
    overflow: hidden; /* Prevent body scroll, handle scroll in main-content */
    position: relative;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px; /* Make it super thin and modern */
}

::-webkit-scrollbar-track {
    background: #0a0a0a; /* Matches your body background */
}

::-webkit-scrollbar-thumb {
    background: #333; /* Dark grey thumb */
    border-radius: 10px; /* Rounded edges */
}

::-webkit-scrollbar-thumb:hover {
    background: #555; /* Lightens up slightly when you hover over it */
}

/* Firefox compatibility */
* {
    scrollbar-width: thin;
    scrollbar-color: #333 #0a0a0a;
}

.mobile-header {
    display: none; 
}

.layout-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    height: 100vh;
}

.sidebar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.left-sidebar {
    overflow-y: auto;
    height: 100vh;
}

.right-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 340px;
    max-width: 90vw;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(18px);
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.65);
    border-left: 1px solid rgba(255,255,255,0.1);
    overflow-y: auto;
    padding: 1.5rem 1.5rem 2.5rem;
    z-index: 2500;
}

.right-sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
}

.left-sidebar .sidebar-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    font-size: 1.1rem;
}

.sidebar-badge {
    background: #4CAF50;
    color: #000;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: bold;
}

.left-sidebar .close-btn {
    padding: 6px 10px;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    position: absolute;
    top: 8px;
    right: 8px;
}

.left-sidebar .close-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.sidebar h2 {
    margin-bottom: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Brand Logo Image Styles --- */
.brand-logo-img {
    width: 160px;
    height: auto; /* Maintains aspect ratio */
    margin-bottom: 1.5rem;
    cursor: pointer;
    filter: invert(1) brightness(2); /* Makes black logo white and glowing */
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Subtle pop and brightness boost on hover */
.brand-logo-img:hover {
    transform: scale(1.05);
    filter: invert(1) brightness(2.5) drop-shadow(0 0 8px rgba(255,255,255,0.5));
}

/* Make it flare up slightly when hovered */
.brand-logo:hover {
    transform: scale(1.02);
    text-shadow: 
        0 0 10px #fff, 
        0 0 20px #fff, 
        0 0 40px rgba(255, 255, 255, 0.8), 
        0 0 80px rgba(255, 255, 255, 0.5);
}

/* --- Floating Cart/Wishlist Buttons --- */
.floating-actions {
    position: fixed;
    top: 18px;
    right: 18px;
    display: flex;
    gap: 10px;
    z-index: 1020;
    transition: opacity 0.25s ease;
}

body.panel-open .floating-actions {
    opacity: 0;
    pointer-events: none;
}

/* --- Panel Backdrop (dim background when cart/wishlist is open) --- */
.panel-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 2400;
}

.panel-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.floating-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.2s ease, background 0.2s ease;
}

.floating-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

.badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #4CAF50;
    color: #000;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

#category-filters li {
    list-style: none;
    padding: 1rem 0;
    cursor: pointer;
    transition: color 0.3s;
    text-transform: uppercase;
    font-weight: bold;
    color: #888;
}

#category-filters li:hover, #category-filters li.active {
    color: #fff;
}

.main-content {
    overflow-y: auto;
    scroll-behavior: smooth;
}


#three-hero-container {
    width: 100%;
    height: 60vh;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    position: relative;
    z-index: 1; /* Ensure UI panels and buttons float above the 3D canvas */
}

.mobile-header {
    z-index: 2100; /* Always stay above the hero canvas */
}

.sidebar,
.right-sidebar {
    z-index: 2000; /* Ensure UI is above the 3js hero */
}

.floating-actions {
    z-index: 2200;
}

.catalog-section {
    padding: 4rem 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #111;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.05);
}

.product-card.out-of-stock {
    opacity: 0.7;
}
.product-card.out-of-stock:hover {
    transform: none;
}
.product-card.out-of-stock .product-image img {
    filter: grayscale(30%);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
}
.stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
}
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #4CAF50;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}
.pdp-image-col .discount-badge { top: 15px; right: 15px; font-size: 0.85rem; padding: 8px 14px; }
.pdp-stock-badge { top: 15px; left: 15px; font-size: 0.85rem; padding: 8px 14px; }

.price-original { text-decoration: line-through; color: #666; margin-right: 8px; }
.price-sale { color: #4CAF50; font-weight: bold; }
.product-price { color: #888; margin-top: 5px; }
.product-price .price-sale { color: #fff; }

.cart-btn:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

/* --- Search Bar Styles --- */
.search-container {
    margin-bottom: 10px;
}

#search-bar {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

#search-bar:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

#search-bar::placeholder {
    color: #666;
}
/* --- Updated Product Image Styles --- */
.product-image {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden; /* Keeps the zoom effect inside the box */
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the box without squishing */
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05); /* Slight zoom on hover for a premium feel */
}

/* --- Button Styles --- */
.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.action-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-btn {
    background-color: #fff;
    color: #000;
}

.cart-btn:hover {
    background-color: #ccc;
}

.wishlist-btn {
    background-color: #333;
    color: #fff;
}

.wishlist-btn:hover {
    background-color: #555;
}

/* Sidebar Tab Styles */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tabs button {
    flex: 1;
    padding: 10px;
    background: transparent;
    color: #888;
    border: 1px solid #333;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.tabs button.active {
    background: #fff;
    color: #000;
}

/* --- Sidebar Items & Remove Button --- */
.sidebar-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.remove-btn {
    background: transparent;
    border: none;
    color: #555;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 0 5px;
}

.remove-btn:hover {
    color: #ff4444; /* Turns aggressive red on hover */
    transform: scale(1.1);
}

/* --- Mobile Responsiveness (Upgraded with Hamburger) --- */
@media (max-width: 900px) {
    body {
        overflow: auto; 
    }

    .left-sidebar .sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1.5rem;
    }

    .left-sidebar .sidebar-title {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }

    .left-sidebar.open {
        left: 0;
    }

    .layout-wrapper {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    /* Show the Mobile Header */
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 12px;
        background: #0a0a0a;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 2200;
        gap: 8px;
    }

    /* Prevent the main content from being hidden behind the fixed header */
    .main-content {
        padding-top: 64px;
    }

    #three-hero-container canvas {
        pointer-events: none;
    }

    .mobile-logo-img {
        position: relative;
        z-index: 2300;
    }

    #mobile-menu-btn {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        font-size: 1.6rem;
        cursor: pointer;
        padding: 8px 10px;
        border-radius: 6px;
        transition: all 0.2s ease;
        min-width: 40px;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #mobile-menu-btn:active {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(0.95);
    }

    .icon-btn {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        font-size: 1.2rem;
        cursor: pointer;
        position: relative;
        padding: 8px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        transition: all 0.2s ease;
        min-width: 40px;
        min-height: 40px;
    }

    .icon-btn:active {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(0.95);
    }

    .mobile-header-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #4CAF50;
        color: #000;
        font-size: 0.6rem;
        padding: 2px 4px;
        border-radius: 999px;
        font-weight: bold;
        min-width: 16px;
        text-align: center;
    }

    .mobile-logo-img {
        height: 48px;
        filter: invert(1) brightness(2);
    }

    .mobile-header-left {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-menu-label {
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #999;
        margin-left: 4px;
    }

    /* Turn Left Sidebar into a Slide-Out Menu */
    .sidebar.left-sidebar {
        position: fixed;
        top: 0;
        left: -100%; /* Hides it off-screen to the left */
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        transition: left 0.3s ease; /* Smooth slide animation */
        z-index: 2500;
    }

    /* This class gets added by JS when the button is clicked */
    .sidebar.left-sidebar.open {
        left: 0; 
    }

    /* Hide the desktop logo in the sidebar since it's now in the header */
    .brand-logo-img {
        display: none;
    }

    /* Adjust main content */
    .main-content {
        overflow-y: visible; 
    }

    #three-hero-container {
        height: 40vh; 
    }

    .sidebar.right-sidebar {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 1.5rem 1rem;
    }
    
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .floating-actions {
        display: none;
    }
    
    .product-image {
        height: 180px;
    }

    .mobile-category-chips {
        display: flex;
    }
}
/* --- Checkout Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none; /* Prevents clicks when hidden */
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #111;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.close-btn {
    position: relative;
    background: transparent;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
}

.close-btn:hover {
    color: #fff;
}

.sidebar-header .close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
}

#checkout-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#checkout-form input {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    outline: none;
    font-size: 1rem;
}

#checkout-form input:focus {
    border-color: #fff;
}

.pay-btn {
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #fff;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    font-size: 1rem;
    transition: background 0.2s;
}

.pay-btn:hover {
    background: #ccc;
}

/* --- Toast Notifications --- */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999; /* Ensures it floats above absolutely everything */
}

.toast {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateX(120%); /* Starts off-screen to the right */
    
    /* Slide in immediately, wait 2.5 seconds, then fade out */
    animation: slideIn 0.3s forwards, fadeOut 0.3s forwards 2.5s;
}

/* The Animation Keyframes */
@keyframes slideIn {
    to { transform: translateX(0); }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(120%); }
}

/* --- Size Selector Pills --- */
.size-pill {
    background: transparent;
    border: 1px solid #555;
    color: #888;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: bold;
    transition: all 0.2s ease;
}

.size-pill:hover {
    border-color: #fff;
    color: #fff;
}

/* This is the class added by JavaScript when clicked */
.size-pill.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* --- Product Detail Page (PDP) Styles --- */
#pdp-container {
    padding: 2rem 4rem;
    animation: fadeIn 0.3s ease;
    display: none; /* Hidden by default */
}

.pdp-header {
    margin-bottom: 20px;
}

.back-btn {
    background: transparent;
    border: 1px solid #555;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
}

.back-btn:hover {
    background: #fff;
    color: #000;
}

.pdp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.pdp-image-col {
    position: relative;
}
.pdp-image-col img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.pdp-info-col h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.pdp-price {
    font-size: 1.8rem;
    color: #888;
    margin-bottom: 20px;
    font-weight: bold;
}

.pdp-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 30px;
}

.similar-products-section {
    margin-top: 60px;
}

/* Mobile Responsiveness for the Detail Page */
@media (max-width: 900px) {
    .pdp-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    #pdp-container {
        padding: 1rem 1.5rem;
    }
    .pdp-info-col h2 {
        font-size: 2rem;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Info Pages (About, Contact, Policies) --- */
.info-page {
    padding: 4rem 2rem;
    animation: fadeIn 0.3s ease;
    display: none;
    max-width: 800px;
    margin: 0 auto;
}
#about-container { text-align: center; }

.about-header h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 2rem;
}

.about-card {
    background: #111;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

/* --- Company links in sidebar --- */
.company-links {
    list-style: none;
}
.company-links li {
    padding: 0.5rem 0;
}
.company-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.company-links a:hover {
    color: #fff;
}

/* --- Inline links (policy, contact pages) --- */
.inline-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.inline-link:hover {
    color: #ccc;
}

/* --- Policy pages --- */
.policy-page .about-header h2 {
    font-size: 2.2rem;
}
.policy-content {
    text-align: left;
    max-width: 700px;
}
.policy-intro {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #ccc;
}
.policy-section {
    margin-bottom: 2rem;
}
.policy-section h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}
.policy-section p, .policy-section ul {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.policy-section ul {
    padding-left: 1.5rem;
}
.policy-section li {
    margin-bottom: 0.25rem;
}
.policy-note {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    font-size: 0.95rem;
    color: #888;
}
.contact-links p {
    margin: 1rem 0;
    font-size: 1.05rem;
}
.contact-list {
    list-style: none;
    padding-left: 0;
}
.contact-list li {
    margin: 0.75rem 0;
}

/* ======================================================
   PIXELATED FOOTBALL BACKGROUND PATTERN
   ====================================================== */
.main-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ctext x='30' y='35' text-anchor='middle' font-size='20' fill='white'%3E⚽%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 80px 80px;
}

.main-content > * {
    position: relative;
    z-index: 1;
}

/* ======================================================
   PRELOADER / LOADING SCREEN 
   Soccer ball rolls toward goalpost with progress bar
   ====================================================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.preloader.preloader-done {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    width: 90%;
    max-width: 480px;
}

/* The "field" area where ball rolls */
.preloader-field {
    position: relative;
    height: 120px;
    margin-bottom: 30px;
    overflow: hidden;
}

/* Ground line */
.preloader-ground {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1a3a1a, #2d5a2d, #1a3a1a, transparent);
}

/* Goalpost on the right */
.preloader-goalpost-right {
    position: absolute;
    right: 30px;
    bottom: 15px;
    width: 50px;
    height: 70px;
}

.goalpost-bar {
    position: absolute;
    top: 0;
    left: -4px;
    width: calc(100% + 8px);
    height: 4px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.goalpost-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.goalpost-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.goal-net {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,0.06) 0px,
        rgba(255,255,255,0.06) 1px,
        transparent 1px,
        transparent 8px
    ),
    repeating-linear-gradient(
        0deg,
        rgba(255,255,255,0.06) 0px,
        rgba(255,255,255,0.06) 1px,
        transparent 1px,
        transparent 8px
    );
}

/* Animated soccer ball */
.preloader-ball {
    position: absolute;
    bottom: 18px;
    left: 0;
    font-size: 2rem;
    animation: ballRoll 2.5s ease-in-out infinite;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
    image-rendering: pixelated;
}

@keyframes ballRoll {
    0% {
        left: 5%;
        transform: rotate(0deg);
    }
    70% {
        left: calc(100% - 100px);
        transform: rotate(720deg);
    }
    80% {
        left: calc(100% - 100px);
        transform: rotate(720deg) scale(1.1);
    }
    100% {
        left: 5%;
        transform: rotate(1080deg);
    }
}

/* Progress bar */
.preloader-progress-track {
    width: 100%;
    height: 4px;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid #222;
}

.preloader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4CAF50, #66ff66, #4CAF50);
    border-radius: 4px;
    transition: width 0.15s ease-out;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
}

/* Tagline text - pixelated retro font */
.preloader-tagline {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.55rem;
    color: #4CAF50;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
    animation: taglinePulse 2s ease-in-out infinite;
}

.preloader-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 8px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.1);
}

@keyframes taglinePulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Mobile adjustments for preloader */
@media (max-width: 900px) {
    .preloader-tagline {
        font-size: 0.45rem;
        letter-spacing: 1px;
    }
    .preloader-subtitle {
        font-size: 1.5rem;
        letter-spacing: 5px;
    }
    .preloader-ball {
        font-size: 1.6rem;
    }
    .preloader-field {
        height: 100px;
    }
    .preloader-goalpost-right {
        right: 20px;
        width: 40px;
        height: 55px;
    }
}