body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #10182b 0%, #1e2a47 100%);
    color: #fff;
    overscroll-behavior: none;
    /* For consistent overscroll background on all browsers */
    background-attachment: fixed;
}

html {
    background: linear-gradient(135deg, #10182b 0%, #1e2a47 100%);
    background-attachment: fixed;
}

body.light-theme {
  background: linear-gradient(135deg, #f7f7fa 0%, #fffbe6 100%);
  color: #222;
}

html.light-theme {
  background: linear-gradient(135deg, #f7f7fa 0%, #fffbe6 100%);
  background-attachment: fixed;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #181f32;
    padding: 1.2rem 3rem;
}

body.light-theme .navbar {
  background: #fffbe6;
}

.logo {
    display: flex;
    align-items: center;
}
.logo-icon {
    font-size: 2rem;
    color: #d8891f;
    margin-right: 0.5rem;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #d8891f;
}

body.light-theme .logo-text {
  color: #d8891f;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
    vertical-align: middle;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #d8891f;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.77,0,0.175,1);
    transform-origin: left;
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #d8891f;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    transform: scaleX(1);
}

body.light-theme .nav-links a {
  color: #222;
}
body.light-theme .nav-links a:hover,
body.light-theme .nav-links a:focus {
  color: #d8891f;
}
body.light-theme .nav-links a::after {
  background: #d8891f;
}

.nav-links a:hover {
    color: #d8891f;
}

body.light-theme .nav-links a:hover {
  color: #d8891f;
}

.nav-links a.active,
.nav-links a.active:focus {
    color: #d8891f;
}
.nav-links a.active::after {
    transform: scaleX(1);
}
body.light-theme .nav-links a.active {
    color: #d8891f;
}
body.light-theme .nav-links a.active::after {
    background: #d8891f;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 3rem;
    background: linear-gradient(90deg, rgba(16,24,43,0.95) 60%, rgba(216,137,31,0.1) 100%);
}

body.light-theme .hero {
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 60%, rgba(216,137,31,0.08) 100%);
}

.hero-content {
    max-width: 40%;
    text-align: left;
}
.hero-content h1 {
    font-size: 2.8rem;
    color: #d8891f;
    margin-bottom: 1rem;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body.light-theme .hero-content h1 {
  color: #d8891f;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

body.light-theme .hero-content p {
  color: #444;
}

.cta-btn {
    display: none;
}
.btn {
  --color: #fd9843;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .5s;
  border: none;
  background-color: transparent;
}

.btn div {
  letter-spacing: 2px;
  font-weight: bold;
  background: var(--color);
  border-radius: 2rem;
  color: white;
  padding: 1rem;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body.light-theme .btn div {
  background: #fd9843;
  color: #fff;
}

.btn::before {
  content: '';
  z-index: -1;
  background-color: var(--color);
  border: 2px solid white;
  border-radius: 2rem;
  width: 110%;
  height: 100%;
  position: absolute;
  transform: rotate(10deg);
  transition: .5s;
  opacity: 0.2;
}

.btn:hover {
  cursor: pointer;
  filter: brightness(1.2);
  transform: scale(1.1);
}

.btn:hover::before {
  transform: rotate(0deg);
  opacity: 1;
}

.btn svg {
  transform: translateX(-200%);
  transition: .5s;
  width: 0;
  opacity: 0;
}

.btn:hover svg {
  width: 25px;
  transform: translateX(0%);
  opacity: 1;
}

.btn:active {
  filter: brightness(1.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image img {
    width: 600px;
    max-width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(16,24,43,0.25);
    display: block;
    opacity: 1;
    transition: opacity 1s ease;
    position: relative;
    z-index: 1;
}
.hero-image img.fade-out {
    opacity: 0;
    transition: opacity 1s ease;
}
.cards-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
}

.card {
  --font-color: #323232;
  --font-color-sub: #666;
  --bg-color: #181f32;
  --main-color: #d8891f;
  width: 200px;
  height: 254px;
  background: var(--bg-color);
  border: 2px solid var(--main-color);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

body.light-theme .card {
  background: #fffbe6;
  color: #222;
  border: 2px solid #d8891f;
}

.card.card-animate {
  opacity: 1;
  transform: translateY(0);
}

.card-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem auto;
  background-color: #232b3e;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 30%;
  box-shadow: 0 2px 12px rgba(216,137,31,0.10);
  transition: none;
  transform: none;
  border: 2px solid #d8891f;
}
.card-photo:hover {
  transition: none;
  transform: none;
}

.card-title {
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body.light-theme .card-title {
  color: #222;
}

.card-title span {
  font-size: 15px;
  color: #ffd9a0;
}

body.light-theme .card-title span {
  color: #d8891f;
}

.card-socials {
  display: flex;
  height: 0;
  opacity: 0;
  margin-top: 20px;
  gap: 20px;
  transition: 0.5s;
}

.card-socials-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.card-socials-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--main-color);
  display: block;
}

body.light-theme .card-socials-btn svg,
body.light-theme .card-socials-btn.discord svg path {
  fill: #d8891f !important;
}

.card-socials-btn.discord svg path {
  fill: var(--main-color) !important;
}

.card:hover > .card-socials {
  opacity: 1;
  height: 35px;
}

.card-socials-btn:hover {
  transform: translateY(-5px);
  transition: all 0.15s;
}

.overons h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #d8891f;
    margin-bottom: 2rem;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body.light-theme h2 {
  color: #d8891f;
}

.overons-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 2.5rem auto 2.5rem auto;
  padding: 0 1.2rem;
}
.overons-info-text {
  flex: 2;
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.5;
}

body.light-theme .overons-info-text,
body.light-theme .team .overons-info-text {
  color: #222;
}

.overons-info-image {
  flex: 2;
  display: flex;
  justify-content: flex-end;
}
.overons-info-image img {
  max-width: 480px;
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 6px 24px rgba(16,24,43,0.20);
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box, linear-gradient(135deg, #d8891f, #ffd700, #d8891f, #ffd700) border-box;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 200% 200%;
  animation: animated-gradient-border 3s linear infinite;
}

body.light-theme .overons-info-image img,
body.light-theme .team .overons-info-image img {
  background: #fff;
}

@keyframes animated-gradient-border {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
@media (max-width: 900px) {
  .overons-info-row {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .overons-info-image {
    justify-content: center;
  }
  .overons-info-image img {
    max-width: 94vw;
  }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 2rem 1rem;
    }
    .hero-content, .hero-image {
        max-width: 100%;
        text-align: center;
    }
    .hero-image img {
        width: 100vw;
        margin-top: 2rem;
    }
}

#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #181f32;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banter-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  margin-left: -36px;
  margin-top: -36px;
}
.banter-loader__box {
  float: left;
  position: relative;
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
.banter-loader__box:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #d8891f;
}
.banter-loader__box:nth-child(3n) {
  margin-right: 0;
  margin-bottom: 6px;
}
.banter-loader__box:nth-child(1):before, .banter-loader__box:nth-child(4):before {
  margin-left: 26px;
}
.banter-loader__box:nth-child(3):before {
  margin-top: 52px;
}
.banter-loader__box:last-child {
  margin-bottom: 0;
}
.animate-overons {
  animation: overonsFadeDown 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes overonsFadeDown {
  0% {
    opacity: 0;
    transform: translateY(-60px);
  }
  60% {
    opacity: 1;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.team h2 {
  text-align: center;
  font-size: 2.8rem;
  color: #d8891f;
  margin-bottom: 2rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: bold;
}
.watleerje h2 {
  text-align: center;
  font-size: 2.8rem;
  color: #d8891f;
  margin-bottom: 2rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: bold;
}

.switch {
  display: block;
  --width-of-switch: 3.5em;
  --height-of-switch: 2em;
  --size-of-icon: 1.4em;
  --slider-offset: 0.3em;
  position: fixed;
  left: 2vw;
  bottom: 2vh;
  z-index: 1000;
  width: var(--width-of-switch);
  height: var(--height-of-switch);
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f4f4f5;
  transition: .4s;
  border-radius: 30px;
}
.slider:before {
  position: absolute;
  content: "";
  height: var(--size-of-icon,1.4em);
  width: var(--size-of-icon,1.4em);
  border-radius: 20px;
  left: var(--slider-offset,0.3em);
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(40deg,#ff0080,#ff8c00 70%);
  transition: .4s;
}
input:checked + .slider {
  background-color: #303136;
}
input:checked + .slider:before {
  left: calc(100% - (var(--size-of-icon,1.4em) + var(--slider-offset,0.3em)));
  background: #303136;
  box-shadow: inset -3px -2px 5px -2px #8983f7, inset -10px -4px 0 0 #a3dafb;
}

/* Orange Theme Uiverse.io Button */
.cssbuttons-io-button {
  background: #fd9843;
  color: white;
  font-family: inherit;
  padding: 0.35em;
  padding-left: 1.2em;
  font-size: 17px;
  font-weight: 500;
  border-radius: 0.9em;
  border: none;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  box-shadow: inset 0 0 1.6em -0.6em #d8891f;
  overflow: hidden;
  position: relative;
  height: 2.8em;
  padding-right: 3.3em;
  cursor: pointer;
  transition: background 0.3s;
}

.cssbuttons-io-button .icon {
  background: white;
  margin-left: 1em;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.2em;
  width: 2.2em;
  border-radius: 0.7em;
  box-shadow: 0.1em 0.1em 0.6em 0.2em #fd9843;
  right: 0.3em;
  transition: all 0.3s;
}

.cssbuttons-io-button:hover .icon {
  width: calc(100% - 0.6em);
}

.cssbuttons-io-button .icon svg {
  width: 1.1em;
  transition: transform 0.3s;
  color: #fd9843;
}

.cssbuttons-io-button:hover .icon svg {
  transform: translateX(0.1em);
}

.cssbuttons-io-button:active .icon {
  transform: scale(0.95);
}
