body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #4CAF50 0%, #ffffff 100%);
  color: #333;
  min-height: 100vh;
}

.container {
  max-width: 480px;
  margin: 40px auto;
  padding: 32px 24px;
  background: #282c34;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  margin-bottom: 1em;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

button#generate-btn {
  padding: 12px 32px;
  font-size: 1.2rem;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, #6B5B95 0%, #FF6F61 100%);
  color: white;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.3s;
  margin-bottom: 24px;
}
button#generate-btn:hover {
  background: linear-gradient(90deg, #FF6F61 0%, #6B5B95 100%);
}

#shape-container {
  position: relative;
  overflow: hidden;
  min-height: 140px;
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shape {
  transition: all 0.5s;
}

/* Dynamic shape classes will be added by JS */
.shape.circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}
.shape.square {
  width: 120px;
  height: 120px;
}
.shape.rectangle {
  width: 180px;
  height: 90px;
}
.shape.ellipse {
  width: 140px;
  height: 80px;
  border-radius: 50%;
}
.shape.triangle {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 120px solid #fff; /* JS will override color */
  background: none;
}
.shape.pentagon {
  position: relative;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 80px solid #fff; /* JS will override color */
  background: none;
}
.shape.hexagon {
  width: 104px;
  height: 60px;
  background: #fff; /* JS will override color */
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
}
.shape.star {
  width: 120px;
  aspect-ratio: 1 / 1;
  background: none;
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%,
    68% 57%, 79% 91%, 50% 70%,
    21% 91%, 32% 57%, 2% 35%,
    39% 35%
  );
}
.shape.diamond {
  width: 100px;
  height: 100px;
  background: none;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.shape.parallelogram {
  width: 140px;
  height: 80px;
  background: none;
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}
.shape.trapezoid {
  width: 140px;
  height: 80px;
  background: none;
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}
.shape.blob {
  width: 120px;
  height: 120px;
  background: none;
  clip-path: polygon(60% 0%, 100% 20%, 100% 70%, 80% 100%, 30% 100%, 0% 70%, 0% 20%, 40% 0%);
}

/* 3D effect utility */
.shape.three-d {
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25), 0 1.5px 8px 0 rgba(0,0,0,0.18);
  transform-style: preserve-3d;
  will-change: transform;
}

#art-name {
  font-size: 1.7rem;
  color: #F7CAC9;
  text-shadow: 1px 1px 4px #222;
  min-height: 2.5em;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-24px); }
}
@keyframes wobble {
  0%, 100% { transform: rotate(-2deg); }
  25% { transform: rotate(2deg); }
  50% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
}
@keyframes skew {
  0%, 100% { transform: skew(0deg, 0deg); }
  50% { transform: skew(12deg, 6deg); }
}

.shape.spin {
  animation: spin 2.5s linear infinite;
}
.shape.pulse {
  animation: pulse 1.5s ease-in-out infinite;
}
.shape.float {
  animation: float 2.2s ease-in-out infinite;
}
.shape.wobble {
  animation: wobble 1.8s ease-in-out infinite;
}
.shape.skew {
  animation: skew 1.7s ease-in-out infinite;
}

/* Rain Effect */
.rain-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.rain-drop {
  position: absolute;
  width: 2px;
  height: 20px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.6));
  animation: rain linear infinite;
}

@keyframes rain {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

/* Lightning Effect */
.lightning {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  animation: lightning 4s linear infinite;
}

@keyframes lightning {
  0%, 95%, 98% {
    background: transparent;
  }
  96%, 99% {
    background: rgba(255, 255, 255, 0.4);
  }
  97%, 100% {
    background: transparent;
  }
}

/* Sparkles Effect */
.sparkles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  animation: sparkle 2s ease-in-out infinite;
}

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

/* Fog Effect */
.fog {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: fog 8s linear infinite;
}

@keyframes fog {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Wind Effect */
.wind-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wind-line {
  position: absolute;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  animation: wind linear infinite;
}

@keyframes wind {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
} 