/* =========================================
   SOUTH PUMP+ — styles.css
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@400;900&family=Balsamiq+Sans:wght@400;700&display=swap');

:root {
    --red:    #ee2c2c;
    --blue:   #1e90ff;
    --yellow: #ffd700;
    --black:  #000000;
    --dark:   #141414;
    --dark2:  #1f1f1f;
    --grey:   #808080;
    --white:  #ffffff;
}

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

/* ─── Gate page — pure black, nothing visible ─── */
body.gate-page {
    background: #000;
    overflow: hidden;
    height: 100vh;
}

/* ─── Streaming hub base ─── */
body.streaming-platform {
    background: var(--dark);
    color: var(--white);
    font-family: 'Balsamiq Sans', cursive, sans-serif;
    overflow-x: hidden;
}

/* =========================================
   GATE — SPLASH + PROFILE
   ========================================= */

@keyframes bgShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes splashLogoIn {
    0%   { opacity: 0; transform: scale(2.5); filter: blur(20px); }
    60%  { opacity: 1; transform: scale(1);   filter: blur(0); }
    100% { opacity: 1; transform: scale(1);   filter: blur(0); }
}

@keyframes splashLogoPulse {
    0%   { filter: drop-shadow(0 0 20px rgba(238,44,44,0.8)) brightness(1.2); }
    50%  { filter: drop-shadow(0 0 80px rgba(238,44,44,1))   brightness(1.5); }
    100% { filter: drop-shadow(0 0 20px rgba(238,44,44,0.8)) brightness(1.2); }
}

@keyframes splashGlowExpand {
    0%   { transform: scale(0); opacity: 1; }
    100% { transform: scale(6); opacity: 0; }
}

@keyframes introLogoReveal {
    0%   { opacity: 0; transform: scale(0.8) translateY(-20px); filter: blur(10px); }
    60%  { opacity: 1; transform: scale(1.05) translateY(0);    filter: blur(0); }
    100% { transform: scale(1) translateY(0); }
}

@keyframes titleSlideUp {
    0%   { opacity: 0; transform: translateY(30px); letter-spacing: 0.5em; }
    100% { opacity: 1; transform: translateY(0);    letter-spacing: 0.15em; }
}

@keyframes profilesReveal {
    0%   { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes particleFloat {
    0%   { transform: translateY(0) rotate(0deg);   opacity: 0.6; }
    50%  { transform: translateY(-20px) rotate(180deg); opacity: 1; }
    100% { transform: translateY(0) rotate(360deg); opacity: 0.6; }
}

@keyframes expandLine {
    to { width: 80%; }
}

@keyframes scanline {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

.gate {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 25%, #050a1a 50%, #0d0d0d 75%, #1a0a00 100%);
    background-size: 400% 400%;
    animation: bgShift 12s ease infinite;
    overflow: hidden;
    transition: opacity 1s ease;
}

.gate::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(to bottom, transparent, rgba(238,44,44,0.4), transparent);
    animation: scanline 4s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.gate::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.gate.hidden {
    opacity: 0;
    pointer-events: none;
}

.gate-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease;
}

/* Splash panel */
.splash-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#splash-logo {
    height: 180px;
    position: relative;
    z-index: 2;
    animation: splashLogoIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.splash-glow {
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238,44,44,0.9) 0%, transparent 70%);
    z-index: 1;
    opacity: 0;
}

#splash-panel.pulse #splash-logo {
    animation: splashLogoPulse 0.6s ease-in-out;
}

#splash-panel.pulse .splash-glow {
    animation: splashGlowExpand 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Profile panel */
.intro-logo {
    position: relative;
    z-index: 10;
    animation: introLogoReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
    filter: drop-shadow(0 0 40px rgba(238,44,44,0.5));
    margin-bottom: 1rem;
}

.intro-logo img { height: 110px; display: block; }

.intro-logo::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    margin: 1rem auto 0;
    background: linear-gradient(to right, transparent, var(--red), transparent);
    animation: expandLine 1s ease 0.3s both;
}

.intro-title {
    z-index: 10;
    color: #9e9e9e;
    font-size: 1rem;
    font-family: 'Balsamiq Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
    animation: titleSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.profile-grid {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
    z-index: 10;
    animation: profilesReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.profile-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.profile-item::before {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px;
    bottom: 30px;
    border-radius: 8px;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    z-index: 0;
}

.profile-item:hover::before {
    background: rgba(238,44,44,0.08);
    box-shadow: 0 0 25px rgba(238,44,44,0.4), 0 0 60px rgba(238,44,44,0.15);
}

.profile-item img {
    width: 130px; height: 130px;
    border-radius: 6px;
    border: 2px solid rgba(255,255,255,0.08);
    object-fit: cover;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease, filter 0.3s ease;
    position: relative; z-index: 1;
    filter: brightness(0.85) saturate(0.8);
}

.profile-item:hover { transform: scale(1.12) translateY(-6px); }
.profile-item:hover img { border-color: #fff; filter: brightness(1.05) saturate(1.1); }

.profile-item span {
    color: #6e6e6e;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Balsamiq Sans', sans-serif;
    letter-spacing: 0.05em;
    transition: color 0.25s ease;
    position: relative; z-index: 1;
}

.profile-item:hover span { color: #fff; }

.profile-item.clicked img {
    border-color: var(--red);
    box-shadow: 0 0 30px rgba(238,44,44,0.7);
}

.particle {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(238,44,44,0.6);
    animation: particleFloat linear infinite;
    pointer-events: none;
    z-index: 2;
}

/* =========================================
   STREAMING HUB — NAVIGATION
   ========================================= */

.streaming-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 4%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, transparent 100%);
    transition: background 0.3s ease;
}

.streaming-header.scrolled {
    background: rgba(20,20,20,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hub-logo {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
}

.hub-logo img { height: 50px; }

.plus-badge {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 2.8rem;
    color: var(--red);
    line-height: 1;
    text-shadow: 0 0 20px rgba(238,44,44,0.6);
}

.streaming-nav {
    display: flex;
    gap: 2rem;
}

.streaming-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.2s;
}

.streaming-nav a:hover,
.streaming-nav a.nav-active { color: var(--white); }

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-icon {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

.profile-icon img {
    width: 36px; height: 36px;
    border-radius: 4px;
    border: 2px solid rgba(255,255,255,0.3);
    object-fit: cover;
    transition: border-color 0.2s;
}

.profile-icon:hover img { border-color: #fff; }

#nav-name {
    color: #ccc;
    font-size: 0.95rem;
    font-weight: 700;
}

.btn-connect-dark {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-family: 'Balsamiq Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-connect-dark:hover { background: rgba(255,255,255,0.2); }

/* =========================================
   HERO BANNER
   ========================================= */

.streaming-hero {
    height: 90vh;
    min-height: 600px;
    background-size: cover;
    background-position: center 20%;
    display: flex;
    align-items: flex-end;
    padding: 0 4% 8%;
    position: relative;
}

.hero-content {
    max-width: 550px;
}

.original-badge {
    color: var(--red);
    font-family: 'Londrina Solid', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-content h1 {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 5.5rem;
    line-height: 0.95;
    text-transform: uppercase;
    text-shadow: 3px 3px 0 #000;
    margin-bottom: 1rem;
}

.hero-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.hero-rating {
    border: 1px solid #aaa;
    color: #aaa;
    padding: 1px 8px;
    font-size: 0.85rem;
    border-radius: 2px;
}

.hero-year, .hero-seasons {
    color: #aaa;
    font-size: 0.95rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.5;
    margin-bottom: 1.8rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-play {
    background: var(--white);
    color: var(--black);
    border: none;
    padding: 0.9rem 2.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Balsamiq Sans', sans-serif;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-play:hover { background: rgba(255,255,255,0.8); transform: scale(1.02); }

.btn-info {
    background: rgba(109,109,110,0.7);
    color: var(--white);
    border: none;
    padding: 0.9rem 2.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Balsamiq Sans', sans-serif;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-info:hover { background: rgba(109,109,110,0.4); }

/* =========================================
   EPISODE CAROUSELS
   ========================================= */

.streaming-category {
    padding: 2rem 4%;
    position: relative;
}

.streaming-category:first-of-type { margin-top: -6rem; }

.category-title {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cat-accent { font-size: 1.2rem; }

.carousel {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}

.carousel::-webkit-scrollbar { display: none; }

.episode-card {
    min-width: 260px;
    height: 150px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
    border: 2px solid transparent;
}

.episode-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
    filter: brightness(0.7);
}

.episode-card:hover {
    transform: scale(1.08);
    z-index: 10;
    border-color: #fff;
}

.episode-card:hover img { filter: brightness(1); }

.card-overlay {
    position: absolute;
    inset: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.25s;
}

.episode-card:hover .card-overlay { opacity: 1; }

.card-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -60%);
    font-size: 2.5rem;
    color: rgba(255,255,255,0.9);
}

.card-meta h4 {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
}

.card-tags span {
    font-size: 0.75rem;
    color: #aaa;
    border: 1px solid #555;
    padding: 1px 6px;
    border-radius: 2px;
}

/* Numbered cards */
.episode-card--numbered { min-width: 300px; }

.rank-number {
    position: absolute;
    bottom: -10px; left: -8px;
    font-family: 'Londrina Solid', sans-serif;
    font-size: 8rem;
    line-height: 1;
    color: var(--dark2);
    -webkit-text-stroke: 3px #555;
    z-index: 1;
    pointer-events: none;
}

/* =========================================
   PFP LAB SECTION
   ========================================= */

.pfp-lab-section {
    padding: 5rem 4%;
    background: linear-gradient(to bottom, var(--dark), #0d0d0d);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.pfp-lab-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pfp-lab-header h2 {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.pfp-lab-header p {
    color: #999;
    font-size: 1.1rem;
}

.pfp-lab-inner {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.pfp-lab-info { flex: 1; min-width: 280px; }

.pfp-lab-info h3 {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.pfp-highlight { color: var(--red); }

.api-settings {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 1.2rem;
}

.api-settings label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.api-settings input {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    color: #fff;
    padding: 0.7rem 1rem;
    font-family: monospace;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    outline: none;
    transition: border-color 0.2s;
}

.api-settings input:focus { border-color: var(--red); }
.api-settings small { color: #555; font-size: 0.85rem; }

.pfp-lab-interface { flex: 1; min-width: 320px; }

.pfp-frame {
    width: 100%;
    aspect-ratio: 1/1;
    background: rgba(255,255,255,0.04);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.pfp-frame img { width: 100%; height: 100%; object-fit: cover; }

.pfp-placeholder {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 1.5rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pfp-error {
    color: var(--red);
    font-size: 1rem;
    text-align: center;
    padding: 1rem;
}

.loader {
    border: 6px solid rgba(255,255,255,0.1);
    border-top: 6px solid var(--red);
    border-radius: 50%;
    width: 50px; height: 50px;
    animation: spin 0.8s linear infinite;
    position: absolute;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.pfp-controls textarea {
    width: 100%;
    height: 100px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    color: #fff;
    padding: 1rem;
    font-family: 'Balsamiq Sans', sans-serif;
    font-size: 1rem;
    resize: none;
    margin-bottom: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.pfp-controls textarea:focus { border-color: var(--red); }

.btn-mint {
    display: block;
    width: 100%;
    background: var(--red);
    color: #fff;
    border: none;
    padding: 1rem;
    font-family: 'Londrina Solid', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: background 0.2s, transform 0.1s;
}

.btn-mint:hover { background: #c91a1a; transform: scale(1.01); }
.btn-mint:disabled { opacity: 0.5; cursor: not-allowed; }

/* =========================================
   CONTRACT ADDRESS
   ========================================= */

.ca-section {
    padding: 4rem 4%;
    background: linear-gradient(135deg, rgba(238,44,44,0.06) 0%, transparent 60%);
    border-top: 1px solid rgba(238,44,44,0.15);
    border-bottom: 1px solid rgba(238,44,44,0.15);
    text-align: center;
}

.ca-inner { max-width: 700px; margin: 0 auto; }

.ca-label {
    font-family: 'Balsamiq Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.ca-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1.2rem 1.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

#ca-display {
    font-family: monospace;
    font-size: 1rem;
    color: #ccc;
    word-break: break-all;
    flex: 1;
    text-align: left;
}

.ca-copy-btn {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-family: 'Balsamiq Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
    flex-shrink: 0;
}

.ca-copy-btn:hover { background: #c91a1a; transform: scale(1.03); }
.ca-copy-btn.copied { background: #27ae60; }

.ca-sub {
    color: #555;
    font-size: 0.9rem;
}

.ca-sub a { color: #888; text-decoration: none; transition: color 0.2s; }
.ca-sub a:hover { color: var(--white); }

/* =========================================
   HOW TO BUY
   ========================================= */

.htb-section {
    padding: 5rem 4%;
    max-width: 1200px;
    margin: 0 auto;
}

.htb-title {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.htb-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.htb-step {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    transition: border-color 0.3s, transform 0.3s;
    overflow: hidden;
}

.htb-step::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--red), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.htb-step:hover {
    border-color: rgba(238,44,44,0.3);
    transform: translateY(-4px);
}

.htb-step:hover::before { opacity: 1; }

.htb-number {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 4rem;
    color: rgba(238,44,44,0.15);
    line-height: 1;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.htb-step:hover .htb-number { color: rgba(238,44,44,0.4); }

.htb-content h3 {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
    color: #fff;
}

.htb-content p {
    color: #888;
    line-height: 1.6;
    font-size: 0.95rem;
}

.htb-content p strong { color: #ccc; }

.htb-content a {
    color: var(--red);
    text-decoration: none;
    transition: color 0.2s;
}

.htb-content a:hover { color: #fff; }

/* =========================================
   FOOTER
   ========================================= */

.hub-footer {
    padding: 4rem 4% 2rem;
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.footer-logo img { height: 50px; }

.footer-tagline {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-ca {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-ca span {
    color: #888;
    font-family: monospace;
}

.footer-disclaimer {
    color: #333;
    font-size: 0.8rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* =========================================
   RESPONSIVE
   ========================================= */

/* =========================================
   SHARED: PAGE HERO (icons, store)
   ========================================= */

.page-hero {
    padding: 12rem 4% 5rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, var(--dark) 100%);
    text-align: center;
    position: relative;
}

.page-hero-label {
    color: var(--red);
    font-family: 'Balsamiq Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.page-hero-content h1 {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 6rem;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 4px 4px 0 #000;
    margin-bottom: 1.2rem;
}

.page-hero-sub {
    color: #aaa;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================
   ICONS PAGE
   ========================================= */

@keyframes iconFadeUp {
    0%   { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.icons-section {
    padding: 3rem 4% 6rem;
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.icon-card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    animation: iconFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s) both;
}

.icon-card:hover {
    transform: translateY(-8px);
    border-color: rgba(238,44,44,0.35);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(238,44,44,0.08);
}

.icon-img-wrap {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.icon-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: brightness(0.85);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.icon-card:hover .icon-img-wrap img {
    filter: brightness(1);
    transform: scale(1.04);
}

.icon-glow {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--dark) 0%, transparent 100%);
    pointer-events: none;
}

.icon-info {
    padding: 1.5rem;
    flex: 1;
}

.icon-info h2 {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
    line-height: 1;
}

.icon-role {
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.icon-bio {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.icon-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.icon-tags span {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.82rem;
    color: #bbb;
    transition: border-color 0.2s;
}

.icon-card:hover .icon-tags span {
    border-color: rgba(238,44,44,0.3);
}

/* =========================================
   STORE PAGE
   ========================================= */

.store-hero {
    padding: 12rem 4% 5rem;
    background: linear-gradient(135deg, rgba(238,44,44,0.08) 0%, transparent 50%);
    text-align: center;
}

.store-coming-badge {
    display: inline-block;
    background: rgba(238,44,44,0.15);
    border: 1px solid rgba(238,44,44,0.4);
    color: var(--red);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    letter-spacing: 0.05em;
    margin-top: 1.5rem;
}

.store-section {
    padding: 2rem 4% 6rem;
    max-width: 1300px;
    margin: 0 auto;
}

.store-filter-bar {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    padding: 0.5rem 1.3rem;
    border-radius: 20px;
    font-family: 'Balsamiq Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.15);
}

.product-img-wrap {
    height: 240px;
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--red);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    letter-spacing: 0.03em;
}

/* Locked products */
.product-locked-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.locked-overlay {
    text-align: center;
}

.lock-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.4;
}

.locked-overlay p {
    color: #444;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-info {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.product-desc {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.product-price {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 1.6rem;
    color: var(--red);
}

.btn-add-cart {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-family: 'Balsamiq Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.btn-add-cart:hover {
    background: #c91a1a;
    transform: scale(1.03);
}

/* Cart toast */
.cart-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #27ae60;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.cart-toast.show {
    transform: translateX(-50%) translateY(0);
}



@media (max-width: 768px) {
    .streaming-header { padding: 1rem 4%; }
    .streaming-nav { display: none; }
    .hero-content h1 { font-size: 3.5rem; }
    .pfp-lab-inner { flex-direction: column; }
    .episode-card { min-width: 200px; }
    .profile-grid { gap: 1.5rem; }
    .profile-item img { width: 100px; height: 100px; }
}

/* =========================================
   HOW TO BUY — links
   ========================================= */

.htb-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--red);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s, letter-spacing 0.2s;
}
.htb-link:hover { color: #fff; letter-spacing: 0.05em; }

/* =========================================
   PFP LAB — tips
   ========================================= */

.pfp-tips {
    margin-top: 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
}
.pfp-tips-title { font-weight: 700; font-size: 0.9rem; color: #888; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.8rem; }
.pfp-tips ul { list-style: none; padding: 0; }
.pfp-tips ul li { color: #666; font-size: 0.9rem; padding: 0.3rem 0 0.3rem 1rem; position: relative; }
.pfp-tips ul li::before { content: '›'; position: absolute; left: 0; color: var(--red); }

/* =========================================
   ABOUT PAGE
   ========================================= */

.about-block { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.about-block:last-of-type { border-bottom: none; }
.about-block h2 { font-family: 'Londrina Solid', sans-serif; font-size: 2.2rem; margin-bottom: 1rem; color: #fff; }
.about-block p { color: #888; font-size: 1.05rem; line-height: 1.8; max-width: 700px; }
.about-socials h2 { font-family: 'Londrina Solid', sans-serif; font-size: 2.2rem; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.social-link { display: flex; align-items: center; gap: 0.8rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 1rem 1.5rem; text-decoration: none; color: #ccc; font-weight: 700; font-size: 1rem; transition: border-color 0.2s, color 0.2s, transform 0.2s; }
.social-link:hover { border-color: var(--red); color: #fff; transform: translateY(-3px); }
.social-icon { font-size: 1.3rem; }

/* =========================================
   ICONS WALL GRID (simplified)
   ========================================= */

.icons-wall {
    padding: 0 4% 6rem;
}

.icons-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.icon-tile {
    cursor: pointer;
    position: relative;
}

.icon-tile-img {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.06);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: brightness(0.88) saturate(0.9);
    transition: filter 0.3s ease, transform 0.35s ease;
}

.icon-tile:hover .icon-tile-img {
    border-color: rgba(238,44,44,0.5);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 30px rgba(238,44,44,0.12);
}

.icon-tile:hover .icon-tile-img img {
    filter: brightness(1) saturate(1.05);
    transform: scale(1.04);
}

.icon-tile-name {
    margin-top: 0.6rem;
    font-family: 'Londrina Solid', sans-serif;
    font-size: 1.2rem;
    color: #ccc;
    text-align: center;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.icon-tile:hover .icon-tile-name {
    color: #fff;
}

@media (max-width: 600px) {
    .icons-wall-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.8rem;
    }
}

/* =========================================
   PLUSHIE STORE GRID
   ========================================= */

.plushie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
}

.plushie-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.plushie-card:hover {
    transform: translateY(-8px);
    border-color: rgba(238,44,44,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(238,44,44,0.06);
}

.plushie-card--soon {
    opacity: 0.65;
}

.plushie-card--soon:hover {
    border-color: rgba(255,255,255,0.12);
    box-shadow: none;
}

.plushie-img-wrap {
    height: 320px;
    background: #111;
    overflow: hidden;
    position: relative;
}

.plushie-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.plushie-card:hover .plushie-img-wrap img {
    transform: scale(1.04);
}

.plushie-locked {
    display: flex;
    align-items: center;
    justify-content: center;
}

.plushie-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--red);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.plushie-info {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plushie-info h3 {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    color: #fff;
}

.plushie-desc {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 1.2rem;
}

.plushie-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.store-hero-content h1 {
    font-family: 'Londrina Solid', sans-serif;
    font-size: 6rem;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 4px 4px 0 #000;
    margin-bottom: 1.2rem;
}

/* =========================================
   PLUSHIE CARD — consistent product layout
   ========================================= */

.plushie-img-wrap {
    background: #f5f4f0 !important;
    height: 340px;
    overflow: hidden;
    position: relative;
}

.plushie-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

/* Seated plushies (Jeff, Fat Duval) — landscape images, center them */
.plushie-card:nth-child(1) .plushie-img-wrap img,
.plushie-card:nth-child(2) .plushie-img-wrap img {
    object-position: center center;
    transform-origin: center center;
}

/* Alon — standing tall, show from top */
.plushie-card:nth-child(3) .plushie-img-wrap img {
    object-position: center top;
    object-fit: contain;
    background: #f5f4f0;
}

/* Floyd — seated square, center */
.plushie-card:nth-child(4) .plushie-img-wrap img {
    object-position: center center;
}

.plushie-card:hover .plushie-img-wrap img {
    transform: scale(1.05);
}

.plushie-locked {
    background: #1a1a1a !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   MOBILE HAMBURGER + NAV OVERLAY
   ========================================= */

.hamburger {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.3rem;
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1;
    transition: border-color 0.2s;
}
.hamburger:hover { border-color: rgba(255,255,255,0.35); }

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10001;
    opacity: 0.7;
    padding: 0.3rem 0.6rem;
}
.mobile-nav-close:hover { opacity: 1; }

.mobile-nav-links {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 75%;
    max-width: 300px;
    background: #0d0d0d;
    border-left: 1px solid rgba(255,255,255,0.07);
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.3rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-nav-overlay.active .mobile-nav-links {
    transform: translateX(0);
}

.mobile-nav-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 1.4rem;
    font-family: 'Londrina Solid', sans-serif;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s;
    letter-spacing: 0.04em;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.nav-active { color: #fff; }
.mobile-nav-links a.nav-active { color: var(--red); }

.mobile-nav-footer {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    gap: 1.5rem;
}
.mobile-nav-footer a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.mobile-nav-footer a:hover { color: #fff; }

/* =========================================
   COMPREHENSIVE MOBILE STYLES
   ========================================= */

@media (max-width: 768px) {
    /* Header */
    .streaming-header {
        padding: 0.9rem 4%;
        gap: 0;
    }
    .streaming-nav { display: none; }
    .hamburger { display: block; }
    .header-right { gap: 0.6rem; }
    .btn-connect-dark { display: none; } /* Hide switch profile on mobile */
    #nav-name { display: none; }
    .profile-icon img { width: 32px; height: 32px; }

    /* Hub logo */
    .hub-logo img { height: 32px; }

    /* Hero */
    .streaming-hero { min-height: 70vh; padding: 6rem 5% 3rem; }
    .hero-content h1 { font-size: clamp(2.2rem, 10vw, 4rem); }
    .hero-desc { font-size: 0.9rem; max-width: 100%; }
    .hero-buttons { flex-direction: column; gap: 0.6rem; }
    .btn-play, .btn-info { width: 100%; justify-content: center; }

    /* Page hero */
    .page-hero { padding: 5rem 5% 2rem; }
    .page-hero-content h1 { font-size: clamp(2.5rem, 12vw, 5rem); }
    .page-hero-sub { font-size: 0.95rem; }

    /* Carousels */
    .streaming-category { padding: 1.5rem 4%; }
    .episode-card { min-width: 160px; }
    .carousel { gap: 0.8rem; }
    .category-title { font-size: 1.2rem; }

    /* Gate / profile selector */
    .gate-panel { padding: 1.5rem; }
    .gate-title { font-size: 2.5rem; }
    .profile-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .profile-item img { width: 80px; height: 80px; }
    .profile-item-name { font-size: 0.85rem; }

    /* HTB steps */
    .htb-steps { grid-template-columns: 1fr; gap: 1.2rem; }
    .htb-step { flex-direction: row; gap: 1rem; }
    .htb-number { font-size: 2.5rem; min-width: 3rem; }
    .htb-title { font-size: 2rem; }

    /* Store */
    .store-section { padding: 2rem 4%; }
    .store-hero-content h1 { font-size: 3.5rem; }
    .plushie-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .plushie-img-wrap { height: 200px; }
    .plushie-info { padding: 0.8rem; }
    .plushie-info h3 { font-size: 1.3rem; }
    .plushie-desc { font-size: 0.8rem; display: none; } /* Hide on mobile for space */
    .plushie-footer { flex-wrap: wrap; gap: 0.5rem; }
    .product-price { font-size: 1.1rem; }
    .btn-add-cart { font-size: 0.8rem; padding: 0.5rem 0.8rem; }

    /* Icons wall */
    .icons-wall { padding: 0 4% 3rem; }
    .icons-wall-grid { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
    .icon-tile-name { font-size: 0.9rem; }

    /* About */
    .about-block h2 { font-size: 1.8rem; }
    .about-block p { font-size: 0.95rem; }
    .social-links { flex-direction: column; gap: 0.8rem; }
    .social-link { padding: 0.8rem 1rem; }

    /* Footer */
    .hub-footer { padding: 2.5rem 5%; }
    .footer-links { flex-wrap: wrap; gap: 1rem; justify-content: center; }
    .footer-tagline { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .plushie-grid { grid-template-columns: 1fr; gap: 1rem; }
    .icons-wall-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 2.4rem; }
    .page-hero-content h1 { font-size: 3rem; }
}
