.order-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark), #152642);
  position: relative;
  overflow: hidden;
}

.character-bg {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('../pngwing.com (4).png') right center/contain no-repeat;
  opacity: 0.08;
  filter: blur(3px) brightness(0.8);
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}

.order-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
}

.order-container {
  max-width: 1200px;
  margin: 0 auto;
}

.order-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.glass-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 157, 0.1);
  padding: 2rem;
}

.form-step {
  display: none;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
}

.form-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.rank-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.rank-option {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rank-option:hover {
  background: rgba(0, 255, 157, 0.1);
  transform: translateY(-5px);
}

.rank-option.selected {
  background: rgba(0, 255, 157, 0.2);
  border: 2px solid var(--accent-green);
}

.rank-option img {
  width: 60px;
  height: 60px;
  margin-bottom: 0.5rem;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.option-card {
  position: relative;
  cursor: pointer;
}

.option-card input {
  position: absolute;
  opacity: 0;
}

.option-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.option-card input:checked + .option-content {
  background: rgba(0, 255, 157, 0.2);
  border: 2px solid var(--accent-green);
}

.form-navigation {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.nav-button {
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-button:hover:not(:disabled) {
  background: rgba(0, 255, 157, 0.2);
}

.nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: var(--accent-green);
  width: 33.33%;
  transition: width 0.3s ease;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 157, 0.1);
  padding: 2rem;
  position: sticky;
  top: 2rem;
}

.glass-panel::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 200px;
  height: 200px;
  background: url('../pngwing.com (2).png') center/contain no-repeat;
  opacity: 0.08;
  z-index: -1;
  animation: float 6s ease-in-out infinite 2s;
}

.summary-content {
  margin: 2rem 0;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-display {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-green);
  margin-top: 2rem;
  text-align: right;
}

.submit-order {
  width: 100%;
  padding: 1rem;
  background: var(--accent-green);
  border: none;
  border-radius: 10px;
  color: var(--primary-dark);
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.submit-order:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3);
}

.submit-order:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.order-form-container::before {
  content: '';
  position: absolute;
  left: -100px;
  bottom: -100px;
  width: 300px;
  height: 300px;
  background: url('../pngwing.com (5).png') center/contain no-repeat;
  opacity: 0.05;
  z-index: -1;
  animation: float 6s ease-in-out infinite;
}

@media (max-width: 968px) {
  .order-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .glass-panel {
    position: static;
    margin: 0 1rem;
  }

  .rank-selector {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.8rem;
  }

  .rank-option {
    padding: 0.8rem;
  }

  .rank-option img {
    width: 50px;
    height: 50px;
  }

  .options-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .glass-form {
    margin: 0 1rem;
  }

  .form-navigation {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .nav-button {
    flex: 1;
    min-width: 120px;
  }

  .progress-bar {
    flex: 0 0 100%;
    order: -1;
  }
}

@media (max-width: 768px) {
  .order-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .glass-panel {
    position: sticky;
    top: 70px;
    z-index: 10;
    margin: 0;
    padding: 1rem;
    border-radius: 10px;
  }

  .rank-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .rank-option {
    flex: 0 0 calc(33.33% - 0.5rem);
    padding: 0.5rem;
  }

  .rank-option img {
    width: 40px;
    height: 40px;
  }

  .options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .option-card {
    flex: 0 0 calc(50% - 0.25rem);
  }

  .form-step {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 1rem;
  }

  .form-step::-webkit-scrollbar {
    width: 4px;
  }

  .form-step::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 2px;
  }

  .form-navigation {
    position: sticky;
    bottom: 0;
    background: rgba(10, 26, 47, 0.95);
    padding: 1rem;
    margin: 0 -1rem;
    border-top: 1px solid rgba(0, 255, 157, 0.1);
  }
}

@media (max-width: 480px) {
  .order-section {
    padding: 4rem 0.5rem 2rem;
  }

  .glowing-text {
    font-size: 1.8rem;
  }

  .glass-form,
  .glass-panel {
    padding: 1.2rem;
    margin: 0 0.5rem;
  }

  .rank-selector {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 0.5rem;
  }

  .rank-option {
    padding: 0.6rem;
  }

  .rank-option img {
    width: 40px;
    height: 40px;
  }

  .rank-option span {
    font-size: 0.8rem;
  }

  .option-content {
    padding: 0.8rem;
  }

  .summary-item {
    font-size: 0.9rem;
  }

  .price-display {
    font-size: 1.3rem;
  }

  .submit-order {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
}