/* ========================================
   Site de Jogos de Slot - Main Stylesheet
   SEO-friendly, Mobile-first, Clean Design
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
  background-color: #0f0f1a;
  color: #e8e8f0;
}

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

a {
  color: #00d4aa;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #00ffc8;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Header & Navigation ========== */
.site-header {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
  border-bottom: 1px solid #2a2a40;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #00d4aa;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.logo span {
  color: #fff;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 10px 14px;
  color: #c8c8d8;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-link:hover,
.nav-item.active > .nav-link {
  color: #00d4aa;
  background: rgba(0, 212, 170, 0.1);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #1a1a2e;
  border: 1px solid #2a2a40;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 12px 18px;
  color: #c8c8d8;
  font-size: 0.9rem;
  border-bottom: 1px solid #2a2a40;
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a:hover {
  background: rgba(0, 212, 170, 0.1);
  color: #00d4aa;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 6px;
}

/* ========== Hero Section ========== */
.hero {
  background: linear-gradient(160deg, #0f0f1a 0%, #16213e 50%, #0f3460 100%);
  padding: 70px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(0, 212, 170, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  color: #fff;
}

.hero h1 span {
  color: #00d4aa;
}

.hero-desc {
  font-size: 1.15rem;
  color: #a0a0b8;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00d4aa, #00b894);
  color: #0f0f1a;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00ffc8, #00d4aa);
  color: #0f0f1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.35);
}

.btn-secondary {
  background: transparent;
  color: #00d4aa;
  border: 2px solid #00d4aa;
}

.btn-secondary:hover {
  background: rgba(0, 212, 170, 0.1);
  color: #00ffc8;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* ========== Sections ========== */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: #8888a0;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.game-card {
  background: #1a1a2e;
  border: 1px solid #2a2a40;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: #00d4aa;
  box-shadow: 0 12px 30px rgba(0, 212, 170, 0.15);
}

.game-card-img {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #16213e, #0f3460);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #00d4aa;
  position: relative;
}

.game-card-body {
  padding: 18px;
}

.game-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}

.game-meta {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: #8888a0;
  margin-bottom: 14px;
}

.game-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  background: rgba(0, 212, 170, 0.15);
  color: #00d4aa;
}

.badge-hot {
  background: rgba(255, 80, 80, 0.15);
  color: #ff6b6b;
}

.badge-new {
  background: rgba(100, 149, 237, 0.15);
  color: #6495ed;
}

/* Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.category-card {
  background: #1a1a2e;
  border: 1px solid #2a2a40;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s;
}

.category-card:hover {
  border-color: #00d4aa;
  background: #1e1e35;
}

.category-card .icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.category-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #fff;
}

.category-card p {
  font-size: 0.9rem;
  color: #8888a0;
  margin-bottom: 16px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.feature-item {
  text-align: center;
  padding: 20px;
}

.feature-item .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: rgba(0, 212, 170, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #00d4aa;
}

.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #fff;
}

.feature-item p {
  color: #8888a0;
  font-size: 0.95rem;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #1a1a2e;
  border: 1px solid #2a2a40;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: #00d4aa;
}

.faq-answer {
  padding: 0 22px 18px;
  color: #a0a0b8;
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.9rem;
  color: #8888a0;
}

.breadcrumb a {
  color: #8888a0;
}

.breadcrumb a:hover {
  color: #00d4aa;
}

.breadcrumb span {
  color: #c8c8d8;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #0f0f1a, #16213e);
  padding: 40px 0 30px;
  border-bottom: 1px solid #2a2a40;
}

.page-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #fff;
  margin-bottom: 10px;
}

.page-header p {
  color: #a0a0b8;
  max-width: 700px;
  font-size: 1.05rem;
}

/* Content Layout */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 40px 0 60px;
}

.content-main {
  min-width: 0;
}

.sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
}

.sidebar-box {
  background: #1a1a2e;
  border: 1px solid #2a2a40;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 24px;
}

.sidebar-box h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: #fff;
  border-bottom: 1px solid #2a2a40;
  padding-bottom: 10px;
}

.sidebar-box ul li {
  margin-bottom: 10px;
}

.sidebar-box ul li a {
  color: #c8c8d8;
  font-size: 0.9rem;
}

.sidebar-box ul li a:hover {
  color: #00d4aa;
}

/* Article / Guide Content */
.article-content h2 {
  font-size: 1.4rem;
  color: #fff;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2a2a40;
}

.article-content h3 {
  font-size: 1.15rem;
  color: #e0e0f0;
  margin: 24px 0 10px;
}

.article-content p {
  margin-bottom: 16px;
  color: #c0c0d0;
  line-height: 1.75;
}

.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
  color: #c0c0d0;
}

.article-content ul li, .article-content ol li {
  margin-bottom: 8px;
  list-style: disc;
}

.article-content ol li {
  list-style: decimal;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #2a2a40;
}

th {
  background: #1a1a2e;
  color: #00d4aa;
  font-weight: 600;
}

td {
  color: #c0c0d0;
}

tr:hover td {
  background: rgba(0, 212, 170, 0.05);
}

/* Bonus Cards */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.bonus-card {
  background: #1a1a2e;
  border: 1px solid #2a2a40;
  border-radius: 12px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.bonus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00d4aa, #00b894);
}

.bonus-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 10px;
}

.bonus-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: #00d4aa;
  margin-bottom: 12px;
}

.bonus-card p {
  color: #a0a0b8;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  padding: 16px;
  background: #1a1a2e;
  border-radius: 10px;
  border: 1px solid #2a2a40;
}

.filter-bar select,
.filter-bar input {
  padding: 10px 14px;
  background: #0f0f1a;
  border: 1px solid #2a2a40;
  border-radius: 6px;
  color: #e8e8f0;
  font-size: 0.9rem;
}

.filter-bar select:focus,
.filter-bar input:focus {
  outline: none;
  border-color: #00d4aa;
}

/* Footer */
.site-footer {
  background: #0a0a14;
  border-top: 1px solid #2a2a40;
  padding: 50px 0 30px;
  margin-top: 40px;
}

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

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #8888a0;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: #00d4aa;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #2a2a40;
  color: #666680;
  font-size: 0.875rem;
}

.footer-bottom p {
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

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

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a2e;
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid #2a2a40;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #0f0f1a;
    display: none;
    min-width: 100%;
  }

  .nav-item:hover .dropdown,
  .nav-item.open .dropdown {
    display: block;
  }

  .hero {
    padding: 50px 0 60px;
  }

  .section {
    padding: 40px 0;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }