
@media (max-width: 760px) {
    .mobile-nav {
      display: none !important;
    }
    .mobile-nav.open {
      display: flex !important;
    }
    .bottom-nav {
      display: flex !important;
    }
  .about {
    margin: 80px 0;
    grid-template-columns: 1fr;
  }
  @media (min-width: 761px) {
    .wrap#page {
      padding-left: 12px;
      padding-right: 12px;
    }
  }
  .main-nav {
    display: none !important;
  }
  .menu-btn {
    display: block !important;
  }
}
@media (max-width: 760px) {
  /* Responsive overrides only. Base styles are in styles.css */
  .site-footer.sticky-bottom {
    position: fixed !important;
    left: 0;
    bottom: 0;
    width: 100vw;
    z-index: 100;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.07);
    isolation: isolate;
    background: #181818;
  }
  .bottom-nav {
    z-index: 101;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #181818;
    border-top: 1px solid rgba(242,220,228,0.08);
  }
  .shows-table {
    display: none !important;
  }
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
  .shows-cards {
    display: block;
    width: 100%;
  }
  .show-card-row {
    display: flex;
    align-items: stretch;
    background: #232323;
    border-radius: 10px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    overflow: hidden;
    min-height: 60px;
  }
  .show-date-box {
    background: var(--sakura);
    color: #181818;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    max-width: 54px;
    font-weight: 700;
    font-size: 19px;
    padding: 0 0 0 0;
    border-radius: 10px 0 0 10px;
    text-align: center;
    line-height: 1.1;
  }
  .show-date-box .show-date {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
  }
  .show-date-box .show-month {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #181818;
    opacity: 0.8;
  }
  .show-card-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 10px;
    min-width: 0;
    overflow: hidden;
  }
  .show-card-venue {
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .show-card-location {
    color: #bfaec2;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .show-card-time {
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bfaec2;
    font-size: 15px;
    background: rgba(0,0,0,0.07);
    padding: 0 6px;
    white-space: nowrap;
    border-radius: 0 10px 10px 0;
    min-width: 48px;
    max-width: 60px;
  }
  /* Prevent line breaks in cells */
  .show-card-venue, .show-card-location, .show-card-time {
    white-space: nowrap;
  }
}
@media (max-width: 760px) {
  .shows-table {
    display: none !important;
  }
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
  .shows-cards {
    display: block;
    width: 100%;
  }
  .show-card-row {
    display: flex;
    align-items: stretch;
    background: #232323;
    border-radius: 10px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    overflow: hidden;
    min-height: 60px;
  }
  .show-date-box {
    background: var(--sakura);
    color: #181818;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    max-width: 54px;
    font-weight: 700;
    font-size: 19px;
    padding: 0 0 0 0;
    border-radius: 10px 0 0 10px;
    text-align: center;
    line-height: 1.1;
  }
  .show-date-box .show-date {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
  }
  .show-date-box .show-month {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #181818;
    opacity: 0.8;
  }
  .show-card-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 10px;
    min-width: 0;
    overflow: hidden;
  }
  .show-card-venue {
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .show-card-location {
    color: #bfaec2;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .show-card-time {
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bfaec2;
    font-size: 15px;
    background: rgba(0,0,0,0.07);
    padding: 0 6px;
    white-space: nowrap;
    border-radius: 0 10px 10px 0;
    min-width: 48px;
    max-width: 60px;
  }
  /* Prevent line breaks in cells */
  .show-card-venue, .show-card-location, .show-card-time {
    white-space: nowrap;
  }
}
/* filepath: css/responsive.css */

/* Responsive styles for Kaoli website */

/* Mobile menu */
.menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

.menu-btn:hover {
  color: var(--sakura);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 60px;
  right: 20px;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  flex-direction: column;
  min-width: 200px;
  z-index: 50;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 10px 20px;
  border-bottom: 1px solid var(--bg);
  transition: background 0.3s;
  color: var(--text);
  font-size: 14px;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  background: var(--bg);
  color: var(--sakura);
}

/* Active state for mobile nav */
.mobile-nav a.active {
  background: rgba(242, 220, 228, 0.1);
  color: var(--sakura);
  border-left: 3px solid var(--sakura);
}

/* Mobile submenu - always visible */
.mobile-nav-item {
  position: relative;
}

.mobile-nav-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-submenu {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.3);
}

.mobile-submenu a {
  display: block;
  padding: 8px 20px 8px 50px;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-submenu a:hover {
  background: rgba(242, 220, 228, 0.05);
  color: var(--sakura);
}

.submenu-link {
  display: block;
  padding: 8px 20px 8px 50px !important;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.submenu-link:hover {
  background: rgba(242, 220, 228, 0.05) !important;
  color: var(--sakura);
}

/* Tablet */
@media (max-width: 950px) {
  .nav-links {
    gap: 15px;
  }
  
  .nav-link {
    font-size: 12px;
  }
}

/* Bottom Navigation Bar for Mobile */
.bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #181818;
  border-top: 1px solid rgba(242,220,228,0.08);
  z-index: 101;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.07);
  isolation: isolate;
  justify-content: space-around;
  align-items: center;
  padding: 0;
}
.bottom-nav-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0 6px 0;
  color: #f2dce4;
  background: none;
  border: none;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.bottom-nav-item.active,
.bottom-nav-item:focus,
.bottom-nav-item:hover {
  color: var(--sakura);
  background: rgba(242,220,228,0.04);
}
.bottom-nav-icon {
  font-size: 20px;
  margin-bottom: 2px;
  display: block;
}

@media (max-width: 760px) {
  /* Responsive overrides only. Base styles are in styles.css */
  .site-footer.sticky-bottom {
    position: fixed !important;
    left: 0;
    bottom: 0;
    width: 100vw;
    z-index: 100;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.07);
    isolation: isolate;
    background: #181818;
  }
  .bottom-nav {
    z-index: 101;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #181818;
    border-top: 1px solid rgba(242,220,228,0.08);
  }
  .shows-table {
    display: none !important;
  }
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
  .shows-cards {
    display: block;
    width: 100%;
  }
  .show-card-row {
    display: flex;
    align-items: stretch;
    background: #232323;
    border-radius: 10px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    overflow: hidden;
    min-height: 60px;
  }
  .show-date-box {
    background: var(--sakura);
    color: #181818;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    max-width: 54px;
    font-weight: 700;
    font-size: 19px;
    padding: 0 0 0 0;
    border-radius: 10px 0 0 10px;
    text-align: center;
    line-height: 1.1;
  }
  .show-date-box .show-date {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
  }
  .show-date-box .show-month {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #181818;
    opacity: 0.8;
  }
  .show-card-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 10px;
    min-width: 0;
    overflow: hidden;
  }
  .show-card-venue {
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .show-card-location {
    color: #bfaec2;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .show-card-time {
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bfaec2;
    font-size: 15px;
    background: rgba(0,0,0,0.07);
    padding: 0 6px;
    white-space: nowrap;
    border-radius: 0 10px 10px 0;
    min-width: 48px;
    max-width: 60px;
  }
  /* Prevent line breaks in cells */
  .show-card-venue, .show-card-location, .show-card-time {
    white-space: nowrap;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero {
    min-height: 15vh;
  }

  .hero .title {
    font-size: 36px;
    letter-spacing: 2px;
  }

  .countdown {
    gap: 12px;
  }

  .countdown-value {
    font-size: 24px;
    min-width: 36px;
  }

  .countdown-label {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }

  .card .thumb {
    height: 200px;
  }

  .card .meta {
    padding: 8px;
  }

  .card .meta h4 {
    font-size: 12px;
  }

  .card .meta .date {
    font-size: 10px;
  }

  .cta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
  }

  .btn {
    width: 100%;
  }

  .song-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .about h3 {
    font-size: 24px;
  }

  .wrap {
    padding: 0 12px;
  }

  header.site-header {
    padding: 12px 0;
    background: transparent;
    backdrop-filter: none;
  }

  footer {
    padding: 30px 0;
    margin-top: 60px;
  }

  footer .copyright {
    margin-bottom: 20px;
    font-size: 12px;
  }

  footer .links {
    margin-bottom: 24px;
  }

  .follow-section h3 {
    margin-bottom: 16px;
  }

  .social-links {
    gap: 12px;
  }

  .social-links a {
    font-size: 10px;
  }

  .social-links .icon {
    width: 18px;
    height: 18px;
  }

  footer .genres {
    font-size: 12px;
  }

  /* Contact modal responsive - FIX for iPhone */
  .modal {
    padding: 0;
    justify-content: flex-end; /* push modal to bottom on mobile */
  }

  #contactModal .panel {
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    max-height: 95vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-info {
    padding: 20px;
    gap: 16px;
  }

  .contact-image {
    height: 180px;
  }

  .contact-copy h3 {
    font-size: 22px;
  }

  .contact-copy p {
    font-size: 13px;
  }

  .contact-meta {
    font-size: 12px;
  }

  .contact-follow {
    gap: 8px;
  }

  .contact-follow a {
    padding: 6px 10px;
    font-size: 11px;
    gap: 5px;
  }

  .contact-follow .icon {
    width: 14px;
    height: 14px;
  }

  .contact-form {
    padding: 20px;
    gap: 8px;
  }

  #contactForm .form-row {
    margin-bottom: 12px;
  }

  #contactForm input,
  #contactForm textarea {
    padding: 12px;
    font-size: 16px; /* prevent iOS zoom on focus */
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(242, 220, 228, 0.25);
  }

  #contactForm input::placeholder,
  #contactForm textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 14px;
  }

  .form-actions .btn {
    width: 100%;
    padding: 12px;
    font-size: 13px;
  }

  .form-status {
    font-size: 12px;
    margin-top: 10px;
  }

  /* prevent body scroll when modal is open */
  body.modal-open {
    overflow: hidden;
  }

  /* Contact form name fields stack on mobile */
  .name-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .name-fields .form-row {
    margin-bottom: 0;
  }

  #listenModal h3 {
    font-size: 18px;
    gap: 10px;
  }

  .modal-cover {
    width: 40px;
    height: 40px;
    border-radius: 6px;
  }

  /* iOS background fix - force GPU acceleration */
  .background-fixed {
    opacity: 0.3;
    position: fixed;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
  }

  /* Remove the body::before rules we added */
  /* Keep body and .wrap positioning normal */
  body {
    position: relative;
  }

  .wrap {
    position: relative;
    z-index: 1;
  }

  /* New page styles - Mobile */
  .page-title {
    font-size: 36px;
  }

  .page-header {
    padding: 60px 20px 40px;
  }

  .shows-date {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 8px;
    flex-wrap: wrap;
  }

  .date-box {
    width: auto;
    min-width: 44px;
    max-width: 60px;
    padding: 4px 2px;
    word-break: break-word;
    box-sizing: border-box;
  }

  .show-info {
    text-align: left;
    min-width: 0;
    flex: 1 1 80px;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .newsletter-signup form {
    flex-direction: column;
  }

  .newsletter-signup .btn-primary {
    width: 100%;
  }

  .platform-links {
    flex-direction: column;
    align-items: stretch;
  }

  .platform-btn {
    justify-content: center;
  }

  .merch-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .section-cta {
    margin-top: 30px;
  }
