* {* {
  margin: 0; 
  padding: 0; 
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Open Sans', sans-serif;
  background: #000;
  color: #ffffff;
  overflow-x: hidden;
  position: relative;
}

/* Fundo animado em tons de branco e cinza */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, #1a1a1a 0%, #000 40%), 
              radial-gradient(circle at 70% 80%, #2a2a2a 0%, #000 40%);
  z-index: -2;
  animation: bgShift 20s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(2px 2px at 50px 100px, #fff, transparent),
    radial-gradient(2px 2px at 150px 200px, #fff, transparent),
    radial-gradient(1px 1px at 300px 50px, #fff, transparent),
    radial-gradient(1px 1px at 400px 300px, #fff, transparent);
  animation: stars 30s linear infinite;
  z-index: -1;
  opacity: 0.3;
}

@keyframes bgShift {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(2deg); }
}

@keyframes stars {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-100px) rotate(360deg); }
}

/* Menu Hamburguer */
#menuBtn {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 35px;
  height: 30px;
  cursor: pointer;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#menuBtn span.bar {
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #fff, #e0e0e0);
  border-radius: 3px;
  transition: 0.4s;
  box-shadow: 0 0 8px #fff;
}

#menuBtn.open span.bar:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}
#menuBtn.open span.bar:nth-child(2) {
  opacity: 0;
}
#menuBtn.open span.bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Sidebar */
nav.sidebar {
  position: fixed;
  top: 0; 
  left: 0;
  height: 100vh;
  width: 280px;
  background: linear-gradient(145deg, #000 0%, #1a1a1a 50%, #000 100%);
  backdrop-filter: blur(10px);
  box-shadow: 5px 0 30px rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 80px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
}

nav.sidebar.open {
  transform: translateX(0);
}

nav.sidebar ul {
  list-style: none;
  padding: 20px 0;
}

nav.sidebar ul li {
  margin: 8px 0;
}

nav.sidebar ul li a {
  display: flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  padding: 15px 25px;
  font-weight: 600;
  font-size: 16px;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

nav.sidebar ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  transition: width 0.3s ease;
}

nav.sidebar ul li a:hover::before,
nav.sidebar ul li a.active::before {
  width: 100%;
}

nav.sidebar ul li a i {
  margin-right: 15px;
  font-size: 18px;
  width: 25px;
  text-align: center;
  color: #ffffff;
}

nav.sidebar ul li a:hover,
nav.sidebar ul li a.active {
  color: #ffffff;
  border-left-color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(145deg, #000 0%, #1a1a1a 50%, #000 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 999;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 15px;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 15px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-bar input[type="text"] {
  padding: 10px 18px;
  border-radius: 25px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  outline: none;
  width: 220px;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.search-bar input[type="text"]:focus {
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.5);
}

.search-bar input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.login-btn {
  background: linear-gradient(45deg, #ffffff, #e0e0e0);
  border: none;
  color: #000;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}

/* Hero Section */
.hero-section {
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 10;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 2.8rem;
  color: #ffffff;
  text-shadow: 0 0 20px #fff, 0 0 40px #ffffff;
  margin-bottom: 15px;
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% { text-shadow: 0 0 20px #fff, 0 0 40px #ffffff; }
  100% { text-shadow: 0 0 30px #fff, 0 0 60px #ffffff, 0 0 80px #e0e0e0; }
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.9;
  font-weight: 300;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Main Content */
main {
  padding: 60px 20px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.section {
  margin-bottom: 80px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.section h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  position: relative;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

/* Grid Layouts */
.content-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.videos-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.articles-grid {
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.news-grid {
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 25px;
}

/* Cards */
.video-card, .article-card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.video-card::before, .article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.video-card:hover::before, .article-card:hover::before {
  left: 100%;
}

.video-card:hover, .article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.video-card iframe {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  border: none;
  margin-bottom: 15px;
}

.video-card p, .article-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #dde6ff;
  text-align: center;
}

.article-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.article-image, .news-image {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}

.news-image {
  width: 150px;
  height: 120px;
  flex-shrink: 0;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  background: linear-gradient(135deg, #2a2a2a, #404040);
  position: relative;
  overflow: hidden;
}

.placeholder-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Cores específicas para capas */
.ai-bg { background: linear-gradient(135deg, #4a4a4a, #3a3a3a); }
.quantum-bg { background: linear-gradient(135deg, #5a5a5a, #4a4a4a); }
.security-bg { background: linear-gradient(135deg, #6a6a6a, #5a5a5a); }
.web-bg { background: linear-gradient(135deg, #7a7a7a, #6a6a6a); }
.apple-bg { background: linear-gradient(135deg, #555555, #444444); }
.meta-bg { background: linear-gradient(135deg, #656565, #545454); }
.openai-bg { background: linear-gradient(135deg, #757575, #646464); }
.tesla-bg { background: linear-gradient(135deg, #858585, #747474); }

.article-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 15px;
  font-family: 'Orbitron', sans-serif;
}

.article-card p {
  text-align: left;
  margin-bottom: auto;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #999;
}

.read-more {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #e0e0e0;
  text-shadow: 0 0 5px #ffffff;
}

/* News Cards */
.news-card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
  align-items: flex-start;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.news-content {
  flex: 1;
}

.news-content h3 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-family: 'Orbitron', sans-serif;
  line-height: 1.3;
}

.news-date {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: linear-gradient(145deg, #000 0%, #1a1a1a 50%, #000 100%);
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  color: #ffffff;
  font-size: 1.8rem;
  margin: 0 15px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #e0e0e0;
  text-shadow: 0 0 10px #ffffff;
  transform: scale(1.2);
}

/* Responsivo */
@media (max-width: 768px) {
  .header-center { display: none; }
  .header-right { flex: 2; }
  .search-bar input[type="text"] { width: 180px; }
  .hero-title { font-size: 2.2rem; }
  .hero-section { height: 35vh; }
  .videos-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { 
    flex-direction: column; 
    text-align: center;
  }
  .news-image { 
    width: 100%; 
    height: 150px; 
    margin-bottom: 15px;
  }
  nav.sidebar { width: 250px; }
  
  .header-left, .header-right {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .search-bar {
    flex-direction: column;
    gap: 8px;
  }
  .search-bar input[type="text"] {
    width: 200px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-section {
    height: 30vh;
  }
  .article-image, .news-image {
    height: 120px;
  }
}





   
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* ocupa a tela inteira */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover; /* preenche a tela */
  z-index: 1;
  opacity: 0.4; /* ajusta visibilidade */
}

.hero-content {
  position: relative;
  z-index: 2; /* fica acima do vídeo */
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.5rem;
}
