/* Base responsive styles */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Media Queries */
/* Large Desktops */
@media (max-width: 1400px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .holographic-displays {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium Desktops and Laptops */
@media (max-width: 1200px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .holographic-displays {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
  }
  
  .assistant-container {
    flex-direction: column;
  }
  
  .assistant-dialog {
    width: 100%;
    margin-top: 20px;
  }
}

/* Tablets and Small Laptops */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text, .hero-image {
    width: 100%;
  }
  
  .model-container {
    height: 300px;
  }
  
  .roblox-project-card {
    flex-direction: column;
  }
  
  .card-hologram, .project-content {
    width: 100%;
  }
  
  .holo-container {
    display: flex;
    flex-direction: column;
  }
  
  .holo-top-row {
    display: flex;
    flex-direction: column;
  }
  
  .holo-display {
    margin-bottom: 20px;
    height: 300px;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .cyber-heading {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .audio-controls {
    flex-direction: column;
  }
  
  .donation-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .donation-button {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .holo-display {
    height: 250px;
  }
  
  .status-bar-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .status-label {
    margin-bottom: 5px;
  }
  
  .status-bar-wrapper {
    width: 100%;
    margin: 5px 0;
  }
  
  .timeline-event {
    flex-wrap: wrap;
  }
  
  .audio-container {
    flex-direction: column;
  }
  
  .playlist-container {
    width: 100%;
    margin-top: 20px;
  }
  
  .track-list {
    max-height: 200px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .cyber-button {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .social-links {
    margin-top: 20px;
  }
  
  #live2d-canvas {
    width: 100%;
    height: 400px;
  }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #00ffff;
    border-radius: 5px;
    z-index: 1000;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #00ffff;
    margin: 5px auto;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.nav-links.active li {
    margin: 15px 0;
}

.nav-links.closing {
    animation: fadeOut 0.3s ease;
}

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

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