.cs-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.cs-header {
  text-align: center;
  padding: 80px 20px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cs-title {
  color: #ed006a;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.cs-subtitle {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 20px;
}

.cs-link {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #ed006a;
  color: #ed006a;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.cs-link:hover {
  background: #ed006a;
  color: #000;
  box-shadow: 0 0 10px #ed006a;
}

.cs-hero {
  text-align: center;
  padding: 50px 0;
}

.cs-hero img {
  width: 80%;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(237, 0, 106, 0.2);
  transition: all 0.3s ease;
}

.cs-hero img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(237, 0, 106, 0.4);
}


.case-img-main {
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

.scroll-frame {
  position: relative;
  width: 66%;
  max-width: 1100px;
  height: 600px; /* dopasuj w razie potrzeby */
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(237, 0, 106, 0.2);
  transition: box-shadow 0.3s ease;
}

.scroll-frame:hover {
  box-shadow: 0 0 40px rgba(237, 0, 106, 0.4);
}

.scroll-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: transform 10s linear;
  will-change: transform;
  user-select: none;
  pointer-events: none;
}

.scroll-frame:hover img {
  transform: translateY(calc(-100% + 600px)); /* przewinięcie całego obrazka do końca */
}


.cs-section {
  margin: 60px 0;
}

.cs-section h2 {
  color: #ed006a;
  font-size: 1.3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-left: 3px solid #ed006a;
  padding-left: 10px;
}

.cs-section p, .cs-section ul {
  color: #ddd;
  font-size: 0.95rem;
}

.cs-section ul {
  list-style: none;
  margin-top: 10px;
}

.cs-section ul li {
  margin: 8px 0;
  padding-left: 15px;
  position: relative;
}

.cs-section ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #ed006a;
}

.cs-step {
  margin-bottom: 30px;
  border-left: 2px solid rgba(237,0,106,0.5);
  padding-left: 15px;
}

.cs-step h3 {
  color: #ed006a;
  margin-bottom: 5px;
  font-size: 1rem;
}

.cs-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cs-tech span {
  border: 1px solid #ed006a;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #ed006a;
  transition: all 0.3s ease;
}

.cs-tech span:hover {
  background: #ed006a;
  color: #000;
  box-shadow: 0 0 10px #ed006a;
}

.cs-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 80px 0;
}

.cs-gallery img {
  width: 45%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(237,0,106,0.15);
}

.cs-next {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.back-link {
  color: #ed006a;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-link:hover {
  text-shadow: 0 0 10px #ed006a;
}
