@import 'src/styles/variables';

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 15px;
  padding-bottom: 80px;
}

body {
  background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
  color: var(--dark);
  line-height: 1.6;
}

.section {
  margin-top: 20px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 15px 15px;
  
  h2 {
    font-size: 18px;
    color: $dark;
    position: relative;
    padding-left: 12px;
    
    &::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 4px;
      height: 16px;
      background: $primary;
      border-radius: 2px;
    }
  }
  
  .more {
    color: $gray;
    font-size: 13px;
    text-decoration: none;
  }
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 0 15px;
  
  @media (max-width: 480px) {
    grid-template-columns: 1fr;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: $transition;
  
  &.active {
    opacity: 1;
    visibility: visible;
    
    .culture-modal {
      transform: translateY(0);
      opacity: 1;
    }
  }
}

.culture-modal {
  width: 90%;
  max-width: 400px;
  background: $white;
  border-radius: 20px;
  overflow: hidden;
  transform: translateY(30px);
  transition: $transition;
  opacity: 0;
}

.modal-header {
  background: linear-gradient(45deg, $primary, $primary-light);
  padding: 20px;
  color: $white;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-title {
  font-size: 20px;
  margin-bottom: 5px;
}

.modal-subtitle {
  font-size: 14px;
  opacity: 0.9;
}

.modal-content {
  padding: 20px;
  max-height: 60vh;
  overflow-y: auto;
}

.modal-ar {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, #a1c4fd, #c2e9fb);
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: $white;
  font-size: 20px;
  font-weight: bold;
  position: relative;
  overflow: hidden;
}

.ar-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="10" fill="%23ff6b6b" opacity="0.7"><animate attributeName="r" from="10" to="40" dur="2s" repeatCount="indefinite"/><animate attributeName="opacity" from="0.7" to="0" dur="2s" repeatCount="indefinite"/></circle></svg>');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  animation: pulse 2s infinite;
}

.modal-text {
  font-size: 14px;
  line-height: 1.8;
  color: $gray;
  
  h4 {
    color: $primary;
    margin: 15px 0 8px;
  }
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}