* {
    box-sizing: border-box;
}

:root {
    --bg-main: #0b1020;
    --bg-secondary: #11182d;
    --card-bg: rgba(21, 30, 56, 0.78);
    --card-border: rgba(110, 168, 255, 0.18);
    --text-main: #f5f7ff;
    --text-soft: #b7c2e0;
    --accent: #7c3aed;
    --accent-2: #22d3ee;
    --accent-3: #ec4899;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.22), transparent 28%),
        radial-gradient(circle at 80% 30%, rgba(34, 211, 238, 0.18), transparent 30%),
        radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.15), transparent 24%),
        linear-gradient(135deg, #070b16 0%, #0b1020 45%, #101935 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 42vw;
    height: 42vw;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.22;
    z-index: 0;
    pointer-events: none;
    animation: floatGlow 14s ease-in-out infinite;
}

body::before {
    top: -8vw;
    left: -10vw;
    background: #7c3aed;
}

body::after {
    right: -8vw;
    bottom: -10vw;
    background: #22d3ee;
    animation-delay: -6s;
}

@keyframes floatGlow {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(20px, 30px, 0) scale(1.08); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

a {
    text-decoration: none;
}

.site-header,
.secondary-navbar,
.page-content,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-header {
    padding: 18px 34px;
    min-height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: rgba(5, 8, 18, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    z-index: 10000;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.site-brand {
    cursor: pointer;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(124, 58, 237, 0.45);
}

.home-social-icons {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.home-social-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
        rgba(255,255,255,0.03);
    color: #f8fafc;
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 0 0 rgba(0,0,0,0);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.home-social-icon svg {
    width: 17px;
    height: 17px;
    display: block;
    fill: currentColor;
}

.home-social-icon:hover {
    transform: translateY(-2px);
    border-color: rgba(192,132,252,0.85);
    box-shadow:
        0 0 16px rgba(168,85,247,0.22),
        0 0 28px rgba(168,85,247,0.12),
        inset 0 1px 0 rgba(255,255,255,0.12);
}

.home-social-icon.instagram:hover {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.home-social-icon.tiktok:hover {
    background: linear-gradient(135deg, #000000, #111827);
}

.home-social-icon.facebook:hover {
    background: linear-gradient(135deg, #1877f2, #0b5ed7);
}

.home-social-icon.discord:hover {
    background: linear-gradient(135deg, #5865f2, #404eed);
}

.site-user {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.site-user a,
.site-user span {
    font-size: 14px;
}

.admin-link {
    color: #86efac;
    font-weight: 700;
}

.logout-link {
    color: #fda4af;
    font-weight: 700;
}

.login-link {
    color: #ffffff;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.login-link:hover {
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
}

.divider {
    color: rgba(255, 255, 255, 0.4);
}

.username {
    color: var(--text-soft);
}

.home-auth-login-button,
.home-auth-logout-button,
.home-auth-user-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.home-auth-login-button {
    gap: 9px;
    padding: 9px 22px;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #ffffff;
    border: 1px solid rgba(192,132,252,0.55);
    box-shadow:
        0 0 18px rgba(124,58,237,0.35),
        inset 0 1px 0 rgba(255,255,255,0.10);
}

.home-auth-login-button:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow:
        0 0 22px rgba(124,58,237,0.52),
        0 0 34px rgba(168,85,247,0.22),
        inset 0 1px 0 rgba(255,255,255,0.14);
}

.home-auth-user-pill {
    gap: 8px;
    padding: 8px 15px;
    color: #f8fafc;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.home-auth-user-pill:hover {
    color: #ffffff;
    border-color: rgba(192,132,252,0.42);
    box-shadow:
        0 0 16px rgba(168,85,247,0.12),
        inset 0 1px 0 rgba(255,255,255,0.08);
    transform: translateY(-1px);
}

.home-auth-avatar-dot {
    width: 23px;
    height: 23px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6, #5b21b6);
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    box-shadow: 0 0 12px rgba(124,58,237,0.36);
}

.home-auth-logout-button {
    gap: 8px;
    padding: 8px 18px;
    color: #ff6b8a;
    background: rgba(255, 65, 105, 0.06);
    border: 1px solid rgba(255, 80, 120, 0.42);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.home-auth-logout-button:hover {
    color: #ff8aa2;
    background: rgba(255, 65, 105, 0.11);
    border-color: rgba(255, 100, 135, 0.75);
    box-shadow:
        0 0 18px rgba(255, 65, 105, 0.20),
        inset 0 1px 0 rgba(255,255,255,0.06);
    transform: translateY(-1px);
}

.home-auth-icon {
    font-size: 15px;
    line-height: 1;
}

.home-auth-divider {
    color: rgba(255,255,255,0.34);
    font-weight: 600;
}

.home-top-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 0;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 10050;
}

.home-top-logo::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 160px;
    background: radial-gradient(circle, rgba(168,85,247,0.32) 0%, rgba(59,130,246,0.16) 45%, transparent 75%);
    filter: blur(30px);
    z-index: 0;
    pointer-events: none;
}

.main-logo {
    width: 430px;
    max-width: 39vw;
    display: block;
    position: absolute;
    left: 50%;
    top: 8px;
    z-index: 10060;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.secondary-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 34px;
    min-height: 76px;
    background: rgba(20, 45, 92, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(125, 180, 255, 0.16);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
}

.secondary-navbar-left,
.secondary-navbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-categories-menu {
    position: relative;
    z-index: 10001;
}

.home-categories-button {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    color: #dbe4ff;
    font-weight: 600;
    cursor: pointer;
}

.home-categories-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 200px;
    background: rgba(13,18,38,0.98);
    border-radius: 12px;
    padding: 10px;
    display: none;
    z-index: 10002;
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.home-categories-menu.open .home-categories-dropdown {
    display: block;
}

.home-categories-dropdown a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}

.home-categories-dropdown a:hover {
    background: rgba(168,85,247,0.2);
}

.home-merch-nav-link,
.home-team-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    min-height: 39px;
    border-radius: 999px;
    border: 1px solid rgba(168,85,247,0.70);
    background: rgba(255,255,255,0.03);
    color: #f8fafc;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 0 0 rgba(0,0,0,0);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.home-merch-nav-link:hover,
.home-team-nav-link:hover {
    color: #ffffff;
    border-color: rgba(192,132,252,0.95);
    box-shadow:
        0 0 16px rgba(168,85,247,0.18),
        0 0 28px rgba(168,85,247,0.10);
    transform: translateY(-1px);
}

.secondary-navbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 999px;
    color: #dbe4ff;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.secondary-navbar-link:hover {
    color: #ffffff;
    border-color: rgba(192, 132, 252, 0.55);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.13);
    transform: translateY(-1px);
}

.secondary-cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 16px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.88), rgba(91, 33, 182, 0.88));
    border: 1px solid rgba(192, 132, 252, 0.58);
    box-shadow:
        0 0 18px rgba(124, 58, 237, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.secondary-cart-link:hover {
    transform: translateY(-1px);
    border-color: rgba(216, 180, 254, 0.82);
    box-shadow:
        0 0 22px rgba(124, 58, 237, 0.38),
        0 0 34px rgba(168, 85, 247, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.secondary-cart-icon {
    font-size: 16px;
    line-height: 1;
}

.page-content {
    padding: 92px 34px 72px;
    flex: 1;
}

.hero-section {
    max-width: 1180px;
    margin: 0 auto 56px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: stretch;
}

.hero-copy {
    padding: 34px 0 12px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-soft);
    font-size: 13px;
    letter-spacing: 0.3px;
}

.hero-copy h1 {
    margin: 0 0 18px;
    max-width: 760px;
    font-size: 56px;
    line-height: 1.02;
    letter-spacing: -1.8px;
}

.hero-copy p {
    margin: 0;
    max-width: 720px;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), #5b21b6);
    box-shadow: 0 10px 28px rgba(124, 58, 237, 0.3);
}

.secondary-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-panel {
    position: relative;
    min-height: 360px;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
        rgba(11, 16, 32, 0.75);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.8;
    animation: pulseOrb 7s ease-in-out infinite;
}

.hero-orb-one {
    top: 28px;
    right: 34px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.9), rgba(124, 58, 237, 0.1));
}

.hero-orb-two {
    bottom: 80px;
    left: 26px;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.9), rgba(34, 211, 238, 0.1));
    animation-delay: -2s;
}

@keyframes pulseOrb {
    0% { transform: scale(1) translateY(0); opacity: 0.75; }
    50% { transform: scale(1.08) translateY(-8px); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 0.75; }
}

.hero-panel-card {
    position: relative;
    z-index: 1;
    padding: 18px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
}

.hero-panel-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 22px;
}

.hero-panel-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.small-card strong {
    margin-bottom: 0;
    font-size: 18px;
}

.panel-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #d8e2ff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-section {
    max-width: 1180px;
    margin: 0 auto;
}

.category-section h2 {
    margin: 0 0 12px;
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -1px;
}

.category-section p {
    margin: 0 0 22px;
    max-width: 700px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.6;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 16px;
    max-width: 760px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 360px);
    gap: 30px;
    justify-content: center;
    margin-top: 48px;
}

.category-card {
    position: relative;
    overflow: hidden;
    width: 360px;
    min-height: 152px;
    padding: 24px 28px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(6, 10, 24, 0.97), rgba(4, 8, 20, 0.97));
    border: 2px solid rgba(255,255,255,0.16);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    cursor: pointer;
    will-change: transform, box-shadow;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    pointer-events: none;
    opacity: 1;
}

.category-card::after {
    content: none;
}

.category-card:hover {
    transform: translateY(-4px);
}

.category-card img {
    object-fit: contain;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    display: block;
    filter: none;
}

.category-card span {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #f8fafc;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.28);
    border-bottom: 3px solid transparent;
    padding-bottom: 6px;
}

.pokemon-card {
    border-color: rgba(255, 222, 71, 0.88);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.34),
        0 0 20px rgba(255, 222, 71, 0.14);
}

.pokemon-card::before {
    background:
        radial-gradient(circle at 34% 50%, rgba(255, 214, 10, 0.34), transparent 0 23%),
        linear-gradient(90deg, rgba(255,214,10,0.08) 0%, rgba(255,214,10,0.03) 42%, rgba(0,0,0,0) 72%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 214, 10, 0.18),
        0 0 14px rgba(255, 214, 10, 0.14);
}

.pokemon-card span {
    border-bottom-color: rgba(255, 214, 10, 0.95);
}

.pokemon-card:hover {
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.38),
        0 0 26px rgba(255, 214, 10, 0.22);
}

.yugioh-card {
    border-color: rgba(217, 70, 239, 0.88);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.34),
        0 0 20px rgba(217, 70, 239, 0.14);
}

.yugioh-card::before {
    background:
        radial-gradient(circle at 36% 50%, rgba(236, 72, 153, 0.26), transparent 0 22%),
        linear-gradient(90deg, rgba(168,85,247,0.10) 0%, rgba(236,72,153,0.04) 45%, rgba(0,0,0,0) 75%);
    box-shadow:
        inset 0 0 0 1px rgba(217, 70, 239, 0.16),
        0 0 14px rgba(217, 70, 239, 0.14);
}

.yugioh-card span {
    border-bottom-color: rgba(217, 70, 239, 0.95);
}

.yugioh-card:hover {
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.38),
        0 0 26px rgba(217, 70, 239, 0.22);
}

.onepiece-card {
    border-color: rgba(0, 204, 255, 0.88);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.34),
        0 0 20px rgba(0, 204, 255, 0.14);
}

.onepiece-card::before {
    background:
        radial-gradient(circle at 34% 50%, rgba(0, 191, 255, 0.24), transparent 0 22%),
        linear-gradient(90deg, rgba(0,191,255,0.10) 0%, rgba(0,191,255,0.04) 42%, rgba(0,0,0,0) 74%);
    box-shadow:
        inset 0 0 0 1px rgba(0, 191, 255, 0.16),
        0 0 14px rgba(0, 191, 255, 0.14);
}

.onepiece-card span {
    border-bottom-color: rgba(0, 204, 255, 0.95);
}

.onepiece-card:hover {
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.38),
        0 0 26px rgba(0, 204, 255, 0.22);
}

.sports-card {
    border-color: rgba(255, 110, 46, 0.88);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.34),
        0 0 20px rgba(255, 110, 46, 0.14);
}

.sports-card::before {
    background:
        radial-gradient(circle at 38% 50%, rgba(255, 91, 46, 0.28), transparent 0 22%),
        linear-gradient(90deg, rgba(255,91,46,0.10) 0%, rgba(255,91,46,0.04) 45%, rgba(0,0,0,0) 75%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 91, 46, 0.16),
        0 0 14px rgba(255, 91, 46, 0.14);
}

.sports-card span {
    border-bottom-color: rgba(255, 110, 46, 0.95);
}

.sports-card:hover {
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.38),
        0 0 26px rgba(255, 110, 46, 0.22);
}

.pokemon-card img {
    width: 122px;
    height: 76px;
}

.yugioh-card img {
    width: 132px;
    height: 74px;
}

.onepiece-card img {
    width: 136px;
    height: 78px;
}

.sports-card img {
    width: 112px;
    height: 92px;
}

.site-footer {
    margin-top: auto;
    padding: 18px 34px;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(5, 8, 18, 0.72);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
    color: var(--text-soft);
    font-size: 13px;
}

.site-footer-left,
.site-footer-right {
    white-space: nowrap;
    color: var(--text-soft);
    font-weight: 600;
}

.site-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.site-footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 999px;
    color: #dbe4ff;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.site-footer-links a:hover {
    color: #ffffff;
    border-color: rgba(192, 132, 252, 0.55);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.13);
    transform: translateY(-1px);
}

@media (max-width: 980px) {
    .hero-section {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 46px;
    }
}

@media (max-width: 720px) {
    .site-header {
        padding: 16px 18px;
        min-height: auto;
        align-items: flex-start;
        flex-direction: column;
    }

    .secondary-navbar {
        padding: 16px 18px;
        min-height: auto;
        align-items: stretch;
        flex-direction: column;
    }

    .secondary-navbar-left,
    .secondary-navbar-right {
        width: 100%;
    }

    .secondary-navbar-left {
        flex-wrap: wrap;
    }

    .secondary-navbar-right {
        justify-content: flex-start;
    }

    .page-content {
        padding: 72px 18px 56px;
    }

    .site-footer {
        padding: 16px 18px;
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer-links {
        justify-content: flex-start;
    }

    .hero-copy {
        padding-top: 8px;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-panel {
        min-height: 300px;
    }

    .category-section h2 {
        font-size: 32px;
    }

    .category-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .brand-area {
        flex-wrap: wrap;
        gap: 12px;
    }

    .home-merch-nav-link,
    .home-team-nav-link {
        padding: 8px 18px;
        font-size: 14px;
    }

    .home-auth-login-button,
    .home-auth-logout-button,
    .home-auth-user-pill {
        min-height: 37px;
        font-size: 14px;
    }

    .category-grid {
        grid-template-columns: 1fr;
        justify-content: stretch;
        gap: 20px;
    }

    .category-card {
        width: 100%;
        min-height: 124px;
        padding: 20px 22px;
        border-radius: 24px;
        gap: 18px;
    }

    .category-card::before {
        border-radius: 22px;
    }

    .category-card span {
        font-size: 22px;
        padding-bottom: 5px;
        border-bottom-width: 2px;
    }

    .pokemon-card img,
    .yugioh-card img,
    .onepiece-card img {
        width: 96px;
        height: 62px;
    }

    .sports-card img {
        width: 82px;
        height: 66px;
    }
}

@media (max-width: 640px) {
    .brand-area {
        gap: 10px;
    }

    .home-categories-button {
        padding: 7px 12px;
        font-size: 13px;
    }

    .home-categories-dropdown {
        min-width: 180px;
    }

    .main-logo {
        width: 250px;
        max-width: 68vw;
    }

    .home-merch-nav-link,
    .home-team-nav-link {
        font-size: 13px;
        padding: 7px 16px;
    }

    .home-auth-login-button {
        font-size: 13px;
        padding: 8px 17px;
    }

    .home-auth-logout-button,
    .home-auth-user-pill {
        font-size: 13px;
        padding: 7px 14px;
    }

    .home-auth-avatar-dot {
        width: 21px;
        height: 21px;
        font-size: 12px;
    }
}

/* ===== MOBILE OPTIMIZATION PASS - MOBILE ONLY ===== */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    .site-header {
        padding: 14px 14px;
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .brand-area {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .site-brand {
        font-size: 22px;
        line-height: 1;
    }

    .home-social-icons {
        gap: 7px;
        flex-shrink: 0;
    }

    .home-social-icon {
        width: 38px;
        height: 38px;
    }

    .home-social-icon svg {
        width: 18px;
        height: 18px;
    }

    .site-user {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .admin-link,
    .home-auth-login-button,
    .home-auth-logout-button,
    .home-auth-user-pill {
        min-height: 42px;
        font-size: 13px;
    }

    .home-auth-divider {
        display: none;
    }

    .home-top-logo {
        height: auto;
        padding: 16px 0 10px;
        z-index: 5;
    }

    .home-top-logo::before {
        width: 250px;
        height: 110px;
        opacity: 0.75;
    }

    .main-logo {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: min(270px, 72vw);
        max-width: 72vw;
    }

    .secondary-navbar {
        padding: 13px 14px 16px;
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .secondary-navbar-left,
    .secondary-navbar-right {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-categories-menu,
    .home-categories-button,
    .home-merch-nav-link,
    .home-team-nav-link,
    .secondary-cart-link {
        width: 100%;
    }

    .home-categories-button,
    .home-merch-nav-link,
    .home-team-nav-link,
    .secondary-cart-link {
        min-height: 46px;
        padding: 12px 16px;
        font-size: 14px;
        font-weight: 900;
    }

    .home-categories-dropdown {
        position: static;
        width: 100%;
        margin-top: 10px;
        min-width: 100%;
    }

    .home-categories-dropdown a {
        min-height: 42px;
        display: flex;
        align-items: center;
        font-size: 14px;
    }

    .page-content {
        padding: 32px 16px 52px;
    }

    .hero-section {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .hero-copy {
        padding: 12px 0 0;
        text-align: center;
    }

    .hero-copy h1 {
        font-size: clamp(34px, 10vw, 44px);
        line-height: 1.08;
        letter-spacing: -1px;
    }

    .hero-copy p {
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-button {
        width: 100%;
        min-height: 50px;
    }

    .hero-panel {
        min-height: 280px;
        border-radius: 24px;
        padding: 18px;
    }

    .category-section h2 {
        text-align: center;
        font-size: 32px;
    }

    .category-section p {
        text-align: center;
        font-size: 15px;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 30px;
    }

    .category-card {
        width: 100%;
        min-height: 132px;
        padding: 20px;
        border-radius: 24px;
    }

    .category-card span {
        font-size: 22px;
    }

    .site-footer {
        text-align: center;
        flex-direction: column;
        gap: 14px;
        padding: 22px 16px;
    }

    .site-footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .site-footer-links a {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .cookie-banner {
        bottom: 12px;
        width: calc(100vw - 24px);
        padding: 16px;
        border-radius: 18px;
    }

    .cookie-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cookie-btn {
        min-height: 44px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .site-user {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-link,
    .home-auth-login-button,
    .home-auth-logout-button,
    .home-auth-user-pill {
        width: 100%;
    }

    .home-social-icons {
        max-width: 170px;
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

/* Header selected user avatar */
.home-auth-avatar-img {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    object-fit: cover;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 12px rgba(124,58,237,0.28);
}

/* Header selected user avatar - direct partial */
.home-auth-avatar-img {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    object-fit: cover;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 12px rgba(124,58,237,0.28);
    flex-shrink: 0;
}
