/* Global page styling */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #000;
  color: #fff;
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(300px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Title — STATIONARY */
h1 {
  font-size: 5.0rem;
  color: #ff7b00;
  text-shadow: 5px 5px 0 #7a2be2;
  margin-top: 40px;
  animation: fadeIn 2s ease-out forwards;
}

/* Rotating favicon image ONLY */
.main-image {
  width: 400px;
  height: 400px;
  background-image: url("favicon.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  /* Fade in + rotation */
  animation: fadeIn 1.6s ease-out forwards, rotateFavicon 10s linear infinite;

  transform-style: preserve-3d;
}

/* Clockwise horizontal rotation */
@keyframes rotateFavicon {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(-360deg); }
}

/* Enter Site button — STATIONARY */
.enter-btn {
  margin-top: 20px;
  padding: 15px 40px;
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, #ff7b00, #7a2be2);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  animation: fadeIn 2s ease-out forwards;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.enter-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px #ff7b00;
}

/* Footer — STATIONARY */
footer {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 30px;
  animation: fadeIn 2s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }

  .main-image {
    width: 250px;
    height: 250px;
  }

  .enter-btn {
    font-size: 1.1rem;
    padding: 12px 30px;
  }
/* Gallery grid layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 60px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 1.5s ease-out forwards;
}

.art-item img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px #7a2be2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px #ff7b00;
}

  footer {
    font-size: 0.9rem;
  }
}
