/* === cyberart.css === */

body {
  background-color: #000;
  color: #39ff14;
  font-family: 'Courier New', Courier, monospace;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  text-transform: lowercase;
}

.cyberart main {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cyberartglow {
  color: #00ffee;
  text-shadow: 0 0 5px #00ffee, 0 0 10px #00ffee;
  font-size: 3rem;
  text-align: center;
}

.glow {
  color: #00ffee;
  text-shadow: 0 0 5px #00ffee, 0 0 10px #00ffee;
}

.center-text {
  text-align: center;
}

.intro {
  color: #80ff80;
  font-style: italic;
  text-align: center;
  margin-bottom: 2rem;
}

section h3.glow {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

section ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

section ul li a {
  color: #39ff14;
  text-decoration: none;
  font-size: 1.1rem;
  text-shadow: 0 0 3px #39ff14;
  transition: all 0.2s ease-in-out;
}

section ul li a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
}

/* === MOVIES / VISUAL GRID === */

.art-grid.movies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.art-card {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #39ff14;
  border-radius: 8px;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.art-card:hover {
  transform: scale(1.05);
}

.art-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.art-card h4 {
  color: #39ff14;
  text-shadow: 0 0 5px #39ff14;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  text-transform: lowercase;
}

.art-card p {
  color: #ccc;
  font-size: 0.9rem;
  text-transform: lowercase;
  line-height: 1.4;
}

/* === MUSIC SECTION === */

.art-grid.music {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.music-card {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #00ffee;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 0 10px #00ffee33;
  transition: transform 0.3s ease;
}

.music-card:hover {
  transform: scale(1.03);
}

.music-card h4 {
  color: #00ffee;
  text-shadow: 0 0 5px #00ffee;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  text-transform: lowercase;
}

.embed-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 0 10px #00ffee55;
}

.embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* === VISUAL GALLERY === */

.art-gallery {
  margin-top: 4rem;
}

.gallery-grid {
  column-count: 4;
  column-gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 6px;
  box-shadow: 0 0 10px #00ffcc44;
  transition: transform 0.3s ease;
  break-inside: avoid;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px #00ffee;
}

/* === BACK BUTTON === */

.back-button {
  margin-top: 2rem;
  text-align: center;
}

.back-button a {
  border: 1px solid #00ffee;
  color: #00ffee;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  text-shadow: 0 0 5px #00ffee;
  box-shadow: 0 0 10px #00ffee;
  display: inline-block;
  transition: all 0.2s;
}

.back-button a:hover {
  background: #002222;
  transform: scale(1.05);
}

/* === RESPONSIVE === */

@media (max-width: 1024px) {
  .gallery-grid {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    column-count: 1;
  }
}
