/* --- Section Heading --- */
.content {
  text-align: center;
  margin: 30px 0 20px;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: 700;
  background: black;
  color: #4da6ff;
  padding: 12px 90px;
  border-radius: 12px;
  border: 2px solid #4da6ff;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.section-title i {
  font-size: 1.5rem;
}

/* Light theme */
body.light-theme .section-title {
  background: white;
  color: red;
  border: 2px solid red;
}

/* Hover effect (subtle) */
.section-title:hover {
  transform: scale(0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* --- Links Grid --- */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* mobile = 2 columns */
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 0 18px;
  box-sizing: border-box;
}

/* Tablet: 3 columns */
@media (min-width: 700px) {
  .links-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Desktop: 4 columns */
@media (min-width: 1100px) {
  .links-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- Link Boxes --- */
.box {
  font-size: 22px;
  background: black;
  padding: 18px;
  border: 2px solid white;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.box:hover {
  transform: scale(0.92);
  box-shadow: 0 8px 20px rgba(255,255,255,0.15);
}

.box a {
  color: white;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

body.light-theme .box {
  background: white;
  border: 2px solid black;
}
body.light-theme .box a { color: black; }

.box a i {
  font-size: 26px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

/* --- Brand Colors + Glow --- */
.box:hover .fa-at, .box:hover .fa-at + span {
  color: #ffb400; text-shadow: 0 0 5px rgba(255,180,0,0.9);
}
.box:hover .fa-instagram, .box:hover .fa-instagram + span {
  color: #e1306c; text-shadow: 0 0 5px rgba(225,48,108,0.9);
}
.box:hover .fa-discord, .box:hover .fa-discord + span {
  color: #5865f2; text-shadow: 0 0 5px rgba(88,101,242,0.9);
}
.box:hover .fa-youtube, .box:hover .fa-youtube + span {
  color: #ff0000; text-shadow: 0 0 5px rgba(255,0,0,0.9);
}
.box:hover .fa-twitter, .box:hover .fa-twitter + span {
  color: #1da1f2; text-shadow: 0 0 5px rgba(29,161,242,0.9);
}
.box:hover .fa-spotify, .box:hover .fa-spotify + span {
  color: #1db954; text-shadow: 0 0 5px rgba(29,185,84,0.9);
}
