/* Bsz2-chan Profile Page Stylesheet */
:root {
    --bg-dark: #07070c;
    --bg-card: rgba(18, 18, 28, 0.65);
    --bg-card-hover: rgba(28, 28, 44, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(255, 117, 140, 0.3);
    
    --pink-accent: #ff758c;
    --purple-accent: #b15eff;
    --cyan-accent: #00c6ff;
    --gold-accent: #fbbf24;
    
    --grad-primary: linear-gradient(135deg, var(--pink-accent), var(--purple-accent), var(--cyan-accent));
    --grad-hair: linear-gradient(135deg, #ff758c 0%, #d8b4fe 50%, #38bdf8 100%);
    --grad-card: linear-gradient(135deg, rgba(255, 117, 140, 0.08), rgba(0, 198, 255, 0.08));
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Ambient Cyber Particle / Glow Background */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: 
        radial-gradient(circle at 20% 15%, rgba(255, 117, 140, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 80% 30%, rgba(0, 198, 255, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(177, 94, 255, 0.1) 0%, transparent 50%);
    filter: blur(40px);
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Navbar */
.navbar {
    position: sticky;
    top: 1rem;
    z-index: 100;
    margin-bottom: 2.5rem;
}

.nav-glass {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 15, 25, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 0.75rem 1.75rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(255, 117, 140, 0.1);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
}

.nav-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--pink-accent);
    box-shadow: 0 0 10px rgba(255, 117, 140, 0.4);
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    background: var(--grad-hair);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-gradient {
    background: var(--grad-primary);
    color: #fff;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 117, 140, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 198, 255, 0.4);
}

/* HERO SECTION */
.hero-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding-top: 1rem;
}

.hero-badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-main);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.badge-goat {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.4);
    color: #fde047;
}

.badge-vik {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
}

.badge-schonherz {
    background: rgba(244, 63, 94, 0.15);
    border-color: rgba(244, 63, 94, 0.4);
    color: #fda4af;
}

.hero-title-group h1 {
    font-family: var(--font-heading);
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.title-sprite-canvas {
    display: inline-block;
    vertical-align: middle;
    width: 44px;
    height: 66px;
    flex-shrink: 0;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 0 8px rgba(255, 117, 140, 0.5));
}

.hero-name-gradient {
    background: var(--grad-hair);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--cyan-accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Speech Bubble */
.hero-speech-bubble {
    position: relative;
    background: rgba(28, 28, 45, 0.85);
    border: 1.5px solid rgba(255, 117, 140, 0.35);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3),
                0 0 15px rgba(255, 117, 140, 0.15);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.hero-speech-bubble:hover {
    border-color: var(--pink-accent);
    box-shadow: 0 12px 30px rgba(255, 117, 140, 0.25);
}

.speech-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.speech-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pink-accent);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-next-quote {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s;
}

.btn-next-quote:hover {
    color: var(--cyan-accent);
}

.speech-text {
    font-size: 1.05rem;
    color: #e2e8f0;
    font-style: italic;
    line-height: 1.5;
}

/* Specs Grid */
.hero-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.85rem;
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.spec-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 198, 255, 0.3);
    transform: translateY(-2px);
}

.spec-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 117, 140, 0.12);
    color: var(--pink-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.spec-icon.cyan { background: rgba(0, 198, 255, 0.12); color: var(--cyan-accent); }
.spec-icon.purple { background: rgba(177, 94, 255, 0.12); color: var(--purple-accent); }
.spec-icon.gold { background: rgba(251, 191, 36, 0.12); color: var(--gold-accent); }

.spec-info .spec-title {
    font-size: 0.725rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.spec-info .spec-value {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--text-main);
}

/* HERO PORTRAIT CARD */
.portrait-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portrait-glow-ring {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 117, 140, 0.25) 0%, rgba(0, 198, 255, 0.2) 60%, transparent 75%);
    filter: blur(35px);
    animation: pulseRing 6s ease-in-out infinite alternate;
}

@keyframes pulseRing {
    0% { transform: scale(0.95); opacity: 0.7; }
    100% { transform: scale(1.1); opacity: 1; }
}

.portrait-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: rgba(20, 20, 35, 0.7);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 1.5rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(255, 117, 140, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.portrait-card:hover {
    box-shadow: 0 25px 60px rgba(0, 198, 255, 0.25),
                0 0 40px rgba(255, 117, 140, 0.3);
}

.portrait-img-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.portrait-img {
    max-width: 100%;
    max-height: 470px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: floatCharacter 5s ease-in-out infinite;
}

@keyframes floatCharacter {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Floating Badges over portrait */
.float-badge {
    position: absolute;
    background: rgba(15, 15, 25, 0.85);
    border: 1px solid var(--pink-accent);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0.85rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 10;
    pointer-events: none;
    animation: badgeFloat 4s ease-in-out infinite alternate;
}

.float-badge.left-top { top: 4%; left: -10px; animation-delay: 0s; border-color: var(--cyan-accent); }
.float-badge.right-top { top: 22%; right: -10px; animation-delay: 1s; border-color: var(--pink-accent); }
.float-badge.left-bottom { bottom: 20%; left: -10px; animation-delay: 2s; border-color: var(--purple-accent); }
.float-badge.right-bottom { bottom: 4%; right: -10px; animation-delay: 3s; border-color: var(--gold-accent); }

@keyframes badgeFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cyan-accent);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* BENTO BIO GRID */
.bento-section {
    margin-bottom: 5rem;
}

.bio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.bio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1.75rem;
    backdrop-filter: blur(12px);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.bio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bio-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 117, 140, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4),
                0 0 25px rgba(255, 117, 140, 0.1);
}

.bio-card:hover::before {
    opacity: 1;
}

.bio-card.span-2 {
    grid-column: span 2;
}

.card-header-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 117, 140, 0.15);
    color: var(--pink-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 117, 140, 0.2);
}

.card-header-icon.cyan { background: rgba(0, 198, 255, 0.15); color: var(--cyan-accent); border-color: rgba(0, 198, 255, 0.2); }
.card-header-icon.purple { background: rgba(177, 94, 255, 0.15); color: var(--purple-accent); border-color: rgba(177, 94, 255, 0.2); }
.card-header-icon.gold { background: rgba(251, 191, 36, 0.15); color: var(--gold-accent); border-color: rgba(251, 191, 36, 0.2); }

.card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.975rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.925rem;
    color: var(--text-main);
}

.feature-item i {
    color: var(--cyan-accent);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Music & Hobbies Pills */
.music-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.music-pill {
    padding: 0.35rem 0.8rem;
    border-radius: 10px;
    font-size: 0.825rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.music-pill.yes { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.music-pill.no { background: rgba(244, 63, 94, 0.15); color: #f87171; border: 1px solid rgba(244, 63, 94, 0.3); }
.music-pill.funny { background: rgba(251, 191, 36, 0.15); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }

/* MEMORY BOARD 2-COLUMN GRID SECTION */
.memory-board-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}

.memory-board-grid .photo-memory-container {
    margin: 0 auto;
    max-width: 100%;
}

/* Right Side: Faliújság (Bulletin / Cork Notice Board) */
.bulletin-board-card {
    background: var(--bg-card);
    background: linear-gradient(135deg, rgba(26, 22, 38, 0.92) 0%, rgba(16, 14, 26, 0.92) 100%);
    border: 1.5px solid rgba(0, 198, 255, 0.35);
    border-radius: 28px;
    padding: 1.75rem 1.5rem;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(0, 198, 255, 0.15);
}

.board-header {
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.board-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pin-header-icon {
    color: var(--pink-accent);
    width: 22px;
    height: 22px;
}

.board-title h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
}

.board-subtitle {
    font-size: 0.825rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.2rem;
}

/* Grid of Pinned Subpage Slips */
.bulletin-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    flex-grow: 1;
}

.pinned-item {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.85rem 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pinned-item:hover {
    background: rgba(255, 117, 140, 0.12);
    border-color: rgba(255, 117, 140, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4),
                0 0 15px rgba(255, 117, 140, 0.2);
}

.item-pin {
    position: absolute;
    top: -5px;
    right: 10px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.item-pin.red { background: #ff758c; box-shadow: 0 0 8px #ff758c; }
.item-pin.blue { background: #38bdf8; box-shadow: 0 0 8px #38bdf8; }
.item-pin.green { background: #34d399; box-shadow: 0 0 8px #34d399; }
.item-pin.yellow { background: #fbbf24; box-shadow: 0 0 8px #fbbf24; }
.item-pin.purple { background: #a855f7; box-shadow: 0 0 8px #a855f7; }

.item-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink-accent);
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.pinned-item:hover .item-icon {
    background: rgba(255, 117, 140, 0.25);
    color: #fff;
}

.item-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.item-text h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-text span {
    font-size: 0.725rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* MERCH COLLECTION SHOWCASE SECTION SLIDER */
.merch-board-card {
    background: var(--bg-card);
    background: linear-gradient(135deg, rgba(26, 22, 38, 0.92) 0%, rgba(16, 14, 26, 0.92) 100%);
    border: 1.5px solid rgba(255, 117, 140, 0.35);
    border-radius: 28px;
    padding: 1.75rem 1.5rem;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(255, 117, 140, 0.15);
}

.merch-slider-wrapper {
    position: relative;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.merch-slides-container {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 20px;
}

.merch-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.6s ease,
                visibility 0.6s ease;
}

.merch-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0%);
    z-index: 2;
}

.merch-slide.exit-left {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    z-index: 1;
}

.merch-card.single-card {
    height: 100%;
    padding: 1rem 1.25rem;
    justify-content: space-between;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.merch-card.single-card .merch-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 310px;
    height: auto;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    background: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
}

.merch-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 15, 25, 0.85);
    border: 1px solid rgba(255, 117, 140, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.merch-arrow:hover {
    background: rgba(255, 117, 140, 0.4);
    border-color: #ff758c;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 0 15px rgba(255, 117, 140, 0.5);
}

.merch-arrow.prev-btn { left: -10px; }
.merch-arrow.next-btn { right: -10px; }

.merch-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.85rem;
}

.merch-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.35s ease;
}

.merch-dot.active {
    width: 28px;
    border-radius: 9999px;
    background: var(--pink-accent);
    box-shadow: 0 0 12px var(--pink-accent);
}

.merch-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 1rem 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.merch-card:hover {
    background: #ffffff;
    border-color: rgba(255, 117, 140, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45),
                0 0 25px rgba(255, 117, 140, 0.3);
}

.merch-badge {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 0.725rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    letter-spacing: 0.3px;
    z-index: 2;
}

.merch-badge.pink { background: rgba(255, 117, 140, 0.2); color: #ff758c; border: 1px solid rgba(255, 117, 140, 0.4); }
.merch-badge.cyan { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }
.merch-badge.purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.4); }

.merch-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 18px;
    padding: 0;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    box-sizing: border-box;
}

.merch-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 18px;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease;
}

.merch-card:hover .merch-img {
    transform: scale(1.1) rotate(2deg);
}

.merch-info h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0.35rem;
    margin-bottom: 0.25rem;
    letter-spacing: 0.3px;
}

.merch-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.35;
    display: block;
}

/* MEMORY PHOTO 3D FLIP CARD SECTION (PHYSICAL PHOTO STYLING) */
.photo-memory-container {
    perspective: 1200px;
    width: 100%;
    max-width: 440px;
    margin: 3.5rem auto 1.5rem auto;
    cursor: pointer;
    user-select: none;
    transition: transform 0.4s ease;
}

.photo-memory-container:hover {
    transform: scale(1.03);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 520px;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    transform: rotate(-2.5deg);
}

.photo-memory-container:hover .flip-card-inner,
.photo-memory-container.flipped .flip-card-inner {
    transform: rotateY(180deg) rotate(0deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 4px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65),
                0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Authentic Physical Photo Front Side */
.flip-card-front {
    background: #fdfcf9;
    background: linear-gradient(150deg, #ffffff 0%, #f4efe6 100%);
    border: 1px solid #e2dacd;
    padding: 14px 14px 50px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.polaroid-tape {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 110px;
    height: 28px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px dashed rgba(180, 170, 155, 0.5);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
    z-index: 10;
    pointer-events: none;
}

.polaroid-tape.alt-tape {
    transform: translateX(-50%) rotate(2.5deg);
}

.photo-memory-container.alt-tilt .flip-card-inner {
    transform: rotate(2.2deg);
}

.photo-memory-container.alt-tilt:hover .flip-card-inner,
.photo-memory-container.alt-tilt.flipped .flip-card-inner {
    transform: rotateY(180deg) rotate(0deg);
}

.cat-doodles {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin: 0.25rem 0 1rem 0;
}

.hand-drawn-cat {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease;
}

.hand-drawn-cat:hover {
    transform: scale(1.1) rotate(-4deg);
}

.hand-drawn-cat.alt {
    transform: rotate(5deg);
}

.hand-drawn-cat.alt:hover {
    transform: scale(1.1) rotate(9deg);
}

.polaroid-frame {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.polaroid-img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    object-position: center;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 2px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0,0,0,0.15);
    filter: contrast(1.04) saturate(1.05);
}

.polaroid-caption {
    margin-top: auto;
    padding-top: 0.65rem;
    font-family: 'Caveat', cursive, sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #2b2b36;
    letter-spacing: 0.5px;
}

/* Authentic Physical Photo Back Side */
.flip-card-back {
    background: #f7f3eb;
    background: linear-gradient(135deg, #f7f3eb 0%, #eae3d5 100%);
    border: 1px solid #d8d0c2;
    transform: rotateY(180deg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.04),
                0 18px 45px rgba(0, 0, 0, 0.65);
}

.photo-stamp {
    position: absolute;
    top: 15px;
    right: 15px;
    border: 1.5px solid rgba(180, 160, 140, 0.45);
    color: rgba(150, 130, 110, 0.6);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    transform: rotate(4deg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.polaroid-back-frame {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.handwritten-note {
    font-family: 'Caveat', cursive, sans-serif;
    font-size: 1.95rem;
    line-height: 1.45;
    color: #1a1a2e;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    text-align: center;
}

.handwritten-signature {
    font-family: 'Caveat', cursive, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #e11d48;
    align-self: flex-end;
}

/* ANIME RADAR SKILL CHART SECTION */
.radar-section {
    margin-bottom: 5rem;
}

.radar-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

.radar-card {
    background: var(--bg-card);
    border: 1.5px solid rgba(255, 117, 140, 0.3);
    border-radius: 28px;
    padding: 2rem;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(255, 117, 140, 0.15);
}

.radar-svg {
    width: 100%;
    max-width: 440px;
    height: auto;
    overflow: visible;
}

.radar-sector {
    fill: transparent;
    cursor: pointer;
    pointer-events: all;
    transition: fill 0.3s ease;
}

.radar-sector:hover, .radar-sector.active {
    fill: rgba(255, 117, 140, 0.08);
}

.radar-polygon {
    fill: url(#radar-grad);
    stroke: var(--pink-accent);
    stroke-width: 3;
    filter: drop-shadow(0 0 12px rgba(255, 117, 140, 0.6));
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.radar-poly-area {
    fill: rgba(255, 117, 140, 0.25) !important;
    stroke: none !important;
    transition: all 0.4s ease;
}

.radar-poly-stroke {
    fill: none !important;
    stroke: var(--pink-accent) !important;
    stroke-width: 3 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px rgba(255, 117, 140, 0.7)) !important;
    transition: all 0.4s ease;
}

.radar-grid-ring {
    fill: rgba(255, 255, 255, 0.02) !important;
    stroke: rgba(255, 255, 255, 0.1) !important;
    stroke-width: 1.5 !important;
}

.radar-node {
    fill: #fff;
    stroke: var(--cyan-accent);
    stroke-width: 3;
    r: 6.5;
    cursor: pointer;
    filter: drop-shadow(0 0 8px var(--cyan-accent));
    transition: all 0.25s ease;
}

.radar-node:hover, .radar-node.active {
    r: 10;
    fill: var(--pink-accent);
    stroke: #fff;
    filter: drop-shadow(0 0 15px var(--pink-accent));
}

.radar-axis-hitarea {
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.radar-axis-hitarea:hover {
    opacity: 1;
}

.radar-grid-line {
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1.5;
}

.radar-axis-line {
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
}

.radar-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13.5px;
    fill: var(--text-main);
    cursor: pointer;
    transition: fill 0.2s ease, font-size 0.2s ease;
}

.radar-label:hover, .radar-label.active {
    fill: var(--pink-accent);
}

.radar-grade-tag {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 15px;
}

.radar-grade-tag.rank-a { fill: #ff758c; }
.radar-grade-tag.rank-b { fill: #38bdf8; }
.radar-grade-tag.rank-c { fill: #a855f7; }
.radar-grade-tag.rank-d { fill: #fbbf24; }
.radar-grade-tag.rank-e { fill: #ef4444; }

/* Right Showcase Container: bsz2-chan.png + Interactive Popover Card */
.radar-showcase-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 480px;
    background: var(--bg-card);
    border: 1.5px solid rgba(0, 198, 255, 0.3);
    border-radius: 28px;
    padding: 1.5rem;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(0, 198, 255, 0.15);
    overflow: hidden;
}

.radar-character-img {
    max-width: 100%;
    max-height: 440px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
    transition: transform 0.4s ease, filter 0.4s ease;
    margin-bottom: 2rem;
}

.radar-showcase-container:hover .radar-character-img {
    transform: scale(1.02);
    filter: drop-shadow(0 20px 35px rgba(255, 117, 140, 0.35));
}

/* Floating Glass Card on Hover */
.radar-detail-card {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    background: rgba(15, 15, 28, 0.92);
    border: 1.5px solid var(--pink-accent);
    border-radius: 22px;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65),
                0 0 25px rgba(255, 117, 140, 0.3);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
}

.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.detail-title-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.detail-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 117, 140, 0.18);
    color: var(--pink-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    border: 1px solid rgba(255, 117, 140, 0.3);
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.detail-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.rank-badge {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1.1rem;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.rank-badge.rank-a { background: rgba(255, 117, 140, 0.2); color: #ff758c; border: 1.5px solid #ff758c; }
.rank-badge.rank-b { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1.5px solid #38bdf8; }
.rank-badge.rank-c { background: rgba(168, 85, 247, 0.2); color: #a855f7; border: 1.5px solid #a855f7; }
.rank-badge.rank-d { background: rgba(251, 191, 36, 0.2); color: #fbbf24; border: 1.5px solid #fbbf24; }
.rank-badge.rank-e { background: rgba(239, 68, 68, 0.2); color: #ef4444; border: 1.5px solid #ef4444; }

/* QUOTE GENERATOR WIDGET */
.quote-widget {
    background: linear-gradient(135deg, rgba(255, 117, 140, 0.12), rgba(0, 198, 255, 0.12));
    border: 1.5px solid rgba(255, 117, 140, 0.3);
    border-radius: 28px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 5rem;
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.quote-widget-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.quote-output-box {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.quote-output-text {
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    max-width: 800px;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.btn-generate-quote {
    background: var(--grad-primary);
    color: #fff;
    border: none;
    padding: 0.9rem 2.2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 117, 140, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-generate-quote:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 35px rgba(0, 198, 255, 0.5);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-badge-group, .speech-header {
        justify-content: center;
    }
    
    .bio-grid {
        grid-template-columns: 1fr;
    }
    
    .bio-card.span-2 {
        grid-column: span 1;
    }
    
    .radar-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-title-group h1 {
        font-size: 2.5rem;
    }
    .portrait-img-wrapper {
        height: 410px;
    }
    .portrait-img {
        max-height: 100%;
    }
    .portrait-card {
        padding: 1.25rem 0.85rem 1rem 0.85rem;
        border-radius: 24px;
    }
    .portrait-glow-ring {
        width: 300px;
        height: 300px;
    }
    .float-badge {
        padding: 0.3rem 0.65rem;
        font-size: 0.725rem;
    }
    .float-badge.left-top { top: 3%; left: -6px; }
    .float-badge.right-top { top: 22%; right: -6px; }
    .float-badge.left-bottom { bottom: 18%; left: -6px; }
    .float-badge.right-bottom { bottom: 2%; right: -6px; }

    /* Skill Chart Mobile Character Placement: Push Image Upwards */
    .radar-showcase-container {
        justify-content: flex-start;
        padding-top: 0.5rem;
        min-height: 520px;
    }
    .radar-character-img {
        margin-bottom: 0;
        max-height: 370px;
    }
    .radar-detail-card {
        bottom: 0.85rem;
        left: 0.85rem;
        right: 0.85rem;
        padding: 1rem 1.15rem;
    }

    /* Photo Memory Flip Card Mobile Overrides */
    .photo-memory-container {
        width: 100%;
        max-width: 100%;
        margin: 1.5rem auto;
        box-sizing: border-box;
    }
    .flip-card-inner {
        height: 400px;
    }
    .polaroid-img {
        height: 290px;
    }
    .flip-card-front {
        padding: 10px 10px 42px 10px;
    }
    .polaroid-caption {
        font-size: 1.2rem;
        padding-top: 0.4rem;
    }
    .handwritten-note {
        font-size: 1.35rem;
        line-height: 1.35;
        margin-bottom: 1rem;
    }
    .handwritten-signature {
        font-size: 1.25rem;
    }
}

@media (max-width: 900px) {
    .memory-board-grid {
        grid-template-columns: 1fr;
    }
    .merch-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .bulletin-items-grid {
        grid-template-columns: 1fr;
    }
    .merch-items-grid {
        grid-template-columns: 1fr;
    }
}

/* FOOTER SECTION */
.chan-footer {
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.footer-glass {
    background: rgba(15, 15, 25, 0.75);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(255, 117, 140, 0.1);
}

.footer-contact-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    background: rgba(255, 117, 140, 0.15);
    border-color: var(--pink-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 117, 140, 0.3);
}

.footer-link.mal-link:hover {
    background: rgba(0, 198, 255, 0.15);
    border-color: var(--cyan-accent);
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.3);
}

.footer-link.spotify-link:hover {
    background: rgba(30, 215, 96, 0.15);
    border-color: #1ed760;
    color: #fff;
    box-shadow: 0 6px 20px rgba(30, 215, 96, 0.35);
}

.external-icon {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

/* ==========================================================================
   MERCH WEBSHOP PAGE STYLES (merch.html)
   ========================================================================== */
.merch-page-body {
    background-color: var(--bg-dark);
}

.merch-page-container {
    max-width: 1300px;
    padding-bottom: 4rem;
}

/* Header & Nav */
.merch-header {
    margin-bottom: 2.5rem;
}

.merch-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    margin-bottom: 2rem;
}

.nav-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.nav-back-btn:hover {
    background: rgba(255, 117, 140, 0.2);
    border-color: #ff758c;
    color: #fff;
    transform: translateX(-4px);
    box-shadow: 0 4px 15px rgba(255, 117, 140, 0.3);
}

.header-cart-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.35rem;
    background: linear-gradient(135deg, rgba(255, 117, 140, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    border: 1px solid rgba(255, 117, 140, 0.4);
    border-radius: 9999px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.header-cart-summary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(255, 117, 140, 0.4);
}

.cart-summary-text strong {
    color: #ff758c;
}

.cart-summary-total {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.merch-hero-banner {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(26, 22, 42, 0.8) 0%, rgba(15, 12, 28, 0.8) 100%);
    border: 1px solid rgba(255, 117, 140, 0.25);
    border-radius: 28px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.merch-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.95rem;
    background: rgba(255, 117, 140, 0.15);
    border: 1px solid rgba(255, 117, 140, 0.35);
    border-radius: 9999px;
    color: #ff758c;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.merch-page-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.merch-page-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto;
}

.flat-price-tag {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.3rem 0.85rem;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 9999px;
    color: #38bdf8;
    font-size: 0.9rem;
}

/* Products Store Grid */
.merch-products-section {
    margin-bottom: 3.5rem;
}

.section-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-title-bar h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.products-count-badge {
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.merch-store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.merch-store-card {
    position: relative;
    background: rgba(26, 22, 40, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(16px);
}

.merch-store-card:hover {
    border-color: rgba(255, 117, 140, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5),
                0 0 25px rgba(255, 117, 140, 0.25);
}

.card-badge {
    display: none !important;
}

.store-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.slider-img-box {
    position: relative;
}

.repohar-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 15, 25, 0.85);
    border: 1px solid rgba(255, 117, 140, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.repohar-arrow:hover {
    background: rgba(255, 117, 140, 0.4);
    border-color: #ff758c;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 0 12px rgba(255, 117, 140, 0.5);
}

.store-img-box.dark-bg {
    background: #11111d !important;
    border: 1px solid rgba(255, 117, 140, 0.3);
}

.repohar-prev, .bogre-prev, .polo-prev, .pulcsi-prev { left: 8px; }
.repohar-next, .bogre-next, .polo-next, .pulcsi-next { right: 8px; }

.repohar-color-badge {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 25, 0.88);
    border: 1px solid rgba(255, 117, 140, 0.4);
    padding: 0.2rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    backdrop-filter: blur(8px);
    pointer-events: none;
    z-index: 5;
}

.color-selector-group {
    margin-bottom: 0.85rem;
}

.color-selector-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.4rem;
}

.color-swatches {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.color-swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.color-swatch:hover {
    transform: scale(1.18);
}

.color-swatch.active {
    border-color: #ffffff;
    box-shadow: 0 0 0 2px var(--pink-accent), 0 0 12px rgba(255, 117, 140, 0.6);
    transform: scale(1.15);
}

/* Clothing Size Selector (S, M, L, XL) */
.size-selector-group {
    margin-bottom: 0.85rem;
}

.size-pills {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.size-pill {
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    font-size: 0.775rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.size-pill:hover {
    background: rgba(255, 117, 140, 0.2);
    border-color: rgba(255, 117, 140, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.size-pill.active {
    background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
    border-color: #ff758c;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 117, 140, 0.4);
}

.store-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
    transition: transform 0.4s ease, opacity 0.2s ease;
}

.merch-store-card:hover .store-product-img {
    transform: scale(1.08) rotate(2deg);
}

.store-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.product-desc {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-price-bar {
    margin-bottom: 1rem;
}

.product-price {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ff758c;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(255, 117, 140, 0.4);
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.2rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: rgba(255, 117, 140, 0.3);
    color: #ff758c;
}

.qty-val {
    width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.add-to-cart-btn {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: linear-gradient(135deg, var(--pink-accent) 0%, #ff5277 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(255, 117, 140, 0.4);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 117, 140, 0.6);
}

/* Shopping Cart Section at Bottom */
.merch-cart-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.cart-card {
    background: linear-gradient(135deg, rgba(26, 22, 42, 0.95) 0%, rgba(15, 12, 28, 0.95) 100%);
    border: 2px solid rgba(255, 117, 140, 0.4);
    border-radius: 28px;
    padding: 1.75rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
                0 0 35px rgba(255, 117, 140, 0.2);
    backdrop-filter: blur(20px);
}

.cart-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.cart-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-header-icon {
    width: 28px;
    height: 28px;
    color: #ff758c;
}

.cart-title-group h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.cart-badge-count {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 117, 140, 0.2);
    border: 1px solid rgba(255, 117, 140, 0.4);
    border-radius: 9999px;
    color: #ff758c;
    font-size: 0.8rem;
    font-weight: 700;
}

.clear-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.95rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 9999px;
    color: #f87171;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.clear-cart-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #fff;
}

.cart-body {
    min-height: 120px;
    margin-bottom: 1.5rem;
}

.cart-empty-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--text-muted);
}

.cart-empty-message i {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    gap: 1rem;
}

.cart-item-thumb {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    padding: 0.2rem;
    flex-shrink: 0;
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.cart-item-unit {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cart-item-qty-control {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.15rem;
}

.cart-qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cart-qty-num {
    width: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.cart-item-subtotal {
    font-family: var(--font-mono);
    font-weight: 800;
    color: #ff758c;
    font-size: 1.05rem;
    min-width: 130px;
    text-align: right;
}

.cart-remove-item {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.cart-remove-item:hover {
    color: #f87171;
    background: rgba(239, 68, 68, 0.15);
}

.cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1.25rem;
}

.summary-row.total-row {
    font-size: 1.25rem;
    font-weight: 800;
}

.total-amount {
    font-family: var(--font-mono);
    color: #38bdf8;
    font-size: 1.6rem;
    margin-left: 0.75rem;
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.checkout-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 16px;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.checkout-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.6);
}

/* Toast Notification Modal */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(26, 22, 42, 0.95);
    border: 1px solid rgba(255, 117, 140, 0.5);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    color: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6),
                0 0 20px rgba(255, 117, 140, 0.3);
    backdrop-filter: blur(16px);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.toast-icon {
    color: #ff758c;
}

@media (max-width: 1024px) {
    .merch-store-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .merch-store-grid {
        grid-template-columns: 1fr;
    }
}

/* Navigation Link States */
.nav-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(12px);
}

.nav-back-link:hover {
    background: rgba(255, 117, 140, 0.15);
    border-color: rgba(255, 117, 140, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.nav-back-link.active {
    background: linear-gradient(135deg, rgba(255, 117, 140, 0.25) 0%, rgba(255, 126, 179, 0.15) 100%);
    border-color: rgba(255, 117, 140, 0.6);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 117, 140, 0.25);
}

/* Time Selector Card & Presets */
.time-selector-card {
    background: rgba(26, 22, 40, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 1.75rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.preset-group {
    margin-bottom: 1.25rem;
}

.preset-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preset-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.preset-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.preset-btn:hover {
    background: rgba(255, 117, 140, 0.15);
    border-color: rgba(255, 117, 140, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.preset-btn.active {
    background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
    border-color: #ff758c;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(255, 117, 140, 0.4);
}

.custom-time-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.25rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.time-input-box {
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.time-input-box label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.time-picker-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    transition: all 0.25s ease;
}

.time-picker-input:focus {
    border-color: #ff758c;
    box-shadow: 0 0 15px rgba(255, 117, 140, 0.3);
}

.time-arrow-separator {
    color: #ff758c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.duration-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.duration-badge, .dorm-pickup-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.duration-badge strong {
    color: #ff758c;
    font-family: var(--font-mono);
}

.dorm-pickup-badge strong {
    color: #10b981;
}

/* Plushie Card & Tags */
.plushie-availability-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.plushie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.plushie-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ff7eb3;
    background: rgba(255, 117, 140, 0.12);
    border: 1px solid rgba(255, 117, 140, 0.25);
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
}

.free-price {
    color: #10b981 !important;
    font-size: 1.15rem !important;
}

.selected-card {
    border-color: rgba(255, 117, 140, 0.8) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 117, 140, 0.4) !important;
    transform: translateY(-6px);
}

.selected-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
}

/* Rental Details Form */
.rental-details-form {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.form-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.rental-form-input {
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.25s ease;
}

.rental-form-input:focus {
    border-color: #ff758c;
    box-shadow: 0 0 12px rgba(255, 117, 140, 0.3);
}

.free-text {
    color: #10b981;
}
