:root {
    --bg1: #001220;
    --bg2: #05273a;
    --accent: #00d1ff;
    --accent-2: #6a7cff;
    --glass: rgba(255, 255, 255, 0.06);
    --card: rgba(255, 255, 255, 0.03);
    --muted: rgba(255, 255, 255, 0.65);
    --radius: 12px;
    --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }

body {
    background: radial-gradient(1200px 600px at 10% 10%, rgba(58,120,255,0.08), transparent 8%),
                radial-gradient(800px 500px at 90% 90%, rgba(0,209,255,0.03), transparent 6%),
                linear-gradient(180deg, var(--bg1), var(--bg2));
    color: #e9f6ff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    justify-content: center;
    padding: 24px;
    min-height: 100vh;
}

.page { width: 100%; max-width: var(--maxw); position: relative; }

/* ===== Top Nav ===== */
nav.topnav {
    position: sticky; top: 16px; z-index: 999;
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; gap: 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 8px 30px rgba(3,10,22,0.6);
    backdrop-filter: blur(6px);
    margin-bottom: 18px;
}

.nav-left { display: flex; align-items: center; gap: 12px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo .logo-small { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg,var(--accent),var(--accent-2)); }
.nav-title { font-weight: 700; }
.nav-menu { display: flex; gap: 12px; align-items: center; }
.nav-menu a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 600; }
.nav-menu a:hover { color: #fff; background: rgba(255,255,255,0.02); }
.hamburger { display: none; background: transparent; border: 0; color: var(--muted); font-size: 20px; cursor: pointer; }

@media (max-width:880px) {
    .nav-menu { display: none; position: absolute; top: 60px; right: 16px; flex-direction: column; background: rgba(2,15,30,0.95); padding: 12px; border-radius: 12px; gap: 10px; width: 200px; }
    .hamburger { display: block; }
}

/* ===== Container ===== */
.container {
    width: 100%; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-radius: 20px; padding: clamp(18px,3.2vw,36px);
    box-shadow: 0 10px 40px rgba(3,10,22,0.6); position: relative; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.04);
}

/* ===== Brand / Header ===== */
#staticHeader {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}

#staticHeader .logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,var(--accent),var(--accent-2));
    transform: rotate(-6deg);
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo { 0%{transform:translateY(0) rotate(-6deg);} 50%{transform:translateY(-8px) rotate(-2deg);} 100%{transform:translateY(0) rotate(-6deg);} }

#staticHeader h1 { font-size: 20px; margin:0; line-height:1; }
#staticHeader p { margin:0; font-size:12px; color:var(--muted); }

/* ===== Hero ===== */
.hero { display: grid; grid-template-columns: 1fr 400px; gap: 20px; align-items: start; }
@media (max-width:900px){ .hero { grid-template-columns: 1fr; } }

.left h2 {
    font-size: clamp(26px,3.6vw,40px); margin: 6px 0 8px 0; line-height:1.02;
    letter-spacing: -0.02em; background: linear-gradient(90deg,#ffffff,rgba(170,220,255,0.7));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline { color: var(--muted); margin-bottom:12px; font-size:15px; max-width:70ch; }

.coming {
    display: inline-flex; align-items: center; gap:10px; padding:10px 16px; border-radius:999px;
    background: linear-gradient(90deg, rgba(0,209,255,0.06), rgba(106,124,255,0.04));
    border: 1px solid rgba(0,209,255,0.08); font-weight:600; color: var(--accent); margin-bottom:10px;
}

.open-note { display: flex; align-items: center; gap: 12px; margin-top:8px; }
.pulse { width: 12px; height: 12px; border-radius:50%; background: linear-gradient(90deg,var(--accent),var(--accent-2)); box-shadow:0 0 18px rgba(0,209,255,0.35); animation: pulse 1.8s infinite; }
.open-text { font-weight:700; font-size:18px; }
.muted { color: var(--muted); }

/* ===== Socials ===== */
.socials { display:flex; gap:12px; margin-top:14px; flex-wrap: wrap; justify-content: center; }
.socials a {
    display:inline-flex; align-items:center; justify-content:center;
    width:120px; height:120px; border-radius:12px; background:var(--card); border:1px solid rgba(255,255,255,0.03); transition: transform 0.3s, background 0.3s;
}
.socials a img { width:50px; height:50px; }
.socials a:hover { transform: translateY(-6px); background: linear-gradient(135deg,var(--accent),var(--accent-2)); }

/* ===== Launch Card ===== */
.launch-card {
    display:flex; flex-direction:column; gap:12px; margin-top:-40px;
    transition: transform 0.3s ease, margin-top 0.3s ease;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    padding:16px; border-radius:14px; border:1px solid rgba(255,255,255,0.03);
    box-shadow:0 8px 30px rgba(6,12,20,0.55); position: relative;
}
.launch-card:hover { transform: translateY(-10px); }
.launch-card .launch-status { display:inline-block; padding:5px 10px; border-radius:999px; background: linear-gradient(90deg,#00d1ff,#6a7cff); color:#001220; font-weight:700; font-size:12px; text-align:center; }
.launch-card video { border-radius:10px; width:100%; height:auto; }

@media (max-width:600px){ .launch-card { width: 100%; margin-top:0; } }

/* ===== Products ===== */
.products { margin-top:22px; }
.products-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:16px; margin-top:12px; }
@media (max-width:1100px){ .products-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:520px){ .products-grid { grid-template-columns:1fr; } }

.product { border-radius:14px; overflow:hidden; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border:1px solid rgba(255,255,255,0.03); display:flex; flex-direction:column; min-height:220px; }
.product img { width:100%; height:140px; object-fit:cover; display:block; }
.product-body { padding:12px; flex:1; display:flex; flex-direction:column; gap:8px; }
.product h4 { margin:0; }
.product .price { font-weight:800; }
.product .preorder { margin-top:auto; align-self:flex-end; background:linear-gradient(90deg,var(--accent),var(--accent-2)); border:none; padding:10px 12px; border-radius:10px; color:#001220; font-weight:800; cursor:pointer; transition: transform .2s; }
.product .preorder:hover { transform: scale(1.05); }

/* ===== Modal ===== */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display: none; place-items: center; z-index:2000; padding:18px; backdrop-filter: blur(8px); animation: fadeIn .3s ease forwards; }
.modal { width:100%; max-width:520px; background: rgba(2,15,30,0.97); border-radius:14px; padding:28px; border:1px solid rgba(255,255,255,0.06); box-shadow:0 25px 60px rgba(0,0,0,0.95); backdrop-filter: blur(3px); transform: translateY(-20px); opacity:0; animation: slideDown .35s forwards; display:flex; flex-direction:column; gap:16px; }
@keyframes fadeIn{0%{opacity:0;}100%{opacity:1;}}
@keyframes slideDown{0%{transform:translateY(-20px);opacity:0;}100%{transform:translateY(0);opacity:1;}}

.form-row { display:flex; gap:12px; flex-wrap:wrap; }
.form-row .field { flex:1 1 48%; display:flex; flex-direction:column; gap:6px; }
@media(max-width:520px){ .form-row .field{ flex:1 1 100%; } }

input, textarea {
    padding:12px; border-radius:10px; border:1px solid rgba(255,255,255,0.05); background:rgba(255,255,255,0.02); color:#e9f6ff; outline:none; transition: border 0.3s, box-shadow 0.3s;
}
input:focus, textarea:focus { border:1px solid var(--accent); box-shadow:0 0 6px rgba(0,209,255,0.3); }

textarea#custAddress { width:100%; min-height:100px; resize: vertical; }

.actions { display:flex; gap:8px; justify-content:flex-end; margin-top:12px; }
.btn { padding:10px 12px; border-radius:10px; border:none; font-weight:700; cursor:pointer; }
.btn.secondary { background:transparent; border:1px solid rgba(255,255,255,0.06); color:var(--muted); }
.btn.primary { background:linear-gradient(90deg,var(--accent),var(--accent-2)); color:#001220; }
.small-foot { margin-top:18px; color:var(--muted); font-size:13px; text-align:center; }

/* --- Single Product Page --- */
.single-product-container {
    display: flex;
    justify-content: center;
    padding: 32px 16px;
    flex-direction: column;
    align-items: center;
}

.single-product-card {
    display: flex;
    gap: 32px;
    max-width: 1100px;
    width: 100%;
    background: rgba(2, 15, 30, 0.95);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #e9f6ff;
    flex-wrap: wrap;
}

.product-image {
    flex: 1 1 45%;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.product-info {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.product-info h1 {
    font-size: clamp(24px, 3vw, 36px);
    margin: 0;
    background: linear-gradient(90deg, #ffffff, rgba(170, 220, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.product-info .price {
    font-weight: 800;
    font-size: 24px;
    color: var(--accent);
}

.product-info .description {
    color: #a9bed1;
    line-height: 1.6;
}

.product-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
}

.btn.view-details {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    border: 1px solid rgba(0, 209, 255, 0.3);
}

.btn.view-details:hover {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #001220;
    transform: translateY(-2px);
}

.btn.preorder {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #001220;
    border: none;
}

.btn.preorder:hover {
    transform: translateY(-2px);
}

/* --- Product Details Section --- */
.product-details {
    max-width: 1100px;
    width: 100%;
    background: rgba(2, 15, 30, 0.95);
    margin-top: 32px;
    border-radius: 16px;
    padding: 24px 32px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e3f3ff;
}

.product-details h2 {
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    font-size: 22px;
    background: linear-gradient(90deg, #ffffff, rgba(170, 220, 255, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Review Section --- */
.reviews {
    margin-top: 24px;
}

.review {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
}

.review:last-child {
    border-bottom: none;
}

.review strong {
    font-weight: 600;
    color: var(--accent);
}

.review p {
    color: #a9bed1;
    margin-top: 6px;
}

/* --- Comment Box --- */
.comment-box, form#reviewForm {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-box textarea, form#reviewForm textarea, form#reviewForm input[type="text"] {
    width: 100%;
    min-height: 100px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #e9f6ff;
    padding: 12px;
    resize: vertical;
}

.comment-box button, form#reviewForm button {
    align-self: flex-start;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #001220;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-box button:hover, form#reviewForm button:hover {
    transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .single-product-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .product-image,
    .product-info {
        flex: 1 1 100%;
    }

    .product-buttons {
        justify-content: center;
    }

    .product-details {
        padding: 20px;
    }
}


/* --- Toast Notification --- */
.single-product {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.product-card {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
    padding: 24px;
    gap: 16px;
}

.product-card img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.product-info h1 {
    margin: 12px 0 6px 0;
    font-size: 26px;
}

.product-info .price {
    font-weight: 800;
    margin-bottom: 12px;
}

.product-info p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.product-info .preorder {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    color: #001220;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s;
}

.product-info .preorder:hover {
    transform: scale(1.05);
}

/* --- Toast Notification --- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(50px);
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #001220;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 3000;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
 
 /* ===== Footer CSS ===== */
 .site-footer {
     background: rgba(2, 15, 30, 0.95);
     color: var(--muted);
     padding: 32px 20px;
     border-radius: 20px;
     max-width: var(--maxw);
     margin: 40px auto 20px auto;
     box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
     border: 1px solid rgba(255, 255, 255, 0.03);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     overflow: hidden;
     text-align: center;
     display: flex;
     flex-direction: column;
     align-items: center;
 }

 .site-footer:hover {
     transform: translateY(-6px);
     box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
 }

 .footer-content {
     display: flex;
     flex-direction: column;
     /* vertical stack */
     align-items: center;
     /* center horizontally */
     gap: 16px;
     width: 100%;
     max-width: 800px;
 }

 /* Footer Left: Logo + Brand */
 .footer-left {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 8px;
 }

 .footer-logo {
     width: 50px;
     height: 50px;
     border-radius: 12px;
     background: linear-gradient(135deg, var(--accent), var(--accent-2));
     display: grid;
     place-items: center;
     animation: floatLogo 4s ease-in-out infinite;
     transform: rotate(-6deg);
 }

 @keyframes floatLogo {
     0% {
         transform: translateY(0) rotate(-6deg);
     }

     50% {
         transform: translateY(-6px) rotate(-2deg);
     }

     100% {
         transform: translateY(0) rotate(-6deg);
     }
 }

 .footer-left h4 {
     margin: 0;
     font-size: 20px;
     font-weight: 700;
     background: linear-gradient(90deg, var(--accent), var(--accent-2));
     -webkit-background-clip: text;
     color: transparent;
 }

 .footer-left p {
     margin: 2px 0;
     font-size: 14px;
     color: var(--muted);
 }

 /* Footer Right: Contact + Socials */
 .footer-right {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 8px;
 }

 .footer-right p {
     margin: 2px 0;
     font-size: 14px;
     color: var(--muted);
 }

 .socials-footer {
     display: flex;
     gap: 12px;
     justify-content: center;
     margin-top: 10px;
 }

 .socials-footer a {
     width: 36px;
     height: 36px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     border-radius: 10px;
     background: var(--card);
     border: 1px solid rgba(255, 255, 255, 0.03);
     transition: transform 0.3s, background 0.3s;
 }

 .socials-footer a img {
     width: 20px;
     height: 20px;
 }

 .socials-footer a:hover {
     transform: translateY(-4px);
     background: linear-gradient(135deg, var(--accent), var(--accent-2));
 }

 /* Address Box */
 .footer-address-box {
     background: rgba(0, 209, 255, 0.05);
     border: 1px solid rgba(0, 209, 255, 0.2);
     border-radius: 12px;
     padding: 12px 20px;
     margin: 20px auto 10px auto;
     max-width: 700px;
     font-size: 14px;
     color: var(--accent);
     text-align: center;
     transition: transform 0.4s ease, box-shadow 0.4s ease;
 }

 .footer-address-box:hover {
     transform: translateY(-4px);
     box-shadow: 0 8px 20px rgba(0, 209, 255, 0.2);
 }

 /* Footer Bottom */
 .footer-bottom {
     margin-top: 12px;
     font-size: 13px;
     color: var(--muted);
     text-align: center;
     opacity: 0.8;
 }

 /* ===== Responsive Footer ===== */
 @media (max-width: 900px) {
     .footer-content {
         gap: 12px;
     }
 }

 @media (max-width: 500px) {
     .footer-logo {
         width: 40px;
         height: 40px;
     }

     .footer-left h4 {
         font-size: 18px;
     }

     .footer-left p,
     .footer-right p,
     .footer-address-box {
         font-size: 13px;
     }

     .socials-footer a {
         width: 32px;
         height: 32px;
     }

     .socials-footer a img {
         width: 16px;
         height: 16px;
     }
 }

 /* Contact card specific styling */
 .contact-card-wrapper {
     display: flex;
     justify-content: center;
     padding: 40px 20px;
 }

 .contact-card {
     background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
     padding: 28px 32px;
     border-radius: 16px;
     max-width: 500px;
     width: 100%;
     box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
     border: 1px solid rgba(255, 255, 255, 0.03);
     display: flex;
     flex-direction: column;
     gap: 16px;
 }

 .contact-card h2 {
     font-size: 26px;
     margin: 0;
     background: linear-gradient(90deg, #ffffff, rgba(170, 220, 255, 0.7));
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
 }

 .contact-card p {
     color: var(--muted);
     margin: 6px 0;
     font-size: 15px;
 }

 .contact-card button {
     align-self: center;
     margin-top: 10px;
 }

/* ==== Privacy STYLE ==== */
 .privacy-container {
     display: flex;
     justify-content: center;
     padding: 24px;
 }

 .privacy-card {
     max-width: 900px;
     width: 100%;
     background: rgba(2, 15, 30, 0.95);
     border-radius: 16px;
     padding: 32px;
     box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
     border: 1px solid rgba(255, 255, 255, 0.05);
     color: #e9f6ff;
 }

 .privacy-card h1,
 .privacy-card h2 {
     background: linear-gradient(90deg, #ffffff, rgba(170, 220, 255, 0.7));
     -webkit-background-clip: text;
     color: transparent;
 }

 .privacy-card p,
 .privacy-card li {
     color: var(--muted);
     line-height: 1.6;
 }

 .privacy-card ul {
     list-style-type: disc;
     padding-left: 20px;
 }

/* ==== terms  STYLE ==== */

.terms-container {
    display: flex;
    justify-content: center;
    padding: 24px;
}

.terms-card {
    max-width: 900px;
    width: 100%;
    background: rgba(2, 15, 30, 0.95);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #e9f6ff;
}

.terms-card h1,
.terms-card h2 {
    background: linear-gradient(90deg, #ffffff, rgba(170, 220, 255, 0.7));
    -webkit-background-clip: text;
    color: transparent;
}

.terms-card p,
.terms-card li {
    color: var(--muted);
    line-height: 1.6;
}

.terms-card ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* ==== 404 PAGE STYLE ==== */
.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px); 
    padding: 24px;
}

.error-card {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: var(--glass);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    max-width: 900px;
    width: 100%;
    text-align: left;
    animation: fadeIn 0.8s ease;
}

.error-left, .error-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.error-left h1 {
    font-size: clamp(60px, 12vw, 120px);
    font-weight: 800;
    margin: 0;
    background: linear-gradient(90deg, #ffffff, rgba(170,220,255,0.7));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-left h2 {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    margin: 8px 0 12px 0;
    color: #e9f6ff;
}

.error-left p {
    color: var(--muted);
    margin-bottom: 16px;
}

.error-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.error-actions .btn.primary {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #001220;
}

.error-actions .btn.secondary {
    border: 1px solid rgba(255,255,255,0.06);
    background: transparent;
    color: var(--muted);
}

.error-right {
    text-align: center;
    align-items: center;
}

.error-right .big-emoji {
    font-size: clamp(80px, 15vw, 150px);
    margin-bottom: 12px;
}

.error-right .small {
    font-size: 13px;
    color: var(--muted);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .error-card {
        flex-direction: column;
        padding: 30px 20px;
        gap: 24px;
        text-align: center;
    }
    .error-left, .error-right {
        text-align: center;
        align-items: center;
    }
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.product-card {
    background: rgba(2, 15, 30, 0.95);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    color: #e9f6ff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.product-card img {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
}

.product-info h3 {
    margin: 0 0 8px;
}

.price {
    font-weight: 700;
    color: #00d1ff;
    margin-bottom: 12px;
}

.product-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn {
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn.view-details {
    background: rgba(255,255,255,0.05);
    color: #00d1ff;
}

.btn.view-details:hover {
    background: linear-gradient(90deg,#00d1ff,#6a7cff);
    color: #001220;
}

.btn.preorder {
    background: linear-gradient(90deg,#00d1ff,#6a7cff);
    color: #001220;
}

/* --- Preorder Popup --- */
#preorderContainer {
    display: none;
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.preorder-popup {
    background: #001220;
    padding: 32px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    color: #e9f6ff;
    position: relative;
    animation: popupFade 0.3s ease-out;
}

.popup-content input, .popup-content button {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 8px;
    border: none;
}

.popup-content button {
    background: linear-gradient(90deg, #00d1ff, #6a7cff);
    color: #001220;
    font-weight: 700;
    cursor: pointer;
}

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

@keyframes popupFade {
    0% { transform: scale(0.8); opacity:0; }
    100% { transform: scale(1); opacity:1; }
}
