/* October CMS Theme CSS - BestCasinosAR */

@font-face {
  font-family: "Nunito";
  src: url(../fonts/Nunito/Nunito-VariableFont_wght.ttf);
}

/* Main Styles for Casino Comparison Site */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito';
}

body {
  background: #f7f9fb;
  color: #1a2233;
  line-height: 1.7;
}

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

/* Header Styles */
.main-header {
  background: #19223a;
  color: #fff;
  padding: 0;
  border-bottom: 1px solid #e5e8ef;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 72px;
}

.header-logo-nav {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.header-logo {
  height: 40px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.header-link.active, .header-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Main Content Styles */
main {
  padding: 30px 0;
}

h1 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #222;
}

.subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #444;
}

.flag {
  font-size: 1.2rem;
}

.update-info {
  text-align: center;
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 20px;
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 20px 0;
}

.indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #555;
}

.indicator i {
  color: #4a6cfa;
}

/* Casino Cards */
.casino-card {
  display: flex;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.rank {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f39c12;
  color: white;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-bottom-right-radius: 8px;
}

/* Casino Logo Styles - Updated to use images */
.casino-logo {
  width: 180px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.casino-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This ensures the image covers the area properly */
}

/* Remove the previous styling with pseudo-elements */
.betsson, .codere {
  background-color: transparent; /* Remove the colored background */
}

/* Remove the ::after pseudo-elements */
.betsson::after, .codere::after {
  content: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .casino-logo {
    width: 100%;
    height: 80px;
  }
  
  .casino-logo-img {
    max-height: 80px;
    object-fit: contain; /* For better display on smaller screens */
  }
}

.casino-details {
  flex: 1;
  padding: 15px;
  border-right: 1px solid #eee;
}

h3 {
  margin-bottom: 5px;
  color: #333;
  font-size: 1.2rem;
}

.casino-details p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.casino-features {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.feature {
  text-align: center;
}

.feature span {
  display: block;
  font-weight: bold;
  color: #444;
  font-size: 0.9rem;
}

.feature small {
  color: #777;
  font-size: 0.7rem;
}

.payment-methods {
  display: flex;
  gap: 10px;
}

.payment-icon {
  width: 35px;
  height: 20px;
  background-color: #eee;
  border-radius: 3px;
}

.visa {
  background: linear-gradient(135deg, #0a5299, #0d6efd);
}

.mastercard {
  background: linear-gradient(135deg, #ff5b00, #f7931a);
}

/* Rating Section */
.casino-rating {
  width: 220px;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.rating-value {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.stars {
  color: #ffcc00;
  margin-bottom: 15px;
}

.bonus {
  font-weight: bold;
  margin-bottom: 15px;
  color: #e74c3c;
}

.cta-button {
  background-color: #3498db;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #2980b9;
}

/* Information Sections */
.info-section {
  margin-top: 40px;
  background-color: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-section h2 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.info-section p {
  margin-bottom: 15px;
  color: #555;
}

/* Footer Styles */
.main-footer {
  background: #1a232c;
  color: #fff;
  padding: 0;
  margin-top: 0;
  font-size: 1rem;
}

.footer-topbar {
  padding: 32px 0 18px 0;
  background: #1a232c;
}

.footer-icons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  text-align: center;
  color: #e0e6ed;
  font-size: 0.98rem;
  gap: 8px;
}

.footer-icon-img {
  height: 30px;
  width: auto;
  margin-bottom: 4px;
  filter: brightness(0.95) grayscale(0.1);
}

.footer-divider {
  border-top: 1px solid #2c3744;
  margin: 0 0 0 0;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  max-width: 1150px;
  margin: 0 auto;
  padding: 36px 24px 24px 24px;
  flex-wrap: wrap;
}

.footer-main-left {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-logo-main {
  height: 48px;
  width: auto;
  margin-bottom: 8px;
}

.footer-copyright {
  color: #e0e6ed;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-main-right {
  flex: 2 1 600px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-responsible {
  color: #e0e6ed;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.footer-links-row {
  display: flex;
  gap: 32px;
  margin-top: 8px;
}

.footer-link-main {
  color: #fff;
  opacity: 0.85;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
  font-size: 1rem;
}

.footer-link-main:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    gap: 32px;
    padding: 32px 12px 18px 12px;
  }
  .footer-main-left, .footer-main-right {
    min-width: 0;
    max-width: 100%;
    align-items: flex-start;
  }
  .footer-links-row {
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .footer-topbar {
    padding: 18px 0 10px 0;
  }
  .footer-icons-row {
    gap: 16px;
  }
  .footer-main {
    padding: 18px 4px 12px 4px;
    gap: 18px;
  }
  .footer-logo-main {
    height: 36px;
  }
  .footer-responsible {
    font-size: 0.95rem;
  }
  .footer-link-main {
    font-size: 0.95rem;
  }
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #1a2233 0%, #2a3a5a 100%);
    color: #fff;
    padding: 60px 24px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    color: #fff;
}

.hero-desc {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 32px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-filters {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.filter {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.hero-warning {
    background: #ff3b30;
    color: #fff;
    padding: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    max-width: 600px;
    margin: 0 auto;
}

/* Casino Cards New Styles */
.casino-card-new {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
}

.casino-card-new:hover {
    transform: translateY(-4px);
}

.casino-rank {
    position: absolute;
    top: 0;
    left: 0;
    background: #4a6cfa;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    border-bottom-right-radius: 12px;
}

.casino-info {
    display: flex;
    padding: 24px;
    gap: 24px;
}

.casino-logo-block {
    width: 200px;
    text-align: center;
}

.casino-logo-img-new {
    width: 160px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 12px;
}

.casino-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a2233;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.casino-stars {
    color: #ffd700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.casino-reviews {
    font-size: 0.8rem;
    color: #666;
}

.casino-bonus-block {
    flex: 1;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.casino-bonus-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.casino-bonus-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4a6cfa;
}

.casino-score-block {
    width: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.casino-score-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.casino-score-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a2233;
    margin-bottom: 16px;
}

.casino-btn {
    background: #4a6cfa;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    margin-bottom: 8px;
    display: inline-block;
}

.casino-btn:hover {
    background: #3a5ce5;
}

.casino-link {
    color: #4a6cfa;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.casino-link:hover {
    text-decoration: underline;
}

/* Main Content Sections */
.guide-section,
.factors-section,
.tips-section,
.conclusion-section {
    max-width: 1150px;
    margin: 0 auto 48px;
    padding: 0 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(30,40,90,0.07);
    padding: 32px 28px;
}

.guide-section h2,
.factors-section h2,
.tips-section h2,
.conclusion-section h2 {
    font-size: 2rem;
    color: #1a2233;
    margin-bottom: 24px;
    line-height: 1.3;
}

.guide-section h3,
.factors-section h3,
.tips-section h3 {
    font-size: 1.4rem;
    color: #2a3a5a;
    margin: 32px 0 16px;
}

.guide-section p,
.factors-section p,
.tips-section p,
.conclusion-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 16px;
}

.guide-section ul,
.factors-section ul,
.tips-section ul,
.conclusion-section ul {
    margin: 12px 0 18px 24px;
    color: #3a4663;
    font-size: 1.05rem;
}

.guide-section li,
.factors-section li,
.tips-section li,
.conclusion-section li {
    margin-bottom: 6px;
    line-height: 1.6;
}

/* Top Casinos Section */
.top-casinos-section {
    max-width: 1200px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.top-casinos-section .casino-card-new {
    margin-bottom: 32px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.top-casinos-section .casino-card-new:last-child {
    margin-bottom: 0;
}

.top-casinos-section .casino-info {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 24px;
    align-items: center;
}

.top-casinos-section .casino-logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.top-casinos-section .casino-logo-img-new {
    width: 160px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 16px;
    transition: transform 0.2s;
}

.top-casinos-section .casino-logo-img-new:hover {
    transform: scale(1.05);
}

.top-casinos-section .casino-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2233;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-casinos-section .casino-stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.top-casinos-section .casino-reviews {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.top-casinos-section .casino-bonus-block {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.top-casinos-section .casino-bonus-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.top-casinos-section .casino-bonus-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #4a6cfa;
    line-height: 1.2;
}

.top-casinos-section .casino-score-block {
    text-align: center;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.top-casinos-section .casino-score-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.top-casinos-section .casino-score-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a2233;
    margin-bottom: 20px;
    line-height: 1;
}

.top-casinos-section .casino-btn {
    background: #4a6cfa;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    display: inline-block;
    margin-bottom: 12px;
    width: 100%;
    text-align: center;
}

.top-casinos-section .casino-btn:hover {
    background: #3a5ce5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 108, 250, 0.2);
}

.top-casinos-section .casino-link {
    color: #4a6cfa;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    display: inline-block;
}

.top-casinos-section .casino-link:hover {
    color: #3a5ce5;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .casino-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .casino-logo-block,
    .casino-bonus-block,
    .casino-score-block {
        width: 100%;
    }

    .casino-bonus-block {
        margin: 16px 0;
    }
    
    .top-casinos-section .casino-info {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .top-casinos-section .casino-logo-block,
    .top-casinos-section .casino-bonus-block,
    .top-casinos-section .casino-score-block {
        width: 100%;
    }

    .top-casinos-section .casino-logo-img-new {
        width: 140px;
        height: 70px;
    }

    .top-casinos-section .casino-bonus-value {
        font-size: 1.4rem;
    }

    .top-casinos-section .casino-score-value {
        font-size: 2.4rem;
    }
}

@media (max-width: 900px) {
    .guide-section,
    .factors-section,
    .tips-section,
    .conclusion-section {
        max-width: 98vw;
        padding: 24px 8px;
    }
    .main-header, .main-footer {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .hero-filters {
        flex-wrap: wrap;
    }

    .casino-card-new {
        margin: 0 16px 24px;
    }
}

@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 12px 8px;
    }
    .header-logo-nav {
        flex-direction: column;
        gap: 8px;
    }
    .top-casinos-section {
        flex-direction: column;
        gap: 16px;
        padding: 0 2px;
    }
    .casino-card-new {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 8px;
        min-height: 0;
    }
    .casino-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 0;
    }
    .footer-content {
        padding: 0 8px;
    }
    .guide-section,
    .factors-section,
    .tips-section,
    .conclusion-section {
        padding: 16px 4px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 16px;
    }

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

    .casino-info {
        padding: 16px;
    }

    .casino-logo-img-new {
        width: 120px;
        height: 60px;
    }

    .casino-bonus-value {
        font-size: 1.2rem;
    }

    .casino-score-value {
        font-size: 2rem;
    }

    .top-casinos-section {
        padding: 0 16px;
    }

    .top-casinos-section .casino-card-new {
        margin-bottom: 24px;
    }

    .top-casinos-section .casino-info {
        padding: 16px;
    }

    .top-casinos-section .casino-logo-img-new {
        width: 120px;
        height: 60px;
    }

    .top-casinos-section .casino-name {
        font-size: 1.2rem;
    }

    .top-casinos-section .casino-bonus-block,
    .top-casinos-section .casino-score-block {
        padding: 16px;
    }

    .top-casinos-section .casino-bonus-value {
        font-size: 1.2rem;
    }

    .top-casinos-section .casino-score-value {
        font-size: 2rem;
    }

    .top-casinos-section .casino-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .casino-features {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Additional Helper Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.font-bold {
    font-weight: bold;
}