main {
    
    width: 100vw;
    
}

body {
    background: #0f0f14;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    width: 100%;
}

.configurator {
    max-width: 900px;
    margin: auto;
    background: #181824;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #2b2b3a;
}

.configurator h1 {
    margin-top: 0;
    color: #b44cff;
}

.configurator h2 {
    margin-top: 40px;
    color: #b44cff;
}

label {
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: bold;
}

select {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #2f2f42;
    background: #101018;
    color: white;
    font-size: 15px;
}

select:focus {
    outline: none;
    border-color: #b44cff;
}

#summary {
    background: #101018;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #2f2f42;
    margin-top: 20px;
}

#summary p {
    margin: 10px 0;
}

#totalPrice {
    margin-top: 30px;
    font-size: 32px;
    color: #b44cff;
}

#warnings {
    margin-top: 20px;
}

#warnings p {
    background: rgba(180, 76, 255, 0.1);
    border: 1px solid rgba(180, 76, 255, 0.3);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
}

button {
    width: 100%;
    margin-top: 30px;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: #b44cff;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #cb7cff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    body {
        padding: 16px;
    }

    .configurator {
        padding: 20px;
        border-radius: 16px;
        margin: 1rem; 
    }

    .configurator h1 {
        font-size: 28px;
    }

    .configurator h2 {
        font-size: 22px;
    }

    select {
        font-size: 14px;
        padding: 12px;
    }

    #summary {
        padding: 16px;
    }

    #summary p {
        font-size: 14px;
    }

    #totalPrice {
        font-size: 26px;
    }

    button {
        padding: 14px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .configurator {
        padding: 16px;
        border-radius: 14px; 
    }

    .configurator h1 {
        font-size: 24px;
    }

    #totalPrice {
        font-size: 22px;
    }

    label {
        margin-top: 16px;
    }
}

.preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 30px 0;
}

.preview-card {
    background: #101018;
    border: 1px solid #2f2f42;
    border-radius: 18px;
    padding: 18px;
    text-align: center;
}

.preview-card h3 {
    color: #b44cff;
    margin-top: 0;
}

.preview-card img {
    width: 100%;
    max-height: 230px;
    object-fit: contain;
    transition: 0.25s ease;
}

.preview-card img:hover {
    transform: scale(1.04);
}

.preview-card p {
    font-weight: bold;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .preview {
        grid-template-columns: 1fr;
    }

    main {
        display: flex;
        
    }
    
    .preview-card img {
        max-height: 200px;
    }
}

.performance-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #7b2cff, #b44cff);
    color: white;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 0 25px rgba(180, 76, 255, 0.35);
}

.performance-text {
    margin-top: 14px;
    color: #cfcfe8;
    font-size: 15px;
    line-height: 1.5;
}


@media (min-width: 1000px) {
    main {
    
    margin: 2rem;
    
}
}



.fps-section {
  margin-top: 35px;
}

.fps-section h3 {
  color: #b44cff;
  margin-bottom: 18px;
}

.fps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fps-card {
  background: #101018;
  border: 1px solid #2f2f42;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.game-name {
  color: #d0d0e5;
  font-size: 14px;
}

.fps-value {
  font-size: 24px;
  font-weight: 700;
  color: #b44cff;
}

.fps-note {
  margin-top: 16px;
  font-size: 13px;
  color: #8d8da7;
}



@media (max-width: 768px) {
  .fps-grid {
    grid-template-columns: 1fr;
  }
}


.preview-card {
  background: #101018;
  border: 1px solid #2f2f42;
  border-radius: 18px;
  padding: 18px;
  text-align: center;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.preview-card:hover {
  transform: translateY(-4px);

  border-color: #b44cff;

  box-shadow:
    0 0 18px rgba(180, 76, 255, 0.35),
    0 0 40px rgba(180, 76, 255, 0.12);
}


.preview-card img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.preview-card:hover img {
  transform: scale(1.05);

  filter:
    drop-shadow(0 0 10px rgba(180, 76, 255, 0.35));
}


#requestBtn {
  position: relative;
  overflow: hidden;

  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

#requestBtn:hover {
  transform: translateY(-2px);

  box-shadow:
    0 0 20px rgba(180, 76, 255, 0.45),
    0 0 45px rgba(180, 76, 255, 0.2);
}


.performance-badge {
  animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
  0% {
    box-shadow:
      0 0 12px rgba(180, 76, 255, 0.25);
  }

  50% {
    box-shadow:
      0 0 22px rgba(180, 76, 255, 0.45);
  }

  100% {
    box-shadow:
      0 0 12px rgba(180, 76, 255, 0.25);
  }
}


select:hover {
  border-color: #b44cff;

  box-shadow:
    0 0 10px rgba(180, 76, 255, 0.18);
}



.price-sticky {
  position: sticky;
  top: 20px;
  z-index: 10;
  background: #101018;
  border: 1px solid #b44cff;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(180, 76, 255, 0.2);
  text-align: center;
}

.price-sticky span {
  display: block;
  color: #aaa;
  font-size: 14px;
}

.price-sticky strong {
  display: block;
  color: #b44cff;
  font-size: 30px;
}

.configurator-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: start;
}

.configurator-sidebar {
  position: sticky;
  top: 24px;
  background: #101018;
  border: 1px solid #2f2f42;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 0 30px rgba(180, 76, 255, 0.12);
}

@media (max-width: 900px) {
  .configurator-layout {
    grid-template-columns: 1fr;
  }

  .configurator-sidebar {
    position: static;
  }
}

