body {
      box-sizing: border-box;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      height: 100%;
      width: 100%;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: #0B0B0F;
      color: #E5E5E5;
      overflow-x: hidden;
      position: relative;
    }

    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(ellipse at top, #1A0F2E 0%, #0B0B0F 50%);
      z-index: -1;
    }

    .glow-orb {
      position: fixed;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.15;
      pointer-events: none;
      z-index: 0;
    }

    .orb-1 {
      top: -10%;
      left: -5%;
      width: 500px;
      height: 500px;
      background: #A63EF2;
      animation: float 10s ease-in-out infinite;
    }

    .orb-2 {
      bottom: -10%;
      right: -5%;
      width: 600px;
      height: 600px;
      background: #1E56C5;
      animation: float 12s ease-in-out infinite reverse;
    }

    @keyframes float {
      0%, 100% { transform: translate(0, 0); }
      50% { transform: translate(50px, 50px); }
    }

    .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 60px 20px 40px;
      min-height: 100%;
      display: flex;
      flex-direction: column;
      position: relative;
      z-index: 1;
    }

    @media (min-width: 768px) {
      .container {
        padding: 80px 40px 60px;
      }
    }

    /* Header */
    .hero-section {
      text-align: center;
      margin-bottom: 60px;
      position: relative;
    }

    @media (min-width: 768px) {
      .hero-section {
        margin-bottom: 100px;
      }
    }

    @media (min-width: 1024px) {
      .hero-section {
        margin-bottom: 120px;
      }
    }

    .hero-glow {
      position: absolute;
      top: -100px;
      left: 50%;
      transform: translateX(-50%);
      width: 800px;
      height: 300px;
      background: radial-gradient(ellipse, rgba(166, 62, 242, 0.3) 0%, transparent 70%);
      filter: blur(60px);
      pointer-events: none;
      animation: pulseGlow 2s ease-in-out infinite;
    }

    @keyframes pulseGlow {
      0%, 100% { opacity: 0.3; }
      50% { opacity: 0.5; }
    }

    .main-title {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 2.5rem;
      font-weight: 400;
      text-transform: uppercase;
      letter-spacing: 3px;
      background: linear-gradient(135deg, #A63EF2 0%, #1E56C5 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 16px;
      position: relative;
      z-index: 1;
      filter: drop-shadow(0 0 30px rgba(166, 62, 242, 0.5));
      animation: fadeInScale 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @media (min-width: 480px) {
      .main-title {
        font-size: 3.5rem;
        letter-spacing: 5px;
      }
    }

    @media (min-width: 768px) {
      .main-title {
        font-size: 5rem;
        letter-spacing: 8px;
        margin-bottom: 24px;
      }
    }

    @media (min-width: 1024px) {
      .main-title {
        font-size: 6.5rem;
        letter-spacing: 12px;
      }
    }

    .subtitle {
      font-family: 'Raleway', sans-serif;
      font-size: 0.85rem;
      font-weight: 400;
      color: #B8B8C8;
      letter-spacing: 2px;
      text-transform: uppercase;
      position: relative;
      z-index: 1;
      animation: fadeInUp 0.5s ease-out 0.2s both;
    }

    @media (min-width: 480px) {
      .subtitle {
        font-size: 1rem;
        letter-spacing: 3px;
      }
    }

    @media (min-width: 768px) {
      .subtitle {
        font-size: 1.3rem;
        letter-spacing: 4px;
      }
    }

    @media (min-width: 1024px) {
      .subtitle {
        font-size: 1.5rem;
      }
    }

    .header-separator {
      width: 100%;
      max-width: 600px;
      height: 2px;
      margin: 60px auto 0;
      position: relative;
      overflow: hidden;
    }

    .header-separator::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, #A63EF2, #1E56C5, transparent);
      animation: shimmer 1.5s infinite;
    }

    @keyframes shimmer {
      0% { left: -100%; }
      100% { left: 100%; }
    }

    .header-ornament {
      text-align: center;
      margin: 40px 0;
      font-size: 2rem;
      color: #A63EF2;
      opacity: 0.6;
    }

    .view-toggle-container {
      margin-top: 50px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .toggle-label {
      font-family: 'Raleway', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      color: #8B8B9F;
      text-transform: uppercase;
      letter-spacing: 2px;
      transition: color 0.3s ease;
    }

    .toggle-label.active {
      color: #A63EF2;
    }

    .toggle-switch {
      position: relative;
      width: 70px;
      height: 36px;
      background: rgba(15, 10, 25, 0.8);
      border: 2px solid rgba(166, 62, 242, 0.3);
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      backdrop-filter: blur(10px);
    }

    .toggle-switch:hover {
      border-color: rgba(166, 62, 242, 0.6);
      box-shadow: 0 0 20px rgba(166, 62, 242, 0.3);
    }

    .toggle-slider {
      position: absolute;
      top: 2px;
      left: 2px;
      width: 28px;
      height: 28px;
      background: linear-gradient(135deg, #A63EF2 0%, #1E56C5 100%);
      border-radius: 50%;
      transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 4px 15px rgba(166, 62, 242, 0.5);
    }

    .toggle-slider::after {
      content: '';
      position: absolute;
      inset: 3px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 50%;
    }

    .toggle-switch.calendar .toggle-slider {
      transform: translateX(34px);
    }

    /* Timeline */
    .timeline-wrapper {
      position: relative;
      max-width: 1100px;
      margin: 0 auto;
      padding: 60px 0;
    }

    .timeline-line {
      display: none;
    }

    /* Journey Cards */
    .journey-item {
      position: relative;
      margin-bottom: 100px;
      opacity: 0;
      animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .journey-item:nth-child(1) { animation-delay: 0.1s; }
    .journey-item:nth-child(2) { animation-delay: 0.2s; }
    .journey-item:nth-child(3) { animation-delay: 0.3s; }
    .journey-item:nth-child(4) { animation-delay: 0.4s; }

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

    .journey-dot {
      display: none;
    }

    .journey-card {
      background: rgba(15, 10, 25, 0.7);
      border-radius: 16px;
      padding: 24px;
      position: relative;
      backdrop-filter: blur(20px);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      max-width: 520px;
      margin: 0 auto;
      border: 1px solid rgba(166, 62, 242, 0.2);
      z-index: 5;
    }

    @media (min-width: 480px) {
      .journey-card {
        padding: 32px;
        border-radius: 20px;
      }
    }

    @media (min-width: 768px) {
      .journey-card {
        padding: 40px;
        border-radius: 24px;
      }
    }

    @media (min-width: 1024px) {
      .journey-card {
        padding: 48px;
      }
    }

    .journey-card::before {
      content: '';
      position: absolute;
      inset: -1px;
      border-radius: 24px;
      padding: 2px;
      background: linear-gradient(135deg, rgba(166, 62, 242, 0.5), rgba(30, 86, 197, 0.5));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      transition: opacity 0.5s ease;
    }

    .journey-card::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 24px;
      background: radial-gradient(circle at top left, rgba(166, 62, 242, 0.1), transparent 60%);
      opacity: 0;
      transition: opacity 0.5s ease;
    }

    .journey-card:hover {
      transform: translateY(-12px);
      box-shadow: 0 30px 80px rgba(166, 62, 242, 0.4), 0 0 100px rgba(30, 86, 197, 0.2);
      border-color: rgba(166, 62, 242, 0.5);
    }

    .journey-card:hover::before {
      opacity: 1;
    }

    .journey-card:hover::after {
      opacity: 1;
    }

    .card-content {
      position: relative;
      z-index: 1;
      text-align: center;
    }

    .card-actions {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    .card-actions .cta-button {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      text-decoration: none;
      width: 100%;
    }

    @media (min-width: 480px) {
      .card-actions .cta-button {
        width: auto;
      }
    }

    .date-badge {
      display: inline-block;
      font-family: 'Bebas Neue', sans-serif;
      font-size: 1.75rem;
      font-weight: 400;
      text-transform: uppercase;
      letter-spacing: 2px;
      background: linear-gradient(135deg, #A63EF2 0%, #1E56C5 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 8px;
      line-height: 1.2;
    }

    @media (min-width: 480px) {
      .date-badge {
        font-size: 2.25rem;
        letter-spacing: 3px;
      }
    }

    @media (min-width: 768px) {
      .date-badge {
        font-size: 2.75rem;
        letter-spacing: 4px;
      }
    }

    @media (min-width: 1024px) {
      .date-badge {
        font-size: 3rem;
      }
    }

    .day-label {
      font-family: 'Raleway', sans-serif;
      font-size: 1.05rem;
      font-weight: 600;
      color: #8B8B9F;
      text-transform: uppercase;
      letter-spacing: 3px;
      margin-bottom: 32px;
      display: block;
    }

    .route-info {
      margin-bottom: 32px;
      text-align: left;
    }

    .option-label {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 1.3rem;
      font-weight: 400;
      letter-spacing: 2px;
      color: #A63EF2;
      margin-bottom: 16px;
      margin-top: 24px;
      text-transform: uppercase;
    }

    .option-label:first-child {
      margin-top: 0;
    }

    .option-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(166, 62, 242, 0.3), transparent);
      margin: 28px 0;
    }

    .route-section {
      margin-bottom: 16px;
      padding: 12px 0;
    }

    .route-direction {
      font-family: 'Raleway', sans-serif;
      font-size: 0.85rem;
      font-weight: 700;
      color: #A63EF2;
      text-transform: uppercase;
      letter-spacing: 2px;
      margin-bottom: 6px;
    }

    .route-details {
      font-family: 'Inter', sans-serif;
      font-size: 0.85rem;
      font-weight: 500;
      color: #E5E5E5;
      line-height: 1.5;
    }

    @media (min-width: 480px) {
      .route-details {
        font-size: 0.9rem;
        line-height: 1.55;
      }
    }

    @media (min-width: 768px) {
      .route-details {
        font-size: 0.95rem;
        line-height: 1.6;
      }
    }

    .status-confirmed {
      display: inline-block;
      font-family: 'Raleway', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding: 3px 10px;
      background: linear-gradient(135deg, #10B981, #059669);
      border-radius: 12px;
      color: #FFFFFF;
    }

    .status-waitlist {
      display: inline-block;
      font-family: 'Raleway', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding: 3px 10px;
      background: linear-gradient(135deg, #F59E0B, #D97706);
      border-radius: 12px;
      color: #FFFFFF;
    }

    .status-direct {
      display: inline-block;
      font-family: 'Raleway', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding: 3px 10px;
      background: linear-gradient(135deg, #6366F1, #4F46E5);
      border-radius: 12px;
      color: #FFFFFF;
    }

    .cta-button {
      font-family: 'Raleway', sans-serif;
      font-size: 0.85rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 2px;
      padding: 14px 32px;
      background: linear-gradient(135deg, #A63EF2 0%, #1E56C5 100%);
      border: none;
      border-radius: 50px;
      color: #FFFFFF;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 8px 30px rgba(166, 62, 242, 0.5), 0 0 0 0 rgba(166, 62, 242, 0.4);
      position: relative;
      overflow: hidden;
      width: 100%;
    }

    @media (min-width: 480px) {
      .cta-button {
        font-size: 0.95rem;
        padding: 16px 40px;
        width: auto;
      }
    }

    @media (min-width: 768px) {
      .cta-button {
        font-size: 1rem;
        letter-spacing: 3px;
        padding: 18px 48px;
      }
    }

    .cta-button::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.25);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }

    .cta-button::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 50px;
      padding: 2px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0.6;
    }

    .cta-button:hover::before {
      width: 300px;
      height: 300px;
    }

    .cta-button:hover {
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 15px 50px rgba(166, 62, 242, 0.7), 0 0 80px rgba(30, 86, 197, 0.4), 0 0 0 8px rgba(166, 62, 242, 0.2);
    }

    .cta-button:active {
      transform: translateY(-2px) scale(1.01);
    }

    .cta-button-secondary {
      font-family: 'Raleway', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 2.5px;
      padding: 16px 40px;
      background: rgba(166, 62, 242, 0.1);
      border: 2px solid rgba(166, 62, 242, 0.5);
      border-radius: 50px;
      color: #A63EF2;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 4px 15px rgba(166, 62, 242, 0.2);
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(10px);
    }

    @media (min-width: 768px) {
      .cta-button-secondary {
        font-size: 1rem;
        letter-spacing: 3px;
        padding: 18px 48px;
      }
    }

    .cta-button-secondary::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(166, 62, 242, 0.2);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }

    .cta-button-secondary:hover::before {
      width: 300px;
      height: 300px;
    }

    .cta-button-secondary:hover {
      background: rgba(166, 62, 242, 0.2);
      border-color: #A63EF2;
      color: #FFFFFF;
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 12px 40px rgba(166, 62, 242, 0.5), 0 0 0 4px rgba(166, 62, 242, 0.15);
    }

    .cta-button-secondary:active {
      transform: translateY(-2px) scale(1.01);
    }

    /* Calendar View */
    .calendar-container {
      display: none;
      max-width: 1000px;
      margin: 0 auto;
      padding: 40px 0;
      opacity: 0;
      animation: fadeInCalendar 0.3s ease-out forwards;
    }

    .calendar-container.active {
      display: block;
    }

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

    .calendar-header {
      text-align: center;
      margin-bottom: 50px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 30px;
    }

    @media (min-width: 768px) {
      .calendar-header {
        gap: 60px;
      }
    }

    .calendar-title-container {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .calendar-nav-button {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(166, 62, 242, 0.1);
      border: 2px solid rgba(166, 62, 242, 0.4);
      color: #A63EF2;
      font-size: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      backdrop-filter: blur(10px);
      flex-shrink: 0;
    }

    @media (min-width: 768px) {
      .calendar-nav-button {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
      }
    }

    .calendar-nav-button:hover {
      background: rgba(166, 62, 242, 0.25);
      border-color: #A63EF2;
      transform: scale(1.1);
      box-shadow: 0 8px 30px rgba(166, 62, 242, 0.5);
    }

    .calendar-nav-button:active {
      transform: scale(1.05);
    }

    .calendar-month {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 2rem;
      font-weight: 400;
      text-transform: uppercase;
      letter-spacing: 4px;
      background: linear-gradient(135deg, #A63EF2 0%, #1E56C5 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 12px;
      filter: drop-shadow(0 0 20px rgba(166, 62, 242, 0.4));
    }

    @media (min-width: 480px) {
      .calendar-month {
        font-size: 2.5rem;
      }
    }

    @media (min-width: 768px) {
      .calendar-month {
        font-size: 3.5rem;
        letter-spacing: 6px;
      }
    }

    .calendar-year {
      font-family: 'Raleway', sans-serif;
      font-size: 1.1rem;
      font-weight: 600;
      color: #8B8B9F;
      text-transform: uppercase;
      letter-spacing: 3px;
    }

    .calendar-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 8px;
      background: rgba(15, 10, 25, 0.5);
      padding: 20px;
      border-radius: 20px;
      border: 1px solid rgba(166, 62, 242, 0.2);
      backdrop-filter: blur(20px);
    }

    @media (min-width: 480px) {
      .calendar-grid {
        gap: 12px;
        padding: 28px;
      }
    }

    @media (min-width: 768px) {
      .calendar-grid {
        gap: 16px;
        padding: 36px;
        border-radius: 24px;
      }
    }

    .calendar-day-header {
      font-family: 'Raleway', sans-serif;
      font-size: 0.7rem;
      font-weight: 700;
      color: #A63EF2;
      text-transform: uppercase;
      letter-spacing: 1px;
      text-align: center;
      padding: 10px 5px;
    }

    @media (min-width: 480px) {
      .calendar-day-header {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
        padding: 12px 8px;
      }
    }

    @media (min-width: 768px) {
      .calendar-day-header {
        font-size: 0.9rem;
        letter-spacing: 2px;
        padding: 14px 10px;
      }
    }

    .calendar-date {
      aspect-ratio: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: rgba(15, 10, 25, 0.6);
      border: 1px solid rgba(139, 139, 159, 0.2);
      border-radius: 12px;
      font-family: 'Inter', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      color: #8B8B9F;
      cursor: default;
      transition: all 0.3s ease;
      position: relative;
      min-height: 60px;
    }

    @media (min-width: 480px) {
      .calendar-date {
        font-size: 1rem;
        min-height: 70px;
        border-radius: 14px;
      }
    }

    @media (min-width: 768px) {
      .calendar-date {
        font-size: 1.1rem;
        min-height: 90px;
        border-radius: 16px;
      }
    }

    .calendar-date.empty {
      background: transparent;
      border-color: transparent;
    }

    .calendar-date.trip-day {
      background: rgba(166, 62, 242, 0.15);
      border: 2px solid rgba(166, 62, 242, 0.6);
      color: #E5E5E5;
      cursor: pointer;
      box-shadow: 0 0 20px rgba(166, 62, 242, 0.3);
    }

    .calendar-date.trip-day:hover {
      background: rgba(166, 62, 242, 0.25);
      border-color: #A63EF2;
      transform: scale(1.05);
      box-shadow: 0 8px 30px rgba(166, 62, 242, 0.5);
      z-index: 10;
    }

    .calendar-date.trip-day::after {
      content: '';
      position: absolute;
      bottom: 6px;
      left: 50%;
      transform: translateX(-50%);
      width: 6px;
      height: 6px;
      background: linear-gradient(135deg, #A63EF2, #1E56C5);
      border-radius: 50%;
      box-shadow: 0 0 8px rgba(166, 62, 242, 0.8);
    }

    @media (min-width: 768px) {
      .calendar-date.trip-day::after {
        width: 8px;
        height: 8px;
        bottom: 8px;
      }
    }

    .trip-indicator {
      font-size: 0.65rem;
      font-weight: 500;
      color: #A63EF2;
      margin-top: 4px;
      text-align: center;
      line-height: 1.2;
    }

    @media (min-width: 480px) {
      .trip-indicator {
        font-size: 0.7rem;
        margin-top: 6px;
      }
    }

    @media (min-width: 768px) {
      .trip-indicator {
        font-size: 0.75rem;
      }
    }

    .calendar-legend {
      display: flex;
      justify-content: center;
      gap: 24px;
      margin-top: 40px;
      flex-wrap: wrap;
    }

    .legend-item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: 'Raleway', sans-serif;
      font-size: 0.85rem;
      font-weight: 600;
      color: #B8B8C8;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    @media (min-width: 768px) {
      .legend-item {
        font-size: 0.95rem;
        letter-spacing: 1.5px;
      }
    }

    .legend-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: linear-gradient(135deg, #A63EF2, #1E56C5);
      box-shadow: 0 0 10px rgba(166, 62, 242, 0.6);
    }

    /* Detail Modal */
    .detail-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(11, 11, 15, 0.97);
      backdrop-filter: blur(20px);
      z-index: 2000;
      overflow-y: auto;
      animation: modalFadeIn 0.2s ease-out;
    }

    .detail-modal.active {
      display: flex;
      align-items: flex-start;
      justify-content: center;
    }

    @keyframes modalFadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

    .modal-content {
      max-width: 900px;
      width: 100%;
      margin: 40px 16px;
      position: relative;
      animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @media (min-width: 480px) {
      .modal-content {
        margin: 60px 20px;
      }
    }

    @media (min-width: 768px) {
      .modal-content {
        margin: 80px 20px;
      }
    }

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

    .modal-close-container {
      margin-top: 60px;
      padding-top: 40px;
      border-top: 1px solid rgba(166, 62, 242, 0.2);
      display: flex;
      justify-content: center;
    }

    .modal-close {
      font-family: 'Raleway', sans-serif;
      font-size: 0.95rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 2px;
      padding: 16px 56px;
      background: rgba(166, 62, 242, 0.1);
      border: 2px solid rgba(166, 62, 242, 0.4);
      border-radius: 50px;
      color: #B8B8C8;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(10px);
    }

    .modal-close::before {
      content: '←';
      margin-right: 10px;
      font-size: 1.2rem;
      transition: transform 0.4s ease;
      display: inline-block;
      position: relative;
      z-index: 1;
    }

    .modal-close::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(166, 62, 242, 0.3), rgba(30, 86, 197, 0.3));
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .modal-close:hover::after {
      opacity: 1;
    }

    .modal-close:hover {
      background: rgba(166, 62, 242, 0.2);
      border-color: #A63EF2;
      color: #FFFFFF;
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 12px 40px rgba(166, 62, 242, 0.35), 0 0 0 4px rgba(166, 62, 242, 0.1);
    }

    .modal-close:hover::before {
      transform: translateX(-5px);
    }

    .modal-close:active {
      transform: translateY(-1px) scale(1.01);
    }

    .modal-header {
      text-align: center;
      margin-bottom: 60px;
    }

    .modal-title {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 1.75rem;
      font-weight: 400;
      text-transform: uppercase;
      letter-spacing: 2px;
      background: linear-gradient(135deg, #A63EF2 0%, #1E56C5 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 12px;
      filter: drop-shadow(0 0 20px rgba(166, 62, 242, 0.4));
    }

    @media (min-width: 480px) {
      .modal-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
      }
    }

    @media (min-width: 768px) {
      .modal-title {
        font-size: 3.5rem;
        letter-spacing: 5px;
        margin-bottom: 16px;
      }
    }

    @media (min-width: 1024px) {
      .modal-title {
        font-size: 4rem;
        letter-spacing: 6px;
      }
    }

    .modal-subtitle {
      font-family: 'Raleway', sans-serif;
      font-size: 1.3rem;
      font-weight: 600;
      color: #8B8B9F;
      text-transform: uppercase;
      letter-spacing: 3px;
    }

    .train-block {
      background: rgba(15, 10, 25, 0.8);
      border: 1px solid rgba(166, 62, 242, 0.3);
      border-radius: 16px;
      padding: 20px;
      margin-bottom: 24px;
      backdrop-filter: blur(20px);
      transition: all 0.3s ease;
    }

    @media (min-width: 480px) {
      .train-block {
        padding: 28px;
        border-radius: 18px;
      }
    }

    @media (min-width: 768px) {
      .train-block {
        padding: 36px;
        border-radius: 20px;
        margin-bottom: 32px;
      }
    }

    @media (min-width: 1024px) {
      .train-block {
        padding: 40px;
      }
    }

    .train-block:hover {
      border-color: rgba(166, 62, 242, 0.6);
      box-shadow: 0 10px 40px rgba(166, 62, 242, 0.2);
    }

    .train-direction {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 1.3rem;
      font-weight: 400;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: #A63EF2;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    @media (min-width: 480px) {
      .train-direction {
        font-size: 1.6rem;
        letter-spacing: 2.5px;
        margin-bottom: 20px;
        gap: 10px;
      }
    }

    @media (min-width: 768px) {
      .train-direction {
        font-size: 1.85rem;
        letter-spacing: 3px;
        margin-bottom: 24px;
        gap: 12px;
      }
    }

    @media (min-width: 1024px) {
      .train-direction {
        font-size: 2rem;
      }
    }

    .train-title {
      font-family: 'Raleway', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: #E5E5E5;
      margin-bottom: 12px;
      line-height: 1.4;
    }

    @media (min-width: 480px) {
      .train-title {
        font-size: 1.25rem;
        margin-bottom: 14px;
      }
    }

    @media (min-width: 768px) {
      .train-title {
        font-size: 1.4rem;
        margin-bottom: 16px;
      }
    }

    @media (min-width: 1024px) {
      .train-title {
        font-size: 1.5rem;
      }
    }

    .train-time {
      font-family: 'Inter', sans-serif;
      font-size: 0.9rem;
      font-weight: 500;
      color: #B8B8C8;
      line-height: 1.6;
      margin-bottom: 16px;
    }

    @media (min-width: 480px) {
      .train-time {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 18px;
      }
    }

    @media (min-width: 768px) {
      .train-time {
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 20px;
      }
    }

    @media (min-width: 1024px) {
      .train-time {
        font-size: 1.1rem;
      }
    }

    .badge-container {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .status-badge {
      display: inline-block;
      font-family: 'Raleway', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 2px;
      padding: 10px 20px;
      background: linear-gradient(135deg, #A63EF2 0%, #1E56C5 100%);
      border-radius: 25px;
      color: #FFFFFF;
      box-shadow: 0 4px 15px rgba(166, 62, 242, 0.3);
    }

    .modal-actions {
      display: flex;
      gap: 20px;
      justify-content: center;
      margin-top: 50px;
      flex-wrap: wrap;
    }

    .btn-secondary {
      font-family: 'Raleway', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      padding: 10px 20px;
      background: rgba(166, 62, 242, 0.08);
      border: 2px solid rgba(166, 62, 242, 0.5);
      border-radius: 50px;
      color: #A63EF2;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(10px);
    }

    @media (min-width: 480px) {
      .btn-secondary {
        font-size: 0.85rem;
        letter-spacing: 1.75px;
        padding: 12px 26px;
      }
    }

    @media (min-width: 768px) {
      .btn-secondary {
        font-size: 0.95rem;
        letter-spacing: 2px;
        padding: 14px 32px;
      }
    }

    .btn-secondary::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(166, 62, 242, 0.2), rgba(30, 86, 197, 0.2));
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .btn-secondary:hover::before {
      opacity: 1;
    }

    .btn-secondary:hover {
      background: rgba(166, 62, 242, 0.2);
      border-color: #A63EF2;
      color: #FFFFFF;
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 10px 35px rgba(166, 62, 242, 0.4), 0 0 0 4px rgba(166, 62, 242, 0.1);
    }

    .btn-secondary:active {
      transform: translateY(-1px) scale(1.01);
    }

    /* Footer */
    .footer {
      text-align: center;
      padding: 80px 20px 50px;
      margin-top: auto;
      position: relative;
    }

    .footer::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 600px;
      height: 200px;
      background: radial-gradient(ellipse, rgba(166, 62, 242, 0.15) 0%, transparent 70%);
      filter: blur(40px);
      pointer-events: none;
    }

    .footer-separator {
      width: 100%;
      max-width: 400px;
      height: 1px;
      margin: 0 auto 50px;
      position: relative;
      background: linear-gradient(90deg, transparent, rgba(166, 62, 242, 0.5), transparent);
    }

    .footer-ornament {
      text-align: center;
      margin-bottom: 30px;
      font-size: 1.5rem;
      color: #A63EF2;
      opacity: 0.5;
    }

    .footer-text {
      font-family: 'Raleway', sans-serif;
      font-size: 1.1rem;
      font-weight: 400;
      color: #8B8B9F;
      letter-spacing: 3px;
      position: relative;
      z-index: 1;
      text-transform: uppercase;
    }

    /* Responsive */
    @media (max-width: 767px) {
      .modal-actions {
        flex-direction: column;
      }

      .btn-secondary {
        width: 100%;
      }
    }

    @keyframes fadeInScale {
      from {
        opacity: 0;
        transform: scale(0.9);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

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

.hidden {
  display: none !important;
}

.download-disabled {
  pointer-events: none;
  opacity: 0.0;
}

.action-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.dynamic-trips {
  margin-top: 40px;
  display: none;
}

.dynamic-trips.visible {
  display: block;
}

.dynamic-trip .card-actions {
  flex-wrap: wrap;
}

.admin-upload-form {
  display: none !important;
}

.assistant-toggle {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 3500;
  background: linear-gradient(135deg, rgba(166, 62, 242, 0.92), rgba(30, 86, 197, 0.92));
  color: #fff;
  border: none;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 20px 40px rgba(166, 62, 242, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.assistant-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px rgba(166, 62, 242, 0.45);
}

.assistant-panel {
  position: fixed;
  bottom: 120px;
  right: 32px;
  width: min(360px, calc(100vw - 40px));
  max-height: 480px;
  background: rgba(18, 18, 24, 0.96);
  border: 1px solid rgba(166, 62, 242, 0.3);
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 3600;
  display: flex;
  flex-direction: column;
}

.assistant-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.assistant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 12px;
}

.assistant-header h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}

.assistant-close {
  background: transparent;
  border: none;
  color: rgba(229, 229, 229, 0.8);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.assistant-close:hover {
  color: #fff;
}

.assistant-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.assistant-message {
  padding: 12px 16px;
  border-radius: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
  backdrop-filter: blur(6px);
  white-space: pre-line;
}

.assistant-user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(166, 62, 242, 0.85), rgba(30, 86, 197, 0.85));
  color: #fff;
}

.assistant-bot {
  align-self: flex-start;
  background: rgba(38, 38, 46, 0.85);
  color: rgba(229, 229, 229, 0.95);
}

.assistant-form {
  padding: 16px 20px 20px;
  display: flex;
  gap: 12px;
}

.assistant-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(166, 62, 242, 0.4);
  background: rgba(18, 18, 24, 0.8);
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.assistant-form button {
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, rgba(166, 62, 242, 0.92), rgba(30, 86, 197, 0.92));
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.assistant-form button:hover {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .assistant-toggle {
    bottom: 20px;
    right: 20px;
    width: calc(100% - 40px);
    text-align: center;
  }

  .assistant-panel {
    bottom: 100px;
    right: 20px;
    left: 20px;
    width: auto;
  }
}


@view-transition { navigation: auto; }
