/** Shopify CDN: Minification failed

Line 405:19 Expected ")" to go with "("

**/
/* melanotan-styles.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #d2691e;
  --secondary: #cd853f;
  --accent: #daa520;
  --dark: #3e2723;
  --light: #fff;
  --bg-gradient: linear-gradient(135deg, #fefdfb 0%, #f9f4ef 50%, #f5ebe0 100%);
  --card-bg: rgba(255, 255, 255, 0.95);
  --success: #00c896;
  --warning: #ffd93d;
  --danger: #ff3838;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg-gradient);
  min-height: 100vh;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(210, 105, 30, 0.08);
  border-radius: 50%;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
}

header {
  text-align: center;
  padding: 40px 0;
  animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

h1 {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
  color: var(--dark);
  font-size: 1.2rem;
  opacity: 0.8;
}

.warning-banner {
  background: rgba(255, 140, 0, 0.06);
  border: 2px solid rgba(218, 165, 32, 0.4);
  border-radius: 10px;
  padding: 15px;
  margin: 20px 0;
  backdrop-filter: blur(10px);
  animation: pulse 2s infinite;
}

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

.warning-banner p {
  color: var(--dark);
  font-weight: 600;
  text-align: center;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

h2 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  font-size: 1.5rem;
}

.fitzpatrick-scale {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.skin-type {
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.skin-type:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.skin-type .emoji {
  font-size: 2rem;
  margin-bottom: 5px;
}

.skin-type h3 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 5px;
}

.skin-type p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

/* Adjust text colors for darker backgrounds */
.skin-type[style*="e0b894"] h3,
.skin-type[style*="e0b894"] p {
  color: #3e2723;
}

.skin-type[style*="b5835a"] h3,
.skin-type[style*="b5835a"] p,
.skin-type[style*="8d5c3e"] h3,
.skin-type[style*="8d5c3e"] p {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.skin-type[style*="b5835a"] p,
.skin-type[style*="8d5c3e"] p {
  opacity: 1;
  color: rgba(255, 255, 255, 0.95);
}

.form-group {
  margin-bottom: 25px;
}

label {
  display: block;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

select, input[type="number"] {
  width: 100%;
  padding: 12px;
  border: 2px solid #f5e6d3;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  background: var(--light);
}

select:focus, input[type="number"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
}

.radio-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.radio-option {
  flex: 1;
  min-width: 120px;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-option label {
  display: block;
  padding: 12px 20px;
  background: #fffbf5;
  border: 2px solid #f5e6d3;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.radio-option input[type="radio"]:checked + label {
  background: var(--primary);
  color: var(--light);
  border-color: var(--primary);
}

.weight-input-group {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.weight-input-group input[type="number"] {
  flex: 1;
}

.weight-unit-toggle {
  display: flex;
  gap: 0;
}

.weight-unit-toggle .radio-option {
  min-width: 50px;
}

.weight-unit-toggle .radio-option label {
  border-radius: 0;
  padding: 12px 15px;
  font-size: 0.9rem;
}

.weight-unit-toggle .radio-option:first-child label {
  border-radius: 10px 0 0 10px;
  border-right: none;
}

.weight-unit-toggle .radio-option:last-child label {
  border-radius: 0 10px 10px 0;
}

.calculate-btn {
  width: 100%;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--light);
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(210, 105, 30, 0.3);
  margin-top: 20px;
}

.calculate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(210, 105, 30, 0.4);
}

.calculate-btn:active {
  transform: translateY(0);
}

.results {
  margin-top: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.results.show {
  opacity: 1;
  transform: translateY(0);
}

.result-card {
  background: linear-gradient(135deg, #d2691e, #cd853f);
  color: var(--light);
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(210, 105, 30, 0.3);
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.result-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.result-label {
  font-weight: 600;
  opacity: 0.9;
}

.result-value {
  font-size: 1.2rem;
  font-weight: 700;
}

.progress-bar {
  width: 100%;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  overflow: hidden;
  margin-top: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 15px;
  transition: width 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ligh