  :root {
    --main: #784ba0;
      --header-bg: #784ba0;
      --color-text: #2d2d2d;
      --color-accent: #ff3cac;
      --color-accent-2: #784ba0;
      --color-hover: #ff67a1;
      --color-header: #fff;
      --color-border: #ddd;
    }
    /**Main style**/

    body {
      margin: 0;
      margin: 0;
font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
      color: var(--color-text);
      background-color: #fafafa;
      color: var(--color-text);
    }
    a {
      color:var(--main);
      text-decoration: none;
    }
    .mg-horizontal {
      margin:0 4px;
    }
    input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    background-color: transparent;
    color: #333;
  }
  button[type=submit] {
    background-color:#784ba0;
  }
.mw {
	width:auto;
	max-width:1600px;
  margin:0 auto;
}
.width {
  width:100%;
}
.flx {
	display: flex;
}
.flx-dc {
flex-direction: column;
}
.flxwrap {
  flex-wrap:wrap;
}
.jcsb {
	justify-content: space-between;
}
.jcsa {
  justify-content: space-around;
}
.aic {
  align-items: center;
}
.fd {
  flex-direction: column;.title.flx.jcsb {
    margin: 20px 0 0 0;
}
  text-align: center;
}
.nomargin {
  margin:0;
}
.bg {
  background: #fff;
}
.ml {
  margin-left:10px;
}
.bg-block {
      background: #fdfdfd;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}
.brdr-btm {
  border-bottom: 1px dashed #c9c9c9;
}
.burger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
}
.burger span {
  display: none;
  height: 4px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animation upon activation */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation */
.nav-bar {
  display: flex;
  gap: 1rem;
}
    .wrapper {
      display: flex;
      flex-direction: column;
    }
    /**Main style End**/

    .breadcrumbs {
  font-size: 0.95rem;
  color: #666;
}
nav.breadcrumbs.bg.other {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
    padding: 10px 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}
nav.breadcrumbs ul {
    list-style: none;
        display: flex;
    flex-wrap: wrap;
    padding: 0px;
}
nav.breadcrumbs ul li {
position: relative;
}
span.separator {
    margin: 0 5px;
    color: #969696;
}
.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #784ba0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumb-link svg {
  stroke: #f04c2f;

}
span.breacrumb-home {
    display: block;
}
.breadcrumb-link:hover {
  color: #f04c2f;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #aaa;
  font-size: 1.1rem;
}

.breadcrumb-current {
  color: #999;
  font-weight: 500;
}

    /**Header style**/
.head {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(8px);
  background: var(--header-bg);
  transition: background 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color:#fff;
}
.head a {
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  font-size:16px;
}

    .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
        font-size: 17px;
    }

    .logo {
      font-size: 24px;
      font-weight: bold;
      color: #ffffff;
    }

    .header-controls button {
      background: none;
      border: none;
      margin-left: 12px;
      font-size: 14px;
      cursor: pointer;
      color: #ffffff;
    }

    .header-controls .upload-btn {
      background-color: var(--color-accent);
      color: white;
      padding: 6px 12px;
      border-radius: 4px;
      font-weight: bold;
    }

    /* Navigation */
    .nav-bar {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    }
    .nav-link {
      color: #fff;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 6px;
      transition: all 0.3s ease;
      font-size: 15px !important;
      font-weight: 500;
    }
    .nav-link:hover {
      background-color: rgba(255, 255, 255, 0.1);
      transform: translateY(-1px);
    }
    .nav-item.mods-menu {
  position: relative;
}


.mods-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  padding: 8px 12px;
  user-select: none;
    cursor:pointer
}

.icon-left {
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.arrow-icon {
  margin-left: 8px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.mods-dropdown-menu {
  position: absolute;
  top: 100%;
    right: 0px;
    transform: translate(20px, 2px);
  min-width: 160px;
  background-color: var(--header-bg);
  border: 1px solid var(--header-bg);
  border-radius: 4px;
  list-style: none;
  padding: 0;
  margin-top: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}
.mods-dropdown-menu li a {
  display: block;
  padding: 12px;
  color: white;
  text-decoration: none;
  cursor:pointer;
      border-bottom: 1px solid #674584;
    text-align: center;
}

.mods-dropdown-menu li a:hover {
  background-color: #8755b4;
}

.nav-item.mods-menu:hover .mods-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-item.mods-menu:hover .arrow-icon {
  transform: rotate(180deg);
}

.mods-toggle:hover {
  background-color: transparent !important;
}

    .dropdown {
      position: absolute;
      top: 40px;
      left: 120px;
      background: white;
      border: 1px solid var(--color-border);
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      display: none;
      flex-direction: column;
      z-index: 100;
    }

    .dropdown.visible {
      display: flex;
    }

    .dropdown a {
      padding: 8px 12px;
      text-decoration: none;
      color: var(--color-text);
      white-space: nowrap;
    }

    .dropdown a:hover {
      background-color: #f0f0f0;
      color: var(--color-accent);
    }

.search-container {
  position: relative;
  display: inline-block;
  margin: 0 10px;
}

.search-toggle {
  cursor: pointer;
  font-size: 20px;
  user-select: none;
  padding: 9px 0 0 0;
}

.search-box {
  width: 250px;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  padding: 8px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-top: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}
.search-box input {
    padding: 12px;
    margin: 15px 5px 5px 5px;
    width: 200px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.close-search {
position: absolute;
    top: 0;
    right: 5px;
    background: none;
    border: none;
    margin-left: 12px;
    font-size: 22px;
    cursor: pointer;
    color: #272727;
  cursor: pointer;
}

.search-box.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.register .icn {
  top:2px;
}
.register {
  margin: 0 0 0 5px;
}
.login {
  margin: 0 5px 0 0;
}
.login .icn {
  margin: 0;
}
#mobile-user-toggle,
.user-menu-mobile {
  display: none;
}
/* User Section */
    .header-user-section {
      position: relative;
    }
    #userDropdownButton {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 6px;
      color: #fff;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 14px;
      font-weight: 500;
      user-select: none;
    }
    #userDropdownButton:hover {
      background-color: rgba(255, 255, 255, 0.2);
    }
    .dropdown-arrow {
      transition: transform 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #userDropdownMenu {
      position: absolute;
      right: 0;
      z-index: 10;
      margin-top: 10px;
      width: 200px;
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 8px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
      padding: 8px 0;
      font-size: 14px;
      display: none;
    }
    #userDropdownMenu > div:first-child {
      padding: 12px 16px;
      border-bottom: 1px solid #eee;
      font-weight: 600;
      color: #333;
    }
    #userDropdownMenu a,
    #userDropdownMenu button {
      display: block;
      padding: 10px 16px;
      color: #333;
      text-decoration: none;
      transition: background-color 0.2s ease;
      text-align: left;
      border: none;
      background: none;
      cursor: pointer;
      font-family: inherit;
      font-size: 14px;
    }
    #userDropdownMenu a:hover,
    #userDropdownMenu button:hover {
      background-color: #d6d6d6b4;
    }
    #userDropdownMenu button {
      color: #dc2626;
    }
    #userDropdownMenu > div:last-child {
      margin: 8px 0;
    }

    /* Mobile User Toggle */
    #mobile-user-toggle {
      display: none;
      cursor: pointer;
      padding: 8px;
    }
    /**Header End**/

.main-content {
    flex: 80% 1 0;
    flex-grow: 1;
    order: 2;
}

    .footer {
      background: #eee;
      text-align: center;
      padding: 15px;
      font-size: 14px;
      color: #666;
    }

/**SITE DESCRIPTION**/
.section-header {
  background: #fdfdfd;
  padding: 40px 30px 30px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
     margin: 20px;
}

.section-title {
  font-size: 32px;
  color: var(--main);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-description {
  font-size: 16px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}
/**SITE DESCRIPTION END**/

/**LATEST NEWS**/
.latest-news-block {
    margin: 20px;
}
.latest-news-title {
    font-size: 1.3rem;
    font-weight: 700;
    padding: 10px;
    border-radius: 10px;
}
.news-flex-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: flex-start;
}

.news-card {
  flex: 1 1 calc(33% - 20px);
  max-width: 100%;
  position: relative;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.5s ease;
  cursor: pointer;
  min-width: 260px;
  box-shadow: 0 4px 20px -4px hsl(262, 83%, 58%, 0.1);
}

.news-card:hover {
  border-color: #784ba0;
  box-shadow: 0 25px 50px -12px rgba(120, 75, 160, 0.1);
}

.news-image-container {
  position: relative;
  overflow: hidden;
}
.news-image-container.single {
    text-align: center;
    margin: 0 auto;
}
.news-image {
  width: 100%;
  height: 192px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.news-card:hover .news-image {
  transform: scale(1.1);
}

.news-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.news-card:hover .news-overlay {
  opacity: 1;
}

.news-overlay-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.news-card:hover .news-overlay-icon {
  transform: scale(1);
}

.news-content {
  padding: 24px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.news-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #784ba0;
  font-size: 14px;
  font-weight: 500;
}

.news-divider {
  width: 4px;
  height: 4px;
  background: #9ca3af;
  border-radius: 50%;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #6b7280;
  font-size: 14px;
}

.news-title {
  font-size: 20px;
  font-weight: bold;
  color: #111827;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-card:hover .news-title {
  background: linear-gradient(to right, #784ba0, #5d3a7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.news-excerpt {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.news-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #6b7280;
  font-size: 14px;
  transition: color 0.3s ease;
}

.news-stat:hover {
  color: #784ba0;
}

.news-button {
    color: #313131;
    font-weight: 500;
    padding: 6px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid grey;
}

.news-button:hover {
  background: #5d3a7a;
  box-shadow: 0 10px 25px rgba(120, 75, 160, 0.25);
  transform: translateY(-1px);
}

.news-button:active {
  transform: scale(0.95);
}

.news-button svg {
  transition: transform 0.3s ease;
}

.news-button:hover svg {
  transform: translateX(4px);
}

.news-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(120, 75, 160, 0.1);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  filter: blur(4px);
}

.news-card:hover::before {
  opacity: 1;
}

/* Guide Section */
.container {
    max-width: 80rem;
    margin: 0 auto;
}

.page-description {
    text-align: center;
    margin-bottom: 3rem;
    padding: 25px;
    background: linear-gradient(135deg, #eee7f6, #e9effa);
}

.page-description-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.title-accent {
    background: linear-gradient(135deg, #784ba0, #9333ea);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 0.5rem;
}

.page-description-desc {
    color: #4b5563;
    font-size: 1.07rem;
    max-width: 900px;
    margin: 0 auto;
}
section.page-description h1 {
    font-size: 24px;
    font-weight: 600;
    color: #784ba0;
}
.title-underline {
    width: 6rem;
    height: 0.25rem;
    background: linear-gradient(135deg, #784ba0, #9333ea);
    margin: 1.5rem auto 0;
    border-radius: 9999px;
}

/* Guide Grid */
.guides-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
margin: 20px;
}

@media (min-width: 768px) {
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .guides-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Guide card */
.guide-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px -4px hsl(262, 83%, 58%, 0.1);
}

.guide-card:hover {
    border-color: #784ba0;
    box-shadow: 0 25px 50px -12px rgba(120, 75, 160, 0.2);
}

.guide-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guide-card:hover .guide-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.guide-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #784ba0;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.guide-views {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    background: #06060687;
    padding: 2px 10px;
    border-radius: 50px;
}
.guide-views span .icon {
    position: relative;
    top: 3px;
}
.guide-date span .icon {
  position: relative;
  top:2px;
}
.guide-content {
    padding: 1.5rem;
}

.guide-title {
    color: #111827;
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.guide-card:hover .guide-title {
    color: #784ba0;
}

.guide-description {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guide-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.75rem;
}

a.guide-read-button {
    display: block;
    margin: 15px 0 0 0;
    text-align: center;
    padding: 10px;
    border: 1px solid #3a3a3a;
    border-radius: 50px;
    color: #000;
}
a.guide-read-button:hover {
  background:var(--header-bg);
    color: #fff;
}

.arrow {
    transition: transform 0.2s ease;
}

.read-button:hover .arrow {
    transform: translateX(0.25rem);
}

.all-guides-button {
  display: block;
  margin: 1rem 0;
  text-align: center;
}

.all-guides-lnk {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #784ba0;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 999px; /* Pills shape */
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(120, 75, 160, 0.3);
}

.all-guides-lnk:hover {
  background-color: #693d8c;
  transform: translateY(-2px);
}

.all-guides-lnk span:last-child {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.all-guides-lnk:hover span:last-child {
  transform: translateX(4px);
}


/* Adaptability */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .guide-content {
        padding: 1rem;
    }
}


/**pagination**/
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.pagination-btn {
  background-color: var(--main);
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 50px;
      margin: 0 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover {
  background-color: #ff2e63;
}
button.pagination-btn.active {
    background: #e4e4e4;
    color: #000;
}
.pagination-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.page-number {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
  color: var(--main);
}

.page-number.active {
  background-color: var(--main);
  color: white;
  font-weight: bold;
}

.page-number:hover {
  background-color: #eee;
}

.page-number:active {
  transform: scale(0.95);
}
/**pagination end**/
/**LATEST NEWS END**/

/**SIDEBAR**/
.sidebar {
    flex: 30% 1 1;
    order: 1;
    width: 30%;
    min-width: 230px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
        border-right: 1px solid #e1e1e1;
}
        .sidebar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #784ba0, #9d6cc5, #784ba0);
            background-size: 200% 100%;
            animation: shimmer 3s ease-in-out infinite;
        }

        @keyframes shimmer {
            0%, 100% { background-position: 200% 0; }
            50% { background-position: -200% 0; }
        }

        .sidebar-block {
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            position: relative;
        }

        .sidebar-block:last-child {
            border-bottom: none;
        }

        .sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: #434343;
    margin-bottom: 16px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: #f0f0f0;
    padding: 10px;
    border-radius: 25px;
        }
.title.flx.jcsb {
    margin: 20px 0 0 0;
}
        .sidebar-title svg {
            width: 20px;
            height: 20px;
            fill: #784ba0;
        }

        .sidebar-list {
            list-style: none;
                padding: 0;
        }

        .sidebar-list li {
            margin-bottom: 12px;
            transition: all 0.3s ease;
        }

        .sidebar-list li:last-child {
            margin-bottom: 0;
        }

        .sidebar-list a {
            text-decoration: none;
            color: #555;
            font-weight: 500;
            padding: 8px 12px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            border: 1px solid #dfdfdf;
        }

        .sidebar-list a svg {
            width: 16px;
            height: 16px;
            fill: #666;
            transition: fill 0.3s ease;
        }

        .sidebar-list a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 0;
            background: linear-gradient(135deg, rgba(120, 75, 160, 0.1), rgba(157, 108, 197, 0.1));
            transition: width 0.3s ease;
            z-index: -1;
        }

        .sidebar-list a:hover {
            color: #784ba0;
            transform: translateX(4px);
        }

        .sidebar-list a:hover svg {
            fill: #784ba0;
        }

        .sidebar-list a:hover::before {
            width: 100%;
        }

        /* Enhanced Tag Cloud - Cloud-like design */
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            align-items: center;
            min-height: 140px;
            position: relative;
            background: radial-gradient(circle at center, rgba(120, 75, 160, 0.02) 0%, transparent 70%);
            border-radius: 12px;
            padding: 16px;
        }

        .tag-cloud::before {
            content: '';
            position: absolute;
            top: 10%;
            left: 15%;
            width: 60px;
            height: 30px;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 50px;
            filter: blur(20px);
            animation: float 4s ease-in-out infinite;
        }

        .tag-cloud::after {
            content: '';
            position: absolute;
            top: 20%;
            right: 20%;
            width: 40px;
            height: 20px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 50px;
            filter: blur(15px);
            animation: float 4s ease-in-out infinite 2s;
        }

        .tag-cloud a {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            color: #666;
            padding: 8px 16px;
            border-radius: 25px;
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            border: 2px solid rgba(120, 75, 160, 0.1);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transform-origin: center;
            z-index: 1;
        }

        .tag-cloud a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
            transition: left 0.6s;
        }

        .tag-cloud a:hover {
            background: linear-gradient(135deg, #784ba0, #9d6cc5);
            color: white;
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 20px rgba(120, 75, 160, 0.4);
            border-color: #784ba0;
        }

        .tag-cloud a:hover::before {
            left: 100%;
        }

        /* Different sizes for cloud effect */
        .tag-cloud a:nth-child(1) { font-size: 14px; }
        .tag-cloud a:nth-child(2) { font-size: 12px; }
        .tag-cloud a:nth-child(3) { font-size: 15px; }
        .tag-cloud a:nth-child(4) { font-size: 13px; }
        .tag-cloud a:nth-child(5) { font-size: 11px; }
        .tag-cloud a:nth-child(6) { font-size: 14px; }
        .tag-cloud a:nth-child(7) { font-size: 12px; }
        .tag-cloud a:nth-child(8) { font-size: 13px; }
        .tag-cloud a:nth-child(9) { font-size: 15px; }
        .tag-cloud a:nth-child(10) { font-size: 12px; }
        .tag-cloud a:nth-child(11) { font-size: 14px; }
        .tag-cloud a:nth-child(12) { font-size: 13px; }

        /* Floating animation for cloud effect */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-3px); }
        }

        .tag-cloud a:nth-child(odd) {
            animation: float 3s ease-in-out infinite;
        }

        .tag-cloud a:nth-child(even) {
            animation: float 3s ease-in-out infinite 1.5s;
        }

        /* Comments Design with Nickname Clouds */
        .comments-list {
            list-style: none;
            padding: 0;
        }

        .comment-item {
            background: rgba(120, 75, 160, 0.05);
            padding: 16px;
            border-radius: 12px;
            margin-bottom: 12px;
            border-left: 3px solid #784ba0;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        .comment-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
        }

        .nickname-cloud {
            background: linear-gradient(135deg, #784ba0, #9d6cc5);
            color: white;
            padding: 4px 10px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: 600;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
            box-shadow: 0 2px 6px rgba(120, 75, 160, 0.3);
            position: relative;
        }

        .nickname-cloud::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 12px;
            width: 0;
            height: 0;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-top: 4px solid #784ba0;
        }
.nickname-cloud a {
    color: #fff;
}
        .comment-meta {
            font-size: 11px;
            color: #888;
            font-weight: 500;
        }

        .comment-text {
            color: #555;
            font-size: 13px;
            line-height: 1.4;
            margin-bottom: 6px;
        }

        .comment-post {
            font-size: 11px;
            color: #784ba0;
            font-style: italic;
            background: rgba(120, 75, 160, 0.1);
            padding: 2px 6px;
            border-radius: 6px;
            display: inline-block;
        }
        .online-list {
            list-style: none;
            padding: 0;
        }

        .online-list li {
            display: flex;
            align-items: center;
            padding: 8px 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .online-list li:last-child {
            border-bottom: none;
        }

        .online-list li:hover {
            background: rgba(120, 75, 160, 0.05);
            padding-left: 8px;
            border-radius: 6px;
        }

        .user {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin-right: 12px;
            position: relative;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        .user.online.admin {
            background: linear-gradient(135deg, #ff6b6b, #ee5a24);
            box-shadow: 0 0 8px rgba(255, 107, 107, 0.5);
        }

        .user.online.moderator {
            background: linear-gradient(135deg, #784ba0, #9d6cc5);
            box-shadow: 0 0 8px rgba(120, 75, 160, 0.5);
        }

        .user.online.user {
            background: linear-gradient(135deg, #2ed573, #1eb56e);
            box-shadow: 0 0 8px rgba(46, 213, 115, 0.5);
        }

        .online-footer {
            margin-top: 16px;
            padding: 12px;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 8px;
            font-size: 13px;
            text-align: center;
            border: 1px solid rgba(120, 75, 160, 0.1);
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .online-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .online-footer strong {
            color: #784ba0;
            font-weight: 600;
        }

        .see-all-btn {
            background: linear-gradient(135deg, #784ba0, #9d6cc5);
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .see-all-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(120, 75, 160, 0.4);
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            animation: fadeIn 0.3s ease;
        }

        .modal.show {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            background-color: #ffffff;
            margin: 5% auto;
            padding: 0;
            border-radius: 16px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: slideIn 0.3s ease;
            overflow: hidden;
        }

        @keyframes slideIn {
            from { transform: translateY(-50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .modal-header {
            background: linear-gradient(135deg, #784ba0, #9d6cc5);
            color: white;
            padding: 20px;
            position: relative;
        }

        .modal-title {
            font-size: 20px;
            font-weight: 700;
            margin: 0;
        }

        .close {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .close:hover {
            transform: translateY(-50%) scale(1.1);
        }

        .modal-body {
            padding: 24px;
        }

        .all-users-list {
            font-size: 14px;
            line-height: 1.8;
            color: #555;
        }

        .user-tag {
            display: inline-block;
            background: rgba(120, 75, 160, 0.1);
            color: #784ba0;
            padding: 2px 8px;
            border-radius: 12px;
            margin: 2px;
            font-weight: 500;
            font-size: 13px;
        }

        .user-tag.admin { background: rgba(255, 107, 107, 0.1); color: #ff6b6b; }
        .user-tag.moderator { background: rgba(120, 75, 160, 0.1); color: #784ba0; }
        .user-tag.user { background: rgba(46, 213, 115, 0.1); color: #2ed573; }

        /* Recent Updates Block */
        .recent-updates {
            background: linear-gradient(135deg, rgba(46, 213, 115, 0.05), rgba(30, 181, 110, 0.05));
        }

        .update-item {
            background: rgba(255, 255, 255, 0.8);
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 10px;
            border-left: 3px solid #2ed573;
            transition: all 0.3s ease;
        }

        .update-item:hover {
            background: rgba(255, 255, 255, 1);
            transform: translateX(4px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .update-date {
            font-size: 11px;
            color: #2ed573;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .update-text {
            font-size: 13px;
            color: #666;
            margin-top: 4px;
        }

        /* Game Statistics Block */
        .game-stats {
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 152, 0, 0.05));
        }

        .stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .stat-item {
            background: rgba(255, 255, 255, 0.8);
            padding: 12px;
            border-radius: 8px;
            text-align: center;
            border-left: 3px solid #ffc107;
            transition: all 0.3s ease;
        }

        .stat-number {
            font-size: 18px;
            font-weight: 700;
            color: #ffc107;
            display: block;
        }

        .stat-label {
            font-size: 11px;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 4px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .sidebar {
                width: 100%;
                margin: 10px;
                border-radius: 12px;
            }

            .sidebar-block {
                padding: 20px;
            }

            .modal-content {
                width: 95%;
                margin: 10% auto;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }
        }
.online-footer {
  font-size: 13px;
  color: #555;
  margin-top: 10px;
}
.social-links {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #f0f0f0;
  transition: background 0.3s ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: #555;
  transition: fill 0.3s ease;
}

.social-link:hover {
  background-color: #784ba0;
}

.social-link:hover svg {
  fill: #fff;
}

/**SIDEBAR END**/

/**TRENDIGN**/
.trending-slider {
  margin-bottom: 60px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.slider-title {
    font-size: 28px;
    color: #784ba0;
    background: #f8f8f8;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
}

.slider-title .icn {
  top:8px;
  margin:0;
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease;
  cursor: grab;
}

.slide {
  position: relative;
  min-width: calc(100% / 3);
  padding: 0 10px;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.slide-content {
  background: white;
  padding: 16px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.slide-icons {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 10px;
    margin: 0 0 0 10px;
    border-radius: 8px;
    align-items: center;
}
.slide-icons svg {
    margin: 0 4px 0 0;
}
.slide-icons .icon {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.slide-icons .icon img {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  filter: invert(1);
}

.slide-content h3 {
  font-size: 18px;
  color: #ff2e63;
  margin-bottom: 6px;
}

.slide-content p {
  font-size: 14px;
  color: #444;
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: var(--main);
  color: white;
  border: none;
  padding: 12px;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
}

.slider-arrow:hover {
  background: #ff2e63;
}

.slider-arrow.left {
  left: 10px;
}

.slider-arrow.right {
  right: 10px;
}

/* Dots */
.slider-dots {
  text-align: center;
  margin-top: 20px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border: none;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.slider-dots button.active {
  background: #ff2e63;
}

/**Single News Articles**/
.news-page {
  margin: 0px auto;
  padding: 0 20px;
  margin: 20px;
  font-family: sans-serif;
}

.news-title {
  font-size: 18px;
  margin: 0;
  padding: 10px;
  font-weight: 700;
  color: #474747;
}
h2.news-title a {
    color: #474747;
}
.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: #555;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f1f1;
  padding: 6px 12px;
  border-radius: 6px;
}
.news-date {
color:#797979;
}
.news-date svg {
  width: 16px;
  height: 16px;
  fill: #784ba0;
  flex-shrink: 0;
}
.meta-item svg {
  width: 16px;
  height: 16px;
  fill: #784ba0;
  flex-shrink: 0;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  font-size: 14px;
  color: #333;
}

.news-main-image {
  width: 100%;
      max-width: 900px;
  border-radius: 6px;
  object-fit: cover;
}

.news-content {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}
.news-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #585858;
  margin-top: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.interaction-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.rating-stars {
  font-size: 20px;
  color: gold;
}

.likes-dislikes button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  margin-left: 10px;
  transition: color 0.2s ease;
}

.likes-dislikes button:hover {
  color: #784ba0;
}

.article-author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f7f7f7;
  border-radius: 8px;
}

.author-avatar-lg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.author-details h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.author-details p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/**Related Articles**/
section.related-articles {
    padding: 20px;
     margin: 20px;
}

.section-title {
  font-size: 24px;
  margin-bottom: 20px;
  border-left: 4px solid var(--main);
  padding-left: 10px;
}

.related-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.related-card {
  flex: 1 1 30%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.related-card:hover {
  transform: translateY(-5px);
}
.related-article-img-container {
    position: relative;
}
.related-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.related-info {
  padding: 12px 16px;
}

.related-info h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.related-info h3 a {
  color: #333;
  text-decoration: none;
}

.related-info h3 a:hover {
  color: #784ba0;
}

.related-meta {
  width: 100%;
  display: flex;
      justify-content: space-between;
  position: absolute;
    bottom: 20px;
  gap: 12px;
  font-size: 13px;
  color: #666;
  align-items: center;
  flex-wrap: wrap;
}

.related-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #00000099;
    margin: 0 10px;
    padding: 4px 10px;
    border-radius: 50px;
    color: #fff;
}
span.ra-meta-item.clock {
    background: #ffffffed;
    margin: 0 10px;
    padding: 4px 10px;
    border-radius: 50px;
    color: #121212;
}
.raitem-left {
    display: flex
;
    text-align: left;
}
.related-meta svg {
  width: 16px;
  height: 16px;
  fill: #784ba0;
}
/**Related Articles**/

/**Single News Articles End**/

/**Comments**/
.comments-section {
    margin: 20px;
  padding: 30px;
}

.comments-title {
  font-size: 22px;
  margin-bottom: 20px;
  border-left: 4px solid #784ba0;
  padding-left: 10px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.comments {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}

.comment.reply {
  margin-left: 1rem;
  background: #fefefe;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  border: 2px solid #eee;
}

.comment-body {
  flex: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
margin-bottom: 15px;
}

.username {
  font-weight: 600;
  color: #784ba0;
  font-size: 1rem;
}

.date {
  font-size: 0.8rem;
  color: #999;
}

.comment-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0.5rem 0 0.8rem;
      position: relative;
    padding-top: 15px;
    background: #f3f3f3;
    border-radius: 10px;
    padding: 15px;
}
.comment-text::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #f0f0f0;
    box-sizing: content-box;
}
.comment-actions {
  display: flex;
  gap: 1.2rem;
  font-size: 0.88rem;
}

.reply-link,
.report-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-weight: 500;
  transition: color 0.2s;
}

.reply-link {
  color: #784ba0;
  text-decoration: none;
}

.reply-link:hover {
  color: #401962;
  text-decoration: underline;
}

.report-button {
  color: #dc3545;
  background-color: none !important;
}

.report-button:hover {
  color: #a71d2a;
  text-decoration: underline;
}

.comment-form {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.comment-form h3 {
  margin-bottom: 16px;
  font-size: 18px;
}

.comment-form textarea {
  width: 100%;
  height: 100px;
  resize: vertical;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 14px;
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-actions input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  flex: 1 1 200px;
}

.form-actions button {
  padding: 10px 20px;
  background: #784ba0;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.form-actions button:hover {
  background: #6a3d92;
}
/**Comments End**/

/* Sidebar */
.forum-sidebar {
  width: 280px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.user-profile {
  text-align: center;
  margin-bottom: 20px;
}

.user-profile img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.user-profile h3 {
  font-size: 16px;
  margin-top: 10px;
}

.user-profile span {
  color: #784ba0;
}

.user-links {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.user-links li a {
  display: block;
  padding: 4px 0;
  color: #444;
  font-size: 14px;
  text-decoration: none;
}

.sidebar-block {
  margin-top: 24px;
}

.sidebar-block h4 {
  font-size: 15px;
  margin-bottom: 8px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 4px;
}

.latest-posts,
.online-users,
.forum-stats {
  list-style: none;
  padding: 0;
  font-size: 14px;
}

.latest-posts li,
.forum-stats li,
.online-users li {
  margin-bottom: 6px;
}

.latest-posts a {
  color: #333;
  text-decoration: none;
}

.latest-posts span {
  color: #888;
  font-size: 12px;
}

.online-dot {
  width: 8px;
  height: 8px;
  background: #33cc66;
  display: inline-block;
  border-radius: 50%;
  margin-right: 6px;
}

.forum-latest {
    padding: 40px 20px;
    margin: 0 auto;
    margin: 40px 0 0 0;
    padding: 30px;
    border-radius: 16px;
}

.forum-title {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #222;
}

.forum-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.forum-post {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.forum-post:last-child {
  border-bottom: none;
}

.forum-post a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: var(--main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.forum-post a:hover {
  color: #1558b0;
}

.meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #777;
  font-size: 14px;
  margin-top: 6px;
}

.icn {
  flex-shrink: 0;
}

.icn.small {
  width: 18px;
  height: 18px;
}

.icn.user {
  width: 16px;
  height: 16px;
  color: #999;
}

/**Language Dropdown END**/
.forum-list {
      display: flex;
    flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.forum-post {
  background: #fff;
border-bottom: 1px solid #eee;
    flex: 45% 0 1;
    width: 45%;
    margin: 5px;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    padding: 30px 10px;
}

.forum-post a {
  font-weight: bold;
  display: flex;
  align-items: center;
  color: #784ba0;
  text-decoration: none;
  margin-bottom: 0px;
}

.icn.small {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    top: 0;
}

.meta-f {
    font-size: 0.85em;
    color: #666;
    gap: 6px;
    margin-top: 15px;
    position: relative;
}
.meta-f strong {
    font-size: 1rem;
}
.icn.user {
  width: 20px;
  height: 20px;
}
.latest-forum-user {
    display: inline-block;
}
.latest-forum-user a {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
}
.preview-bubble {
    display: block;
    position: relative;
    top: 100%;
    left: 0;
    margin-top: 6px;
    margin: 15px;
    background: #f1f1f1;
    color: #333;
    font-size: 15px;
    padding: 12px;
    border-radius: 9px;
    line-height: 1.4;
overflow-wrap: anywhere;
    text-overflow: ellipsis;
    color: #414141;
}
.preview-bubble::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #f0f0f0;
    box-sizing: content-box;
}
@media (max-width: 1280px) {
  .wrapp {
    flex-wrap: wrap;
  }
  .sidebar {
    order:2;
  }
  .main-content {
    order:1;
  }
}
@media (max-width: 768px) {
  /* Hide desktop links */
  .header-user-section {
    display: none;
  }

  /* Show mobile icon */
  #mobile-user-toggle {
    display: block;
    cursor: pointer;
  }

  .user-menu-mobile {
    position: absolute;
    top: 100%;
    right: 10px;
    background: #222;
    border: 1px solid #444;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    padding: 10px;
    z-index: 1000;
  }

  .user-menu-mobile a {
    color: #fff;
    padding: 6px 12px;
    text-decoration: none;
    white-space: nowrap;
  }

  .user-menu-mobile a:hover {
    background: #333;
    border-radius: 6px;
  }

  .user-menu-mobile.active {
    display: flex;
  }
.register {
    margin: 0;
}
}
@media (max-width: 768px) {
  .burger {
    display:flex;
  }
  .burger span {
    display: block;
}
.nav-bar {
    position: fixed;   /* lock the menu while scrolling */
    top: 54px;
    left: 0;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 50%;
    height: 100vh;      /* full height */
    padding: 1rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;   /* if there are many items - scroll inside the menu */
}

a.nav-link {
    color: #000;
    border-bottom: 1px solid #dbdbdb;
    padding: 0px 0 10px 0;
    margin: 0px 0 0px 0;
    text-align: center;
}
  .nav-bar.active {
    transform: translateX(0); /* Showing the menu */
  }
}
.bottom-article {
  display: flex;
  align-items: center;
  padding: 20px;
border-top: 2px dashed #c9c9c9;
  margin-top: 40px;
}

.article-author-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.author-avatar-lg {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.author-name span {
  color: #0077cc;
}

.article-count {
  font-size: 0.9rem;
  color: #777;
  margin: 4px 0 12px;
}

.author-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
      margin: 10px;
}

.btn {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.follow-btn {
  background-color: #f0f0f0;
  color: #333;
}
.follow-btn svg {
    margin: 0 5px 0 0;
}
.follow-btn:hover {
  background-color: #ddd;
}

.message-btn {
  background-color: #784ba0;
  color: white;
}
.message-btn svg {
    margin: 0 5px 0 0;
}
.message-btn:hover {
  background-color: #0056b3;
}

.article-share {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 15px;
}

.article-share h2 {
  font-size: 1.5rem;
    margin: 0 15px 0 0;
  color: #333;
  font-weight: 600;
  text-align: center;
}

.share-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.share-links li {
  display: inline-block;
}

.share-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #e1e1e1;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.2s ease;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.share-links a svg {
  fill: currentColor;
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

/* Colors for social media */
.share-links a.telegram {
  background-color: #0088cc;
}
.share-links a.facebook {
  background-color: #3b5998;
}
.share-links a.x {
  background-color: #1da1f2;
}
.share-links a.reddit {
  background-color: #ff4500;
}
.share-links a.tumblr {
  background-color: #35465c;
}
.share-links a.flipboard {
  background-color: #f52828;
}
.share-links a.weibo {
  background-color: #e6162d;
}
.share-links a.line {
  background-color: #00c300;
}

/* Hover effects */
.share-links a:hover,
.share-links a:focus {
  background-color: #555;
  transform: scale(1.1);
  outline: none;
}

.share-links a:hover svg,
.share-links a:focus svg {
  transform: scale(1.2);
}
.rating-row {
  gap: 30px;
  padding: 20px;
  background: #f9fbff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(37, 117, 252, 0.12);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.like-dislike {
  display: flex;
  gap: 20px;
}

.like-dislike button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border-radius: 12px;
  border: none;
  padding: 10px 18px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(37, 117, 252, 0.2);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.15s ease,
    box-shadow 0.3s ease;
  user-select: none;
}

.like-dislike button svg {
  stroke: #784ba0;
  width: 26px;
  height: 26px;
  transition: stroke 0.3s ease;
}

.like-dislike button .count {
  min-width: 22px;
  text-align: center;
  color: #000;
  user-select: none;
}

.like-dislike button:hover:not(:disabled) {
  background-color: #784ba0;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 117, 252, 0.45);
}

.like-dislike button:hover:not(:disabled) svg {
  stroke: white;
}

.like-dislike button.active {
  background-color: #784ba0;
  color: white;
  box-shadow: 0 6px 20px rgba(0, 72, 193, 0.7);
}

.like-dislike button.active svg {
  stroke: white;
}

.like-dislike button:disabled {
  cursor: default;
  opacity: 0.6;
  box-shadow: none;
  transform: none;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.star-rating .star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 4px;
  transition: transform 0.2s ease;
}

.star-rating .star-btn svg {
  width: 28px;
  height: 28px;
  stroke: #ffc107;
  fill: none;
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.star-rating .star-btn.filled svg {
  fill: #ffc107;
  stroke: #ffc107;
}

.star-rating .star-btn:hover svg {
  transform: scale(1.15);
}

.star-rating__text {
  font-size: 0.95rem;
  color: #444;
  font-weight: 600;
  min-width: 140px;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .interaction-row {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .like-dislike {
    justify-content: center;
  }
  .star-rating {
    justify-content: center;
  }
  .star-rating__text {
    min-width: auto;
    text-align: center;
  }
}

.notification-btn {
    position: relative;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.notification-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: red;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

.notification-dropdown {
    position: absolute;
    top: 130%;
    right: 0;
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border-radius: 6px;
    z-index: 1000;
}

.notification-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.notification-item:hover,
.notification-item:focus {
    background-color: #f0f0f0;
    outline: none;
}

.notification-empty {
    padding: 15px;
    text-align: center;
    color: #999;
}
   .star-btn svg path {
  stroke: #ffc107;
  fill: none;
  transition: fill 0.2s;
}

.star-btn.filled svg path {
  fill: #ffc107;
  stroke: #ffc107;
}
.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0 2px;
}
   .star-btn svg path {
  stroke: #ffc107;
  fill: none;
  transition: fill 0.2s;
}

.star-btn.filled svg path {
  fill: #ffc107;
  stroke: #ffc107;
}
.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0 2px;
}
 .rules-link-box {
  display: block;
  text-align: center;
  margin: 0 auto;
 }
 .rules-link-box a {
display: inline-block;
width:50%;
    background-color: #f0f4ff;
    border: 1px solid #c2d1f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 17px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}
  .rules-link-box a:hover {
    text-decoration: underline;
  }
  section.tags {
    margin: 20px;
}