/* Enhanced CSS for U2 Casino Official My - Surpassing Design */
:root {
  --primary: #ff6b00;
  --primary-dark: #e55d00;
  --secondary: #1a1a2e;
  --accent: #00d084;
  --text: #1a1a2e;
  --text-muted: #666;
  --bg: #fff;
  --bg-secondary: #f8f9fa;
  --border: #e0e0e0;
  --shadow: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.15);
  --radius: 0.75rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.5rem;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); color: var(--primary); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background: #2d2d44;
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-secondary);
}

.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #2d2d44 100%);
  color: white;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.8) saturate(1.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-bar {
  background: var(--secondary);
  color: white;
  padding: 3rem 0;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.trust-item .icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.providers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.provider {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.provider:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.provider img {
  height: 60px;
  margin-bottom: 0.5rem;
}

.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.game {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.game:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.game img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.game-content {
  padding: 1.25rem;
}

.game h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.game .provider {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}

.stat-card .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-card .label {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.review .stars {
  color: #ffb800;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.review .name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.review .meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
  transition: var(--transition);
}

.faq-question:hover {
  background: #e9ecef;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card .tag {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.blog-card .date {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--border);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  gap: 1rem;
}

.nav {
  background: var(--bg);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(255, 107, 0, 0.1);
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 0.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-main {
  display: none;
  gap: 0.5rem;
}

.nav-main a {
  padding: 0.75rem 1rem;
  color: var(--text);
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--primary);
  background: rgba(255, 107, 0, 0.1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  position: relative;
}

.lang-switch a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  display: none;
  transition: var(--transition);
}

.lang-switch a.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  display: inline-block;
}

.lang-switch:hover a {
  display: inline-block;
  margin-left: 0.25rem;
}

.mobile-toggle {
  display: block;
  padding: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
}

.mobile-menu {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.site-footer {
  background: var(--secondary);
  color: #c0c0d0;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-col a {
  display: block;
  padding: 0.25rem 0;
  color: #a0a0b0;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-brand {
  color: white;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-tag {
  font-size: 0.9rem;
  color: #a0a0b0;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #2d2d44;
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #3a3a55;
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: #808090;
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  z-index: 100;
  transition: var(--transition);
  font-size: 1.75rem;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.breadcrumbs {
  padding: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs .sep {
  margin: 0 0.5rem;
  color: var(--border);
}

.page-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #2d2d44 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.content {
  padding: 3rem 0;
}

.content h2 {
  margin-bottom: 1.5rem;
}

.content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content li {
  margin-bottom: 0.5rem;
}

.related-posts {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.related-posts h3 {
  margin-bottom: 2rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 768px) {
  .nav-main {
    display: flex;
  }

  .lang-switch a {
    display: inline-block;
  }

  .mobile-toggle {
    display: none;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 4rem 0 3rem;
  }

  .section {
    padding: 3rem 0;
  }

  .header-inner {
    padding: 0.75rem 1rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 1rem;
    width: 100%;
    text-align: center;
    border-radius: var(--radius);
  }

  .nav-buttons {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }
}

/* ── Missing utility classes ── */
.hero-sub {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats span {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.updated-chip {
  display: inline-block;
  background: rgba(255,107,0,0.2);
  border: 1px solid rgba(255,107,0,0.4);
  color: #ffb800;
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.has-bg {
  position: relative;
}

.agg-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.agg-score {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.agg-stars {
  font-size: 1.75rem;
  color: #ffb800;
}

.agg-count {
  color: var(--text-muted);
  font-size: 1rem;
}

.r-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.r-stars {
  color: #ffb800;
  font-size: 1.1rem;
}

.r-name {
  font-weight: 700;
  color: var(--text);
}

.r-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.r-body {
  color: var(--text);
  font-style: italic;
}

.cta-block {
  background: linear-gradient(135deg, var(--secondary) 0%, #2d2d44 100%);
  color: white;
  border-radius: var(--radius);
  padding: 4rem 3rem;
  text-align: center;
}

.cta-block h2,
.cta-block p {
  color: white;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.featured-article img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
}

.featured-content {
  padding: 2rem;
}

.featured-content .meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 1.5rem auto;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
}

.newsletter-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.article-meta strong {
  color: var(--text);
}

.table-responsive {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0.875rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--bg-secondary);
  font-weight: 700;
}

tr:hover td {
  background: rgba(255,107,0,0.04);
}

.info-box {
  background: rgba(255,107,0,0.08);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.info-box p {
  margin-bottom: 0;
}

.step-list {
  counter-reset: steps;
  list-style: none;
  padding: 0;
}

.step-list li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.step-list li::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-green { background: rgba(0,208,132,0.15); color: #00a06a; }
.badge-orange { background: rgba(255,107,0,0.15); color: var(--primary); }
.badge-blue { background: rgba(0,112,243,0.12); color: #0070f3; }

@media (max-width: 767px) {
  .featured-article {
    grid-template-columns: 1fr;
  }

  .cta-block {
    padding: 2.5rem 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

/* Game image placeholder (shown when image file is missing) */
.game-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4e 40%, #16213e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 2rem;
  position: relative;
  overflow: hidden;
}

.game-img-placeholder::before {
  content: '🎮';
  font-size: 2.5rem;
  opacity: 0.6;
}

.game-img-placeholder::after {
  content: attr(data-name);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: absolute;
  bottom: 0.75rem;
}