html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Share Tech Mono', monospace;
  background: transparent;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#bgvi {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  background: #39383A;
}

body {
  height: 100vh;
  box-sizing: border-box;
}

.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* MAIN CONTAINER - FIXED FOR MOBILE */
.container {
  display: flex;
  height: auto;
  min-height: 100vh;
  width: 100vw;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Left branding section - DESKTOP */
.left-bar {
  background: rgba(220, 220, 225, 0);
  width: 300px;
  padding: 50px 32px 20px 45px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 10;
  position: relative;
  backdrop-filter: blur(0px);
  min-width: 220px;
  max-width: 320px;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.site-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.3em;
  font-weight: bold;
  letter-spacing: .15em;
  margin-bottom: 17px;
  color: #f7f6f6;
}

.site-small {
  font-size: 1.1em;
  font-family: 'Share Tech Mono', monospace;
  color: #676767;
  letter-spacing: 0.14em;
  margin-bottom: 29px;
  line-height: 1.3;
}

.side-desc {
  font-size: 1em;
  color: #f7f6f6;
  border-left: 2px solid #bababa;
  padding-left: 12px;
  margin-bottom: 15px;
  margin-top: 19px;
  opacity: 0.8;
  font-family: inherit;
}

/* Panel navigation - DESKTOP */
.panels {
  display: flex;
  flex: 1;
  position: relative;
  height: 100vh;
  z-index: 2;
}

.panel {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  min-width: 0;
  min-height: 0;
  cursor: pointer;
  overflow: hidden;
  filter: grayscale(100%) brightness(0.95) contrast(1.05);
  box-shadow: 8px 0px 17px rgba(0, 0, 0, 0.452);
  clip-path: polygon(18% 0, 100% 0%, 100% 100%, 0% 100%);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: filter 0.55s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.55s cubic-bezier(0.4, 0, 0.2, 1), z-index 0.55s cubic-bezier(0.4, 0, 0.2, 1), flex 0.65s cubic-bezier(0.7, 0, 0.2, 1);
  filter: none;
}

.panel::before {
  content: "";
  color: linear-gradient(120deg, rgba(55, 58, 66, 0.33) 49%, rgba(243, 8, 8, 0.781) 100%);
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(5px) brightness(0.);
  transform: scale(1.05);
  transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

.panel:not(:first-child) {
  margin-left: -110px;
}

.panel-content {
  width: 100%;
  color: #fff;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 38px;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.9em;
  font-weight: bold;
  opacity: 0.73;
  letter-spacing: 0.18em;
  margin-bottom: 3px;
}

.panel-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.14em;
  letter-spacing: 0.12em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

/* Panel background images and overlays */
.panel.bg1 {
  background:
    linear-gradient(120deg, rgba(55, 58, 66, 0.33) 49%, rgba(0, 0, 0, .22) 100%),
    url('./assets/krcpunk.png') center center/cover no-repeat;
}

.panel.bg2 {
  background:
    linear-gradient(120deg, rgba(55, 58, 66, 0.27) 52%, rgba(0, 0, 0, 0.19) 100%),
    url('../assets/car.png') center center/cover no-repeat;
}

.panel.bg3 {
  transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 0;
  background:
    linear-gradient(120deg, rgba(55, 58, 66, 0.23) 59%, rgba(0, 0, 0, 0.18) 100%),
    url('../assets/lfrn.png') center center/cover no-repeat;
}

.panel.bg3 .panel-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  filter: blur(6px) brightness(0.7);
  transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel.bg3:hover .panel-video,
.panel.bg3.active .panel-video {
  filter: none;
}

.panel.bg3 .panel-content {
  position: relative;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel.bg4 {
  background:
    linear-gradient(120deg, rgba(55, 58, 66, 0.16) 70%, rgba(0, 0, 0, 0.17) 100%),
    url('../assets/gallery.png') center center/cover no-repeat;
}

.panel.bg5 {
  background:
    linear-gradient(120deg, rgba(55, 58, 66, 0.19) 57%, rgba(0, 0, 0, 0.17) 100%),
    url('../assets/cococontact.png') center center/cover no-repeat;
}

.panel::before {
  filter: blur(5px) brightness(0.7) drop-shadow(0 0 5px #000a);
  opacity: 1;
}

.panel.bg1::before {
  background:
    linear-gradient(180deg, rgba(55, 58, 66, 0.33) 49%, rgba(243, 8, 8, 0.781) 100%),
    url('../assets/krcpunk.png') center center/cover no-repeat;
}

.panel.bg2::before {
  background:
    linear-gradient(180deg, rgba(55, 58, 66, 0.27) 52%, rgba(243, 8, 8, 0.781) 100%),
    url('../assets/car.png') center center/cover no-repeat;
}

.panel.bg3::before {
  background:
    linear-gradient(120deg, rgba(55, 58, 66, 0.23) 59%, rgba(243, 8, 8, 0.781) 100%);
}

.panel.bg3::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(55, 58, 66, 0.23) 70%, rgba(243, 8, 8, 0.7) 100%);
  pointer-events: none;
  z-index: 5;
  opacity: 1;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel.bg4::before {
  background:
    linear-gradient(180deg, rgba(55, 58, 66, 0.16) 70%, rgba(243, 8, 8, 0.781) 100%),
    url('../assets/gallery.png') center center/cover no-repeat;
}

.panel.bg5::before {
  background:
    linear-gradient(180deg, rgba(55, 58, 66, 0.19) 57%, rgba(243, 8, 8, 0.781) 100%),
    url('../assets/cococontact.png') center center/cover no-repeat;
}

.panel.active,
.panel:hover {
  flex: 2.7;
  z-index: 100;
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.863)) brightness(1) grayscale(0);
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
  transition: flex 0.65s cubic-bezier(0.7, 0, 0.2, 1), z-index 0.65s cubic-bezier(0.7, 0, 0.2, 1), filter 0.65s cubic-bezier(0.7, 0, 0.2, 1), clip-path 0.65s cubic-bezier(0.7, 0, 0.2, 1);
}

.panel.bg1:hover {
  clip-path: polygon(18% 0, 100% 0%, 100% 100%, 0% 100%);
  transition: clip-path 0.6s cubic-bezier(0.7, 0, 0.2, 1);
}

.panel:hover::before,
.panel.active::before {
  filter: none;
  opacity: 1;
  border: #0002;
  transition: filter 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel:not(.active):not(:hover) .panel-content {
  opacity: 0.61;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-content {
  position: relative;
  z-index: 1;
  transition: color 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.wrapper:hover a.panel:not(:hover):not(.active) {
  filter: brightness(0.7) grayscale(1);
  transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
}

/* MOBILE STYLES - UPDATED */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  .left-bar {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 30px 20px 20px 20px;
    align-items: center;
    text-align: center;
    position: static !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
  
  .left-bar img {
    width: 80% !important;
    max-width: 280px;
    margin: 0 auto !important;
    display: block !important;
    position: static !important;
    opacity: 0.9;
  }
  
  .side-desc {
    font-size: 0.95em !important;
    margin-top: 15px !important;
    position: static !important;
    border-left: none;
    text-align: center;
    padding-left: 0;
    border-top: 2px solid #bababa;
    border-bottom: 2px solid #bababa;
    padding: 10px 0;
    width: 100%;
  }
  
  .panels {
    flex-direction: column;
    width: 100%;
    height: auto;
    flex: none;
    padding: 0 10px 20px 10px;
    box-sizing: border-box;
  }
  
  .panel {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 500px !important;
    height: 80px;
    margin: 8px auto !important;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%) !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    flex: none !important;
  }
  
  .panel:not(:first-child) {
    margin-left: 0 !important;
  }
  
  .panel-content {
    position: static !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 0 20px;
  }
  
  .panel-num {
    font-size: 1.5em;
  }
  
  .panel-label {
    font-size: 1em;
  }
  
  /* Disable hover effects on mobile */
  .panel.active,
  .panel:hover {
    flex: none !important;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%) !important;
    filter: none;
  }
  
  /* Hide cursor on mobile */
  .cursor,
  .cursor-follower {
    display: none;
  }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
  .left-bar {
    padding: 20px 15px 15px 15px;
  }
  
  .left-bar img {
    width: 90% !important;
    max-width: 220px;
  }
  
  .side-desc {
    font-size: 0.85em !important;
    padding: 8px 0;
  }
  
  .panel {
    height: 70px;
    margin: 6px auto !important;
  }
  
  .panel-content {
    padding: 0 15px;
  }
  
  .panel-num {
    font-size: 1.3em;
  }
  
  .panel-label {
    font-size: 0.9em;
  }
}