/* =========================================
   1. IMPORTS & FONTS
   ========================================= */
@import url("https://fonts.cdnfonts.com/css/technos");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap");

@font-face {
  font-family: "Technos-Fallback";
  src: local("Impact"), local("Arial Black");
  font-weight: bold;
  font-style: normal;
}

/* =========================================
   2. VARIABLES
   ========================================= */
:root {
  --primary-red: #ff0033;
  --dark-red: #cc0026;
  --black: #0a0a0a;
  --white: #fff;
  --gray: #333;
  --light-gray: #555;
  --very-light-gray: #999;

  --primary-font: "Montserrat", sans-serif;
  --logo-font: "Technos", "Impact", "Arial Black", sans-serif;
  --headline-font: "Play", sans-serif;

  --transition-speed: 0.4s;
  --glow-effect: 0 0 15px rgba(255, 0, 51, 0.5);
  --text-glow: 0 0 10px rgba(255, 0, 51, 0.3);
  --neon-border: 1px solid rgba(255, 0, 51, 0.3);

  --vh: 1vh;
}

/* =========================================
   3. RESET & GLOBAL STYLES
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--primary-font);
  background-color: var(--black);
  color: var(--white);
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  font-size: 16px;
}

input,
select,
textarea,
button {
  font-family: var(--primary-font);
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-speed);
}

ul {
  list-style: none;
}

/* Background Effects */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 0, 51, 0.05) 1px, transparent 1px) 0 0 /
      20px 20px,
    linear-gradient(rgba(255, 0, 51, 0.05) 1px, transparent 1px) 0 0 / 20px 20px;
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 0, 51, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

/* =========================================
   4. HEADER & NAVIGATION
   ========================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: none;
  border: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(10, 10, 10, 0.95);
  border-bottom: var(--neon-border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 95% 100%, 0 100%);
  z-index: -1;
}

.brand {
  font-family: var(--logo-font);
  font-size: 24px;
  font-weight: bold;
  color: var(--white);
  position: relative;
  z-index: 1001;
  letter-spacing: 1px;
  text-shadow: var(--text-glow);
  padding: 10px 20px;
  border: var(--neon-border);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
  display: block;
  transition: all var(--transition-speed);
  white-space: nowrap;
}

.brand:hover {
  color: var(--white);
  text-shadow: 0 0 15px rgba(255, 0, 51, 0.7);
  border-color: rgba(255, 0, 51, 0.5);
}

nav {
  position: relative;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.nav-toggle-label {
  display: none;
}

nav ul {
  display: flex;
  gap: 30px;
  padding: 10px 20px;
  position: relative;
  z-index: 1000;
  overflow: visible;
  background: none;
  border: none;
}

nav ul::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.8);
  border: var(--neon-border);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
  z-index: -1;
}

nav a {
  color: var(--white);
  font-family: var(--primary-font);
  font-size: 16px;
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  letter-spacing: 0.5px;
  cursor: pointer;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--gray);
  transition: width var(--transition-speed);
  box-shadow: var(--glow-effect);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover,
nav a.active {
  color: var(--primary-red);
  text-shadow: var(--text-glow);
}

nav ul li.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 2px;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  white-space: nowrap;
  flex-direction: row;
  gap: 1rem;
  z-index: 1000;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  overflow: hidden;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}

.dropdown-menu li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(212, 212, 212, 0.226),
    transparent
  );
  transform: skewX(-20deg);
}

.dropdown-menu li a:hover::before {
  animation: dropdown-shine 0.8s forwards;
}

@keyframes dropdown-shine {
  100% {
    left: 125%;
  }
}

@media (min-width: 928px) {
  .dropdown:hover .dropdown-menu,
  .dropdown-menu:hover {
    display: flex;
  }
}

/* =========================================
   5. PAGE LAYOUT
   ========================================= */
.page-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 30px 80px;
}

.c-wrap {
  width: 100%;
}

.section-title {
  font-family: var(--headline-font);
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary-red);
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-red);
}

.huge-title {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 30px;
}

/* =========================================
   6. UI COMPONENTS
   ========================================= */
.btn-custom-discord {
  display: inline-block;
  background-color: var(--primary-red);
  color: var(--white);
  font-family: var(--primary-font);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 50px;
  border: var(--neon-border);
  transform: skewX(-20deg);
  transition: all 0.3s ease;
  box-shadow: var(--glow-effect);
  position: relative;
  overflow: hidden;
}

.btn-custom-discord span {
  display: block;
  transform: skewX(20deg);
}

.btn-custom-discord:hover {
  background-color: var(--dark-red);
  box-shadow: 0 0 25px rgba(255, 0, 51, 0.6);
  transform: skewX(-20deg) translateY(-2px);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  font-family: var(--primary-font);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-speed);
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--white);
  box-shadow: var(--glow-effect);
  border: var(--neon-border);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 0, 51, 0.4);
}

.btn-primary:hover {
  background-color: var(--dark-red);
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--gray);
  color: var(--white);
  border-radius: 4px;
  transition: border-color var(--transition-speed);
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 8px rgba(255, 0, 51, 0.2);
}

form button {
  padding: 12px 24px;
  background-color: var(--primary-red);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: var(--dark-red);
}

/* =========================================
   7. FEATURE SECTION
   ========================================= */
.feature-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 80px 0;
  margin-bottom: 20px;
}

.feature-split.layout-left-text .feature-content {
  flex: 1;
  padding-right: 20px;
  order: 1;
}

.feature-split.layout-left-text .feature-visual {
  flex: 1;
  width: 100%;
  order: 2;
}

.text-left-align {
  text-align: left;
}

.feature-desc {
  color: #ccc;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.7;
}

.btn-wrapper-left {
  margin-bottom: 40px;
  text-align: left;
}

.highlight-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  max-width: 600px;
}

.chips-left {
  justify-content: flex-start;
  margin: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  background: rgba(255, 0, 51, 0.08);
  border: 1px solid rgba(255, 0, 51, 0.3);
  font-size: 14px;
  color: #eee;
  font-family: var(--primary-font);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.chip:hover {
  background: rgba(255, 0, 51, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 0, 51, 0.1);
}

.chip i {
  color: var(--primary-red);
  font-size: 18px;
}

/* Glass Window Effect */
.glass-window {
  position: relative;
  border-radius: 12px;
  padding: 15px;
}

.liquid-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.liquid-glass:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(255, 0, 51, 0.15);
  border-color: rgba(255, 0, 51, 0.3);
}

.liquid-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.5s;
  pointer-events: none;
}

.liquid-glass:hover::before {
  left: 150%;
}

.window-header {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  padding-left: 5px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red {
  background-color: #ff5f56;
}
.dot.yellow {
  background-color: #ffbd2e;
}
.dot.green {
  background-color: #27c93f;
}

.feature-img {
  width: 100%;
  border-radius: 8px;
  display: block;
  opacity: 0.95;
  min-height: 350px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.window-caption {
  text-align: center;
  font-size: 13px;
  color: #888;
  padding: 12px 5px 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 10px;
  font-family: var(--primary-font);
  letter-spacing: 0.5px;
}

/* =========================================
   8. STANDARDS / CARDS SECTION
   ========================================= */
.standards-section {
  padding: 60px 0;
}

.container-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step-card {
  padding: 40px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-number {
  position: absolute;
  top: 20px;
  right: 25px;
  font-family: var(--headline-font);
  font-size: 48px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 0, 51, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--primary-red);
  border: 1px solid rgba(255, 0, 51, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.step-icon i {
  font-size: 28px;
}

.step-title {
  font-family: var(--headline-font);
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.step-text {
  font-size: 15px;
  color: #bbb;
  line-height: 1.6;
  flex-grow: 1;
}

/* =========================================
   9. TEAM & GALLERY STYLES
   ========================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 30px 0;
  width: 100%;
}

.team-member {
  background-color: rgba(20, 20, 20, 0.8);
  border: var(--neon-border);
  transition: all var(--transition-speed);
  overflow: hidden;
  position: relative;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 0, 51, 0.2);
}

.member-image {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(20%);
}

.team-member:hover .member-image img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.member-info {
  padding: 25px;
  background: rgba(10, 10, 10, 0.8);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.member-info h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 5px;
  font-weight: 600;
}

.member-title {
  color: var(--primary-red);
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 16px;
  text-shadow: var(--text-glow);
}

.timeline-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.timeline-item {
  background: #111;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.timeline-item:hover {
  transform: scale(1.05);
}

#lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  text-align: center;
  padding-top: 60px;
}

#lightbox img {
  max-width: 80%;
  max-height: 70%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(179, 1, 1, 0.783);
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* =========================================
   10. FOOTER
   ========================================= */
footer {
  background-color: rgba(10, 10, 10, 0.95);
  padding: 40px 0;
  border-top: var(--neon-border);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  clip-path: polygon(0 15%, 5% 0, 100% 0, 100% 100%, 0 100%);
  width: 100%;
  position: relative;
  z-index: 10;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--logo-font);
  font-size: 24px;
  letter-spacing: 1px;
  text-shadow: var(--text-glow);
  padding: 10px 20px;
  border: var(--neon-border);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}

.footer-links {
  display: flex;
  gap: 20px;
  padding: 10px 20px;
  background: rgba(20, 20, 20, 0.5);
  border: var(--neon-border);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition-speed);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary-red);
  text-shadow: var(--text-glow);
}

.social-links-footer {
  display: flex;
  gap: 15px;
}

.social-icon-home,
.social-icon-footer {
  color: var(--white);
  text-decoration: none;
  font-size: 20px;
  transition: all var(--transition-speed);
  margin: 0 15px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon-home:hover,
.social-icon-footer:hover {
  color: var(--primary-red);
  transform: translateY(-3px);
  text-shadow: var(--text-glow);
}

.ctftime-logo {
  height: 20px;
  width: auto;
  transition: all var(--transition-speed);
}

.social-icon-home:hover .ctftime-logo,
.social-icon-footer:hover .ctftime-logo {
  transform: scale(1.1);
}

.footer-copyright {
  color: var(--very-light-gray);
  font-size: 14px;
}

/* =========================================
   11. ANIMATIONS
   ========================================= */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.fade-up.waiting-for-scroll {
  opacity: 0;
  transform: translateY(30px);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   12. MEDIA QUERIES
   ========================================= */
@media screen and (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 927px) {
  /* Navigation */
  .nav-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    width: 35px;
    height: 35px;
    margin-right: 5px;
    background-color: rgba(20, 20, 20, 0.5);
    border-radius: 4px;
    border: 1px solid rgba(255, 0, 51, 0.2);
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    position: absolute;
    height: 2px;
    width: 22px;
    background-color: var(--primary-red);
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  .nav-toggle-label span {
    top: 50%;
    transform: translateY(-50%);
  }
  .nav-toggle-label span::before {
    content: "";
    top: -7px;
  }
  .nav-toggle-label span::after {
    content: "";
    top: 7px;
  }

  .nav-toggle:checked ~ .nav-toggle-label {
    background-color: rgba(255, 0, 51, 0.1);
  }
  .nav-toggle:checked ~ .nav-toggle-label span {
    background: transparent;
  }
  .nav-toggle:checked ~ .nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
    background-color: var(--white);
  }
  .nav-toggle:checked ~ .nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
    background-color: var(--white);
  }

  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    padding: 80px 30px 30px;
    transition: all 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    clip-path: none;
  }

  .nav-toggle:checked ~ ul {
    right: 0;
  }
  nav ul::before {
    display: none;
  }
  nav ul li {
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
  }
  nav a {
    font-size: 20px;
    padding: 15px 0;
    display: block;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  nav a::after {
    width: 0 !important;
  }
  nav a:hover,
  nav a.active {
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
  }

  nav ul .dropdown-menu {
    display: none;
    flex-direction: column;
    width: 90%;
    margin: 10px auto 15px auto;
    position: static;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 0, 51, 0.2);
    border-radius: 8px;
    padding: 5px 0;
    clip-path: none;
    height: auto;
  }

  .dropdown.mobile-active .dropdown-menu {
    display: flex;
  }

  /* Mobile Layout Adjustments */
  .feature-split.layout-left-text {
    flex-direction: column;
    gap: 40px;
  }

  .feature-split.layout-left-text .feature-visual {
    order: 1; /* Visual first */
  }

  .feature-split.layout-left-text .feature-content {
    order: 2; /* Text second */
    padding-right: 0;
    text-align: center;
  }

  .text-left-align {
    text-align: center;
  }
  .btn-wrapper-left {
    text-align: center;
  }
  .chips-left {
    justify-content: center;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
  .huge-title {
    font-size: 36px;
  }

  /* --- MOBILE FOOTER REDESIGN --- */
  footer {
    clip-path: none;
    padding: 40px 20px; /* Added side padding so boxes don't touch edges */
    width: 100%;
    margin-top: 80px;
    background: transparent; /* Let body background show through */
  }

  .footer-content {
    padding: 0;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    gap: 25px; /* Gap between the Logo Box and the Menu Box */
  }

  /* 1. LOGO BOX (Top) */
  .footer-logo {
    width: 100%;
    clip-path: none;
    padding: 15px 10px;
    font-size: 22px; /* Slightly larger for Technos font */
    margin: 0;

    /* The Image Look: Red Border + Semi-Black Background */
    border: 1px solid rgba(255, 0, 51, 0.4);
    background: rgba(5, 5, 5, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

    letter-spacing: 1px;
    text-shadow: none;
    color: #fff;
  }

  /* 2. LINKS CONTAINER (Bottom Box) */
  .footer-links {
    width: 100%;
    justify-content: center;
    clip-path: none;
    flex-direction: column;
    margin: 0;

    /* The Image Look: Red Border surrounding the whole list */
    border: 1px solid rgba(255, 0, 51, 0.4);
    background: rgba(5, 5, 5, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

    /* Spacing inside the box */
    padding: 40px 0;
    gap: 30px; /* Space between individual text links */
  }

  /* Individual Links styling */
  .footer-links a {
    display: inline-block;
    width: auto; /* Let text define width */
    text-align: center;
    padding: 0;
    font-size: 18px;
    font-weight: 500;
    color: #fff;

    /* Remove previous individual borders */
    border: none !important;
    background: transparent !important;
    margin: 0;
    transition:
      color 0.3s ease,
      text-shadow 0.3s ease;
  }

  /* Hover State: Just glow text, no box change */
  .footer-links a:hover,
  .footer-links a:active {
    color: var(--primary-red);
    background: transparent;
    text-shadow: 0 0 8px rgba(255, 0, 51, 0.6);
  }

  /* Social Links & Copyright - Positioned below the boxes */
  .social-links-footer {
    margin: 10px 0 20px 0;
    justify-content: center;
    width: 100%;
  }

  .social-icon-footer {
    font-size: 24px;
    margin: 0 12px;
  }

  .footer-copyright {
    font-size: 12px;
    color: var(--very-light-gray);
    margin-top: 0;
  }

  .brand {
    font-size: 16px;
    padding: 10px 16px;
  }
}
