/* =====================================================
   1. GLOBAL / RESET
   ===================================================== */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, #1a0000, #000000 70%);
    color: white;
    overflow-x: hidden;
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  position: relative; /* 🔥 THIS FIXES IT */
  background: #111;
  color: #fff;
  padding: 25px 35px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  animation: fadeIn 0.3s ease;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 24px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
/* Utility Spacing */
.spacer-sm { margin-top: 150px; }
.spacer-md { margin-top: 300px; }
.spacer-lg { margin-top: 600px; }
.spacer-xsm { margin-top: 75px; }

.admin-button {
    display: none;
    font-size: 12px;
    padding: 4px 8px;
    margin-left: 10px;
    background: #111;
    color: #00ffff;
    border: 1px solid #00ffff;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.2s;
}

.admin-button:hover {
    background: #00ffff;
    color: black;
}
/* =====================================================
   2. LAYOUT STRUCTURE
   ===================================================== */
.contact-form-section {
    max-width: 700px;
    margin: auto;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #111;
    color: white;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0,255,255,0.4);
}

.contact-form button {
    margin-top: 10px;
}
.event-bar {
    width: 100%;
    text-align: center;
    padding: 10px;
    background: linear-gradient(90deg,#200000,#400000,#200000);
    border-bottom: 1px solid #ff0000;
    color: #ff4040;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
}

.event-text {
    text-shadow: 0 0 10px rgba(255,0,0,0.8);
}

#event-countdown {
    color: white;
}
.event-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.event-link:hover {
    color: white;
}
#random-products {
    display: flex;
    justify-content: center; /* centers the row */
    gap: 20px;
    flex-wrap: wrap;
}
.random-products {
    text-align: center;
}
.random-products h2 {
    color: #00ffff;
    font-size: 28px;
    text-align: center;
    margin-bottom: 25px;
}
.random-card {
    width: 220px;
    background: #111;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.random-card img {
    width: 100%;
    border-radius: 6px;
}

.random-card h3 {
    margin: 10px 0 5px;
}

.random-card p {
    margin-bottom: 10px;
}

.random-card .info-button {
    display: block;
    background: #00ffff;
    color: black;
    padding: 8px;
    border-radius: 4px;
    text-decoration: none;
}
.youtube {
    border: 1px solid #ff0000;
    color: #ff0000;
}

.youtube:hover {
    background: #ff0000;
    color: white;
    box-shadow: 0 0 10px #ff0000;
}

/* Instagram */
.instagram {
    border: 1px solid #e1306c;
    color: #e1306c;
}

.instagram:hover {
    background: #e1306c;
    color: white;
    box-shadow: 0 0 10px #e1306c;
}

/* TikTok */
.tiktok {
    border: 1px solid #ff0050;
    color: #ff0050;
}

.tiktok:hover {
    background: #ff0050;
    color: white;
    box-shadow: 0 0 10px #ff0050;
}

/* Discord */
.discord {
    border: 1px solid #5865F2;
    color: #5865F2;
}

.discord:hover {
    background: #5865F2;
    color: white;
    box-shadow: 0 0 10px #5865F2;
}
.social-bar {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 30px 0;
}

.social-btn {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.social-btn:hover {
    color: black;
    box-shadow: 0 0 10px #00ffff;
}

.slider {
    max-width: 500px;
    margin: 30px auto;
    text-align: center;
    position: relative;     /* 🔥 Important */
    overflow: hidden;       /* prevents flash */
}

.slide {
    display: none;
    width: 100%;
    border-radius: 12px;
}

.slide.active {
    display: block;
}

/* Move arrows below image */
.arrow-container {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.arrow-container button {
    background: rgba(0,0,0,0.6);
    border: 1px solid #00ffff;
    color: #00ffff;
    font-size: 16px;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.arrow-container button:hover {
    background: #00ffff;
    color: black;
}
.page-content {
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 200px;
    text-align: center;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px;
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 48px;
    letter-spacing: 4px;
    margin-bottom: 40px;

    color: #00ffff;

    text-shadow:
        0 0 10px rgba(0,150,255,0.8),
        0 0 25px rgba(0,150,255,0.9),
        0 0 50px rgba(0,150,255,0.6);
}
/* =====================================================
   3. NAVBAR
   ===================================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 75px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0,255,255,0.6));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #ccc;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: 0.3s ease;
}

.nav-links a.active {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0,255,255,0.9);
}

.nav-links a:hover {
    color: white;
    text-shadow: 0 0 8px rgba(0,255,255,0.7);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    transition: 0.4s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 120%;
}


/* Dropdown */

.dropdown { position: relative; }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #111;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    border-radius: 6px;
    overflow: hidden;
    top: 100%;
    left: 0;
    z-index: 1000;
}

.dropdown-content li { list-style: none; }

.dropdown-content a {
    display: block;
    padding: 12px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.dropdown-content a:hover {
    background-color: #1e1e1e;
}

.dropdown:hover .dropdown-content {
    display: block;
}



/* =====================================================
   4. HERO SECTIONS
   ===================================================== */

.hero-title {
    font-size: 3.5rem;
    color: #00ffff;
    text-shadow: 0 0 15px rgba(0,191,255,0.7);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    color: #cce6ff;
}

.category-hero,
.about-hero,
.contact-hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(to bottom, #0d0d0d, #111);
}
/* =====================================================
   5. PRODUCTS & SHOP
   ===================================================== */
.products {
    padding-top: 50px;
    max-width: 1200px; /* allow multiple columns */
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    width: 100%;
    max-width: 300px; 
    aspect-ratio: 1 / 1;   /* Makes it square */
    background: #1a1a1a;
    border-radius: 12px;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}
.info-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    background: #00ffff;
    color: black;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s ease;
}

.info-button:hover {
    background: #7fdfff;
}
.product-card {
    width: 100%;
    aspect-ratio: 1 / 1;   /* Makes it square */
    background: #1a1a1a;
    border-radius: 12px;
    padding: 12px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}


.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,255,255,0.2);
}

.product-card img {
    width: 100%;
    height: 60%;
    object-fit: cover;
    border-radius: 8px;
}
.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
#product-description {
    max-width: 1000px;
    margin: 20px auto;
    line-height: 1.6;
    color: #ccc;
    word-wrap: break-word;
    text-align: center;
    white-space: pre-wrap;
}
.product-card h3 { color: #00ffff; }
.product-card p { color: white; }

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 60px 10%;
    background-color: #0a0a0a;
}
.sold-out {
    position: absolute;
    top: 15px;
    right: -30px;
    background: red;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 12px;
    z-index: 2;
}

/* Category Cards */
.category-card {
    background: #141414;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: 0.3s ease;
    border: 1px solid #1f1f1f;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(127, 223, 255, 0.4);
    border: 1px solid #7fdfff;
}

.category-card h2 {
    margin-bottom: 15px;
    color: #7fdfff;
}
/* =====================================================
   6. BUTTONS (GLOBAL)
   ===================================================== */

button {
    background: linear-gradient(135deg, #00bfff, #0088cc);
    border: none;
    padding: 12px 24px;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,191,255,0.3);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,191,255,0.6);
}

button:active {
    transform: scale(0.97);
}

big-button.disabled {
    background-color: #999;   /* gray */
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}
.big-button {
    background: linear-gradient(135deg, #00bfff, #0088cc);
    border: none;
    margin-top: 10px;
    padding: 10px 25px;          /* bigger padding */
    font-size: 36px;             /* bigger text */
    letter-spacing: 2px;
    font-weight: 700;
    border-radius: 12px;         /* slightly more rounded */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(0,191,255,0.4);
}

.big-button:hover:not(:disabled) {
    transform: translateY(-2px);   /* same as small button */
    box-shadow: 0 6px 20px rgba(0,191,255,0.6); /* same hover effect as small */
}

.big-button:active:not(:disabled) {
    transform: scale(0.97);       /* same active effect */
}

big-button[disabled] {
    background: #444;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none; /* important */
}
/* =====================================================
   7. CART
   ===================================================== */

.cart-button {
    position: relative;
    padding: 8px 18px;
    border: 2px solid #00ffff;
    border-radius: 6px;
    color: #00ffff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 0 10px rgba(0,255,255,0.4);
}

.cart-button:hover {
    background: #00ffff;
    color: black;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: red;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 50%;
}

.cart-panel {
    position: fixed;
    right: 0;
    top: 0;
    width: 350px;
    height: 100%;
    background: #0a0a0a;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 2000;
    overflow-y: auto;
}

.cart-panel.active {
    transform: translateX(0);
}

.close-cart {
    position: absolute;
    top: 15px;
    right: 20px;

    background: none;
    border: none;

    font-size: 28px;
    line-height: 1;
    color: white;

    cursor: pointer;
    z-index: 10;
}
.checkout-btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;

    background: #111;
    color: white;
    border: 1px solid #333;

    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.checkout-btn:hover {
    background: #222;
    border-color: #00ffff;
}
/* =====================================================
   8. FOOTER
   ===================================================== */

footer {
    background: #050505;
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(255,0,0,0.2);
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    margin: 20px;
    min-width: 200px;
}

.footer-section h3 {
    color: #ff1a1a;
    margin-bottom: 15px;
}

.footer-section a {
    display: block;
    text-decoration: none;
    color: #aaa;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    color: #666;
    font-size: 14px;
}
* =====================================================
   9. MOBILE & RESPONSIVE FIXES
   ===================================================== */

/* Tablets */
@media (max-width: 900px) {

    .navbar-container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .section-title {
        font-size: 36px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Phones */
@media (max-width: 600px) {

    /* Keep navbar compact */
    .navbar-container {
        flex-direction: row; /* 🔥 FIX */
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        height: 45px; /* smaller logo */
    }

    /* Hide links (we’ll toggle them) */
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    /* Show when active */
    .nav-links.active {
        display: flex;
    }
}
@media (max-width: 768px) {
    .product-card {
        margin: 20px 0;
    }
}
