/* ---------- Variables & Reset ---------- */
:root {
  --bg-deep: #170d33e3;
  --bg-cyan: #11b8ff79;
  --glass: rgba(99, 81, 164, 0.35);
  --line: #89DCFF;
  --text: #FFFFFF;
  --card: #0f1535;
  --muted: #9cc8e4;
  --brand: #AEE9FF;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  color: white;
}

body {
  font-family: 'Armata', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  color: var(--text);
  background:
    radial-gradient(circle farthest-side at 0% 41.2%,#294674 28%,rgba(240,166,17,0) 0)355px 229px,

    radial-gradient(circle farthest-side at 0% 41.2%,#162e5b 28.3%,rgba(240,166,17,0) 0)345px 229px,

    linear-gradient(#294674 16.5%,rgba(240,166,17,0) 0, rgba(240,166,17,0) 83.5%,#294674 0)0 0,

    linear-gradient(150deg,#294674 24%,#162e5b 0,#162e5b 26%,rgba(240,166,17,0) 0,rgba(240,166,17,0) 74%,#162e5b 0,#162e5b 76%,#294674 0)0 0,
    linear-gradient(30deg,#294674 24%,#162e5b 0,#162e5b 26%,rgba(240,166,17,0) 0,rgba(240,166,17,0) 74%,#162e5b 0,#162e5b 76%,#294674 0)0 0,
    linear-gradient(90deg,#162e5b 2%,#294674 0,#294674 98%,#162e5b 0%)0 0 #294674;

    background-size: 232px 388px;
}

.main {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-deep) 2%, var(--bg-cyan) 100%);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
}

.image-fade {
  position: relative;
  width: 400px; /* adjust */
  height: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(137, 220, 255, .4);
}

.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700
}

.brand img {
  width: 28px;
  height: 28px;
  display: block
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0
}

.modes-container {
  border: 1px solid;
  padding: 1.5rem;
  border-radius: 20px;
  border-color: #89DCFF;
  color: white;
  background: linear-gradient(#00000000 0%,#9198e52a 50%);
}

.modes-container h2 {
  font-weight: 500;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-family: 'Arvo', serif;
  font-size: 0.95rem
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  color: var(--text);
  padding: .35rem .6rem;
  border-radius: 8px
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  overflow: hidden
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url('assets/MSP_InGame_WEB 2.png');
  background-size: cover;
  background-position: center;
  filter: saturate(104%) contrast(1.05);

  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,1) 80% , rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;

  mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,1) 40% , rgba(0,0,0,0) 84%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

.hero-content {
  z-index: 1;
  max-width: 1000px;
}

.hero-logo {
  max-width: min(680px, 70vw);
  width: 100%;
  display: block;
  margin: 0 auto 1rem auto;
  filter: drop-shadow(0 4px 4px #000)
}

.lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f2f7fb;
  margin: 0 0 1rem
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(3rem, 5vw, 5rem) 1rem
}

h2 {
  font-family: 'Arvo', serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin: 0 0 .75rem
}

h3 {
  font-family: 'Arvo', serif;
  font-size: 1.35rem;
  margin: .5rem 0
}

.section-intro {
  color: #e6f7ffcc;
  line-height: 1.65;
  margin-bottom: 1.25rem
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(174, 233, 255, .35), rgba(174, 233, 255, .18));
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .25);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35)
}

.btn.cta {
  font-size: 1.15rem;
  padding: 1rem 1.4rem;
  z-index: 1;
}

.button-cta {
  z-index: 1;
  display: flex;
  align-items: flex-end;
}

.btn.outline {
  background: transparent;
  border-style: dashed;
}

/* ---------- Cards / Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.feature-card {
  background: rgba(15, 21, 53, .65);
  border: 1px solid rgba(137, 220, 255, .5);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .35);
  display: flex;
  flex-direction: column;
}

.feature-card .media {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  filter: saturate(110%) contrast(1.05);
}

.feature-card p {
  padding: 0 1rem 1.2rem;
  color: #d6eeff
}

.feature-card h3 {
  padding: 1rem 1rem .25rem
}

/* ---------- Grid / Media ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center
}

.grid-2.rev {
  grid-template-columns: .9fr 1.1fr
}

.media-frame {
  background: rgba(15, 21, 53, .65);
  border: 1px solid rgba(137, 220, 255, .5);
  border-radius: 20px;
  padding: .75rem;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .35);
}

.media-frame img {
  width: 100%;
  display: block;
  border-radius: 14px
}

/* ---------- Lists ---------- */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding: 0;
  margin: 1rem 0 1.25rem;
  list-style: none
}

.badges li {
  padding: .45rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(152, 216, 243, .15);
  color: #e8f6ff;
  font-weight: 700;
  font-family: 'Arvo', serif;
  font-size: .95rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: .5rem 0 1rem
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin: .4rem 0
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700
}

.bullets {
  padding-left: 1rem;
  margin: .5rem 0 0
}

.bullets li {
  margin: .35rem 0
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem
}

.gallery figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(137, 220, 255, .35);
  background: rgba(0, 0, 0, .25)
}

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3
}

/* ---------- Quote ---------- */
.quote-section {
  background-image: url('assets/Calzifercito\ Mensaje.png');
  background-size: 50%;
  background-position: right;
  background-repeat: no-repeat;

}

.quote-card {
  background: rgba(99, 81, 164, 0.2);
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 1rem;
}


blockquote {
  margin: 0;
  color: #f2f7fb
}

blockquote p {
  line-height: 1.6
}

blockquote footer {
  margin-top: .5rem;
  color: #cbefff
}

/* ---------- Team ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.team .data {
  background: linear-gradient(197.98deg, rgba(128, 174, 225, 0.36) 7.18%, rgba(195, 235, 251, 0.9) 85.15%);
  border: 1px solid #BCEBFF8A;
  border-top-right-radius: 15px;
  border-bottom-left-radius: 15px;
  border-width: 1px;
  padding: 0.5rem;
  padding-top: 2rem;
}

.team h3 {
  color: #00002E;
  font-family: Arvo;
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
}

.member {
  border: 2px solid rgba(188, 235, 255, .54);
  border-radius: 15px;
  padding: 1rem;
  text-align: center;
  position: relative;
  margin-top: 80%;
}

.avatar {
  position: absolute;
  z-index: 1;
  height: 100%;
  overflow: visible;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: .5rem;
  top: -75%;
  left: 0; 
  right: 0; 
  margin-inline: auto; 
  width: fit-content;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.avatar.placeholder span {
  font-weight: 800;
  font-family: 'Arvo', serif;
  font-size: 1.6rem;
  color: #00002E
}

.member .role {
  color: #00002E;
  font-weight: 600
}

.member .handle {
  color: #00002E
}

/* ---------- Support ---------- */
.support-list {
  margin: .5rem 0 1rem;
  padding-left: 1rem
}

.cta-row {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap
}

/* ---------- Contact ---------- */
.contact-form {
  display: grid;
  gap: .75rem
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .8rem;
  border-radius: 10px;
  border: 1px solid rgba(137, 220, 255, .5);
  color: var(--text);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #cfefff
}

.contact-form button {
  justify-self: start
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 1rem;
  text-align: center;
  border-top: 1px solid rgba(137, 220, 255, .35)
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle {
    display: block
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 1rem;
    top: 3.25rem;
    padding: .75rem;
    border: 1px solid var(--line);
    border-radius: 12px
  }

  .nav-menu.open {
    display: flex
  }

  .features {
    grid-template-columns: 1fr
  }

  .grid-2,
  .grid-2.rev {
    grid-template-columns: 1fr
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr)
  }

  .team {
    grid-template-columns: repeat(1, 1fr)
  }

  .quote-card {
    grid-template-columns: 1fr
  }
}