/* 
  ROBLOX MANIA BLOG - Estilo CSS
  Design: Futurista Gamer com Neon Glow
  Cores: Azul (#1E40AF), Vermelho (#DC2626), Fundo Escuro (#0F0F1E)
  Tipografia: Orbitron (display), Roboto (body)
*/

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

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

:root {
  --primary-blue: #1E40AF;
  --primary-red: #DC2626;
  --dark-bg: #0F0F1E;
  --light-text: #FFFFFF;
  --accent-cyan: #06B6D4;
  --accent-orange: #FF6B35;
  --border-color: #1F2937;
  --glow-blue: 0 0 20px rgba(30, 64, 175, 0.6);
  --glow-red: 0 0 20px rgba(220, 38, 38, 0.6);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ==================== HEADER & NAVIGATION ==================== */

header {
  background: linear-gradient(135deg, rgba(15, 15, 30, 0.95) 0%, rgba(30, 64, 175, 0.1) 100%);
  border-bottom: 2px solid var(--primary-blue);
  box-shadow: 0 0 30px rgba(30, 64, 175, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(30, 64, 175, 0.5);
  letter-spacing: 2px;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.6));
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  font-size: 0.95rem;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
  transition: width 0.3s ease;
}

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

nav a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.cta-button {
  background: linear-gradient(135deg, var(--primary-red) 0%, #FF6B35 100%);
  color: var(--light-text);
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--glow-red);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.8);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==================== HERO SECTION ==================== */

.hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, rgba(30, 64, 175, 0.15) 100%);
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663141215050/k25iRnVkDTtrZDZ7asjDVG/hero-roblox-futurista-LosYrQ5s2QVbVA7asWr6BR.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 15, 30, 0.7) 0%, rgba(220, 38, 38, 0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 2rem;
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-blue) 50%, var(--primary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(30, 64, 175, 0.5);
  letter-spacing: 3px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #E5E7EB;
  text-shadow: 0 0 10px rgba(30, 64, 175, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
  color: var(--light-text);
  box-shadow: var(--glow-blue);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(30, 64, 175, 0.8);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
  box-shadow: inset 0 0 20px rgba(220, 38, 38, 0.2);
}

.btn-secondary:hover {
  background: rgba(220, 38, 38, 0.1);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
}

/* ==================== FEATURED POSTS SECTION ==================== */

.featured-section {
  background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(30, 64, 175, 0.05) 100%);
  padding: 4rem 2rem;
  border-top: 2px solid var(--primary-blue);
  border-bottom: 2px solid var(--primary-red);
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.featured-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.post-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;
  z-index: 1;
}

.post-card:hover::before {
  left: 100%;
}

.post-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 0 30px rgba(30, 64, 175, 0.5), inset 0 0 20px rgba(30, 64, 175, 0.1);
  transform: translateY(-5px);
}

.post-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  overflow: hidden;
  position: relative;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-image img {
  transform: scale(1.1);
}

.post-content {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.post-category {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-red), #FF6B35);
  color: var(--light-text);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  box-shadow: var(--glow-red);
}

.post-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent-cyan);
}

.post-excerpt {
  color: #D1D5DB;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #9CA3AF;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.read-more {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* ==================== TIPS SECTION ==================== */

.tips-section {
  background: linear-gradient(135deg, rgba(15, 15, 30, 0.8) 0%, rgba(220, 38, 38, 0.1) 100%);
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663141215050/k25iRnVkDTtrZDZ7asjDVG/tips-section-bg-ngkxTUjEFbeQTd29j.webp');
  background-size: cover;
  background-position: center;
  padding: 4rem 2rem;
  border-top: 2px solid var(--primary-red);
  border-bottom: 2px solid var(--primary-blue);
}

.tips-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.tip-card {
  background: rgba(30, 64, 175, 0.15);
  border-left: 4px solid var(--primary-blue);
  padding: 1.5rem;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tip-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.tip-card:hover {
  border-left-color: var(--primary-red);
  background: rgba(220, 38, 38, 0.1);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
  transform: translateX(5px);
}

.tip-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.tip-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent-cyan);
}

.tip-description {
  color: #D1D5DB;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==================== NEWS SECTION ==================== */

.news-section {
  background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(220, 38, 38, 0.05) 100%);
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663141215050/k25iRnVkDTtrZDZ7asjDVG/roblox-news-banner-BGxzxF5dY9PqTyY3vf3vrJ.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 4rem 2rem;
  border-top: 2px solid var(--primary-blue);
  position: relative;
  overflow: hidden;
}

.news-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 15, 30, 0.8) 0%, rgba(220, 38, 38, 0.1) 100%);
  z-index: 1;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.news-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.news-item {
  background: rgba(30, 64, 175, 0.1);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 6px;
  transition: var(--transition);
  cursor: pointer;
}

.news-item:hover {
  border-color: var(--primary-red);
  background: rgba(220, 38, 38, 0.1);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
  transform: translateY(-3px);
}

.news-date {
  color: var(--primary-red);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.news-headline {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent-cyan);
}

.news-description {
  color: #D1D5DB;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==================== COMMUNITY SECTION ==================== */

.community-section {
  background: linear-gradient(135deg, rgba(15, 15, 30, 0.9) 0%, rgba(30, 64, 175, 0.1) 100%);
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663141215050/k25iRnVkDTtrZDZ7asjDVG/community-spotlight-bg-TEo3MUPFiSngt4ahuSWmGp.webp');
  background-size: cover;
  background-position: center;
  padding: 4rem 2rem;
  border-top: 2px solid var(--primary-red);
  border-bottom: 2px solid var(--primary-blue);
  position: relative;
  overflow: hidden;
}

.community-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 15, 30, 0.85) 0%, rgba(30, 64, 175, 0.1) 100%);
  z-index: 1;
}

.community-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.community-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

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

.community-member {
  background: rgba(30, 64, 175, 0.15);
  border: 2px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
}

.community-member:hover {
  border-color: var(--primary-blue);
  background: rgba(30, 64, 175, 0.2);
  box-shadow: 0 0 20px rgba(30, 64, 175, 0.4);
  transform: translateY(-5px);
}

.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 20px rgba(30, 64, 175, 0.5);
}

.member-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--accent-cyan);
}

.member-role {
  color: var(--primary-red);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
}

.member-description {
  color: #D1D5DB;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==================== CONTACT SECTION ==================== */

.contact-section {
  background: linear-gradient(135deg, var(--dark-bg) 0%, rgba(30, 64, 175, 0.15) 100%);
  padding: 4rem 2rem;
  border-top: 2px solid var(--primary-blue);
  text-align: center;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.contact-description {
  color: #D1D5DB;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
  color: var(--light-text);
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  display: inline-block;
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
}

/* ==================== FOOTER ==================== */

footer {
  background: linear-gradient(135deg, rgba(15, 15, 30, 0.95) 0%, rgba(30, 64, 175, 0.1) 100%);
  border-top: 2px solid var(--primary-red);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-blue);
  letter-spacing: 1px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #D1D5DB;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  color: #9CA3AF;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.98) 0%, rgba(30, 64, 175, 0.15) 100%);
    padding: 1rem;
    border-bottom: 2px solid var(--primary-blue);
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 0.8rem;
    border-bottom: 1px solid var(--border-color);
  }

  nav a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero {
    min-height: 400px;
  }

  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .featured-container {
    grid-template-columns: 1fr;
  }

  .tips-container {
    grid-template-columns: 1fr;
  }

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

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

  .hero h1 {
    font-size: 2rem;
  }

  .contact-title {
    font-size: 1.8rem;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .whatsapp-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.8rem;
  }

  .logo {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .post-title {
    font-size: 1.1rem;
  }

  .tip-title {
    font-size: 1rem;
  }

  .news-headline {
    font-size: 1rem;
  }

  .community-title {
    font-size: 1.5rem;
  }

  .member-name {
    font-size: 1rem;
  }

  .contact-title {
    font-size: 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* ==================== ANIMATIONS ==================== */

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(30, 64, 175, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(30, 64, 175, 0.8);
  }
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.glow-text {
  animation: glow 2s ease-in-out infinite;
}

.float {
  animation: float 3s ease-in-out infinite;
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}
