/* ==========================================================================
   MACKRAFTER.STREAM - NEONOWY ŚWIAT MACKRAFTERA
   Minecraft • Modern • Cyberpunk
   Full-Width Cyber Architecture & Real-Time Twitch Automation
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Chakra+Petch:ital,wght@0,450;0,600;0,700;1,700&family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@500;700;900&family=Permanent+Marker&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --bg-primary: #030712;
  --bg-secondary: #050b17;
  --bg-panel: rgba(5, 13, 26, 0.92);
  --bg-card: rgba(8, 20, 38, 0.75);
  --bg-card-hover: rgba(14, 30, 56, 0.92);
  
  --neon-cyan: #00f0ff;
  --neon-cyan-dim: rgba(0, 240, 255, 0.4);
  --neon-cyan-glow: 0 0 16px rgba(0, 240, 255, 0.55);
  --neon-cyan-subtle: rgba(0, 240, 255, 0.12);

  --neon-magenta: #ff007f;
  --neon-magenta-dim: rgba(255, 0, 127, 0.4);
  --neon-magenta-glow: 0 0 16px rgba(255, 0, 127, 0.55);
  --neon-magenta-subtle: rgba(255, 0, 127, 0.12);

  --neon-green: #00e676;
  --neon-purple: #9146ff;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-cyan: #38bdf8;

  --border-cyan: rgba(0, 240, 255, 0.35);
  --border-panel: rgba(0, 240, 255, 0.28);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --font-cyber: 'Orbitron', 'Chakra Petch', sans-serif;
  --font-tech: 'Rajdhani', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1280px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

#cyber-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Ambient glow accents */
body::before {
  content: '';
  position: fixed;
  top: 15%;
  left: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 45%;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 0, 127, 0.08) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* Container utility */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.main-content {
  position: relative;
  z-index: 1;
  flex: 1;
  padding-top: 12px;
  padding-bottom: 40px;
}

/* ==========================================================================
   HEADER / NAVBAR (FULL-WIDTH 100% BLEED)
   ========================================================================== */

.cyber-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.cyber-header.scrolled {
  background: rgba(2, 5, 14, 0.97);
  border-bottom-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.15), 0 4px 20px rgba(0, 0, 0, 0.8);
}

.cyber-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  position: relative;
}

.cyber-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--neon-cyan) 15%, 
    transparent 30%, 
    transparent 70%, 
    var(--neon-cyan) 85%, 
    transparent 100%
  );
  box-shadow: 0 0 8px var(--neon-cyan);
  pointer-events: none;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.25s ease;
}

.brand-link:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  width: 36px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.7));
  image-rendering: pixelated;
}

.brand-name {
  font-family: var(--font-cyber);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.cyber-nav {
  display: flex;
  align-items: center;
}

.cyber-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
}

.nav-link {
  display: inline-block;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-decoration: none;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px var(--neon-cyan);
}

.nav-link.active {
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3), inset 0 0 8px rgba(0, 240, 255, 0.2);
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  text-shadow: 0 0 8px var(--neon-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-icon-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  color: var(--neon-cyan);
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px var(--neon-cyan));
}

.social-icon-btn.twitch:hover {
  color: #a970ff;
  filter: drop-shadow(0 0 8px #9146ff);
}

.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
  color: var(--neon-cyan);
  transform: rotate(20deg);
  filter: drop-shadow(0 0 8px var(--neon-cyan));
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-cyan);
  color: var(--neon-cyan);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   HERO BANNER (FULL-WIDTH 100% BLEED & DYNAMIC CYBER HUD)
   ========================================================================== */

.hero-banner-container {
  position: relative;
  width: 100%;
  margin: 0 0 32px 0;
  border-radius: 0;
  overflow: hidden;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid var(--border-cyan);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 240, 255, 0.15);
  background-color: #040914;
}

.hero-banner-container::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
  box-shadow: 0 0 10px var(--neon-cyan);
  z-index: 10;
  pointer-events: none;
}

.hero-banner-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px;
  height: 2px;
  background: linear-gradient(-90deg, var(--neon-cyan), transparent);
  box-shadow: 0 0 10px var(--neon-cyan);
  z-index: 10;
  pointer-events: none;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 2172 / 724;
  max-height: 560px;
  display: flex;
  justify-content: center;
  background-color: #040914;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero Content Container (Constrained to same container width as bottom content) */
.hero-content-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-max);
  padding: 0 20px;
  pointer-events: none;
  z-index: 8;
}

/* Dynamic Left Cyber HUD on Hero */
.hero-left-overlay {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 440px;
  background: rgba(3, 7, 18, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 240, 255, 0.18), inset 0 0 15px rgba(0, 240, 255, 0.04);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  pointer-events: auto;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
}

.live-status-pill.live {
  background: rgba(220, 38, 38, 0.25);
  border: 1px solid #ef4444;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.live-status-pill.live .live-dot {
  background-color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulse-live 1.5s infinite;
}

.live-status-pill.offline {
  background: rgba(100, 116, 139, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
}

.live-status-pill.offline .live-dot {
  background-color: #64748b;
  box-shadow: none;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

@keyframes pulse-live {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

.live-pill-tag {
  font-family: var(--font-tech);
  font-weight: 700;
}

.live-pill-msg {
  font-family: var(--font-tech);
  font-weight: 600;
  opacity: 0.9;
}

.hero-stream-sub {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-stream-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.hero-stream-meta .badge-cat {
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid var(--border-cyan);
  color: var(--neon-cyan);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.hero-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--neon-cyan);
  color: #030712;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1.2px;
  padding: 9px 20px;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  margin-top: 4px;
}

.hero-watch-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.9), inset 0 0 14px rgba(255, 255, 255, 0.6);
  background: #38bdf8;
}

.hero-watch-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   HERO RIGHT OVERLAY - SEPARATED BANNER TYPOGRAPHY & BRANDING
   ========================================================================== */

.hero-right-overlay {
  position: absolute;
  top: 14%;
  right: 20px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  user-select: none;
  background: rgba(3, 7, 18, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 240, 255, 0.18), inset 0 0 15px rgba(0, 240, 255, 0.04);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.hero-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-main-title {
  margin: 0;
  font-family: var(--font-cyber), 'Orbitron', 'Chakra Petch', sans-serif;
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: none;
  filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.45));
}

.hero-title-mac {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.8), 0 4px 12px rgba(0, 0, 0, 0.9);
}

.hero-title-krafter {
  color: var(--neon-cyan);
  text-shadow: 0 0 20px var(--neon-cyan), 0 0 40px rgba(0, 240, 255, 0.6), 0 4px 14px rgba(0, 0, 0, 0.9);
}

.hero-main-subtitle {
  font-family: 'Rajdhani', var(--font-tech), sans-serif;
  font-size: clamp(0.75rem, 1.35vw, 1.15rem);
  font-weight: 700;
  letter-spacing: clamp(3px, 0.75vw, 7.5px);
  color: #ffffff;
  margin-top: 8px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 2px 6px rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
}

/* Samodzielny, odseparowany slogan poza hero-right-overlay */
.hero-slogan {
  position: absolute;
  top: 60%;
  right: 28px;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Caveat', 'Permanent Marker', cursive;
  font-size: clamp(1.4rem, 2.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--neon-magenta);
  text-shadow: 0 0 10px var(--neon-magenta), 0 0 25px rgba(255, 0, 127, 0.85), 0 2px 6px rgba(0, 0, 0, 0.9);
  transform: rotate(-7deg);
  pointer-events: none;
  user-select: none;
}

.slogan-word {
  display: block;
}

/* ==========================================================================
   PANELS & SHARED STYLES
   ========================================================================== */

.cyber-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-panel);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.08), inset 0 0 15px rgba(0, 240, 255, 0.03);
  backdrop-filter: blur(16px);
  position: relative;
  display: flex;
  flex-direction: column;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.panel-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 6px var(--neon-cyan));
}

.panel-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel-title {
  font-family: var(--font-cyber);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
}

.panel-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

.panel-view-all svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.2s ease;
}

.panel-view-all:hover {
  text-shadow: 0 0 8px var(--neon-cyan);
}

.panel-view-all:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   MIDDLE ROW (3 COLUMNS: O MNIE | KLIPY | GALERIA)
   ========================================================================== */

.middle-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 0.9fr;
  gap: 16px;
  margin-bottom: 24px;
}

/* --- CARD 1: O MNIE --- */
.about-panel-body {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  flex: 1;
}

.about-avatar-wrapper {
  flex-shrink: 0;
  width: 108px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.about-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.about-avatar-wrapper:hover .about-avatar-img {
  transform: scale(1.05);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-greeting {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.about-text {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.about-categories {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.about-category-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
}

.about-category-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-category-icon.minecraft {
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 4px var(--neon-cyan));
}

.about-category-icon.cyberpunk {
  color: var(--neon-magenta);
  filter: drop-shadow(0 0 4px var(--neon-magenta));
}

.about-category-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.about-category-name {
  font-weight: 600;
  color: #ffffff;
}

.about-category-sub {
  color: var(--text-dim);
}

.about-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: rgba(0, 240, 255, 0.04);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  margin-top: auto;
}

.about-action-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.2s ease;
}

.about-action-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
  text-shadow: 0 0 8px var(--neon-cyan);
}

.about-action-btn:hover svg {
  transform: translateX(4px);
}

/* --- CARD 2: KLIPY (AUTOMATIC GRID) --- */
.clips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.clip-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.clip-card:hover {
  transform: translateY(-2px);
}

.clip-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #020610;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.clip-card:hover .clip-thumb-wrapper {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}

.clip-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.clip-card:hover .clip-thumb-img {
  transform: scale(1.06);
}

.clip-duration-badge {
  position: absolute;
  bottom: 4px;
  left: 6px;
  background: rgba(3, 7, 18, 0.88);
  color: #ffffff;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.clip-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.clip-card:hover .clip-play-overlay {
  opacity: 1;
}

.clip-play-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--neon-cyan);
  color: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--neon-cyan);
}

.clip-play-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  margin-left: 2px;
}

.clip-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.clip-title {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.82rem;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.clip-card:hover .clip-title {
  color: var(--neon-cyan);
}

.clip-meta {
  font-size: 0.69rem;
  color: var(--text-dim);
}

/* --- CARD 3: GALERIA --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.2);
  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.45);
  transform: scale(1.04);
  z-index: 2;
}

.gallery-item:hover .gallery-thumb-img {
  transform: scale(1.1);
}

/* ==========================================================================
   BOTTOM SECTION: OSTATNIE STREAMY (AUTOMATIC VODS)
   ========================================================================== */

.streams-section {
  margin-bottom: 24px;
}

.streams-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stream-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.stream-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
  transform: translateY(-3px);
}

.stream-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #020610;
}

.stream-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.stream-card:hover .stream-thumb-img {
  transform: scale(1.05);
}

.badge-live {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(220, 38, 38, 0.9);
  border: 1px solid #ef4444;
  color: #ffffff;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

.badge-live .live-pulse-dot {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulse-live 1.2s infinite;
}

.badge-vod-duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(3, 7, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 3px;
}

.stream-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stream-card-title {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.stream-card:hover .stream-card-title {
  color: var(--neon-cyan);
}

.stream-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-dim);
}

.stream-meta-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stream-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.stream-meta-item svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.stream-options-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
  transition: color 0.2s ease;
}

.stream-options-btn:hover {
  color: var(--neon-cyan);
}

.stream-options-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   FOOTER (FULL-WIDTH 100% BLEED)
   ========================================================================== */

.cyber-footer {
  width: 100%;
  border-top: 1px solid rgba(0, 240, 255, 0.2);
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(16px);
  padding: 22px 0;
  position: relative;
  z-index: 10;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-divider-vert {
  width: 1px;
  height: 20px;
  background: rgba(0, 240, 255, 0.25);
}

.footer-message {
  font-family: var(--font-tech);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-divider-slash {
  font-family: var(--font-cyber);
  color: var(--neon-cyan);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.footer-tagline {
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--text-dim);
}

/* ==========================================================================
   TOAST NOTIFICATION (POPUP)
   ========================================================================== */

.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(5, 13, 26, 0.95);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  font-family: var(--font-tech);
  font-size: 0.95rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   MODAL / LIGHTBOX
/* ==========================================================================
   INTERACTIVE CYBER MODALS & POPUPS (FULL AUTOMATION SUITE)
   ========================================================================== */

.modal-backdrop,
.cyber-modal-backdrop,
.cyber-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active,
.cyber-modal-backdrop.active,
.cyber-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-container,
.cyber-modal-container,
.modal-dialog {
  background: rgba(8, 14, 26, 0.98);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 240, 255, 0.25);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.active .modal-container,
.cyber-modal-backdrop.active .cyber-modal-container,
.cyber-modal.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header,
.cyber-modal-header {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  background: rgba(0, 240, 255, 0.03);
}

.modal-title-group,
.cyber-modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-title-group svg,
.cyber-modal-title-group svg {
  width: 22px;
  height: 22px;
  color: var(--neon-cyan);
}

.modal-title,
.cyber-modal-title {
  font-family: var(--font-cyber);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
}

.modal-close-btn,
.cyber-modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover,
.cyber-modal-close-btn:hover {
  background: var(--neon-cyan);
  color: #030712;
  box-shadow: 0 0 14px var(--neon-cyan);
  transform: rotate(90deg);
}

.modal-body,
.cyber-modal-body {
  padding: 22px;
  overflow-y: auto;
  max-height: calc(90vh - 70px);
}

/* Twitch Live Player Modal */
.player-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
  min-height: 480px;
}

.twitch-embed-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #000000;
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.twitch-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.twitch-chat-wrapper {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #000000;
  border: 1px solid rgba(0, 240, 255, 0.3);
  height: 100%;
  min-height: 400px;
}

.twitch-chat-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Gallery Grid inside Lightbox Modal */
.gallery-lightbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-lightbox-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.25);
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background: #000;
  transition: all 0.25s ease;
}

.gallery-lightbox-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-lightbox-item:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.gallery-lightbox-item:hover img {
  transform: scale(1.08);
}

.gallery-lightbox-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 7, 18, 0.92) 100%);
  color: #ffffff;
  font-family: var(--font-tech);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-lightbox-item:hover .caption {
  transform: translateY(0);
}

/* Clips Selection Grid inside Clips Modal */
.clips-modal-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.clip-select-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.clip-select-item:hover,
.clip-select-item.active {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.clip-select-item.active {
  border-color: var(--neon-pink);
  box-shadow: 0 0 16px rgba(255, 0, 127, 0.35);
}

.clip-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  overflow: hidden;
}

.clip-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.clip-select-item:hover .clip-thumb-box img {
  transform: scale(1.06);
}

.clip-duration-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(3, 7, 18, 0.85);
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.clip-meta-box {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.clip-meta-title {
  font-family: var(--font-cyber);
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clip-meta-views {
  font-family: var(--font-tech);
  font-size: 11px;
  color: var(--text-muted);
}

/* About Modal - Discord Notification Box */
.about-discord-box {
  background: rgba(88, 101, 242, 0.08);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  margin-top: 10px;
}

.about-discord-box::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.about-discord-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.45);
}

.about-discord-icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.about-discord-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.about-discord-title {
  font-family: var(--font-cyber);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.about-discord-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-about-discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  color: #ffffff;
  font-family: var(--font-tech);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}

.btn-about-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
  background: linear-gradient(135deg, #6774f5 0%, #5865f2 100%);
}

.btn-about-discord svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-about-discord .arrow {
  transition: transform 0.2s ease;
}

.btn-about-discord:hover .arrow {
  transform: translateX(4px);
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(8, 14, 26, 0.96);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 240, 255, 0.4);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: var(--font-tech);
  font-size: 14px;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(5, 13, 26, 0.75);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: var(--neon-cyan);
  color: #030712;
  box-shadow: 0 0 15px var(--neon-cyan);
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 991px) {
  .player-grid-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .twitch-chat-wrapper {
    height: 380px;
    min-height: 380px;
  }

  .hero-right-overlay {
    top: 8%;
    right: 20px;
  }

  .hero-main-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .hero-slogan {
    font-size: 1.35rem;
    top: 56%;
    right: 20px;
  }

  .middle-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-panel {
    grid-column: span 2;
  }

  .streams-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-left-overlay {
    max-width: 380px;
    padding: 14px 18px;
    left: 20px;
  }

  .hero-stream-sub {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .cyber-nav {
    display: none;
  }

  .cyber-nav.mobile-active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(3, 7, 18, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--neon-cyan);
    padding: 16px;
    z-index: 99;
  }

  .cyber-nav.mobile-active .cyber-nav-list {
    flex-direction: column;
    width: 100%;
  }

  .cyber-nav.mobile-active .nav-link {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .middle-grid {
    grid-template-columns: 1fr;
  }

  .about-panel {
    grid-column: span 1;
  }

  .streams-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-wrapper {
    position: relative;
    width: 100%;
    min-height: 480px;
    height: auto;
    aspect-ratio: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: 1;
  }

  .hero-content-container {
    position: relative;
    z-index: 8;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 16px;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.4) 0%, rgba(3, 7, 18, 0.75) 100%);
  }

  .hero-right-overlay {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 440px;
    margin: 0;
    padding: 14px 20px;
    order: 1;
  }

  .hero-main-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-left-overlay {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 440px;
    margin: 0;
    padding: 16px 20px;
    order: 2;
  }

  /* Ukrycie sloganu w wersji mobilnej na prośbę użytkownika */
  .hero-slogan {
    display: none !important;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-left, .footer-right {
    justify-content: center;
  }
}
