/* Style 2: Trans Pride Flag (Blue, Pink, White) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --primary-color: #5bcefa;
    --secondary-color: #f5a9b8;
    --accent-color: #ffffff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(
      135deg,
      #5bcefa 0%,
      #5bcefa 20%,
      #f5a9b8 40%,
      #ffffff 50%,
      #f5a9b8 60%,
      #5bcefa 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    position: relative;
  }
  
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 20% 50%,
        rgba(91, 206, 250, 0.1) 0%,
        transparent 50%
      ),
      radial-gradient(
        circle at 80% 80%,
        rgba(245, 169, 184, 0.1) 0%,
        transparent 50%
      );
    pointer-events: none;
    z-index: 0;
  }
  
  @keyframes gradientShift {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
  }
  
  header {
    background: linear-gradient(135deg, #5bcefa 0%, #f5a9b8 50%, #ffffff 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 4px 20px rgba(91, 206, 250, 0.3);
    position: relative;
    z-index: 10;
  }
  
  header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent
    );
  }
  
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  header h1 {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: -1px -1px 2px rgba(0, 0, 0, 0.8),
      1px -1px 2px rgba(0, 0, 0, 0.8),
      -1px 1px 2px rgba(0, 0, 0, 0.8),
      1px 1px 2px rgba(0, 0, 0, 0.8), 0 0 4px rgba(0, 0, 0, 0.8),
      0 0 8px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
  }
  
  nav {
    display: flex;
    gap: 1.5rem;
  }
  
  .nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    text-shadow: -1px -1px 2px rgba(0, 0, 0, 0.8),
      1px -1px 2px rgba(0, 0, 0, 0.8),
      -1px 1px 2px rgba(0, 0, 0, 0.8),
      1px 1px 2px rgba(0, 0, 0, 0.8), 0 0 4px rgba(0, 0, 0, 0.8),
      0 0 8px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
  }
  
  .nav-link:hover {
    opacity: 0.8;
    text-decoration: underline;
  }
  
  main {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
    position: relative;
    z-index: 1;
  }
  
  .intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(91, 206, 250, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
  }
  
  .intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(91, 206, 250, 0.05),
      transparent
    );
    animation: shine 3s infinite;
  }
  
  @keyframes shine {
    0% {
      left: -50%;
    }
    100% {
      left: 50%;
    }
  }
  
  .intro p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
  }
  
  .events-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: -1px -1px 2px rgba(0, 0, 0, 0.8),
      1px -1px 2px rgba(0, 0, 0, 0.8),
      -1px 1px 2px rgba(0, 0, 0, 0.8),
      1px 1px 2px rgba(0, 0, 0, 0.8), 0 0 4px rgba(0, 0, 0, 0.8),
      0 0 8px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.4);
    font-weight: 800;
    letter-spacing: -0.5px;
  }
  
  .event-filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }
  
  .filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: -1px -1px 2px rgba(0, 0, 0, 0.8),
      1px -1px 2px rgba(0, 0, 0, 0.8),
      -1px 1px 2px rgba(0, 0, 0, 0.8),
      1px 1px 2px rgba(0, 0, 0, 0.8), 0 0 4px rgba(0, 0, 0, 0.8),
      0 0 8px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .filter-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
    transition: left 0.5s ease;
  }
  
  .filter-btn:hover::before {
    left: 100%;
  }
  
  .filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  .filter-btn.active {
    background: rgba(255, 255, 255, 0.95);
    color: #5bcefa;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
    font-weight: 700;
  }
  
  .filter-btn.active:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
  }
  
  .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .event-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 8px 32px rgba(91, 206, 250, 0.15),
      0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
  }
  
  .event-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #5bcefa, #f5a9b8, #ffffff, #f5a9b8, #5bcefa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }
  
  .event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(91, 206, 250, 0.3),
      0 8px 16px rgba(0, 0, 0, 0.15);
  }
  
  .event-card:hover::before {
    transform: scaleX(1);
  }
  
  .event-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5bcefa, #f5a9b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    position: relative;
    filter: drop-shadow(-0.5px -0.5px 0.5px rgba(0, 0, 0, 0.7))
      drop-shadow(0.5px -0.5px 0.5px rgba(0, 0, 0, 0.7))
      drop-shadow(-0.5px 0.5px 0.5px rgba(0, 0, 0, 0.7))
      drop-shadow(0.5px 0.5px 0.5px rgba(0, 0, 0, 0.7))
      drop-shadow(0 0 1px rgba(0, 0, 0, 0.7))
      drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
  }
  
  .event-date {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-style: italic;
  }
  
  .event-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .event-type.open-mic {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
  }
  
  .event-type.showcase {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    color: #9f1239;
    box-shadow: 0 2px 8px rgba(159, 18, 57, 0.2);
  }
  
  .event-details {
    margin-bottom: 1rem;
    flex: 1;
  }
  
  .event-detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-align: center;
    flex-wrap: wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .event-detail-item strong {
    min-width: auto;
    color: var(--text-dark);
    margin-right: 0.5rem;
    flex-shrink: 0;
  }
  
  .event-detail-item span {
    color: var(--text-light);
    flex: none;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  
  .event-time {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .event-time strong {
    min-width: auto;
    margin-right: 0.25rem;
  }
  
  .event-time .time-separator {
    color: var(--text-light);
    margin: 0 0.5rem;
    flex: none;
    opacity: 0.5;
  }
  
  .event-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    justify-content: center;
  }
  
  .event-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .event-link.eventbrite {
    background: linear-gradient(135deg, #f05537, #e63946);
    color: white;
    box-shadow: 0 4px 12px rgba(240, 85, 55, 0.3);
  }
  
  .event-link.eventbrite:hover {
    background: linear-gradient(135deg, #e63946, #d8432a);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(240, 85, 55, 0.4);
  }
  
  .event-link.facebook {
    background: linear-gradient(135deg, #1877f2, #0d6efd);
    color: white;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
  }
  
  .event-link.facebook:hover {
    background: linear-gradient(135deg, #0d6efd, #1565c0);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4);
  }
  
  .event-link.calendar {
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: white;
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.3);
  }
  
  .event-link.calendar:hover {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 55, 72, 0.4);
  }
  
  .calendar-download-hint {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.25rem;
    background: var(--bg-dark, #1a202c);
    color: white;
    border-radius: 8px;
    font-size: 0.875rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: calendar-hint-in 0.25s ease;
  }
  
  @keyframes calendar-hint-in {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(0.5rem);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }
  
  .loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.125rem;
  }
  
  .error {
    text-align: center;
    padding: 2rem;
    background-color: #fee2e2;
    color: #991b1b;
    border-radius: 8px;
    border: 1px solid #fecaca;
  }
  
  .no-events {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.125rem;
  }
  
  footer {
    background: linear-gradient(
      135deg,
      rgba(31, 41, 55, 0.95),
      rgba(17, 24, 39, 0.95)
    );
    backdrop-filter: blur(10px);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
  }
  
  .social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .social-link {
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
  }
  
  .social-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
  }
  
  @media (max-width: 768px) {
    header {
      padding: 1.25rem 0;
    }
  
    header .container {
      flex-direction: column;
      align-items: stretch;
      gap: 0.75rem;
    }
  
    header h1 {
      font-size: 1.5rem;
      text-align: center;
    }
  
    nav {
      width: 100%;
      flex-direction: row;
      justify-content: space-between;
      gap: 0.75rem;
    }
  
    .nav-link {
      flex: 1;
      text-align: center;
      padding: 0.5rem 0.75rem;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.35);
      background: rgba(255, 255, 255, 0.12);
    }
  
    .events-grid {
      grid-template-columns: 1fr;
    }
  
    .footer-content {
      gap: 1rem;
    }
  
    .social-links {
      width: 100%;
      flex-direction: column;
      gap: 0.75rem;
    }
  
    .social-link {
      width: 100%;
    }
  
    .event-links {
      flex-direction: column;
    }
  
    .event-link {
      width: 100%;
      text-align: center;
    }
  }