.front-top-widget,
.top3-widget,
.main-content,
.content,
.right-sidebar {
  width: 100%;
  box-sizing: border-box;
}


.front-top-widget {
  text-align: center;
  margin-top: 30px;
  padding-left: 5px;
  padding-right: 5px;
}

.front-top-widget:empty {
  display: none;
}

/* ====  top3 ==== */
.top3-widget {
  display: flex;
  justify-content: center;   
  gap: 25px;                  
  padding: 20px 0;            
  flex-wrap: wrap;           
}

.top3-widget .casino-item {
  background-color: #292B33;
  border-radius: 12px;       
  padding: 20px;             
  flex: 1 1 250px;           
  max-width: 300px;           
  display: flex;
  flex-direction: column;     
  align-items: center;      
  color: #fff;              
  box-sizing: border-box;
}

/* ---- img ---- */
.top3-widget .casino-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;         
  margin-bottom: 15px;        
}

/* ---- Bonus ---- */
.top3-widget .casino-bonus {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 15px;        
  text-align: center;
}

/* ---- Button---- */
.top3-widget .casino-btn {
  margin-top: auto;           
  position: relative;         
  background-color: #5689DE;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;         
  border-radius: 6px;         
  font-weight: 600;
  transition: padding 0.5s, box-shadow 0.3s;
  box-shadow: 0 5px 10px rgba(0,0,0,0.5);
  overflow: hidden;           
}

/* Pseudo-element "arrow" */
.top3-widget .casino-btn::after {
  content: '»';              
  position: absolute;
  top: 50%;
  right: 16px;                
  transform: translateY(-50%);
  opacity: 0;                 
  transition: right 0.5s, opacity 0.5s;
}

/* Hover */
.top3-widget .casino-btn:hover {
  padding-right: 32px;       
  box-shadow: 0 8px 16px rgba(0,0,0,0.6);
}

.top3-widget .casino-btn:hover::after {
  opacity: 1;                 
  right: 12px;               
}


/* Main content + sidebar */
.main-content {
  display: flex;
  padding: 20px;
}
.content {
  width: calc(100% - 320px);
  margin-right: 20px;
}

/*=== Sidebar === */
.right-sidebar {
  width: 300px;
  margin-top: 78px;
}

.widget_block {
  margin-bottom: 20px;
}

/* ========================
   Title before TOP10
   ======================== */
.top10-title {
  text-align: center;
  margin-bottom: 25px;
}

.top10-title h2 {
  font-size: 32px;
  color: #fff;
  margin: 0;
  font-weight: 700;
}


/* Bottom text */
.front-bottom-text {
  margin-top: 40px;
  padding: 20px;
  background: #292B33;
  color: white;
}


/* ========================
       Adaptive
   ======================== */


/* --------------------------------------
     TABLET
   -------------------------------------- */
   @media (max-width: 1023px) {

    .right-sidebar {
      display: none;
    }
  

    .main-content {
      display: block;
      padding: 20px 0;        
    }
    .content {
      width: 100%;            
      margin: 0 auto;
      padding: 0 7rem;        
      box-sizing: border-box;
    }

    /* -------------------------------------
          TOP3
    ---------------------------------------- */
    .top3-widget {
      gap: 15px; 
      padding: 15px 10px; 
    }
  
    .top3-widget .casino-item {
      flex: 1 1 30%;       
      max-width: 32%;      
      padding: 15px;       
    }
  
    .top3-widget .casino-btn {
      font-size: 0.9rem;
      padding: 8px 16px;
    }
  
    .top3-widget .casino-bonus {
      font-size: 1rem;
    }
  
  }
  
  
  /* --------------------------------------
      Mobile
     -------------------------------------- */
  @media (max-width: 767px) {item

    .right-sidebar,
    .top3-widget {
      display: none;
    }

    
    /* Main */
    .main-content {
      display: block;
      padding: 20px 0;        
    }
    .content {
      width: 100%;
      margin: 0 auto;
      padding: 0 1rem;        
      box-sizing: border-box;
    }
  
  }
