* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #0b1120;
    color: #e5e7eb;
    min-height: 100vh;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

/* Header */

header {
    background: #111827;
    border-bottom: 1px solid #263244;
    padding: 18px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
}

.nav-links a:hover {
    color: #ffffff;
}

/* Hero */

.hero {
    text-align: center;
    padding: 70px 20px 50px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    color: #94a3b8;
    font-size: 18px;
}

/* Sections */

.section {
    padding: 30px 0;
}

.section-title {
    font-size: 26px;
    margin-bottom: 20px;
}

/* Categories */

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

.category {
    background: #172033;
    color: #e5e7eb;
    padding: 11px 18px;
    border: 1px solid #334155;
    border-radius: 10px;
    cursor: pointer;
}

/* Products */

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: #111827;
    border: 1px solid #263244;
    border-radius: 15px;
    padding: 22px;
}

.product-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.category-name {
    color: #60a5fa;
    font-size: 14px;
    margin-bottom: 15px;
}

.description {
    color: #94a3b8;
    min-height: 45px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.product-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.price {
    font-size: 22px;
    font-weight: bold;
    color: #22c55e;
}

.stock {
    color: #94a3b8;
}

.buy-btn {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 9px;
    padding: 12px;
    background: #2563eb;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.buy-btn:hover {
    background: #1d4ed8;
}

.buy-btn:disabled {
    background: #475569;
    cursor: not-allowed;
}

/* Mobile */

@media (max-width: 600px) {
    .hero {
        padding: 45px 10px 30px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .nav-links {
        display: none;
    }
}
/* =========================
   Login / Signup
========================= */

.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
    background: #0b1120;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    background: #111827;
    border: 1px solid #263244;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.auth-logo {
    display: block;
    text-align: center;
    color: #60a5fa;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

.auth-card h1 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 8px;
    color: #ffffff;
}

.auth-subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 28px;
}

.auth-card label {
    display: block;
    margin: 16px 0 8px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
}

.auth-card input {
    width: 100%;
    padding: 13px 14px;
    border-radius: 9px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #ffffff;
    outline: none;
    font-size: 15px;
}

.auth-card input:focus {
    border-color: #3b82f6;
}

.captcha-box {
    background: #172033;
    border: 1px dashed #475569;
    border-radius: 9px;
    padding: 14px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.auth-btn {
    width: 100%;
    margin-top: 22px;
    padding: 13px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.auth-btn:hover {
    background: #1d4ed8;
}

.auth-bottom {
    text-align: center;
    margin-top: 22px;
    color: #94a3b8;
    font-size: 14px;
}

.auth-bottom a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
}

.alert {
    padding: 12px;
    margin-bottom: 18px;
    border-radius: 8px;
    font-size: 14px;
}

.alert.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.alert.success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid #22c55e;
    color: #86efac;
}
