@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-color: #050505;
  --text-color: #f1f1f1;
  --accent-color: #007AFF;
  --glass-bg: rgba(15, 15, 15, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: 'Rubik', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* HEADER */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  background: transparent;
  transition: var(--transition);
  z-index: 1000;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0;
}

.header-inner {
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(20px, 5vw, 60px);
  transition: var(--transition);
}

.header.scrolled .header-inner {
  padding: 10px clamp(20px, 5vw, 60px);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1001; /* Above mobile menu */
  text-decoration: none;
  color: inherit;
}

.logo-container h1 {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

.logo-img { 
  width: 45px; 
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
  transition: var(--transition);
}

.logo-container:hover .logo-img {
  transform: scale(1.1);
}

/* NAV */
#nav {
  display: flex;
  gap: 30px;
}

#nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 400;
  font-size: 1.1rem;
  transition: var(--transition);
  position: relative;
}

#nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: var(--transition);
}

#nav a:hover {
  color: var(--accent-color);
}

#nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1001;
  user-select: none;
}

/* HERO */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05); /* parallax buffer */
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(5,5,5,1) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  z-index: 1;
  padding: 0 20px;
}

.hero-content h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #fff, #aaa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.hero-content p {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 300;
  color: #ccc;
}

/* GRID & SECTIONS */
.section {
  padding: 100px clamp(20px, 5vw, 60px);
  max-width: 1400px;
  margin: 0 auto;
}

.title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 4px;
  bottom: -10px;
  left: 0;
  background: var(--accent-color);
  border-radius: 2px;
}

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

.card {
  height: 380px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid var(--glass-border);
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(0, 122, 255, 0.2);
  border-color: rgba(255,255,255,0.3);
}

.card:hover::before {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  padding: 30px;
  width: 100%;
  z-index: 2;
  transform: translateY(10px);
  transition: var(--transition);
}

.card:hover .card-overlay {
  transform: translateY(0);
}

.card-overlay h3 {
  font-size: 1.8rem;
  margin: 0 0 5px 0;
  color: #fff;
}

.card-overlay span {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  background: rgba(0,0,0,0.5);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(5px);
}

/* GAME PAGE */
.game-hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: flex-end;
  padding: 0 clamp(20px, 5vw, 60px) 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.game-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, var(--bg-color) 0%, rgba(5,5,5,0.4) 50%, rgba(5,5,5,0.7) 100%);
  z-index: -1;
}

.game-hero video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}

.game-info {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

.game-info h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  margin-bottom: 10px;
  font-weight: 900;
  line-height: 1.1;
}

.game-info p {
  font-size: 1.3rem;
  color: #ccc;
  margin-bottom: 30px;
}

.cta {
  background: var(--text-color);
  color: var(--bg-color);
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 122, 255, 0.3);
}

/* GAME DESCRIPTION SECTION */
.game-description {
  padding: 60px clamp(20px, 5vw, 60px) 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.game-description h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-color);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.game-description h2::after {
  content: '';
  flex: 1;
  max-width: 100px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.game-description p {
  font-size: 1.15rem;
  color: #cfcfcf;
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 1000px;
  text-align: left;
}

.game-description p:last-child {
  margin-bottom: 0;
}

/* SPECS SECTION */
.specs {
  padding: 0 clamp(20px, 5vw, 60px) 50px;
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.spec-box {
  background: rgba(15, 15, 15, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.spec-box h3 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}

.spec-box ul {
  list-style: none;
}

.spec-box ul li {
  margin-bottom: 12px;
  color: #ccc;
  font-size: 1rem;
}

.spec-box ul li strong {
  color: #fff;
  display: inline-block;
  min-width: 120px;
}

/* PRICING SECTION */
.pricing-section {
  padding: 50px clamp(20px, 5vw, 60px);
  max-width: 1400px;
  margin: auto;
}

.pricing-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 800;
  color: var(--text-color);
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.pricing-card {
  background: rgba(15, 15, 15, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(0, 122, 255, 0.2);
  border-color: rgba(255,255,255,0.3);
}

.pricing-card.pro {
  border-color: var(--accent-color);
  background: rgba(0, 122, 255, 0.05); /* subtle blue background for pro */
}

.pricing-card.pro::before {
  content: 'MAIS VENDIDO';
  position: absolute;
  top: 25px;
  right: -45px;
  background: var(--accent-color);
  color: white;
  padding: 5px 50px;
  font-size: 0.8rem;
  font-weight: bold;
  transform: rotate(45deg);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 25px;
  color: var(--accent-color);
}

.pricing-card .price span {
  font-size: 1.2rem;
  color: #ccc;
  font-weight: 400;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 40px;
  text-align: left;
  flex-grow: 1; /* Pushes button to bottom */
}

.pricing-card ul li {
  margin-bottom: 15px;
  color: #ccc;
  display: flex;
  align-items: center;
}

.pricing-card ul li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: 900;
  margin-right: 15px;
}

.pricing-card .cta {
  width: 100%;
}

/* TRAILER SECTION */
.trailer-section {
  padding: 50px clamp(20px, 5vw, 60px);
  max-width: 1000px;
  margin: 0 auto 80px;
  text-align: center;
}

.trailer-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 800;
  color: var(--text-color);
}

.trailer-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: rgba(15, 15, 15, 0.7);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
}

.trailer-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.trailer-container .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.9);
}

.trailer-container .placeholder h3 {
  color: #666;
  font-weight: 400;
  font-size: 1.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 0 clamp(20px, 5vw, 60px) 100px;
  max-width: 1400px;
  margin: auto;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: var(--transition);
  border: 1px solid var(--glass-border);
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.2);
}

/* FOOTER */
.footer {
  background: rgba(5, 5, 5, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 60px clamp(20px, 5vw, 60px) 20px;
  margin-top: 50px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo img {
  width: 40px;
  opacity: 0.8;
}

.footer-logo span {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text-color);
}

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

.footer-links a, .footer-social a {
  color: #ccc;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-links a:hover, .footer-social a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-bottom p {
  color: #666;
  font-size: 0.9rem;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease-in-out;
    border-left: 1px solid var(--glass-border);
    z-index: 1000;
  }

  #nav.active {
    right: 0;
  }

  #nav a {
    font-size: 1.5rem;
  }
}

/* LANGUAGE SWITCHER */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-left: 10px;
}

.lang-switch a, .lang-switch span {
  color: #888;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  padding: 2px 4px;
}

.lang-switch a:hover {
  color: #fff;
}

.lang-switch .lang-active, .lang-switch span.active {
  color: #007AFF;
  text-shadow: 0 0 8px rgba(0, 122, 255, 0.4);
  font-weight: 700;
}

.lang-switch .lang-sep {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}