@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #121316;
  --text-primary: #FFFFFF;
  --text-secondary: #B8B8B8;
  
  /* KoraFlash Official Brand Tokens */
  --kora-crimson: #FF2A55;
  --kora-crimson-hover: #FF1744;
  --kora-crimson-glow: rgba(255, 42, 85, 0.4);
  --kora-gold: #FFAA00;
  --kora-gold-hover: #FF9E00;
  --kora-gold-glow: rgba(255, 170, 0, 0.35);
  --kora-gradient: linear-gradient(135deg, #FF2A55 0%, #FF9E00 100%);
  --kora-gradient-hover: linear-gradient(135deg, #FF3E66 0%, #FFAA00 100%);

  --brand-yellow: #FFAA00;
  --brand-yellow-hover: #FF9E00;
  
  --brand-red: #FF2A55;
  --brand-red-hover: #FF1744;
  --brand-red-light: rgba(255, 42, 85, 0.15);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --card-bg: #111216;
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  
  --success-color: #22C55E;
  --danger-color: #EF4444;
}

body {
  font-family: 'Bebas Neue', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.5;
}

/* Lazy Loading Transitions */
video {
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

video.lazy-loading {
  opacity: 0 !important;
}

video.lazy-loaded {
  opacity: 1 !important;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 60px;
  background: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.sidebar img {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  cursor: pointer;
}

/* Main content */
.main-content {
  margin-left: 0px;
  padding: 0px;
}


h1 {
  font-size: 30px;
  margin: 20px 0;
  color: var(--text-primary);
  /* Texto escuro */
  text-align: center;
}

/* Container Principal */
.container {
  max-width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Estilo dos Cards */
.cards {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  overflow-x: auto;
  /* Scroll horizontal em telas menores */
  padding: 20px 0;
  scroll-behavior: smooth;
}

.trust-me {
  justify-content: center;
}

.card {
  position: relative;
  min-width: 250px;
  max-width: 250px;
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.25);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.card:hover img {
  opacity: 0.8;
}

/* Desktop Sidebar Ad */
.sidebar-ad-placeholder {
  width: 100%;
  background-color: #222;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.sidebar-ad-placeholder:hover {
  filter: brightness(1.12);
}

.sidebar-ad-placeholder:active {
  transform: scale(0.98);
}

.card-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 10px;
  gap: 10px;
  padding: 0 10px;
}

.card-content h2 {
  margin: 0;
  font-weight: bold;
  font-size: 24px;
  color: var(--brand-red);
  font-family: 'Bebas Neue', sans-serif;
}

.card-content span {
  font-size: 16px;
  color: var(--text-primary);
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
}

/* Responsividade para Mobile */
@media screen and (max-width: 768px) {
  .cards {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: scroll;
    /* Scroll horizontal */
  }

  .trust-me {
    justify-content: center;
  }

  .card {
    width: 80%;
    /* Ocupa boa parte da tela no mobile */
    margin: 0 10px;
  }

  .card-content {
    justify-content: center;
  }

  h1 {
    font-size: 26px;
  }
}


/* Footer Style - Netflix Inspired */
.footer {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  text-align: center;
  padding: 40px 20px;
  position: relative;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
}

.footer h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.social-icons a {
  font-size: 2rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: var(--brand-yellow);
  transform: scale(1.1);
}

.support-btn {
  display: inline-block;
  background: var(--kora-gradient);
  color: #FFFFFF;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 4px 18px rgba(255, 42, 85, 0.4), 0 0 12px rgba(255, 170, 0, 0.25);
}

.support-btn:hover {
  background: var(--kora-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(255, 42, 85, 0.6), 0 0 16px rgba(255, 170, 0, 0.35);
  filter: brightness(1.05);
}

.support-btn i {
  margin-right: 10px;
}


@media (max-width: 600px) {
  .footer {
    padding: 30px 10px;
  }

  .footer h3 {
    font-size: 1.5rem;
  }

  .social-icons a {
    font-size: 2.2rem;
  }

  .support-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
}
