/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap");

@font-face {
  font-family: 'valorant';
  src: url('../fonts/Valorant Font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/*=============== CSS VARIABLES ===============*/
:root {
  --header-height: 4rem;

  /* Colors */
  --accent: #FF4655;
  --accent-dark: #c4303d;
  --accent-glow: rgba(255, 70, 85, 0.4);
  --bg-primary: #0F1923;
  --bg-secondary: #172031;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 70, 85, 0.08);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(255, 70, 85, 0.5);
  --text-primary: #ECE8E1;
  --text-secondary: #9BA4AE;
  --text-muted: #596475;

  /* Fonts */
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --valfont: 'valorant', sans-serif;

  /* Font Sizes */
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 3rem;
  --fs-4xl: 4.5rem;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(255, 70, 85, 0.3);
  --shadow-glow-lg: 0 0 40px rgba(255, 70, 85, 0.4);

  /* Transitions */
  --transition-fast: .2s ease;
  --transition-med: .4s ease;
  --transition-slow: .6s ease;
}

/*=============== BASE ===============*/
*, ::before, ::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/*=============== SCROLLBAR ===============*/
::-webkit-scrollbar {
  width: .5rem;
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

/*=============== BACKGROUND TEXTURE ===============*/
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 70, 85, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 70, 85, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/*=============== LAYOUT ===============*/
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
  width: 100%;
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  background: rgba(15, 25, 35, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-med);
}

.header.scrolled {
  background: rgba(15, 25, 35, 0.97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  font-family: var(--valfont);
  font-size: var(--fs-xl);
  color: var(--accent);
  letter-spacing: 2px;
  text-shadow: var(--shadow-glow);
  transition: text-shadow var(--transition-fast);
}

.nav__logo:hover {
  text-shadow: var(--shadow-glow-lg);
}

.nav__list {
  display: flex;
  align-items: center;
  column-gap: 2.5rem;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -.4rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-fast);
  box-shadow: var(--shadow-glow);
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav__toggle:hover,
.nav__close:hover {
  color: var(--accent);
}

/* Mobile menu */
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0; right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(15, 25, 35, 0.98);
    backdrop-filter: blur(24px);
    border-left: 1px solid var(--glass-border);
    padding: 5rem 2rem;
    transition: right .4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    row-gap: 2rem;
    align-items: flex-start;
  }

  .nav__link {
    font-size: var(--fs-xl);
  }

  .nav__toggle,
  .nav__close {
    display: block;
  }

  .nav__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 769px) {
  .nav__toggle,
  .nav__close {
    display: none;
  }
}

/*=============== HERO / HOME ===============*/
.home {
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.home::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vh;
  background: radial-gradient(ellipse, rgba(255, 70, 85, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.home__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.home__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 70, 85, 0.15);
  border: 1px solid rgba(255, 70, 85, 0.3);
  color: var(--accent);
  padding: .4rem 1rem;
  border-radius: 2rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp .6s ease both;
}

.home__title {
  font-family: var(--valfont);
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--text-primary);
  line-height: 1.1;
  animation: fadeInUp .6s ease .1s both;
}

.home__title span {
  color: var(--accent);
  text-shadow: var(--shadow-glow);
}

.home__description {
  margin-top: 1.5rem;
  color: var(--text-secondary);
  font-size: var(--fs-lg);
  line-height: 1.8;
  max-width: 520px;
  animation: fadeInUp .6s ease .2s both;
}

.home__cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp .6s ease .3s both;
}

.btn {
  padding: .8rem 2rem;
  border-radius: .25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-base);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 70, 85, 0.4);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 70, 85, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 70, 85, 0.05);
}

.home__visual {
  display: flex;
  justify-content: center;
  animation: fadeInRight .8s ease .2s both;
}

.home__logo-img {
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 0 40px rgba(255, 70, 85, 0.3));
  animation: float 4s ease-in-out infinite;
}

.home__stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  animation: fadeInUp .6s ease .4s both;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--valfont);
  font-size: var(--fs-2xl);
  color: var(--accent);
}

.stat__label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: .25rem;
}

/*=============== SECTION COMMON ===============*/
.section {
  padding: 5rem 0;
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.section__title {
  font-family: var(--valfont);
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
  color: var(--text-primary);
}

.section__title span {
  color: var(--accent);
}

.section__divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/*=============== CARDS / SWIPER ===============*/
.card__title {
  font-family: var(--valfont);
  font-size: clamp(var(--fs-xl), 3vw, var(--fs-2xl));
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-left: .5rem;
  border-left: 3px solid var(--accent);
}

.card__article {
  width: 180px;
  cursor: pointer;
}

.card__link {
  position: relative;
  display: block;
  border-radius: .75rem;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: all var(--transition-med);
}

.card__link:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.card__img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.card__link:hover .card__img {
  transform: scale(1.05);
}

.card__shadow {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(15, 25, 35, 0.6) 70%,
    rgba(15, 25, 35, 0.95) 100%
  );
  transition: background var(--transition-med);
}

.card__link:hover .card__shadow {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 70, 85, 0.1) 50%,
    rgba(15, 25, 35, 0.9) 100%
  );
}

.card__data {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .75rem 1rem;
  background: rgba(15, 25, 35, 0.5);
}

.card__name {
  font-family: var(--valfont);
  font-size: var(--fs-base);
  color: var(--text-primary);
  letter-spacing: .5px;
  transition: color var(--transition-fast);
}

.card__link:hover .card__name {
  color: var(--accent);
}

.card__tag {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: .2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Swiper */
.swiper {
  margin-inline: initial;
  padding-bottom: 3rem !important;
}

.swiper-pagination-bullet {
  background: var(--text-muted) !important;
  opacity: 1 !important;
  width: 6px !important;
  height: 6px !important;
}

.swiper-pagination-bullet-active {
  background: var(--accent) !important;
  width: 20px !important;
  border-radius: 3px !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--accent) !important;
  background: rgba(15, 25, 35, 0.8) !important;
  border: 1px solid var(--glass-border) !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: .9rem !important;
  font-weight: bold !important;
}

/*=============== MAPS SECTION ===============*/
.maps {
  background: var(--bg-secondary);
}

.maps::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at right, rgba(255, 70, 85, 0.05) 0%, transparent 60%);
}

/*=============== AGENTS SECTION ===============*/
.agents {
  background: var(--bg-primary);
}

/*=============== GUIDES SECTION ===============*/
.guides {
  background: var(--bg-secondary);
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.playlist {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all var(--transition-med);
}

.playlist:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transform: translateY(-4px);
}

.playlist__header {
  padding: 1.25rem 1.5rem;
  background: rgba(255, 70, 85, 0.08);
  border-bottom: 1px solid var(--glass-border);
}

.playlist__title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.playlist__title i {
  font-size: var(--fs-xl);
}

.frame {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1.5rem;
  bottom: 2rem;
  background: var(--accent);
  color: #fff;
  padding: .6rem .8rem;
  border-radius: .35rem;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 100;
  font-size: 1.25rem;
}

.scrollup:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

.scrollup.show-scroll {
  opacity: 1;
  visibility: visible;
}

/*=============== FOOTER ===============*/
.footer {
  padding: 3rem 0 2rem;
  background: #0a1520;
  border-top: 1px solid var(--glass-border);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer__container {
  text-align: center;
}

.footer__logo {
  font-family: var(--valfont);
  font-size: var(--fs-2xl);
  color: var(--accent);
  letter-spacing: 3px;
  text-shadow: var(--shadow-glow);
  margin-bottom: .5rem;
}

.footer__description {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: .5rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(255, 70, 85, 0.1);
  transform: translateY(-2px);
}

.footer__copy {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

/*=============== ANIMATIONS ===============*/
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 70, 85, 0.3); }
  50% { box-shadow: 0 0 30px rgba(255, 70, 85, 0.7); }
}

/*=============== MEDIA QUERIES ===============*/
@media screen and (max-width: 767px) {
  .home__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home__description {
    margin: 1.5rem auto 0;
    max-width: 100%;
  }

  .home__cta {
    justify-content: center;
  }

  .home__stats {
    justify-content: center;
  }

  .home__visual {
    order: -1;
  }

  .home__logo-img {
    max-width: 220px;
  }

  .guides-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 768px) {
  .card__article {
    width: 200px;
  }

  .card__img {
    height: 300px;
  }
}

@media screen and (min-width: 1024px) {
  .card__article {
    width: 230px;
  }

  .card__img {
    height: 340px;
  }
}

/*=============== ASSINATURA KOTSU E AVISO DA RIOT ===============*/
.footer__riot { max-width: 640px; margin: 16px auto 0; font-size: .75rem; line-height: 1.5; opacity: .7; text-align: center; }
.footer__kotsu { display: flex; width: max-content; margin: 16px auto 0; align-items: center; gap: 8px; font-family: Figtree, "Segoe UI", system-ui, sans-serif; font-size: 14px; color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer__kotsu b { color: #fff; font-weight: 600; }
.footer__kotsu:hover b { text-decoration: underline; }
