/* ===== DARK ARTISTIC THEME ===== */
:root {
  --primary: #FF2E63;       /* Kräftiges Pink-Rot */
  --primary-dark: #D10047;  /* Dunkleres Rot */
  --primary-light: #FF6B8B; /* Helleres Rot */
  --dark-bg: #121212;      /* Dunkler Hintergrund */
  --darker-bg: #0A0A0A;    /* Noch dunkler */
  --card-bg: #1E1E1E;      /* Karten-Hintergrund */
  --text: #E0E0E0;         /* Haupttext */
  --text-light: #A0A0A0;   /* Sekundärtext */
  --border: #333333;       /* Rahmen */
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--dark-bg);
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  padding: 2rem;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255,46,99,0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(213,0,71,0.1) 0%, transparent 50%);
}

/* ===== MAIN CONTAINER ===== */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* ===== HEADER ===== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--primary-light);
}

.hero-title {
  font-family: 'Kanit', sans-serif;
  font-size: 3rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

/* ===== FORM STYLES ===== */
.commission-form {
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  display: grid;
  gap: 0.8rem;
}

label {
  color: var(--text);
  font-weight: 500;
  font-size: 1.1rem;
}

input, select, textarea {
  background: rgba(0,0,0,0.3);
  border: 2px solid var(--border);
  color: var(--text);
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,46,99,0.3);
  outline: none;
}

/* ===== BUTTONS ===== */
.btn {
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255,46,99,0.3);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.gallery-item {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: zoom-in;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(255,46,99,0.2);
  border-color: var(--primary);
}

/* ===== TOS POPUP ===== */
.tos-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  place-items: center;
  z-index: 1000;
}

.tos-content {
  background: var(--card-bg);
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  border-radius: 12px;
  border: 2px solid var(--primary);
  overflow: hidden;
}

.scroll-container {
  height: 60vh;
  overflow-y: auto;
  padding: 2rem;
}

/* ===== ALERTS ===== */
.alert {
  padding: 1.2rem;
  margin: 1rem;
  border-radius: 8px;
  font-weight: 500;
}

.success {
  background: rgba(46, 204, 113, 0.2);
  border: 2px solid #2ecc71;
  color: #2ecc71;
}

.error {
  background: rgba(231, 76, 60, 0.2);
  border: 2px solid #e74c3c;
  color: #e74c3c;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}