* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
}

.Logo-Text {
  font-family: "Goldman", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.H1-Logo-Text-Gray {
  font-family: "Fugaz One", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: black;
}

.H1-Logo-Text-Black-Ru {
  font-family: "Rubik Mono One", "Rubik", sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-style: italic;
  color: black;
}

.H1-Logo-Text {
  font-family: "Russo One", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: rgb(105, 105, 105);
}

p {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 1.5;
  color: #000000;
}

.scroll-down-btn {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: rgb(0, 0, 0);
  border: 2px solid black;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  outline: none;
  z-index: 10;
}

.scroll-down-btn:hover {
  transform: translateX(-50%) scale(1.1);
}

.scroll-down-btn:active {
  transform: translateX(-50%) scale(0.95);
}

.arrow-icon {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.scroll-down-btn:hover .arrow-icon {
  transform: translateY(3px);
}

@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.scroll-down-btn {
  animation: float 3s ease-in-out infinite;
}

.liquidGlass-wrapper {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  overflow: hidden;
  color: black;
  cursor: pointer;
  box-shadow:
    0 6px 6px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.liquidGlass-effect {
  position: absolute;
  z-index: 0;
  inset: 0;
  backdrop-filter: blur(3px);
  filter: url(#glass-distortion);
  overflow: hidden;
  isolation: isolate;
}

.liquidGlass-tint {
  z-index: 1;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
}

.liquidGlass-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  box-shadow:
    inset 2px 2px 1px 0 rgba(255, 255, 255, 0.5),
    inset -1px -1px 1px 1px rgba(255, 255, 255, 0.5);
}

.liquidGlass-text {
  z-index: 3;
  font-size: 2rem;
  color: black;
}

body {
  justify-content: center;
  background-size: 500px;
  font-family: sans-serif;
  font-weight: 300;
  animation: moveBackground 60s linear infinite;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.wrapper {
  display: flex;
  gap: 25px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: flex-end;
}

.menu,
.menu > div {
  padding: 0.4rem;
  border-radius: 1.8rem;
}

.menu:hover {
  padding: 0.6rem;
  border-radius: 1.8rem;
}

.menu > div > div {
  font-size: 20px;
  color: white;
  padding: 0.4rem 0.6rem;
  border-radius: 0.8rem;
  transition: all 0.1s ease-in;
}

.menu > div > div:hover {
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: inset -2px -2px 2px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px);
}

.dock {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 2rem;
  height: auto;
  width: 80%;
}

.dock,
.dock > div {
  border-radius: 2rem;
}

.dock:hover {
  padding: 0.8rem;
  border-radius: 2.5rem;
}

.dock:hover > div {
  border-radius: 2.5rem;
}

.dock img {
  width: 75px;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.dock img:hover {
  transform: scale(0.95);
  transform-origin: center center;
}

.button {
  padding: 1.5rem 2.5rem;
  border-radius: 3rem;
}

.button,
.button > div {
  border-radius: 3rem;
}

.button:hover {
  padding: 1.8rem 2.8rem;
}

.button:hover > div {
  border-radius: 4rem;
}

.button svg {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.button:hover svg {
  transform: scale(0.95);
}

@keyframes moveBackground {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 0% -1500%;
  }
}

.H1-Logo-Text,
.H1-Logo-Text-Gray {
  animation: fadeInUp 1.5s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.H1-Logo-Text-Gray {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dock-navigation {
  display: flex;
  gap: 5px;
  margin: 0 20px;
}

.nav-link {
  color: black;
  text-decoration: none;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dock-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-icon {
  transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
  transform: scale(1.1);
}

.dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 15px;
}

.liquidGlass-text {
  text-align: center;
}

.liquidGlass-wrapper.dock {
  display: flex;
  justify-content: center;
  align-items: center;
}

.liquidGlass-text {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.dock {
  display: flex;
  align-items: center;
  margin-left: 20px;
  gap: 15px;
  flex-wrap: wrap;
  width: auto;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .dock {
    flex-direction: column;
    gap: 10px;
  }

  .dock-social,
  .dock-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .Logo-Text {
    text-align: center;
    margin-bottom: 5px;
  }
}

@media (max-width: 480px) {
  .dock {
    gap: 8px;
  }

  .nav-link {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

.container {
  background-color: #ffffff;
  width: auto;
  min-height: 300px;
  border-radius: 12px;
  padding: 40px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content {
  color: #000000;
  line-height: 1.6;
  font-size: 18px;
  margin-bottom: 30px;
}

.highlight {
  color: #000000;
  font-weight: 600;
}

.username {
  display: inline-block;
  background-color: #f5f5f5;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.tag {
  background-color: #f5f5f5;
  color: #333333;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .container {
    padding: 30px 20px;
    min-height: 250px;
  }

  .content {
    font-size: 16px;
  }

  .container::before {
    left: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 25px 15px;
  }

  .content {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  #Services {
    padding: 40px 15px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 25px 20px;
  }

  #Services h1 {
    font-size: 2.2rem;
  }
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-color: #d0d0d0;
}

.Kontakt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  width: 350px;
  height: 70px;
  border-radius: 15px;
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.liquidGlass-tint {
  z-index: 1;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

#contacts-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  overflow-x: auto;
}

.container {
  max-width: 1150px;
}

.text-column {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.text-item {
  border: 1px solid #ddd;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.text-item:hover {
  background-color: #f9f9f9;
}

.text-item.active {
  background-color: #f5f5f5;
}

.text-content {
  padding: 24px 30px;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-content::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: #888;
  transition: transform 0.3s ease;
}

.text-item.active .text-content::after {
  content: "−";
  transform: rotate(0deg);
}

.expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  border-top: 1px solid #eee;
}

.content-inner {
  padding: 0 30px 30px;
  line-height: 1.6;
  color: #333;
}

h3 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
  color: #222;
}

ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

li {
  margin-bottom: 8px;
}

.divider {
  height: 1px;
  background-color: #eee;
  margin: 40px 0;
}

@media (max-width: 768px) {
  .text-content {
    padding: 20px;
    font-size: 16px;
  }

  .content-inner {
    padding: 0 20px 20px;
  }
}

.text-item {
  width: 95%;
  text-align: center;
  margin: 0 auto;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

.animate-on-view,
.animate-early,
.animate-medium,
.animate-delayed,
.animate-staggered {
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.animate-on-view.animated,
.animate-early.animated,
.animate-medium.animated,
.animate-delayed.animated,
.animate-staggered.animated {
  opacity: 1;
}

.animate-early {
  transform: translateY(20px);
}

.animate-early.animated {
  transform: translateY(0);
}

.animate-medium {
  transform: translateY(30px);
}

.animate-medium.animated {
  transform: translateY(0);
}

.animate-delayed {
  transform: translateY(40px) scale(0.98);
  animation-delay: var(--animation-delay, 0s);
}

.animate-delayed.animated {
  transform: translateY(0) scale(1);
}

.animate-staggered {
  transform: translateX(-20px);
  animation-delay: var(--animation-delay, 0s);
}

.animate-staggered.animated {
  transform: translateX(0);
}

.animate-immediate {
  transform: translateY(-10px);
}

.animate-immediate.animated {
  transform: translateY(0);
}

.section-visible {
  transform: translateY(50px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.section-visible.animated {
  transform: translateY(0);
}

.card-visible {
  transform: translateY(60px) rotateX(5deg);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.card-visible.animated {
  transform: translateY(0) rotateX(0);
}

.contact-visible {
  transform: translateY(50px) scale(0.95);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.contact-visible.animated {
  transform: translateY(0) scale(1);
}

.content-visible {
  opacity: 0;
  transition: opacity 1s ease;
}

.content-visible.animated {
  opacity: 1;
}

.nav-visible {
  opacity: 0;
  transform: translateY(-5px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.nav-visible.animated {
  opacity: 1;
  transform: translateY(0);
}

.scroll-btn-visible {
  opacity: 0;
  transition: opacity 1s ease;
}

.scroll-btn-visible.animated {
  opacity: 1;
}

.text-item-visible {
  opacity: 0;
  transform: translateX(-15px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.text-item-visible.animated {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-left {
  transform: translateX(-40px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.fade-in-left.animated {
  transform: translateX(0);
}

.fade-in-up {
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in-up.animated {
  transform: translateY(0);
}

.fade-in-scale {
  transform: scale(0.9);
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-in-scale.animated {
  transform: scale(1);
  opacity: 1;
}

h1:not(.H1-Logo-Text):not(.H1-Logo-Text-Gray) {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

h1:not(.H1-Logo-Text):not(.H1-Logo-Text-Gray).animated {
  opacity: 1;
  transform: translateY(0);
}

.liquidGlass-wrapper {
  opacity: 0;
  transform: translateY(-15px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.liquidGlass-wrapper.animated {
  opacity: 1;
  transform: translateY(0);
}

.service-card,
.contact-card,
.text-item {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover,
.contact-card:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .animate-early,
  .animate-medium,
  .animate-delayed {
    transform: translateY(15px) !important;
  }

  .fade-in-left {
    transform: translateX(-20px) !important;
  }

  .fade-in-up {
    transform: translateY(20px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-view,
  .animate-early,
  .animate-medium,
  .animate-delayed,
  .animate-staggered,
  .animate-immediate,
  .section-visible,
  .card-visible,
  .contact-visible,
  .content-visible,
  .nav-visible,
  .scroll-btn-visible,
  .text-item-visible,
  .fade-in-left,
  .fade-in-up,
  .fade-in-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px !important;
  right: 30px;
  right: 30px !important;
  width: 56px;
  height: 56px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 5;
  padding: 0;
  margin: 0;
  pointer-events: auto !important;
  will-change: transform, opacity;
}

body.back-to-top-fixed,
html.back-to-top-fixed {
  transform: none !important;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) !important;
}

body,
html {
  position: static;
  transform: none !important;
}

.back-to-top-container {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  z-index: 99999;
  pointer-events: none;
}

.back-to-top {
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: #f8f8f8;
  border-color: #d4d4d4;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.back-to-top:active {
  background-color: #f0f0f0;
  transform: translateY(0) !important;
}

.back-to-top svg {
  color: #333333;
  transition: transform 0.2s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: 16px !important;
    right: 16px !important;
  }

  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

.back-to-top-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  z-index: 9999;
  pointer-events: none;
}

.back-to-top-wrapper .back-to-top {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  pointer-events: auto;
}

* {
  box-sizing: border-box;
}

.back-to-top {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.back {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 70px;
  background-color: #000000;
  border-radius: 25px;
  margin: 50px auto 0;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back:hover {
  background-color: #2525258c;
}

.p {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 1.5;
  color: #000000;
}

@media (max-width: 480px) {
  .chat-bot-button {
    width: 44px;
    height: 44px;
    bottom: 30px !important;
    right: 30px !important;
  }

  .chat-bot-button svg {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .chat-bot-button {
    bottom: 100px !important;
    right: 30px !important;
  }
}

* {
  box-sizing: border-box;
}

.chat-bot-button {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
}

body {
  background-color: #f5f5f5;
  min-height: 100vh;
}

.chatbox::-webkit-scrollbar {
  width: 4px;
}

.chatbox::-webkit-scrollbar-track {
  background: transparent;
}

.chatbox::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 2px;
}

.chatbox::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

@media (max-width: 480px) {
  .chat-bot-button {
    bottom: 50px;
    right: 30px;
    width: 52px;
    height: 52px;
  }

  .chat-window {
    width: calc(100vw - 30px);
    height: 460px;
    bottom: 80px;
    left: 15px;
    right: 15px;
  }

  .chat-header {
    padding: 16px 20px;
  }

  .chatbox {
    padding: 16px;
  }

  .chat-message {
    max-width: 90%;
    font-size: 13px;
    padding: 10px 14px;
  }
}

@media (max-height: 600px) {
  .chat-window {
    height: 400px;
  }
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-container video {
  cursor: pointer;
}
.loading-spinner {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
  z-index: 10;
}
.loading-spinner.active {
  display: block;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.progress-container {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 20;
}
.progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.progress-bar:hover {
  height: 5px;
}
.progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 2px;
  width: 0%;
  position: relative;
}
.progress-fill::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}
.progress-bar:hover .progress-fill::after {
  opacity: 1;
}
.time-display {
  color: #fff;
  font-size: 11px;
  font-family: sans-serif;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.details-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 24px;
  background: transparent;
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.details-btn:hover {
  background: #000;
  color: #fff;
  border-color: #000;
  transform: translateY(-2px);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #fff;
  max-width: 500px;
  width: 90%;
  border-radius: 16px;
  padding: 32px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-card h2 {
  margin: 0 0 12px 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: #000;
}

.modal-card .subtitle {
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.image-placeholder {
  background: #f8f8f8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border: 1px solid #f0f0f0;
}

.image-placeholder svg {
  opacity: 0.5;
}

.image-placeholder:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.description-text {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 20px 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #333;
  font-size: 0.9rem;
  border-bottom: 1px solid #f5f5f5;
}

.feature-list li:last-child {
  border-bottom: none;
}

.close-btn {
  width: 100%;
  margin-top: 24px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #000;
}

.close-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.modal-card {
  background: #fff;
  max-width: 600px;
  width: 90%;
  border-radius: 20px;
  padding: 32px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-height: 85vh;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .modal-card {
    padding: 24px;
    width: 95%;
    max-height: 90vh;
  }

  .image-grid {
    grid-template-columns: 1fr !important;
  }
}

.preview-card {
  background: rgba(10, 10, 10, 0.95);
  border-radius: 32px;
  overflow: hidden;
  opacity: 1;
  transition:
    opacity 0.3s,
    transform 0.3s;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .preview-card {
    width: 90%;
    max-width: 460px;
    aspect-ratio: 9 / 16;
  }
}

@media (min-width: 769px) {
  .preview-card {
    width: 92%;
    max-width: 1150px;
    aspect-ratio: 16 / 9;
  }
}

.video-preview {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}

.video-preview video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(36px) saturate(1.8) brightness(0.5);
  transform: scale(1.12);
  pointer-events: none;
  z-index: 0;
}

.preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.play-button:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.9);
}

.play-button:active {
  transform: scale(0.95);
}

.play-button svg {
  width: 40px;
  height: 40px;
  fill: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@media (max-width: 480px) {
  .play-button {
    width: 65px;
    height: 65px;
  }
  .play-button svg {
    width: 32px;
    height: 32px;
  }
  .preview-tip {
    font-size: 10px;
    bottom: 12px;
  }
}

* {
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

body {
  overflow: hidden;
  margin: 0;
  padding: 0;
}

#video-feed {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100vh;
  width: 100vw;
  scrollbar-width: none;
}

#video-feed::-webkit-scrollbar {
  display: none;
}

.video-slide {
  scroll-snap-align: start;
  width: 100vw;
  height: 100vh;
  position: relative;
  background: #000;
  overflow: hidden;
}

.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(36px) saturate(1.8) brightness(0.5);
  transform: scale(1.12);
  pointer-events: none;
  z-index: 0;
}

.video-slide video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  cursor: pointer;
  object-fit: contain;
}

.glass-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 0;
}

.video-slide[data-paused="true"] .glass-play-btn {
  opacity: 1;
  pointer-events: auto;
}

.glass-play-btn:active {
  transform: translate(-50%, -50%) scale(0.92);
}

.glass-play-btn svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.glass-spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
}

.glass-spinner.active {
  display: flex;
}

.glass-spinner::after {
  content: "";
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.video-progress {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  z-index: 15;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  padding: 8px 20px;
}

.progress-track {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: height 0.2s;
  border-radius: 3px;
}

.progress-track:hover {
  height: 8px;
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #ffffff;
  width: 0%;
  transition: width 0.05s linear;
  pointer-events: none;
  border-radius: 3px;
}

.progress-buffered {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  width: 0%;
  pointer-events: none;
  border-radius: 3px;
}

.progress-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

.progress-track:hover .progress-thumb {
  opacity: 1;
}

body.dragging-progress .progress-thumb {
  opacity: 1 !important;
}

body.dragging-progress {
  cursor: grabbing !important;
}

.time-display {
  position: absolute;
  bottom: 45px;
  right: 20px;
  color: white;
  font-size: 13px;
  font-family: monospace;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 15;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.controls-hidden .glass-play-btn,
.controls-hidden .video-progress,
.controls-hidden .time-display {
  opacity: 0 !important;
  pointer-events: none !important;
}

.controls-hidden .glass-back-btn {
  opacity: 0.5;
}

.controls-hidden .glass-back-btn:hover {
  opacity: 1;
}

.nav-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
  transition: opacity 0.3s ease;
}

.controls-hidden .nav-dots {
  opacity: 0.3;
}

.nav-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-dot.active {
  background: #ffffff;
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .glass-play-btn {
    width: 70px;
    height: 70px;
  }
  .glass-play-btn svg {
    width: 35px;
    height: 35px;
  }
  .glass-back-btn {
    padding: 8px 16px;
    top: 15px;
    right: 15px;
    font-size: 12px;
  }
  .glass-back-btn svg {
    width: 16px;
    height: 16px;
  }
  .video-progress {
    padding: 8px 15px;
  }
  .progress-track {
    height: 8px;
  }
  .progress-thumb {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .glass-back-btn span {
    display: none;
  }
  .glass-back-btn {
    padding: 10px;
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-in-scale.animated {
  opacity: 1;
  transform: scale(1);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.works-responsive-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 150px;
  margin: 40px 20px 60px;
  flex-wrap: nowrap;
  margin-bottom: 15px;
}

@media (max-width: 1099px) {
  .works-responsive-row {
    padding-bottom: 20px;
    margin-bottom: 25px;
  }
}

@media (min-width: 1100px) {
  .works-responsive-row {
    padding-bottom: 0;
  }
}

.video-preview-card {
  flex: 1;
  min-width: 280px;
  max-width: 560px;
  background: rgba(10, 10, 10, 0.95);
  border-radius: 32px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.counter-culture-desktop {
  flex-shrink: 0;
  max-width: 750px;
  width: auto;
  height: auto;
  display: block;
}

@media (max-width: 1100px) {
  .counter-culture-desktop {
    display: none !important;
  }
  .works-responsive-row {
    justify-content: center;
    gap: 30px;
  }
}

.preview-card-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
}

.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(36px) saturate(1.8) brightness(0.5);
  transform: scale(1.12);
  pointer-events: none;
  z-index: 0;
}

#previewImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.play-button:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.9);
}

.play-button:active {
  transform: scale(0.95);
}

.play-button svg {
  width: 40px;
  height: 40px;
  fill: white;
  margin-left: 4px;
}

@media (max-width: 768px) {
  .works-subtitle {
    text-align: center !important;
    margin-left: 0 !important;
    padding: 0 16px;
  }
  .works-responsive-row {
    margin: 30px 16px;
  }
}

@media (max-width: 480px) {
  .play-button {
    width: 65px;
    height: 65px;
  }
  .play-button svg {
    width: 32px;
    height: 32px;
  }
}