/* --------------------------------------------------
   CUSTOM FONT
-------------------------------------------------- */
@font-face {
  font-family: 'Quicksand-Bold';
src: url('../font/Quicksand-Bold/Quicksand-Bold.woff2') format('woff2'),
     url('../font/Quicksand-Bold/Quicksand-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
}

@font-face {
  font-family: 'Quicksand-Light'; 
src: url('../font/Quicksand-Light/Quicksand-Light.woff2') format('woff2'),
     url('../font/Quicksand-Light/Quicksand-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
}

/* --------------------------------------------------
   ZMIENNE GLOBALNE I KOLORY
-------------------------------------------------- */
:root {
  --violet-100: #f5f0ff;
  --violet-200: #e3d6ff;
  --violet-500: #a36fff;
  --violet-700: #6a40d6;
}


/* --------------------------------------------------
   PODSTAWOWY STYL STRONY
-------------------------------------------------- */
body {
  background: linear-gradient(rgba(245,240,255,0.6), rgba(245,240,255,0.6));
  color: #2c2c2c;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  margin: 0;
  padding-top: 0px; 
  opacity: 1;
  transition: opacity 0.8s ease;
  overflow-x: hidden;
}

/* --------------------------------------------------
   STYL LOADERA
-------------------------------------------------- */

#loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(rgb(245, 240, 255), rgb(245, 240, 255));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.4s ease-out;
}

#loader.hide {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 100px; 
  height: 100px;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.font-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-family: 'Quicksand-Bold', sans-serif;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--violet-700);
  text-shadow: 2px 2px 10px rgba(0,0,0,0.08);
}

.shop-title {
  font-size: clamp(1.5rem, 1.5vw, 1.5rem);
  font-family: 'Quicksand-Bold', sans-serif;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  color: var(--violet-700);
  text-shadow: 2px 2px 10px rgba(0,0,0,0.08);
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--violet-700) var(--violet-100);
}

section[id] {
  scroll-margin-top: 100px; 
}



/* --------------------------------------------------
   PASEK NAWIGACJI (NAVBAR)
-------------------------------------------------- */
.topbar {
  width: 100%;
  background-color: var(--violet-100);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 15px rgba(90, 60, 150, 0.08);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(6px);
  overflow: visible;
  transition: all 0.3s ease;
}

.topbar.hide-navbar {
  transform: translateY(-100%);
  opacity: 0;
}

.bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; 
  pointer-events: none;
  z-index: 0;
}

.bg-animation {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 300%;
  opacity: 0.6;
  background: radial-gradient(circle, rgba(160,130,250,0.1) 0%, rgba(255,255,255,0) 70%);
  animation: rotateGradient 25s linear infinite;
}

@keyframes rotateGradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.logo-img {
  height: 85px;
  width: auto;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.1));
  transition: transform 0.35s ease, filter 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 5px 10px rgba(90, 60, 150, 0.2));
}

.navbar-nav .nav-link {
  font-family: 'Quicksand-Bold', sans-serif;
  color: var(--violet-700);
  font-weight: 500;
  margin-left: 1.5rem;
  font-size: 1.05rem;
  position: relative;
  transition: color 0.3s ease, transform 0.2s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--violet-500);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--violet-500);
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  filter: invert(0.5);
}

.cp-user-wrapper {
    font-family: 'Quicksand-Bold', sans-serif;
    display: flex;
    align-items: center;
}

.cp-user-button {
    background-color: transparent;
    color: var(--violet-700);
    font-size: 1.05rem;
    font-weight: 500;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.cp-user-button:hover,
.cp-user-button:focus {
    color: var(--violet-500);
    transform: translateY(-2px);
}

.cp-user-button::after {
    content: "\25BC";
    font-size: 0.7rem;
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.cp-user-wrapper:hover .cp-user-button::after {
    transform: rotate(-180deg);
}

.cp-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 220px;
    max-width: 300px;
    background: linear-gradient(rgb(245, 240, 255), rgb(245, 240, 255));
    border: 1px solid rgba(110, 60, 255, 0.08);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 12px 30px rgba(110, 60, 255, 0.15);
    z-index: 1000;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cp-user-wrapper:hover .cp-user-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cp-user-dropdown .cp-user-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--violet-700);
    text-decoration: none;
    border-radius: 0; 
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

.cp-user-dropdown .cp-user-item:hover {
    background-color: rgba(110, 60, 255, 0.08);
    color: var(--violet-500);
    transform: translateX(0);
}

.cp-user-dropdown .cp-logout {
    border-radius: 0 0 18px 18px;
    color: #dc3545;
}

.cp-user-dropdown .cp-logout:hover {
    background-color: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

.cp-user-dropdown .cp-divider {
    margin: 0.5rem 0;
    border-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .logo-img {
    height: 80px !important;
    display: block;
    margin: 0 auto;
  }

  .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(100, 80, 160, 0.15);
    box-shadow: 0 6px 18px rgba(50, 30, 100, 0.12);
    border-radius: 16px;
    padding: 1rem 0.8rem;
    margin-top: 1rem;
    text-align: left; 
  }

  .navbar-nav .nav-link,
  .navbar-nav .cp-user-button {
    text-align: left;
    margin: 0.3rem 0;
  }

  .cp-user-wrapper {
    width: 100%;
    position: relative;
    z-index: 1050;
  }

  .cp-user-dropdown {
    display: none;
    width: 100%;
    margin-top: 0.4rem;
    background: rgb(255, 255, 255);
    border: 1px solid rgba(100, 80, 160, 0.15);
    border-radius: 12px;
    padding: 0.4rem 0;
    backdrop-filter: blur(12px);
    position: absolute; 
    left: 0;
    z-index: 2000;
  }

  .cp-user-wrapper.active .cp-user-dropdown {
    display: block;
  }

  .navbar-toggler {
    transform: scale(1.2);
  }
}



/* --------------------------------------------------
   SEKCJA HOME
-------------------------------------------------- */
@media (max-width: 768px) {
  #home .btn {
    display: block;        
    width: 100%;           
    margin-right: 0 !important; 
    margin-bottom: 1rem;  
  }
}

/* --------------------------------------------------
   SEKCJA HERO (STRONA GŁÓWNA)
-------------------------------------------------- */
.hero {
  flex: 1; 
  display: flex;
  align-items: center; 
  justify-content: center;
  min-height: 65vh;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-family: 'Quicksand-Bold', sans-serif;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--violet-700);
  text-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}

.hero-description {
  font-family: 'Quicksand-Light', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #4b4b4b;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.05);
}

.shop-description {
  font-family: 'Quicksand-Light', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #4b4b4b;
  max-width: 800px;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.05);
}

.animate__float {
    animation: fadeIn 1.2s ease forwards, float 3s ease-in-out infinite;
    animation-delay: 0s, 1.2s;
}


@keyframes float {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -15px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}


@media (max-width: 768px) {
  .hero {
    padding-top: 25px;
  }
}

/* --------------------------------------------------
   PRZYCISKI
-------------------------------------------------- */
.btn-violet {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--violet-500), var(--violet-700));
  color: #fff;
  border: none;
  border-radius: 0.8rem;
  padding: 0.9rem 2.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 18px rgba(90, 60, 150, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  z-index: 0;
}

.btn-violet::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
  transform: skewX(-25deg);
  transition: left 0.7s ease;
  z-index: 1;
}

.btn-violet:hover::before {
  left: 125%;
}

.btn-violet:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(90, 60, 150, 0.35);
  background-color: var(--violet-700);
}

.btn-violet:active {
  transform: translateY(0);
  box-shadow: 0 5px 10px rgba(90, 60, 150, 0.3);
}

/* Błysk jak w btn-violet */
.btn-outline-violet {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: 2px solid var(--violet-500);
  color: var(--violet-700);
  border-radius: 0.8rem;
  padding: 0.9rem 2.2rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  z-index: 0;
}

.btn-outline-violet::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
  transform: skewX(-25deg);
  transition: left 0.7s ease;
  z-index: 1;
}

.btn-outline-violet:hover::before {
  left: 125%;
}

/* Identical hover behaviour */
.btn-outline-violet:hover {
  background: var(--violet-500);
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(90, 60, 150, 0.35);
  border-color: var(--violet-500);
}

/* Active / focus */
.btn-outline-violet:active,
.btn-outline-violet:focus {
  transform: translateY(0) scale(1);
  background: var(--violet-500);
  color: #fff;
  box-shadow: 0 5px 10px rgba(90, 60, 150, 0.3);
}


.btn-light-violet {
  background: var(--violet-100);
  color: var(--violet-700);
  border: 1px solid var(--violet-200);
  border-radius: 0.8rem;
  padding: 0.85rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-light-violet:hover {
  background: var(--violet-200);
  transform: translateY(-3px);
}

.btn-gradient {
  background: linear-gradient(45deg, #9b5fff, #6a40d6, #b48bff);
  color: #fff;
  border: none;
  border-radius: 1rem;
  padding: 1rem 2.6rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 10px 25px rgba(120, 70, 200, 0.3);
  transition: all 0.3s ease;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

.btn-gradient:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(120, 70, 200, 0.4);
}

.btn-secondary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #cfcfcf, #bdbdbd);
  color: #2d2d2d; 
  border: none;
  border-radius: 0.8rem;
  padding: 0.9rem 2.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15); 
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  z-index: 0;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.45),
      rgba(255, 255, 255, 0)
  );
  transform: skewX(-25deg);
  transition: left 0.7s ease;
  z-index: 1;
}

.btn-secondary:hover::before {
  left: 125%;
}

.btn-secondary:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22); 
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.18);
}

.btn-danger {
  background: transparent;
  border: 2px solid #e74c3c;   
  color: #c0392b;            
  border-radius: 0.8rem;
  padding: 0.9rem 2.2rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-danger:hover {
  background: #e74c3c;  
  color: #fff;
  box-shadow: 0 6px 18px rgba(231, 76, 60, 0.25); 
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* --------------------------------------------------
   SEKCJA OFERT
-------------------------------------------------- */
.offers-section {
  position: relative;
}

.offer-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* zmiana z space-between */
  align-items: center;
  height: 100%;
  text-align: center;
  border: none;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(90, 60, 150, 0.15);
}

.offer-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  flex-grow: 1;
}

.offer-card .card-text {
  flex-grow: 1;
  min-height: 60px; 
}

.offer-icon i {
  font-size: 2.8rem;
  color: var(--violet-600);
  background: rgba(130, 90, 230, 0.1);
  padding: 15px;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.offer-card:hover .offer-icon i {
  color: var(--violet-700);
  background: rgba(130, 90, 230, 0.2);
  transform: scale(1.1);
}


.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160,130,250,0.25) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: -60px;
  left: 80px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: 100px;
  animation-delay: 3s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}
/* --------------------------------------------------
  WARING CARD
-------------------------------------------------- */
.card-warning {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  text-align: center;
  border: none;
  border-radius: 1.25rem; 
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 15px rgba(255, 0, 0, 0.06);
  transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.card-warning:hover {
  transform: translateY(-8px);
  background: rgba(255, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(150, 60, 60, 0.08);
}


/* --------------------------------------------------
  PORTFOLIO CARD
-------------------------------------------------- */
.portfolio-web .portfolio-card i {
  font-size: 2.8rem;
  color: var(--violet-600);
  background: rgba(130, 90, 230, 0.1);
  padding: 15px;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.portfolio-web .portfolio-card:hover i {
  color: var(--violet-700);
  background: rgba(130, 90, 230, 0.2);
  transform: scale(1.1);
}

.portfolio-web .portfolio-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-web .portfolio-card:hover {
  box-shadow: 0 10px 30px rgba(90, 60, 150, 0.15);
}

.portfolio-web .portfolio-card p {
  width: 50%;
}
.portfolio-web .canva-wrapper {
  position: relative;
  width: 100%;
  padding-top: 35%; 
  overflow: hidden;
  border-bottom: 6px solid rgba(255,255,255,0.2);
}

.portfolio-web .canva-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .portfolio-web .portfolio-card p {
    width: 100%;
  }
  .portfolio-web .hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
  }
}
@media (max-width: 480px) {
  .portfolio-web .portfolio-card p {
    width: 100%;
  }
  .portfolio-web .hero h1 {
    font-size: clamp(2.3rem, 6vw, 4rem);
  }
}

/* --------------------------------------------------
  PORTFOLIO MINECRAFT SECTION
-------------------------------------------------- */
.portfolio-minecraft .portfolio-card i {
  font-size: 2.8rem;
  color: var(--violet-600);
  background: rgba(130, 90, 230, 0.1);
  padding: 15px;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.portfolio-minecraft .portfolio-card:hover i {
  color: var(--violet-700);
  background: rgba(130, 90, 230, 0.2);
  transform: scale(1.1);
}

.portfolio-minecraft .portfolio-card {
  border: none;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(26, 21, 21, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-minecraft .portfolio-card:hover {
  box-shadow: 0 10px 30px rgba(90, 60, 150, 0.15);
}

.portfolio-minecraft .portfolio-card p {
  width: 90%;
  margin: 1rem auto;
}

.portfolio-minecraft .image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; 
  overflow: hidden;
  background: #222;
  height: 600px;
}

.portfolio-minecraft .image-wrapper img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

@media (max-width: 768px) {
  .portfolio-minecraft .portfolio-card p {
    width: 100%;
    padding: 0 1rem;
  }
  .portfolio-minecraft .image-wrapper {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .portfolio-minecraft .portfolio-card p {
    width: 100%;
  }
  .portfolio-minecraft .image-wrapper {
    height: 250px;
  }
}

/* --------------------------------------------------
  POPRAWKI ANIMACJI
-------------------------------------------------- */
.animate__animated {
  will-change: transform, opacity;
  backface-visibility: hidden;
  opacity: 0;
}


/* --------------------------------------------------
   STOPKA
-------------------------------------------------- */
.footer {
  background: linear-gradient(90deg, var(--violet-100), #ffffff);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--violet-700);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  font-family: 'Rajdhani', sans-serif;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 300%;
  background: radial-gradient(circle, rgba(160,130,250,0.1) 0%, rgba(255,255,255,0) 70%);
  animation: rotateGradient 25s linear infinite;
  z-index: 0;
  opacity: 0.6;
}

@keyframes rotateGradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.footer-left {
  z-index: 1;
}

.footer-logo {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.07) rotate(-2deg);
}

.footer-title {
  font-family: 'Quicksand-Bold', sans-serif;
  font-size: 1.9rem; 
  color: var(--violet-700);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-text {
  font-size: 1.05rem;
  color: #444;
  opacity: 0.85;
}


.footer-links {
  z-index: 1;
}

.footer-link {
  color: var(--violet-700);
  text-decoration: none;
  font-weight: 600;
  margin: 0 0.6rem;
  transition: color 0.25s ease, transform 0.25s ease;
  font-size: 1.05rem;
}

.footer-link:hover {
  color: var(--violet-500);
  transform: translateY(-2px);
}

.footer-email {
  margin-bottom: 0.5rem;
}

.footer-link-email {
  color: var(--violet-700);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-link-email:hover {
  color: var(--violet-500);
  text-decoration: underline;
}

.footer-copy {
  color: #777;
  font-size: 1rem;
  letter-spacing: 0.3px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-logo {
    height: 60px;
    margin-bottom: 10px;
  }

  .footer-title {
    font-size: 1.5rem;
  }

  .footer-text {
    font-size: 0.95rem;
  }

  .footer {
    text-align: center;
    padding: 3rem 1rem;
  }
}

/* --------------------------------------------------
   REGULAMIN
-------------------------------------------------- */

.regulamin-header {
  background: linear-gradient(90deg, rgba(240,235,255,0.8), rgba(250,245,255,0.9));
}

.regulamin-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--violet-700);
  text-shadow: 2px 2px 10px rgba(0,0,0,0.08);
}

.regulamin-date {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  color: #555;
}

.regulamin-content {
  max-width: 900px;
  margin: 0 auto;
  color: #333;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.7;
}

.regulamin-section-title {
  color: var(--violet-700);
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.05);
}

.regulamin-mail {
  color: var(--violet-600);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.regulamin-mail:hover {
  color: var(--violet-800);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .regulamin-title {
    font-size: 2.2rem;
  }

  .regulamin-content {
    padding: 0 1rem;
  }
}

/* --------------------------------------------------
   LOGOWANIE
-------------------------------------------------- 
.login {
  flex: 1; 
  display: flex;
  align-items: center; 
  justify-content: center; 
  min-height: 80vh;
  padding: 0;
}

.login h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-family: 'Quicksand-Bold', sans-serif;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--violet-700);
  text-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}


.social-login p {
    font-size: 0.9rem;
}

.google-login {
    background: #fff;
    color: #444;
    font-weight: 500;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.google-login:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.google-login .google-icon {
    width: 20px;
    height: 20px;
}
@media (max-width: 768px) {
  h1.display-4 {
    font-size: 2.4rem;
  }

  h2.display-6 {
    font-size: 2.5rem;
  }

  .login .card {
    padding: 1.5rem;
  }

  .hero-description {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .btn.btn-lg {
    width: 100%;
    font-size: 1rem;
  }
  #login .btn {
    display: block;        
    width: 100%;           
    margin-right: 0 !important; 
    margin-bottom: 1rem;  
  }
}

*/
/* --------------------------------------------------
   ERRORY BTN
-------------------------------------------------- */
@media (max-width: 768px) {
  #error-403 .btn {
    display: block;        
    width: 100%;           
    margin-right: 0 !important; 
    margin-bottom: 1rem;  
  }
  #error-404 .btn {
    display: block;        
    width: 100%;           
    margin-right: 0 !important; 
    margin-bottom: 1rem;  
  }
  #error-500 .btn {
    display: block;        
    width: 100%;           
    margin-right: 0 !important; 
    margin-bottom: 1rem;  
  }
}

/* --------------------------------------------------
   FORMULARZ NA TEL (PRZYCISKI)
-------------------------------------------------- */
@media (max-width: 768px) {
  .text-center.mt-5 button,
  .text-center.mt-5 a {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
}

/* --------------------------------------------------
   DLACZEGO WYBRAC NASZE STRONY
-------------------------------------------------- */
.advantage-section .col-md-3 div {  
  transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
  border-radius: 16px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 15px rgba(21, 255, 0, 0.06);
}

.advantage-section .col-md-3 div:hover {
  transform: translateY(-8px);
  background: rgba(30, 255, 0, 0.05);
  box-shadow: 0 10px 30px rgba(118, 155, 114, 0.08);
}

.advantage-section i {
  color: var(--violet-600);
  transition: color 0.3s ease, transform 0.3s ease;
}

.advantage-section .col-md-3 div:hover i {
  color: var(--violet-800);
  transform: scale(1.15);
}

.advantage-section h5 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}


/* --------------------------------------------------
   STYL DO ALERTÓW
-------------------------------------------------- */
.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.15);
  transition: 0.2s ease;
}

.invalid-feedback {
  display: block;
  font-size: 0.9rem;
  color: #dc3545;
  margin-top: 0.25rem;
}

/* --------------------------------------------------
   Sekcja z płynącymi logotypami
-------------------------------------------------- */
.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-track {
  display: flex;
  width: calc(250px * 12);
  animation: scroll 30s linear infinite;
}

.client-logo {
  position: relative;
  height: 100px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.client-logo img {
  max-height: 80px;
  max-width: 180px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.hover-info {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.459);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  text-align: center;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(15px);
  pointer-events: none;
}

.client-logo:hover .hover-info {
  opacity: 1;
  transform: translateY(0);
}

.hover-info h5 {
  font-family: 'Rajdhani', sans-serif;
  color: var(--violet-700);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hover-info p {
  font-family: 'Rajdhani', sans-serif;
  color: #4b4b4b;
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-250px * 6)); }
}

@media (max-width: 768px) {
  .client-logo {
    width: 180px;
    height: 80px;
  }
  .logo-track {
    width: calc(180px * 12);
    animation: scroll 40s linear infinite;
  }
  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-180px * 6)); }
  }
  .hover-info h5 {
    font-size: 0.9rem;
  }
  .hover-info p {
    font-size: 0.75rem;
  }
}

/* --------------------------------------------------
   STRONA Z PLUGINAMI MINECRAFT
-------------------------------------------------- */
.category-card {
  height: 380px;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  transition: background .3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.15);
}

.category-card:hover::before {
  background: rgba(255, 255, 255, 0.15);
}

.category-card span {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.7),
    0 0 12px rgba(0, 0, 0, 0.9);
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(3px);
  border-radius: 8px;
}

@media (max-width: 420px) {
  .category-card {
    height: 110px !important;
  }
  .category-card span {
    font-size: 0.9rem;
    padding: 3px 6px;
    bottom: 10px;
  }
}

@media (max-width: 576px) {
  .category-card {
    height: 130px !important;
  }
  .category-card span {
    font-size: 1rem;
    padding: 4px 8px;
  }
}

@media (max-width: 768px) {
  .category-card {
    height: 150px !important;
  }
  .category-card span {
    font-size: 1.05rem;
  }
}

@media (max-width: 992px) {
  .category-card {
    height: 270px !important;
  }
  .category-card span {
    font-size: 1.15rem;
  }
}

@media (min-width: 1200px) {
  .category-card {
    height: 400px;
  }
  .category-card span {
    font-size: 1.25rem;
  }
}

@media (min-width: 1600px) {
  .category-card {
    height: 430px;
  }
  .category-card span {
    font-size: 1.35rem;
  }
}



.products-section {
  padding: 60px 0;
}

.products-card {
  border: none;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.products-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.products-card .carousel-inner {
  overflow: hidden; 
}

.products-card .carousel-inner img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;  
    border-radius: 1rem;
    transition: transform 0.5s ease; 
}

.products-card:hover .carousel-inner img {
    transform: scale(1.05); 
}

.download-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgb(86 16 179 / 71%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 50px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.download-badge i {
  font-size: 1rem;
}

.products-card .products-title {
  color: var(--violet-700);
}

.products-card .products-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  color: #444;
  margin-bottom: 8px;
}



.filters-wrapper {
  width: 100%;
}

.search-box input {
  padding: 12px 15px;
  font-size: 1rem;
}

.tag-filter .tag-btn {
  background: #fff;
  border: 1px solid #c9b5ff;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: 0.25s;
}

.tag-filter .tag-btn:hover,
.tag-filter .tag-btn.active {
  background: var(--violet-700);
  color: #fff;
  border-color: var(--violet-700);
}

.author-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgb(0 0 0 / 55%);
  color: #fff;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  backdrop-filter: blur(3px);
}

.author-badge i {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .products-card .carousel-inner img {
    aspect-ratio: 1 / 1; /* wciąż kwadrat */
  }

  .products-card {
    padding: 12px !important;
  }

  .download-badge {
    font-size: 0.75rem;
    padding: 5px 8px;
  }
  .filter-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .tag-filter {
    justify-content: center;
  }
  .author-badge {
    font-size: 0.7rem;
    padding: 5px 10px;
  }
}
/* --------------------------------------------------
   Discord element
-------------------------------------------------- */
.discord-banner {
  width: 100%;
  background: linear-gradient(135deg, #9d6afcff, #a35cffff);
  padding: 60px 30px;
  border-radius: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: 0 8px 25px rgba(59, 91, 255, 0.35);
  color: #fff;
}

.discord-left h3 {
  font-size: 1.9rem;
  margin-bottom: 10px;
  font-weight: 800;
}

.discord-left p {
  margin-bottom: 18px;
  font-size: 1.1rem;
  opacity: 0.95;
  line-height: 1.4;
}

.discord-logo {
  width: 130px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}

@media (max-width: 768px) {
  .discord-banner {
    flex-direction: column;
    text-align: center;
    padding: 50px 25px;
    gap: 25px;
    margin: 70px 0;
  }

  .discord-left h3 {
    font-size: 1.6rem;
  }

  .discord-left p {
    font-size: 1rem;
  }

  .discord-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 0;
    font-size: 1rem;
  }

  .discord-logo {
    width: 110px;
    margin-top: 5px;
  }
}
