:root {
  /* Colors */
  --bg-main: #f4d3d9;
  --bg-card: #ffffff;
  --bg-button: #d81b60;
  --bg-icon: #ffffff;
  --text-primary: #2b2b2b;
  --text-secondary: #666666;

  /* Typography - Font Family */
  --font-family: "Inter", sans-serif;
}

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

html {
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-family);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

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

/* --- HEADER --- */
.header-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 2rem;
  background-color: var(--bg-card);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-logo-container {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-logo {
  width: 4rem;
  height: 4rem;
}

.header-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--bg-button);
}

/* --- LANGUAGE SWITCHER --- */
.lang-container {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.lang-container button {
  color: var(--text-secondary);
  transition: color 0.2s;
  padding: 0.5rem;
}

.lang-container button:hover {
  color: var(--bg-button);
}

.lang-container button.active {
  color: var(--bg-button);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.divider {
  font-weight: 400;
  color: #ccc;
}

/* --- MAIN LAYOUT --- */
.main-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  gap: 4rem;
}

/* --- VIDEO --- */
.video-container {
  display: flex;
  justify-content: center;
  flex: 2;
}

.slap-video {
  width: 100%;
  border-radius: 1.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background-color: #000;
}

/* --- STATS --- */
.stats-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  background-color: var(--bg-card);
  padding: 3rem;
  border-radius: 1.6rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  flex: 1;
  max-width: 350px;
  margin: 0 auto;
  width: 100%;
}

.stat-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  width: 100%;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.stat-container:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.global-stat {
  color: var(--bg-button);
}

.stat-label {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.stat-value {
  font-size: 4.8rem;
  font-weight: 700;
}

/* --- SLAP BUTTON --- */
.slap-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background-color: var(--bg-button);
  color: white;
  padding: 2rem 4rem;
  border-radius: 5rem;
  font-size: 2.4rem;
  font-weight: 700;
  transition:
    transform 0.1s,
    background-color 0.2s;
  box-shadow: 0 4px 15px rgba(216, 27, 96, 0.4);
  margin-top: 1rem;
  width: 100%;
}

.slap-button-img {
  width: 4rem;
  height: 4rem;
  filter: invert(1);
}

.slap-button:hover {
  background-color: #e91e63;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(216, 27, 96, 0.5);
}

.slap-button:active {
  transform: scale(0.95);
  background-color: #b0124d;
}

.footer-container {
  text-align: center;
  padding: 3rem 2rem;
  font-size: 1.4rem;
  color: var(--text-secondary);
  opacity: 0.9;
  margin-top: auto;
}

.footer-container p {
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.footer-container p:hover {
  opacity: 1;
  color: var(--bg-button);
  transform: scale(1.02);
}

.footer-container p {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- RESPONSIVE --- */
@media (max-width: 950px) {
  .main-container {
    flex-direction: column;
    align-items: center;
  }

  .video-container {
    flex: unset;
    width: 100%;
  }

  .stats-container {
    flex: unset;
    max-width: 500px;
  }
}
