html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Truculenta', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #111;
    color: white;
    text-align: center;
}

header img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 30px;
}

.video-header {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 500px;
  overflow: hidden;
  border-radius: 30px;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%) contrast(110%) saturate(80%) hue-rotate(-10deg);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  padding: 0 1rem;
}

.video-title {
  font-family: 'Savate', sans-serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
  color: #ff0000;
  text-shadow: 0 0 15px black, 0 0 5px red;
  letter-spacing: 4px;
  animation: flicker 1.5s infinite alternate;
  line-height: 1.1;
}

/* Flicker effekt */
@keyframes flicker {
  0%   { opacity: 0.9; text-shadow: 0 0 5px red; }
  50%  { opacity: 1; text-shadow: 0 0 20px red, 0 0 10px black; }
  100% { opacity: 0.8; text-shadow: 0 0 5px darkred; }
}

/* Mobil optimalizálás */
@media (max-width: 768px) {
  .video-title {
    font-size: clamp(1.5rem, 8vw, 3rem);
    letter-spacing: 2px;
  }

  .video-header {
    border-radius: 0;
  }
}



canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    z-index: -1;
}

.title h2 {
    font-size: 40px;
    color: #ff00ff;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(255, 0, 255, 0.5);
}

/* Team Section */

.team-section {
    padding: 50px 20px;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(130, 0, 255, 0.1));
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0px 4px 12px rgba(255, 0, 255, 0.15);
}

.team-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #ff00ff;
    text-shadow: 1px 1px 5px rgba(255, 0, 255, 0.3);
}

.team-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.team-card {
    background: linear-gradient(135deg, #1a1a1a, #2b2b2b);
    border-radius: 15px;
    padding: 20px;
    width: 240px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 4px 10px rgba(255, 0, 255, 0.2);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 8px 20px rgba(255, 0, 255, 0.3);
}

.team-card img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #ff66ff;
}

/* Arynox Card */

.team-card .arynox {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #d61233;
}

.team-card .arynoxp {
    color: #ad0000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.team-card .arynoxh3 {
    color: #ad0000;
    font-size: 18px;
    margin: 10px 0;
}

/* Trafn Card */

.team-card .trafn {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #ad0000;
}

.team-card .trafn-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-image: url("../images/szinkronok/trafn1.gif");
  background-size: cover;
  background-position: center;
  border: 2px solid #ad0000;
  margin-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.team-card:hover .trafn-img {
  background-image: url("../images/szinkronok/trafn.gif");
}

.team-card .trafnp {
    color: #ad0000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.team-card .trafnh3 {
    color: #ad0000;
    font-size: 18px;
    margin: 10px 0;
}

/* Chosomoso Card */

.team-card .choso {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #bb3abb;
}

.team-card .chosop {
    color: #bb3abb;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.team-card .chosoh3 {
    color: #bb3abb;
    font-size: 18px;
    margin: 10px 0;
}

/* ThauXeon Card */

.team-card .thauxeon {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #ad0000;
}

.team-card .thaup {
    color: #ad0000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.team-card .thauh3 {
    color: #ad0000;
    font-size: 18px;
    margin: 10px 0;
}

/* Sun Card */

.team-card .sun {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #69AEB4;
}

.team-card .sunp {
    color: #69AEB4;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.team-card .sunh3 {
    color: #69AEB4;
    font-size: 18px;
    margin: 10px 0;
}

/* Niki Card */

.team-card .niki {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #0003ad;
}

.team-card .nikip {
    color: #0068ad;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.team-card .nikih3 {
    color: #0068ad;
    font-size: 18px;
    margin: 10px 0;
}

/* Mango Card */

.team-card .mango {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #434344;
}

.team-card .mangop {
    color: #616163;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.team-card .mangoh3 {
    color: #616163;
    font-size: 18px;
    margin: 10px 0;
}


.team-card h3 {
    color: #ffccff;
    font-size: 18px;
    margin: 10px 0;
}

.team-card p a {
    color: #ff99ff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.team-card p a:hover {
    color: #ffffff;
}

/* Reszponzív */
@media screen and (max-width: 600px) {
    .team-card {
        width: 90%;
    }
}

hr {
    color: #ff00ff;
    width: 30%;
    height: 30%;
    border-radius: 10px;
}

/* Csaláfa struktúra */
.team-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.tree-line {
    width: 2px;
    height: 40px;
    background-color: #ff00ff;
}

.tree-branches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 1000px;
}

.team-subgroup {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    max-width: 700px;
}

/* Mobilnézethez */
@media screen and (max-width: 768px) {
    .tree-branches {
        flex-direction: column;
        align-items: center;
    }
}


.link {
    color: #ff00ff;
}

/* HAMBURGER ICON */
.menu-toggle {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 30px;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    background: #ff00ff;
    height: 4px;
    width: 100%;
    margin: 6px 0;
    border-radius: 4px;
    transition: 0.4s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* NAVIGATION MOBIL NÉZETBEN */
@media screen and (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 20px;
        background: rgba(0, 0, 0, 0.9);
        width: 200px;
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0px 4px 10px rgba(255, 0, 255, 0.5);
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        
    }

    nav ul li {
        padding: 10px 0;
        
    }

    nav.show {
        display: block;
    }
    nav ul li a {
        font-size: 12px !important;
    }
}

nav {
    background: linear-gradient(90deg, rgba(130,0,255,1) 0%, rgba(180,0,255,1) 50%, rgba(255,0,255,1) 100%);
    padding: 10px 0;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
    max-width: 600px;
    margin: 20px auto;
    border-radius: 25px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
    padding: 8px 15px;
    border-radius: 20px;
}

nav ul li a i {
    margin-right: 8px;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffccff;
    transform: scale(1.1);
}

.blur {
    filter: blur(10px);
    pointer-events: none;
    transition: filter 0.3s ease;
}

.welcome {
    margin: 50px auto;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.2), rgba(130, 0, 255, 0.2));
    border-radius: 15px;
    width: 70%;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(255, 0, 255, 0.2);
    transition: transform 0.3s ease-in-out;
    font-family: "Michroma", sans-serif;
    font-size: 100px;
}

.welcome:hover {
    transform: scale(1.02);
}

.welcome h1 {
    font-size: 32px;
    color: #ff00ff;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(255, 0, 255, 0.5);
}

.welcome p {
    font-size: 18px;
    color: #ddd;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.welcome p:last-child {
    font-style: italic;
    color: #ff99ff;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(135deg, #2a2a2a, #444);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 5px 15px rgba(255, 0, 255, 0.2);
    width: 280px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 20px rgba(255, 0, 255, 0.4);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.card h2 {
    font-size: 20px;
    color: #ff66ff;
    margin-top: 10px;
}

.card p {
    font-size: 14px;
    color: #ddd;
    flex-grow: 1;
    padding: 0 10px;
}

.card button {
    background: linear-gradient(90deg, #ff00ff, #a200ff);
    color: white;
    border: none;
    padding: 10px 16px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.card button:hover {
    background: linear-gradient(90deg, #ff33ff, #a266ff);
    transform: scale(1.05);
}

/* FOOTER */

footer {
    background: linear-gradient(90deg, #1a0000, #330000, #1a0000);
    border-top: 1px solid #ff3333;
    color: white;
    text-align: center;
    padding: 30px 15px;
    margin-top: 50px;
    border-radius: 25px 25px 0 0;
    box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.2);
}

footer p {
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 20px;
}

.footer-links a {
    color: white;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffccff;
}

#detail-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 420px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 15px rgba(255, 0, 255, 0.3);
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
}

#detail-card.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

#detail-card.hide {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

#detail-title {
    font-size: 22px;
    font-weight: bold;
    color: #ff66ff;
    margin-bottom: 10px;
}

#detail-image {
    max-width: 90%;
    height: auto;
    max-height: 220px;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0px 4px 8px rgba(255, 0, 255, 0.2);
}

#detail-description {
    font-size: 16px;
    color: #ddd;
    text-align: left;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
}

#download-link {
    display: inline-block;
    background: linear-gradient(90deg, #ff00ff, #a200ff);
    color: white;
    padding: 12px 20px;
    margin-top: 15px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

#download-link:hover {
    background: linear-gradient(90deg, #ff33ff, #a266ff);
    transform: scale(1.05);
}

.close-btn {
    background: none;
    color: white;
    border: none;
    font-size: 22px;
    cursor: pointer;
    position: absolute;
    top: 12px;
    right: 12px;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ff99ff;
}

.video-wrapper {
  margin-top: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.custom-player iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 12px;
}

/* === HÍREK KARUSSZEL STÍLUS === */
.news-carousel {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  color: #eee;
}
.news-carousel h2 {
  font-size: 2rem;
  color: #ff66ff;
  margin-bottom: 20px;
}
.carousel-wrapper {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.news-item {
  min-width: 100%;
  display: flex;
  background: #222;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(255,0,255,0.2);
}
.news-item img {
  width: 40%;
  object-fit: cover;
}
.news-content {
  padding: 20px;
  flex: 1;
}
.news-content h3 {
  margin-top: 0;
  color: #ff99ff;
}
.news-content p {
  margin: 10px 0 20px;
  color: #ccc;
}
.btn {
  display: inline-block;
  background: linear-gradient(90deg, #ff00ff, #a200ff);
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}
.carousel-dots {
  text-align: center;
  margin-top: 12px;
}
.carousel-dots .dot {
  display: inline-block;
  width: 10px; height: 10px;
  margin: 0 6px;
  background: #555;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.carousel-dots .dot.active {
  background: #ff66ff;
}
@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
  }
  .news-item img {
    width: 100%;
    height: 180px;
  }
}




@media screen and (max-width: 480px) {
    .cards {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .card {
        max-width: 90%;
    }

    .card h2 {
        font-size: 18px;
    }

    .card p {
        font-size: 13px;
    }

    .card button {
        font-size: 13px;
        padding: 8px 12px;
    }
}

@media screen and (max-width: 480px) {
    #detail-card {
        width: 95%;
        padding: 15px;
    }

    #detail-video {
        height: 180px;
    }

    #detail-description {
        font-size: 14px;
        max-height: 150px;
    }

    #download-link {
        font-size: 14px;
        padding: 10px;
    }
}


/* Brutális videós preloader stílusok */
/* Preloader alapok */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Videó konténer (reszponzív) */
.harley-video-container {
    width: 200px;  /* Smaller fixed size */
    height: 100px;
    position: relative;
}

.harley-eyes-video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain */
    filter: contrast(1.2) brightness(0.9) drop-shadow(0 0 10px #ff0000);
}

/* Betöltési szöveg */
.loading-text {
    font-family: 'Savate', sans-serif;
    color: #ff0000;
    text-shadow: 0 0 8px #ff0000;
    margin: 15px 0;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Progress bar konténer */
.progress-container {
    width: 60%;
    max-width: 300px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 0, 0, 0.2);
}


.progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #ff0000, #ff6666);
    transition: width 0.3s ease;
}

.loading-message {
    color: #ff5555;
    font-family: 'Truculenta', sans-serif;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Animációk */
@keyframes text-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
        text-shadow: 0 0 10px #ff0000;
    }
    20%, 22%, 24%, 55% {
        opacity: 0.3;
        text-shadow: none;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .harley-video-container {
        width: 150px;
        height: 75px;
    }
    
    .loading-text {
        font-size: 1rem;
    }
    
    .progress-container {
        width: 70%;
    }
}

.background-image {
  position: absolute;
  inset: 0;
  background: url('../images/doctordoey.jpg') no-repeat center center;
  background-size: cover;
  z-index: -3;
  filter: brightness(0.5) contrast(1.2);
}

.background-image2 {
  position: absolute;
  inset: 0;
  background: url('../images/mommy.jpg') no-repeat center center;
  background-size: cover;
  z-index: -3;
  filter: brightness(0.5) contrast(1.2);
}

.background-image3 {
  position: absolute;
  inset: 0;
  background: url('../images/huggy.jpg') no-repeat center center;
  background-size: cover;
  z-index: -3;
  filter: brightness(0.5) contrast(1.2);
}

.background-wrapper {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.team-section.with-mommy {
  background: radial-gradient(circle at center, rgba(27,0,27,0.8), rgba(0,0,0,0.9));
  border: 3px solid #ff0066;
  box-shadow: 0 0 25px rgba(255, 0, 128, 0.5), 
              inset 0 0 30px rgba(255,0,100,0.3);
  position: relative;
  padding: 100px 40px;
  border-radius: 30px;
  overflow-x: hidden;
}

.team-section.with-mommy h2 {
  color: #ff0066;
  font-family: "Savate", sans-serif;
  font-size: 3rem;
  text-shadow: 0 0 10px #ff0066, 0 0 20px black;
  margin-bottom: 60px;
  animation: flicker 2s infinite alternate;
  z-index: 2;
  position: relative;
}

/* Horizontális scroll zóna */
.horizontal-team {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding-bottom: 30px;
  z-index: 2;
  position: relative;
  scroll-snap-type: x mandatory;
  scrollbar-color: #ff66ff #111;
  scrollbar-width: thin;
}

/* Csapatkártyák – kicsit horroros stílusban */
.horizontal-team .team-card {
  min-width: 240px;
  background: linear-gradient(135deg, #2d002d, #000);
  border: 2px solid #ff0066;
  scroll-snap-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.horizontal-team .team-card:hover {
  transform: scale(1.01);
  box-shadow: 0 0 15px #ff0099;
}

.kondix-card {
  transform: none !important;
  box-shadow: none !important;
}

.kondix-card:hover {
  transform: none;
  box-shadow: none;
}

/* Mommy long legs overlay */
.mommy-hugg {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  max-width: 90%;
  z-index: 1;
  pointer-events: none;
  animation: mommy-sway 6s ease-in-out infinite;
}

@keyframes mommy-sway {
  0%, 100% {
    transform: translateX(-50%) rotate(-1deg);
  }
  50% {
    transform: translateX(-50%) rotate(1deg);
  }
}

/* Sötétebb border-effektek a profilképeknél */
.team-card img {
  border: 2px solid #ff0066 !important;
  box-shadow: 0 0 10px #ff0066;
}

/* ===== MOBILE TEAM SECTION ===== */
@media screen and (max-width: 768px) {

  nav {
    z-index: 999;
  }

  .team-section.with-mommy {
    padding: 60px 15px;
    background: linear-gradient(135deg, #1a001a, #000);
  }
  
  .team-section.with-mommy h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .horizontal-team {
    flex-direction: column;
    overflow-x: visible;
    gap: 15px;
    padding-bottom: 0;
  }
  
  .tree-branches {
    flex-direction: column;
    gap: 15px;
  }
  
  .team-subgroup {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .team-card {
    width: 90%;
    max-width: 300px;
    margin: 0 auto;
    background: linear-gradient(135deg, #250025, #120012);
    border: 1px solid #ff0066;
  }
  
  .mommy-hugg {
    display: none; /* Hide Mommy on mobile */
  }
  
  /* Stacked layout for team members */
  .horizontal-team > .kondix-card {
    order: 1;
    margin-bottom: 30px;
  }
  
  .tree-branches {
    order: 2;
  }
  
  /* Compact card styles */
  .team-card {
    padding: 15px;
  }
  
  .team-card img {
    width: 80px;
    height: 80px;
  }
  
  .team-card h3 {
    font-size: 16px;
  }
  
  .team-card p {
    font-size: 14px;
    margin: 5px 0;
  }
  
  /* Special mobile-only title */
  .mobile-team-title {
    display: block;
    color: #ff66ff;
    font-size: 1.5rem;
    margin: 20px 0;
    text-align: center;
  }
  
  .desktop-team-title {
    display: none;
  }
}

/* ===== DESKTOP TEAM SECTION ===== */
@media screen and (min-width: 769px) {
  .mobile-team-title {
    display: none;
  }
  
  .desktop-team-title {
    display: block;
  }
}

/* Spider web styles */
.spider-web {
  position: fixed;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M50 0 Q70 20 50 40 Q30 20 50 0 M50 40 Q70 60 50 80 Q30 60 50 40 M50 40 L50 80 M50 40 L80 60 M50 40 L20 60" stroke="rgba(255,255,255,0.3)" stroke-width="1" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -2;
  opacity: 0.7;
  filter: drop-shadow(0 0 2px rgba(255,0,0,0.5));
}

.web-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 5%;
  transform: rotate(15deg);
}

.web-2 {
  width: 300px;
  height: 300px;
  top: 20%;
  right: 5%;
  transform: rotate(-10deg);
}

.web-3 {
  width: 150px;
  height: 150px;
  bottom: 15%;
  left: 10%;
  transform: rotate(25deg);
}

.web-4 {
  width: 250px;
  height: 250px;
  bottom: 20%;
  right: 10%;
  transform: rotate(-15deg);
}

.web-5 {
  width: 180px;
  height: 180px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(5deg);
}

/* Spider styles */
.spider {
  position: fixed;
  width: 30px;
  height: 30px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="30" r="20" fill="black"/><circle cx="40" cy="25" r="3" fill="red"/><circle cx="60" cy="25" r="3" fill="red"/><path d="M30 40 L20 60 M70 40 L80 60 M40 35 L30 50 M60 35 L70 50 M50 50 L50 70 M45 70 L40 90 M55 70 L60 90" stroke="black" stroke-width="3" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
  transition: all 5s linear;
}

#spider-1 {
  width: 40px;
  height: 40px;
  animation: spiderMove1 15s infinite alternate ease-in-out;
}

#spider-2 {
  width: 35px;
  height: 35px;
  animation: spiderMove2 20s infinite alternate-reverse ease-in-out;
}

@keyframes spiderMove1 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20vw, 10vh) rotate(90deg); }
  50% { transform: translate(40vw, 5vh) rotate(180deg); }
  75% { transform: translate(20vw, 20vh) rotate(270deg); }
  100% { transform: translate(0, 10vh) rotate(360deg); }
}

@keyframes spiderMove2 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-15vw, 15vh) rotate(-90deg); }
  50% { transform: translate(-30vw, 5vh) rotate(-180deg); }
  75% { transform: translate(-15vw, 25vh) rotate(-270deg); }
  100% { transform: translate(0, 15vh) rotate(-360deg); }
}
