/* Base Wrapper Spacing */

.custom-matka-forum {
  /* margin-bottom: 100px; */
}
.custom-matka-forum .forum-main-content {
  margin-top: 5px;
}

/* 1. Forum Header Banner */
.custom-matka-forum .forum-header-banner {
  background: linear-gradient(90deg, #440057 0%, #d40092 91%);
  padding: 6px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  border-radius: 5px;
}
.custom-matka-forum .forum-header-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

/* 2. Top Navigation & Action Buttons Row */
.custom-matka-forum .forum-action-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.custom-matka-forum .forum-btn {
  border: none;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  color: #ffffff;
}
.custom-matka-forum .btn-post-guess {
  background: linear-gradient(90deg, #440057 0%, #d40092 91%);
  padding: 5px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}
.custom-matka-forum .btn-download-app {
  background: linear-gradient(90deg, #440057 0%, #d40092 91%);
}
.custom-matka-forum .forum-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.custom-matka-forum .btn-icon {
  margin-right: 8px;
}

/* 3. Guidelines & Rules Card Style */
.custom-matka-forum .rules-container-card {
  text-align: center;
}
.custom-matka-forum .rules-title-header {
  font-size: 14px;
  font-weight: 800;
  color: #000;
  margin-bottom: 0px;
  text-transform: uppercase;
}
.custom-matka-forum .rules-body-text {
  margin-bottom: 5px;
}
.custom-matka-forum .rule-item {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 0px;
  color: #000;
}
.custom-matka-forum .rule-item-alert {
  font-size: 13px;
  font-weight: 800;
  color: #000;
  margin: 0px 0;
}
.custom-matka-forum .rule-item-sub {
  font-size: 13px;
  color: #000;
  font-weight: 600;
  margin: 0px 0;
}
.custom-matka-forum .btn-read-rules {
  background: linear-gradient(135deg, #440057 0%, #a20070 100%);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 5px 15px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.custom-matka-forum .btn-read-rules:hover {
  background-color: #c2185b;
}

/* 4. Forum Posts Card */
.custom-matka-forum .forum-post-card {
  background-color: #fc9;
  position: relative;
  z-index: 0;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 25px;
  border: 1px solid #000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.custom-matka-forum .forum-post-card:after {
    content: "";
    position: absolute;
    clip-path: polygon(0% 100%, 0% 0%, 100% 100%);
    background: #ffc289;
    width: 100%;
    height: 100%;
    bottom: 0px;
    z-index: -1;
}
/* Card Top Bar Header */
.custom-matka-forum .post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    background-color: #ffffff;
    border-bottom: 1px solid #000;
}
.custom-matka-forum .post-author-profile {
  display: flex;
  align-items: center;
}
.custom-matka-forum .author-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}
.custom-matka-forum .avatar-letter {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
}
.custom-matka-forum .online-indicator-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  background-color: #2ecc71;
  border: 2px solid #ffffff;
  border-radius: 50%;
}
.custom-matka-forum .author-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #2c3e50;
}
.custom-matka-forum .pin-icon-badge {
  margin-left: 6px;
}
.custom-matka-forum .post-timestamp {
  display: block;
  font-size: 0.8rem;
  color: #95a5a6;
}
.custom-matka-forum .post-admin-badge {
  background: linear-gradient(95deg, #440057 20%, #a20070 100%);
  color: #ffffff;
  padding: 8px 24px;
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 30px 10px 10px 30px;
}

/* Card Interior Content Area */
.custom-matka-forum .post-body-content {
  /* background: #ffe6b7; */
  /* border-left: 6px solid #f1a10d; */
  padding: 10px 10px;
  text-align: center;
}
.custom-matka-forum .post-title-main {
  color: #4a154b;
  font-weight: 800;
  font-size: 1.35rem;
  margin: 0 0 6px 0;
}
.custom-matka-forum .post-subtitle-sub {
  color: #d81b60;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 20px 0;
}
.custom-matka-forum .post-paragraph-line {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 10px 0;
}
/* Bottom Action Section */
.custom-matka-forum .post-actions-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 12px;
    background: #ffcc99;
    border-top: 1px solid rgba(0,0,0,.08);
}

/* Left Side */
.custom-matka-forum .forum-action-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Like & Comment Button */
.custom-matka-forum .forum-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #000;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.custom-matka-forum .forum-action-btn span {
    font-size: 18px;
    font-weight: 500;
}

.custom-matka-forum .forum-action-btn.liked {
    color: #000;
}

.custom-matka-forum .forum-action-btn:hover {
    opacity: .8;
}

/* Comment Box */
.custom-matka-forum .forum-comment-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: #ffd3a8;
    border: 1px solid #6d4c41;
    border-radius: 30px;
    overflow: hidden;
    height: 42px;
}

/* User Icon */
.custom-matka-forum .comment-user-icon {
    font-size: 18px;
    color: #000;
    margin-left: 12px;
    margin-right: 10px;
}

/* Input */
.custom-matka-forum .forum-comment-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
    color: #000;
    padding-right: 10px;
}

.custom-matka-forum .forum-comment-input::placeholder {
    color: #8b5e3c;
}

/* Send Button */
.custom-matka-forum .comment-send-btn {
    width: 44px;
    height: 42px;
    border: none;
    background: transparent;
    color: #8b008b;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-matka-forum .comment-send-btn:hover {
    color: #c000a0;
}

/* Mobile */
@media (max-width:767px){

.custom-matka-forum .post-actions-footer{
    gap:8px;
    padding:6px 8px;
}

.custom-matka-forum .forum-action-left{
    gap:12px;
}

.custom-matka-forum .forum-action-btn{
    font-size:15px;
}

.custom-matka-forum .forum-action-btn span{
    font-size:15px;
}

.custom-matka-forum .forum-comment-box{
    height:38px;
}

.custom-matka-forum .comment-user-icon{
    font-size:15px;
    margin-left:10px;
    margin-right:8px;
}

.custom-matka-forum .forum-comment-input{
    font-size:13px;
}

.custom-matka-forum .comment-send-btn{
    width:38px;
    height:38px;
    font-size:18px;
}

}
/* 5. Sticky Bottom Action Navbar */
.custom-matka-forum .bottom-sticky-navbar {
  position: fixed;
  bottom: 0px;
  left: 0;
  right: 0px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  width: fit-content;
  margin: 0px auto;
  border-radius: 5px;
  border: 2px solid #440057;
}
.custom-matka-forum .bottom-nav-inner {
  max-width: 768px;
  margin: 0 auto;
  gap: 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.custom-matka-forum .bottom-nav-btn {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #7f8c8d;
  cursor: pointer;
  transition: color 0.2s ease;
}
.custom-matka-forum .nav-icon {
  font-size: 29px;
  margin-bottom: 2px;
}
.custom-matka-forum .nav-label {
  font-size: 15px;
  font-weight: 600;
}
.custom-matka-forum .active-nav {
    color: #fff;
    font-weight: 900;
    background: #380047;
    border-radius: 5px;
}

.custom-matka-forum .bottom-nav-btn:hover {
   color: #fff;
    font-weight: 900;
    background: #380047;
    border-radius: 5px;
}

/* 6. Floating Game Play FAB Button */
.custom-matka-forum .floating-play-fab {
  position: fixed;
  bottom: 80px;
  right: 25px;
  width: 65px;
  height: 65px;
  background:linear-gradient(135deg, #440057 0%, #a20070 100%);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(162, 0, 112, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  z-index: 1001;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.custom-matka-forum .floating-play-fab:hover {
  transform: scale(1.1);
}
.custom-matka-forum .fab-top-text {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}
.custom-matka-forum .fab-bottom-text {
  font-size: 0.65rem;
  font-weight: 600;
}

@media (min-width:0px) and (max-width:767px){


  .custom-matka-forum .bottom-nav-inner {
    max-width: 100%;
    gap: 5px;
}

  .custom-matka-forum .nav-icon {
    font-size: 15px;
    margin-bottom: 2px;
}

  .custom-matka-forum .nav-label {
    font-size: 8px;
}

.custom-matka-forum .bottom-nav-btn {
    padding: 2px;
}

.custom-matka-forum .floating-play-fab {
    bottom: 50px;
    right: 10px;
    width: 50px;
    height: 50px;
}

}