/* Concept 5c: AUTO-ROTATING CAROUSEL */

:root {
  --color-bg: #00E5FF;
  --color-text: #1A0033;
  --color-accent: #FF4081;
  --color-card: #fff;
  --font-mono: "SF Mono", "Fira Code", Consolas, monospace;
}

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

body {
  font-family: var(--font-mono);
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
}

#canvas-container {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  opacity: 0.4;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding: 30px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.header {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.header h1 {
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 2px 2px 0 var(--color-accent);
}

.social-icons { display: flex; gap: 10px; }
.social-icon {
  width: 36px; height: 36px;
  background: var(--color-text);
  color: var(--color-bg);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: transform 0.2s;
}
.social-icon:hover { transform: scale(1.1); }
.social-icon svg { width: 20px; height: 20px; }

/* Carousel */
.carousel-section {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  padding: 0 calc(50vw - 150px);
}

.carousel-item {
  flex: 0 0 300px;
  background: var(--color-card);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.carousel-item:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.carousel-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.carousel-info {
  padding: 16px;
}

.carousel-type {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  padding: 2px 8px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 8px;
}

.carousel-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.carousel-desc {
  font-size: 0.8rem;
  color: #666;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dot {
  width: 10px; height: 10px;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

.carousel-speed {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.8rem;
}

.carousel-speed input {
  width: 100px;
}

/* Info Bar */
.info-bar {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.info-item {
  background: var(--color-card);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.info-icon {
  font-size: 1.5rem;
}

.info-content {
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer {
  margin-top: auto;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
}
