/* AR Experience Section */
.ar-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at center, #2a0b0d 0%, var(--bg-dark) 70%);
  padding: 100px 0;
}

.ar-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c82327' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.ar-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.ar-header {
  text-align: center;
  max-width: 800px;
}

.ar-title {
  font-size: 3.5rem;
  color: var(--golden-fry);
  margin-bottom: 15px;
  text-shadow: 0 0 20px rgba(243, 201, 63, 0.3);
}

.ar-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

/* 3D Model Viewer Wrapper */
.model-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 60vh;
  min-height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 35, 39, 0.1) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

model-viewer {
  width: 100%;
  height: 100%;
  --poster-color: transparent;
  outline: none;
}

/* Custom Progress Bar */
.progress-bar {
  display: block;
  width: 33%;
  height: 4px;
  max-height: 2%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.2);
  transition: opacity 0.3s;
}

.progress-bar.hide {
  visibility: hidden;
  opacity: 0;
}

.update-bar {
  background-color: var(--golden-fry);
  width: 0%;
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s;
}

/* Particles Effect */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.particle {
  position: absolute;
  background-color: var(--golden-fry);
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.8; }
  100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

.ar-actions {
  text-align: center;
  z-index: 10;
}

.ar-hint {
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .ar-title { font-size: 2.5rem; }
  .model-wrapper { height: 50vh; }
}
