@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

.blurple {
  color: #ff0000;
}

.red {
  color: #ff4444;
}

.orange {
  color: #ff9900;
}

.purple {
  color: #cc00cc;
}

.lightblue {
  color: #3399ff;
}

.green {
  color: #33cc33;
}

.yellow {
  color: #cccc00;
}

.bg-base {
  background: linear-gradient(180deg, #ff6347 0%, #c0392b 100%) !important;
}

.bg-base-2 {
  background-color: #7a0000;
}

/* ── Back to top ── */
#backtotop {
  display: inline-block;
  background: linear-gradient(135deg, #ff6347, #c0392b);
  width: 48px;
  height: 48px;
  text-align: center;
  border-radius: 12px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(255, 99, 71, 0.3);
}

#backtotop:hover {
  cursor: pointer;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 99, 71, 0.5);
}

#backtotop:active {
  transform: translateY(-1px);
}

#backtotop.show {
  opacity: 0.85;
  visibility: visible;
}

/* ── Navbar ── */
nav {
  background: rgba(122, 0, 0, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar-brand {
  background: transparent !important;
}

.navbar-menu {
  background: transparent !important;
}

.navbar-item,
.navbar-link,
.navbar-brand .navbar-item {
  color: white !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 8px;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  position: relative;
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 60%;
}

.navbar-item:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: white !important;
  transform: translateY(-1px);
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.navbar-brand .navbar-item:hover {
  background-color: transparent !important;
  color: white !important;
  transform: none;
  text-shadow: none;
}

.navbar-brand .navbar-item::after {
  display: none;
}

.navbar-link:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #4a0012 !important;
}

.navbar-menu {
  animation: navAnimOpen 0.25s ease-out;
}

@keyframes navAnimOpen {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-item.nav-dark,
.navbar-link.nav-dark {
  color: white !important;
}

nav.nav-w {
  background: rgba(122, 0, 0, 0.95) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar-menu.nav-w {
  background: transparent !important;
  box-shadow: none !important;
}

/* ── Spacing helpers ── */
.mb-12 {
  margin-bottom: 6rem;
}

.mt-12 {
  margin-top: 6rem;
}

.ml-12 {
  margin-left: 6rem;
}

.mr-12 {
  margin-right: 6rem;
}

.img-col-ml-13 {
  margin-left: 13rem;
}

.img-col-mr-13 {
  margin-right: 13rem;
}

.has-image-centered {
  margin-left: auto;
  margin-right: auto;
}

/* ── Section titles ── */
.line {
  background: #ff6347;
  width: 150px;
  height: 4px;
  border-radius: 2px;
}

.line2 {
  background: #ff6347;
  width: 75px;
  height: 4px;
  border-radius: 2px;
}

.line-center {
  margin: 0 auto;
}

.line.blurple {
  background: linear-gradient(90deg, #ff6347, #ff0000);
}

.title.lined {
  margin-bottom: 0px;
}

/* ── Sections ── */
.section {
  background-color: #1a1a1a;
}

#features,
#stats,
#team {
  border-radius: 0;
}

/* ── Animations ── */
.vert-move {
  -webkit-animation: mover 1s infinite alternate;
  animation: mover 1s infinite alternate;
}

.vert-move2 {
  -webkit-animation: mover 0.5s infinite alternate;
  animation: mover 0.5s infinite alternate;
}

@-webkit-keyframes mover {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

@keyframes mover {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

/* ── Buttons ── */
.button.is-blurple {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  border-color: transparent;
  color: #fff;
  border-radius: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.25);
}

.button.is-blurple:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.button.is-info.blue {
  background: linear-gradient(135deg, #ff6347, #e0533d);
  border-color: transparent;
  border-radius: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(255, 99, 71, 0.25);
}

.button.is-info.blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 99, 71, 0.4);
}

.button.is-info {
  background-color: #5865F2 !important;
  border-color: transparent !important;
  border-radius: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.25);
}

.button.is-info:hover {
  transform: translateY(-2px);
  background-color: #4752c4 !important;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

/* ── Features ── */
.single-feature {
  position: relative;
  z-index: 5;
  padding: 2rem;
  margin: 1.5rem 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.single-feature:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 99, 71, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.shape-right {
  position: absolute;
  top: -40px;
  right: 0;
  width: 40%;
  height: 100%;
  z-index: -1;
  opacity: 15%;
}

.shape-right img {
  width: 100%;
}

@media (max-width: 767px) {
  .shape-right {
    display: none;
  }
}

.shape-left {
  position: absolute;
  top: -80px;
  left: 90px;
  width: 35%;
  height: 100%;
  z-index: -1;
  opacity: 15%;
}

.shape-left img {
  width: 100%;
}

@media (max-width: 767px) {
  .shape-left {
    display: none;
  }
}

/* ── Stats cards ── */
#stats .column {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  margin: 0.5rem;
  transition: all 0.3s ease;
}

#stats .column:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ── Team cards ── */
#team .column {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 0.5rem;
  transition: all 0.3s ease;
}

#team .column:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

#team .column img {
  border-radius: 12px !important;
  transition: transform 0.3s ease;
}

#team .column:hover img {
  transform: scale(1.05);
}

/* ── Media ── */
@media screen and (max-width: 768px) {
  .youtube-video {
    width: 116% !important;
    height: 220px !important;
  }
}

.youtube-video {
  border-radius: 16px;
}

.minecraft {
  border-radius: 16px;
}

.twitch {
  color: #cc00cc;
  transition: color 0.2s ease;
}

.twitch:hover {
  color: #ff00ff;
}

/* ── Footer ── */
.footer.bg-base {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer a {
  transition: opacity 0.2s ease;
}

.footer a:hover {
  opacity: 0.8;
}

/* ── Titles and text ── */
.title {
  color: #f0f0f0;
}

.subtitle {
  color: #b0b0b0;
}

/* ── Hero text overrides ── */
.hero .title {
  color: #fff;
}

.hero .subtitle {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Selection color ── */
::selection {
  background: rgba(255, 99, 71, 0.4);
  color: #fff;
}

/* ── Scrollbar (webkit) ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #ff6347;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e0533d;
}
