/* High-Fidelity V2 Design System: OTAKU CONBINI */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;700;900&family=Outfit:wght@400;700;900&display=swap');

:root {
    --neon-pink: #FF007A;
    --neon-purple: #7B00FF;
    --cream: #F2F0E4;
    --black: #0D0D0D;
    --grey-ink: #2A2A2A;
    --halftone: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23000' fill-opacity='0.1'/%3E%3C/svg%3E");
    --border-thick: 4px;
    --shadow-offset: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="black" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="4" height="12"/><rect x="4" y="4" width="4" height="4"/><rect x="8" y="8" width="4" height="4"/><rect x="4" y="0" width="8" height="4"/><path d="M0 0h24v24H0z" fill="none"/></svg>'), auto;
}

body {
    background-color: var(--cream);
    font-family: 'Space Grotesk', sans-serif;
    color: var(--black);
    overflow-x: hidden;
    position: relative;
}

/* Paper Grain Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 1000;
}

.browser-frame {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Navigation Section */
.top-bar {
    background: var(--black);
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.nav-header {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 20px;
    border-bottom: var(--border-thick) solid var(--black);
    background: var(--cream);
}

.nav-item {
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    position: relative;
    padding: 5px 20px;
}

.nav-item.active {
    background: var(--black);
    color: var(--neon-pink);
    border-radius: 20px;
}

/* Main Banner / Title */
.main-title-section {
    padding: 30px;
    position: relative;
}

.banner-block {
    background: var(--neon-pink);
    border: var(--border-thick) solid var(--black);
    padding: 30px;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--black);
    position: relative;
    overflow: hidden;
}

/* Section Headers V3 */
.section-header {
    grid-column: span 12;
    background: var(--black);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: var(--border-thick) solid var(--black);
    box-shadow: 6px 6px 0px var(--neon-pink);
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.section-header span {
    font-weight: 400;
    font-size: 0.8rem;
    opacity: 0.7;
    letter-spacing: 3px;
}

/* Section Headers V3 */
.section-header {
    grid-column: span 12;
    background: var(--black);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: var(--border-thick) solid var(--black);
    box-shadow: 6px 6px 0px var(--neon-pink);
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.section-header span {
    font-weight: 400;
    font-size: 0.8rem;
    opacity: 0.7;
    letter-spacing: 3px;
}

.card {
    background: white;
    border: var(--border-thick) solid var(--black);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--black);
    position: relative;
    display: flex;
    flex-direction: column;
    grid-column: span 4;
}

/* Carousel System V5 */
.carousel-wrapper {
    grid-column: span 12;
    position: relative;
    margin-bottom: 40px;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 30px 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-pink) transparent;
}

.carousel-track::-webkit-scrollbar {
    height: 8px;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: var(--neon-pink);
    border: 2px solid var(--black);
}

.carousel-track .card {
    flex: 0 0 380px;
    scroll-snap-align: start;
}

.carousel-track .card-large {
    flex: 0 0 800px;
}

.carousel-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 10px 10px;
}

.nav-btn {
    background: var(--black);
    color: white;
    border: 2px solid var(--black);
    padding: 5px 15px;
    font-weight: 900;
    font-size: 0.8rem;
    cursor: pointer;
    box-shadow: 4px 4px 0px var(--neon-pink);
}

.nav-btn:hover {
    background: var(--neon-pink);
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0px var(--black);
}

.card-large { grid-column: span 8; grid-row: span 2; }

.card-header-label {
    position: absolute;
    top: -15px; left: 20px;
    background: var(--neon-purple);
    color: white;
    padding: 5px 15px;
    font-weight: 900;
    font-size: 1.2rem;
    border: 3px solid var(--black);
    z-index: 10;
}

.illustration-area {
    height: 300px;
    background-image: var(--halftone);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Advanced Fill Patterns */
.bg-fill-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.diagonal-lines {
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 15px,
        rgba(0,0,0,0.03) 15px,
        rgba(0,0,0,0.03) 16px
    );
}

.tech-grid {
    background-image: linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}
/* Home Page V7 */
.hero-home {
    background: var(--neon-pink);
    padding: 60px 40px;
    border-bottom: var(--border-thick) solid var(--black);
    position: relative;
    overflow: hidden;
}

.hero-home h1 {
    font-size: 5rem;
    line-height: 0.9;
    margin: 0;
    color: var(--black);
    text-shadow: 4px 4px 0px white;
}

.info-section {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.info-box {
    border: var(--border-thick) solid var(--black);
    background: white;
    padding: 20px;
    box-shadow: 10px 10px 0px var(--black);
    position: relative;
}

.info-box h3 {
    background: var(--black);
    color: var(--neon-pink);
    display: inline-block;
    padding: 5px 15px;
    margin-bottom: 15px;
}

.info-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.info-grid span:first-child {
    color: var(--neon-purple);
}

.mini-catalog-header {
    padding: 20px 40px;
    background: var(--black);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-catalog-header a {
    color: var(--neon-pink);
    text-decoration: none;
    font-weight: 900;
    border-bottom: 2px solid var(--neon-pink);
}

.panel-overlay-text {
    position: absolute;
    font-weight: 900;
    font-size: 6rem;
    color: rgba(0,0,0,0.015);
    z-index: 0;
    white-space: nowrap;
    user-select: none;
}

/* Goku Specific Panel */
.goku-figure-illust {
    width: 90%;
    filter: drop-shadow(5px 5px 0px var(--black));
}

/* Pocky Specific Panel */
.pocky-illust {
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
    filter: drop-shadow(10px 10px 0px rgba(0,0,0,0.2));
}

/* Product Photos V4 */
.product-photo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(8px 8px 0px rgba(0,0,0,0.1));
    z-index: 5;
}

/* Detail UI Elements */
.corner-bracket {
    position: absolute;
    width: 15px; height: 15px;
    border: 3px solid var(--black);
}
.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.br { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.kanji-label {
    position: absolute;
    writing-mode: vertical-rl;
    font-size: 0.7rem;
    font-weight: 900;
    background: var(--black);
    color: white;
    padding: 5px 2px;
}

/* Footer Section */
footer {
    margin-top: auto;
    background: var(--black);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sss-logo {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    -webkit-text-stroke: 1px #555;
}

.search-wrap {
    background: #333;
    padding: 10px 20px;
    min-width: 400px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-wrap input {
    background: transparent;
    border: none;
    color: white;
    font-family: 'Space Grotesk';
    width: 100%;
    outline: none;
}

/* Animations */
@keyframes shiver {
    0% { transform: translate(0,0); }
    25% { transform: translate(1px, -1px); }
    50% { transform: translate(-1px, 1px); }
    75% { transform: translate(1px, 1px); }
    100% { transform: translate(0,0); }
}

.shiver-effect {
    animation: shiver 0.2s infinite;
}
