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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e7e34, #28a745);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.logo i {
    margin-right: 10px;
    color: #ffd700;
}

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s;
}

.nav a:hover {
    color: #ffd700;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(30, 126, 52, 0.8), rgba(220, 53, 69, 0.8)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23000"/><circle cx="20" cy="20" r="2" fill="%23ffd700"/><circle cx="80" cy="20" r="2" fill="%23ffd700"/><circle cx="50" cy="50" r="3" fill="%23dc3545"/><circle cx="20" cy="80" r="2" fill="%23ffd700"/><circle cx="80" cy="80" r="2" fill="%23ffd700"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slogan {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.badge i {
    color: #ffd700;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Ofertas Section */
.ofertas{
  padding:80px 0;
  background:#1f2937; /* dark page bg like screenshot */
}

.ofertas .container{max-width:1240px;margin:0 auto;padding:0 20px}

/* Header bar */
.ofertas-header{
  display:grid;
  grid-template-columns: 84px 1.2fr 1fr 1.6fr 1fr 220px; /* matches screenshot proportions */
  align-items:center;
  background:#0f2130;
  color:#fff;
  border-radius:10px;
  padding:18px 22px;
  font-weight:700;
  letter-spacing:.3px;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
}
.ofertas-header .h-rank{height:1px} /* spacer for rank column */
.ofertas-header .h-col{opacity:.95;text-transform:uppercase;text-align:center}
.ofertas-header .h-col:nth-child(2){text-align:left;padding-left:8px} /* CASINO ONLINE */

/* Rows wrapper */
.rows{display:flex;flex-direction:column;gap:18px;margin-top:18px}

/* Each row card */
.row{
  display:grid;
  grid-template-columns: 84px 1.2fr 1fr 1.6fr 1fr 220px;
  align-items:center;
  background:#fff;
  border-radius:10px;
  box-shadow:0 6px 18px rgba(0,0,0,.15);
  overflow:hidden;
  min-height:120px;
}
.row:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(0,0,0,.18)}
.row > *{padding:18px 16px}

/* Purple rank rail */
.rank{
  background:#5b19b5;
  color:#fff;
  font-weight:900;
  font-size:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

/* Casino logo cell */
.casino{display:flex;align-items:center;gap:14px}
.casino img{
  width:140px;height:70px;object-fit:contain;
  background:#f0f0f0;border-radius:6px;display:block
}

/* Avaliação cell */
.avaliacao{display:flex;flex-direction:column;align-items:center;gap:6px}
.avaliacao .score{font-weight:800;font-size:22px;color:#0f2130}
.avaliacao .stars{color:#ffd54a;font-size:20px;letter-spacing:2px;line-height:1}
.avaliacao .reviews{font-size:12px;color:#9aa4af}

/* Oferta cell (centered bold text like screenshot) */
.oferta{
  text-align:center;
  font-weight:800;
  color:#0f2130;
  line-height:1.25;
  font-size:18px;
}

/* Pagamentos (small badges/icons) */
.pagamentos{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.pm{
  min-width:38px;height:26px;border-radius:6px;border:1px solid #e5e7eb;
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:800;color:#333;background:#fff
}

/* CTA cell */
.acao{display:flex;justify-content:center}
.btn-obter{
  background:linear-gradient(135deg,#2fb34f,#28a745);
  color:#fff;text-decoration:none;font-weight:900;
  padding:16px 26px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;
  box-shadow:0 8px 20px rgba(40,167,69,.35);
  transition:transform .2s ease, box-shadow .2s ease;
}
.btn-obter:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(40,167,69,.45);color:#fff}

/* Table container (kept for your markup) */
.table-container{box-shadow:none;border-radius:10px;background:transparent}

/* Remove old table styles if present */
.ofertas-table, .ofertas-table *{all:unset}

/* Responsive tweaks */
@media (max-width: 1100px){
  .ofertas-header, .row{
    grid-template-columns: 68px 1.2fr .9fr 1.4fr .9fr 200px;
  }
  .casino img{width:120px;height:64px}
}

@media (max-width: 900px){
  .oferta{font-size:16px}
  .ofertas-header .h-col:nth-child(4){display:none} /* hide MÉTODOS DE PAGAMENTO label */
  .row{grid-template-columns:68px 1.3fr 1fr 1.2fr 200px}
  .pagamentos{display:none}
}

@media (max-width: 640px){
  .ofertas-header{display:none}
  .row{
    grid-template-columns:68px 1fr;
    grid-auto-rows:auto;
  }
  .casino, .avaliacao, .oferta, .pagamentos, .acao{
    grid-column:2 / -1;
    padding-top:10px;padding-bottom:10px
  }
  .acao{justify-content:flex-start}
}


/* Info Importante */
.info-importante {
    padding: 80px 0;
    background: #f8f9fa;
}

.info-importante h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1e7e34;
}

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

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #dc3545;
}

.info-card h3 {
    color: #1e7e34;
    margin-bottom: 1rem;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.info-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Jogo Responsável */
.jogo-responsavel {
    background: #2c3e50;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.jogo-responsavel h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.warning-text {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    background: rgba(220, 53, 69, 0.2);
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #dc3545;
}

.regulation-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.reg-link {
    text-decoration: none;
    color: white;
    transition: transform 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reg-link:hover {
    transform: translateY(-5px);
}

.reg-logo {
    width: 140px;       /* uniform width */
    height: 80px;       /* uniform height */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    object-fit: contain;  /* keeps proportions inside box */
}


/* Footer */
.footer {
    background: #1a252f;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .slogan {
        font-size: 1.1rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .nav a {
        margin-left: 1rem;
        font-size: 0.9rem;
    }
    
    .ofertas-table {
        font-size: 0.9rem;
    }
    
    .ofertas-table th,
    .ofertas-table td {
        padding: 0.8rem 0.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .regulation-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .ofertas h2,
    .info-importante h2,
    .jogo-responsavel h2 {
        font-size: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation for cards */
.info-card,
.badge {
    animation: fadeInUp 0.6s ease-out;
}

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