/* style.css — 2009 Scene-Core */

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.glitter-bg {
  font-family: "Comic Sans MS", "Trebuchet MS", sans-serif;
  background: black url("assets/bg/glitter.gif") repeat;
  color: #fff;
  line-height: 1.5;
  font-size: 14px;
}

a {
  color: #ff66ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline wavy hotpink;
}

/* Banner */
.banner {
  background: linear-gradient(90deg, #ff00ff, #00ffff);
  color: black;
  font-weight: bold;
  text-align: center;
  padding: 4px;
  border-bottom: 3px dashed white;
}

/* Nav */
.nav {
  background: #111;
  border-bottom: 2px solid #ff00ff;
}
.nav__list {
  display: flex;
  justify-content: center;
  list-style: none;
}
.nav__link {
  display: block;
  padding: 8px 16px;
  font-weight: bold;
  text-transform: uppercase;
  color: #0ff;
}
.nav__link:hover {
  background: #ff00ff;
  color: black;
}

/* Layout */
.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 10px;
}

/* Sidebar */
.sidebar .card {
  background: rgba(20, 20, 20, 0.9);
  border: 2px solid #ff00ff;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px magenta;
}

.profile__avatar-frame {
  border: 4px solid #0ff;
  padding: 4px;
  margin-bottom: 10px;
}
.profile__avatar {
  max-width: 100%;
  border-radius: 6px;
}
.profile__name {
  font-size: 20px;
  color: #ff0;
  text-align: center;
}

/* Cards */
.card {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #0ff;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
}
.card__title {
  font-size: 18px;
  margin-bottom: 8px;
  color: #ff66ff;
  border-bottom: 1px dotted #ff66ff;
}
.card__subtitle {
  font-size: 14px;
  margin: 6px 0;
  color: #0ff;
}

/* Photogrid */
.photogrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  list-style: none;
}
.photogrid img {
  width: 100%;
  border: 2px solid #ff0;
}

/* Friends */
.friends__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  list-style: none;
}
.friend img {
  width: 100%;
  border: 2px solid #ff66ff;
  border-radius: 6px;
}
.friend__name {
  display: block;
  text-align: center;
  font-size: 12px;
  margin-top: 4px;
}

/* Guestbook */
.guestbook__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}
.field__label {
  font-weight: bold;
  color: #0ff;
}
textarea, input {
  width: 100%;
  padding: 6px;
  border: 1px solid #ff66ff;
  background: #111;
  color: white;
}
.btn {
  display: inline-block;
  background: #ff00ff;
  color: black;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}
.btn:hover {
  background: #0ff;
  color: black;
}

/* Footer */
.footer {
  margin-top: 40px;
  text-align: center;
  padding: 10px;
  background: #111;
  border-top: 2px solid #ff00ff;
  font-size: 12px;
}
.footer__badges img {
  margin: 4px;
  border: 1px solid #333;
}
.footer__meta {
  color: #999;
  margin-top: 6px;
}
