/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Poppins', sans-serif; background: #0a1a2a; color: #f0f4f8; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: 90%; max-width: 1350px; margin: 0 auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: 'Fredoka One', cursive; color: #ffeb3b; }
h1 { font-size: 2.8rem; text-align: center; margin: 2rem 0 1rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin: 1.5rem 0 0.8rem; }
p { margin-bottom: 1rem; font-size: 1rem; }
@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.6rem; }
  p { font-size: 1.05rem; }
}

/* === HEADER & HERO === */
.hero-section { 
  background: linear-gradient(135deg, #1a2a44 0%, #0f1f38 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.12;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.logo { width: 180px; margin: 0 auto 1.5rem; }
.hero-title { margin-bottom: 1rem; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }
.hero-subtitle { max-width: 800px; margin: 0 auto 2rem; font-size: 1.1rem; color: #b0c4de; }

/* === RANKING CARDS === */
.ranking-section { padding: 80px 0; background: #0f1f38; }
.cards-grid { 
  display: grid; 
  gap: 2.5rem; 
  grid-template-columns: 1fr;
}
@media (min-width: 992px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}
.casino-card {
  background: #1a2a44;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.casino-card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(255,235,59,0.2); }
.card-badge {
  position: absolute;
  top: 15px; left: 15px;
  background: #ff5252;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 2;
}
.card-badge.gold { background: #ffd700; color: #000; }
.card-header {
  position: relative;
  height: 160px;
  background: linear-gradient(45deg, #2c3e50, #1a2a44);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.card-logo {
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.card-body { padding: 1.5rem; text-align: center; }
.rating-stars { 
  display: flex; 
  justify-content: center; 
  gap: 4px; 
  margin: 0.8rem 0;
}
.rating-stars img { height: 24px; }
.bonus-title { 
  font-weight: 600; 
  color: #ffeb3b; 
  margin: 1rem 0 0.5rem;
  font-size: 1.1rem;
}
.bonus-text { 
  font-size: 1.25rem; 
  font-weight: 700; 
  color: #fff; 
  margin-bottom: 1rem;
}
.payment-methods {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.payment-methods img { height: 12px; }
.highlight-box {
  display: flex;
  justify-content: space-around;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
}
.highlight-item { text-align: center; }
.highlight-item strong { color: #ffeb3b; display: block; font-size: 1.1rem; }
.cta-button {
  display: block;
  margin: 1.5rem auto 0;
  padding: 14px 32px;
  background: linear-gradient(45deg, #ffeb3b, #ffc107);
  color: #1a2a44;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255,235,59,0.4);
  width: fit-content;
}
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,235,59,0.6);
  background: linear-gradient(45deg, #ffc107, #ffeb3b);
}

/* === INFO SECTION === */
.info-section {
  padding: 100px 0;
  background: #1a2a44;
}
.info-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}
.info-card {
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255,235,59,0.2);
}
.info-card h3 {
  position: relative;
  padding-left: 40px;
}
.info-card h3::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: #ffeb3b;
  border-radius: 50%;
}

/* === FOOTER === */
.footer {
  background: #0a1a2a;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,235,59,0.15);
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 2fr 1fr; }
}
.footer-logo { width: 120px; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-links a {
  color: #b0c4de;
  transition: color 0.3s;
}
.footer-links a:hover { color: #ffeb3b; }
.footer-disclaimer {
  font-size: 0.85rem;
  color: #8899a6;
  line-height: 1.6;
}
.footer-disclaimer a { color: #ffeb3b; text-decoration: underline; }
.footer-partners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-partners img {
  height: 50px;
  filter: grayscale(100%) brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s;
}
.footer-partners img:hover { opacity: 1; }

/* === COOKIES === */
.cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10,26,42,0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  z-index: 999;
  border-top: 1px solid #ffeb3b;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookies-banner.show { transform: translateY(0); }
.cookies-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.9rem;
  color: #b0c4de;
}
@media (min-width: 768px) {
  .cookies-content { flex-direction: row; justify-content: space-between; text-align: left; }
}
.cookies-buttons {
  display: flex;
  gap: 1rem;
}
.btn-cookie {
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-accept { background: #ffeb3b; color: #0a1a2a; }
.btn-accept:hover { background: #ffc107; }
.btn-decline { background: transparent; border: 1px solid #ff5252; color: #ff5252; }
.btn-decline:hover { background: #ff5252; color: #fff; }