        :root {
            --primary: #b628a3;
            --secondary: #4b7afd;
            --accent: #00ffff;
            --dark: #1a1a2e;
            --light: #f8f9fa;
            --success: #10ac84;
            --purple: #6c63ff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: var(--light);
            overflow-x: hidden;
            line-height: 1.6;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header & Navigation */
        header {
            background: rgba(26, 26, 46, 0.9);
            backdrop-filter: blur(10px);
            position: fixed;
            width: 100%;
            z-index: 1000;
            padding: 15px 0;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo a {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
        }

        .logo img {
            color: var(--accent);
            animation: pulse 2s infinite;
            height: 10%;
            width: 10%;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        .nav-links a {
            color: var(--light);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--accent);
            border-radius: 3px;
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-links .dd3 { position: relative; }

        .nav-links .dd3 > summary { 
            color: var(--light);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            padding: 0;
            cursor: pointer; 
            list-style: none;
        }

        .nav-links .dd3 > summary::-webkit-details-marker { display: none; }

        .nav-links .dd3[open] {  } 

        .nav-links .dd3 ul {
            display: block;
            list-style: none;
            gap: 30px;
            margin-top: 27px;
        }

        .nav-links .dd3 ul li { margin-top: 15px; }

        .nav-links .dd3 a {
            color: var(--light);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
            margin-left: 5px;
        }

        .nav-links .dd3 a:hover { color: var(--accent); }
        
        .nav-links .dd3 a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--accent);
            border-radius: 3px;
            transition: width 0.3s;
        }

        .nav-links .dd3 a:hover::after {
            width: 100%;
        }

        .hamburger {
            display: none;
            cursor: pointer;
            font-size: 1.5rem;
        }

        .login-link {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        #login-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(6px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        #login-page {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            padding: 25px 30px;
            border-radius: 12px;
            text-align: center;
            max-width: 600px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
        }

        #login-page button {
            margin-top: 15px;
        }

        .login-form-title {
            font-size: 1.7rem;
            margin-bottom: 20px;
            background: linear-gradient(45deg, var(--primary), var(--accent), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: gradient 3s ease infinite;
        }

        .login-form-text {
            font-size: 0.8rem;
            margin-bottom: 40px;
            font-style: italic;
        }

        .divider {
            border-top: 1px solid rgba(255, 255, 255, 0.10);
            margin-top: 15px;
            margin-bottom: 15px;
            max-width: 100%;
}

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding-top: 80px;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            max-width: 600px;
            z-index: 2;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            background: linear-gradient(45deg, var(--primary), var(--accent), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: gradient 3s ease infinite;
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            color: #e2e2e2;
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            background: var(--primary);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
        }

        .btn-secondary {
            background: var(--secondary);
            box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
        }

        .btn-secondary:hover {
            box-shadow: 0 8px 20px rgba(78, 205, 196, 0.6);
        }

        .floating-icons {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
        }

        .floating-icons div {
            position: absolute;
            color: rgba(255, 255, 255, 0.1);
            font-size: 2rem;
            animation: float 15s linear infinite;
        }

        /* Sections */
        section {
            padding: 80px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }

        .section-title h2 {
            font-size: 2.5rem;
            display: inline-block;
            padding-bottom: 10px;
            position: relative;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 2px;
        }

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .about-text {
            animation: fadeInLeft 1s ease;
        }

        .about-image {
            animation: fadeInRight 1s ease;
            position: relative;
        }

        .about-image img {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        /* Team Section */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 30px;
        }

        .team-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
            text-align: center;
            padding: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .team-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
        }

        .team-img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 15px;
            border: 3px solid var(--secondary);
        }

        .team-card h3 {
            margin: 10px 0 5px;
            color: var(--accent);
        }

        .team-card p {
            color: #b0b0b0;
            font-size: 0.9rem;
        }

        .social-links {
            margin-top: 15px;
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .social-links a {
            color: var(--light);
            font-size: 1.2rem;
            transition: color 0.3s;
        }

        .social-links a:hover {
            color: var(--primary);
        }

        /* History Section */
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }

        .timeline::after {
            content: '';
            position: absolute;
            width: 6px;
            background: linear-gradient(to bottom, var(--primary), var(--secondary));
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -3px;
            border-radius: 3px;
        }

        .timeline-item {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            animation: fadeInUp 1s ease;
        }

        .timeline-item:nth-child(odd) {
            left: 0;
        }

        .timeline-item:nth-child(even) {
            left: 50%;
        }

        .timeline-content {
            padding: 20px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
        }

        .timeline-content h3 {
            color: var(--accent);
            margin-bottom: 10px;
            margin-left: 22px;
        }

        .timeline-content::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            background: var(--primary);
            border-radius: 50%;
            top: 20px;
        }

        .timeline-item:nth-child(odd) .timeline-content::after {
            right: -10px;
        }

        .timeline-item:nth-child(even) .timeline-content::after {
            left: -10px;
        }

        /* Join Section */
        .join-section {
            text-align: center;
            background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%231a1a2e"/><path d="M0 50 L100 50 M50 0 L50 100" stroke="%23333" stroke-width="0.5"/></svg>');
            padding: 100px 0;
        }

        .join-content {
            max-width: 700px;
            margin: 0 auto;
        }

        .discord-widget {
            margin: 40px auto;
            max-width: 400px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            padding: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Gallery Section */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 0.8fr));
            gap: 18px;
            justify-items: center;
        }

        .gallery-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
            text-align: center;
            padding: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .gallery-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
        }

        .gallery-img {
            width: 25rem;
            height: 25rem;
            object-fit: cover;
            border: var(--secondary) 3px solid;
            border-radius: 15px;
        }

        .gallery-card h3 {
            margin: 10px 0 5px;
            color: var(--accent);
        }

        .gallery-card p {
            color: #b0b0b0;
            font-size: 0.9rem;
        }

.gallery-meta{ padding:10px 12px; }

#gSearch, #filesSearch{
  flex:1;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.25);
  color: #fff;
  outline: none;
}

.g-status{
  width:100%;
  margin: 6px 0 0;
  opacity: .85;
  font-size: 14px;
}

.g-pagination {
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  margin-top: 18px;
  flex-wrap:wrap;
}

.g-pages {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:center;
}

.g-pages button.active{ outline: 2px solid rgba(255,255,255,.45); }

        /* Feedback Section */
        .feedback {
            text-align: center;
            background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%231a1a2e"/><path d="M0 50 L100 50 M50 0 L50 100" stroke="%23333" stroke-width="0.5"/></svg>');
            padding: 100px 0;
        }

        .feedback-content {
            max-width: 700px;
            margin: 0 auto;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label { 
            display:block; 
            margin-bottom:.35rem; 
            color: var(--light); 
            font-weight:600; 
        }

        .form-group input, .form-group textarea {
            width:100%; 
            padding:.75rem; 
            border-radius:10px; 
            border: none; 
            outline:none; 
            background:rgba(255,255,255,0.02); 
            color: var(--light);
        }

        .form-group #date {
            width:100%; 
            padding:.75rem; 
            border-radius:10px; 
            border: none; 
            outline:none; 
            background:rgba(255,255,255,0.02); 
            color: var(--light);
        }

        .submit-btn {
            display: inline-block;
            padding: 12px 30px;
            background: var(--primary);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
            margin-top: 30px;
            box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
        }

        .feedback p {
            color: #888;
            opacity: 0.8;
            font-size: 12px;
            margin-top: 25px;
        }

        .feedback span {
            font-style: italic;
        }

        #popup-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(6px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        #popup {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            padding: 25px 30px;
            border-radius: 12px;
            text-align: center;
            max-width: 300px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
        }

        #popup button {
            margin-top: 15px;
        }

.popupInfo {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);

  display: flex;
  justify-content: center;
  align-items: flex-end;

  opacity: 0;
  pointer-events: none;

  transition: 0.3s;
}

.popupInfo.show {
  opacity: 1;
  pointer-events: auto;
}

.popupInfo-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: var(--light);
  width: 100%;

  border-radius: 20px 20px 0 0;

  transform: translateY(100%);
  transition: 0.3s;

  max-height: 80%;
  overflow-y: auto;

  padding: 20px;
}

.popupInfo.show .popupInfo-content {
  transform: translateY(0);
}

.closeInfo {
  float: right;
  cursor: pointer;
  color: var(--light);
}

#policyPopup {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: flex;
  justify-content: center;
  align-items: flex-end;

  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.3s ease;
}

/* quando attivo */
#policyPopup.show {
  opacity: 1;
  pointer-events: auto;
}

/* contenuto popup */

.policyPopup-content {
  width: 100%;
  max-height: 80%;

  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;

  border-radius: 20px 20px 0 0;

  transform: translateY(100%);
  transition: transform 0.3s ease;

  padding: 20px;
  overflow-y: auto;
}

/* quando aperto */
#policyPopup.show .policyPopup-content {
  transform: translateY(0);
}

        /* Productions Section */
		  .productions-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
            text-align: center;
            padding: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .productions-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
        }

        .productions-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 16px;
            justify-items: center;
        }

        .productions-card h3 {
            margin: 10px 0 5px;
            color: var(--accent);
        }

        .productions-card p {
            color: #b0b0b0;
            font-size: 0.9rem;
        }

        .productions-card a {
            text-decoration: none;
        }

        /* Video-Gallery Section */
        .videogallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px));
            gap: 18px;
            justify-items: center;
        }

        .videogallery-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
            text-align: center;
            padding: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .file-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
            text-align: left;
            padding: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .videogallery-card:hover, .file-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
        }

        .video-container {
            margin-top: 25px;
        }

        .video-container iframe {
            width: 50rem;
            height: 25rem;
            object-fit: cover;
            border: var(--secondary) 3px solid;
            border-radius: 15px;
        }

        .videogallery-card h3 {
            margin: 10px 0 5px;
            color: var(--accent);
        }

        .videogallery-card p {
            color: #b0b0b0;
            font-size: 0.9rem;
        }

        .live-viewer {
            text-align: center;
            justify-content: center;
            align-items: center;
            margin-bottom: 60px;
            margin-top: 25px;
        }

        #live-box {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: bold;
            font-family: sans-serif;
            position: absolute;
            left: 50%;
            transform: translateX(-50%); 
        }

        #live-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .live {
            background: red;
            box-shadow: 0 0 8px red;
        }

        .offline {
            background: gray;
        }

.videogallery-controls, #filesControls {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin: 18px 0 12px;
}

#vgSearch{
  flex:1;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.25);
  color: #fff;
  outline: none;
}

.vg-status{
  width:100%;
  margin: 6px 0 0;
  opacity: .85;
  font-size: 14px;
}

.vg-pagination, #filesPagination {
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  margin-top: 18px;
  flex-wrap:wrap;
}

.vg-pages{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:center;
}

.vg-pages button.active{
  outline: 2px solid rgba(255,255,255,.45);
}

.yt-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,.25);
  cursor: pointer;
}

.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-thumb .yt-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.18);
}

.yt-thumb .yt-play::before {
  content: "";
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.25);
}

.yt-thumb .yt-play::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 18px solid rgba(255,255,255,.9);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  transform: translateX(4px);
}

/* =========================
   ChillStation Schedule UI
   ========================= */

.schedule .container {
  max-width: 980px;
}

/* Titoli */
.schedule .section-title h2 {
  letter-spacing: 0.5px;
}

/* Box prossimo evento (hero) */
.next-box {
  margin: 18px 0 22px;
}

.next-inner {
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.next-inner h3 {
  margin: 0 0 8px;
}

.next-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Controls */
.schedule-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 14px 0 12px;
}

.schedule-controls input[type="search"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  outline: none;
}

.schedule-controls input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

#sStatus, #filesStatus {
  margin: 0;
  opacity: 0.85;
  font-size: 0.95rem;
}

/* Lista card */
.schedule-list, #files-container {
  display: grid;
  gap: 14px;
}

.schedule-card {
  padding: 16px 16px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, border-color 160ms ease;
}

.schedule-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.schedule-card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.schedule-card p {
  margin: 0;
  line-height: 1.45;
  opacity: 0.92;
}

.file-card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.file-card p {
  margin: 0;
  line-height: 1.45;
  opacity: 0.92;
}

/* Archivio: leggermente più “spent” */
.schedule-card.is-archive {
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.08);
  opacity: 0.92;
}

.schedule-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Mobile polishing */
@media (max-width: 600px) {
  .next-inner, .schedule-card {
    padding: 14px 14px;
  }

  .schedule-actions .btn, .next-actions .btn {
    flex: 1;
    text-align: center;
  }
}

.faq-card {
  padding: 16px 16px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, border-color 160ms ease;
  margin-bottom: 25px;
}

.faq-card:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.18); }

.faq-question { display: flex; justify-content: space-between; align-items: center; font-size: 1.12rem; }

.faq-answer { margin-top: 10px; display: none; line-height: 1.45; opacity: 0.92; }

.faq-arrow { transition: transform 0.3s; }

.faq-arrow.open { transform: rotate(90deg); }

        /* Footer */
        footer {
            background: rgba(10, 10, 20, 0.95);
            padding: 40px 0 20px;
            text-align: center;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            text-align: left;
            margin-bottom: 40px;
        }

        .footer-column h3 {
            color: var(--primary);
            margin-bottom: 20px;
            font-size: 1.2rem;
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 10px;
        }

        .footer-column ul li a {
            color: #b0b0b0;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-column ul li a:hover {
            color: var(--accent);
        }

        .copyright {
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #888;
            font-size: 0.9rem;
        }

        /* Errore */
        .error {
            text-align: center;
        }

        .error h2 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            background: linear-gradient(45deg, var(--primary), var(--accent), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: gradient 3s ease infinite;
        }

        .error p {
            margin-bottom: 5px;
        }

        /* Animations */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        @keyframes gradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        @keyframes float {
            0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
        }

        @keyframes fadeInLeft {
            from { opacity: 0; transform: translateX(-50px); }
            to { opacity: 1; transform: translateX(0); }
        }

        @keyframes fadeInRight {
            from { opacity: 0; transform: translateX(50px); }
            to { opacity: 1; transform: translateX(0); }
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(50px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .about-content {
                grid-template-columns: 1fr;
            }
            
            .about-image {
                order: -1;
            }
            
            .timeline::after {
                left: 31px;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }
            
            .timeline-item:nth-child(even) {
                left: 0;
            }
            
            .timeline-content::after {
                left: 15px !important;
            }

            .gallery-grid, .videogallery-grid, .productions-grid { 
                grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
                gap: 18px; 
            }

            .gallery-img {
                width: 22rem;
                height: 22rem;
            }

            .video-container iframe {
                width: 44rem;
                height: 22rem;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: 70px;
                right: -100%;
                background: rgba(26, 26, 46, 0.95);
                width: 250px;
                height: calc(100vh - 70px);
                flex-direction: column;
                padding: 40px 20px;
                transition: right 0.3s;
                backdrop-filter: blur(10px);
            }
            
            .nav-links.active {
                right: 0;
            }
            
            .hamburger {
                display: block;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .team-grid {
                grid-template-columns: 1fr;
            }

            .gallery-grid, .videogallery-grid, .productions-grid{ 
                grid-template-columns: 1fr; 
            }
            .gallery-img {
                width: 20rem;
                height: 20rem;
            }

            .video-container iframe {
                width: 30rem;
                height: 15rem;
            }

            #login-page {
                max-width: 450px;
            }
        }

        @media (max-width: 868px) {
            .btn-secondary {
                padding: 10px 8px;
            }
        }

        @media (max-width: 576px) {
            .hero h1 {
                font-size: 2rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .btn {
                padding: 10px 20px;
            }

            .btn-secondary {
                padding: 6px 5px;
            }

            .gallery-img {
                width: 15rem;
                height: 15rem;
            }
            .video-container iframe {
                width: 20rem;
                height: 10rem;
            }

            #login-page {
                max-width: 300px;
            }
        }