.footer-nav-links {
  margin-bottom: 10px;
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav-links a {
  color: #ffffff; /* White color */
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  font-family: sans-serif;
  transition: 0.3s;
}

.footer-nav-links a:hover {
  color: #00aaff;
}
.footer-content p {
  padding: 12px 15px;
  text-align: center;
  margin: 10px 0;
  font-size: 13px;
}

@media (max-width: 600px) {
  .footer-nav-links {
    gap: 10px;
    font-size: 12px;
  }
}
/* Import Inter - One of the most readable screen fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none !important;
  color: var(--accent-light);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

a:visited {
  color: #fff;
}

.category-tag,
.category-tag:hover,
.category-tag:visited,
.category-tag:active,
.category-tag:focus {
  color: inherit !important;
  text-decoration: none !important;
  outline: none;
}

:root {
  /* Dark colors matching reference image */
  --bg-dark: #0c0c10;
  --bg-card: #141418;
  --bg-hover: #1c1c22;
  --accent: #7c5cfc;
  --accent-light: #a78bfa;
  --accent-soft: rgba(124, 92, 252, 0.12);

  /* Text colors */
  --text-primary: #e8e8f0;
  --text-secondary: #a0a0b0;
  --text-muted: #6a6a78;
  --border: #222230;
  --notice-bg: #12121a;
  --notice-border: rgba(124, 92, 252, 0.35);

  /* Typography scale */
  --font-xs: 0.75rem;
  --font-sm: 1rem;
  --font-base: 0.875rem;
  --font-md: 0.95rem;
  --font-lg: 1.125rem;
  --font-xl: 1.35rem;
  --font-2xl: 1.75rem;
}

html {
  background-color: #040506;
  overscroll-behavior-x: none;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: -apple-system, "Inter", BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient( 900px 500px at 15% 10%, #3d4d59 0%, transparent 60% ), radial-gradient(700px 400px at 85% 20%, #301957 0%, transparent 60%), linear-gradient(217deg, #1341ae00, #001021);
  color: #fff;
  min-height: 100vh;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.glass {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

/* Sticky Transparent Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(121deg, rgb(57, 54, 62), rgba(255, 1, 1, 0.42));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid #000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Desktop Navigation */
.nav-menu {
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 15px;
  color: #ffffff;
  text-decoration: none;
  font-size: var(--font-sm);
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.dropdown-icon {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform 0.2s;
}

.nav-item.has-submenu:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dwd-button {
  margin: 8px;
  color: white;
  border: none;
  font-size: large;
  cursor: pointer;
  min-width: 190px !important;
  padding: 10px;
  background: linear-gradient(
    135deg,
    rgba(103, 223, 3, 0.72),
    rgba(19, 86, 213, 0.72)
  ) !important;
  border-radius: 10% !important;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  box-shadow: 0 0 0 -7px #1a202c;
}

.dwd-button:hover {
  box-shadow: 2px 10px 15px -14px #ffff;
}

/* Submenu */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.nav-item.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li a {
  display: block;
  padding: 10px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--font-sm);
  transition: all 0.2s;
}

.submenu li a:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

/* Search Bar */
.search-bar {
  position: relative;
  /* width: 100%; */
  max-width: 300px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  padding: 10px 30px 10px 40px;
  background: #ffffff00;
  border: 1px solid #8d8da5;
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--font-sm);
  transition: all 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-hover);
}

.search-input::placeholder {
  color: var(--text-muted);
}

/* Mobile Side Menu Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: #1414183b;
  backdrop-filter: blur(3px);
  z-index: 1002;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.side-menu.active {
  transform: translateX(0);
}

.side-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.close-menu {
  width: 34px;
  height: 34px;
  background: var(--bg-hover);
  border: none;
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.close-menu:hover {
  background: var(--bg-dark);
  color: var(--text-primary);
}

.close-menu svg {
  width: 16px;
  height: 16px;
}

.side-nav {
  padding: 12px 0;
}

.side-nav-list {
  list-style: none;
}

.side-nav-item {
  border-bottom: 1px solid var(--border);
}

.side-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  color: #ffffff;
  text-decoration: none;
  /* font-size: var(--font-base); */
  font-weight: 500;
  transition: all 0.2s;
}

.side-nav-link:hover,
.side-nav-link.active {
  color: var(--text-primary);
  background: #33334d69;
}

.side-nav-link .dropdown-icon {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  transition: transform 0.3s;
}

.side-nav-item.open .dropdown-icon {
  transform: rotate(180deg);
}

.side-submenu {
  display: none;
  list-style: none;
  /* background: var(--bg-dark); */
}

.side-nav-item.open .side-submenu {
  display: block;
}

.side-submenu li a {
  display: block;
  padding: 12px 18px 12px 32px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.side-submenu li a:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

/* App Container */
.app-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 72px 32px 36px;
}

/* Notice Section */
.notice-section {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--notice-bg);
  border: 1px solid var(--notice-border);
  border-radius: 10px;
  padding: 3px 16px;
  margin-bottom: 20px;
}

.notice-icon {
  padding-top: 8px;
  flex-shrink: 0;
}

.notice-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.notice-text {
  flex: 1;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.notice-text strong {
  color: var(--accent-light);
  font-weight: 600;
}

.notice-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  color: #ffcc00;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s;
}

.notice-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.notice-close svg {
  width: 14px;
  height: 14px;
}

.notice-section.hidden {
  display: none;
}

/* Hero Section */
.hero-section {
  padding-top: 16px;
  position: relative;
  margin-bottom: 28px;
}

.hero-slider {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.hero-banner {
  position: relative;
  height: 300px;
  display: none; /* Hide by default */
  animation: fadeIn 0.5s ease-in-out;
}

.hero-banner.active {
  display: block; /* Show active */
}

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

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Dark gradient on text side - matching reference */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 12, 16, 1) 0%,
    rgba(12, 12, 16, 0.98) 15%,
    rgba(12, 12, 16, 0.92) 30% 30%,
    rgb(12 12 16 / 0%) 50%,
    rgb(12 12 16 / 0%) 70%,
    rgba(12, 12, 16, 0.1) 90%,
    rgba(12, 12, 16, 0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 28px 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 480px;
}

.hero-title {
  font-size: var(--font-2xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-description {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn {
  padding: 10px 24px;
  border: none;
  border-radius: 15%;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: fit-content;
  margin: 2px;
  min-width: 230px;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: #6b4ce0;
  transform: translateY(-1px);
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.hero-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.hero-nav svg {
  width: 33px;
  height: 26px;
}

.hero-prev {
  left: 14px;
}

.hero-next {
  right: 14px;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  width: 34px;
  border-radius: 4px;
  background: var(--accent);
}

.logo-image {
  padding-top: 0px;
  width: 190px;
  /*object-fit: cover; */
}

/* Content Section */
.content-section {
  margin-bottom: 32px;
}

.section-title {
  display: flex;
  font-size: var(--font-xl);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.material-icons {
  padding-top: 4px;
}

/* Movies Grid */
.movies-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

/* Poster Card - Gradient Border Effect */
.poster-card {
  /*background: linear-gradient(rgb(34, 34, 34), rgb(34, 34, 34)) no-repeat padding-box, linear-gradient(to right, rgb(196, 152, 17), rgb(48, 171, 23));*/

  /*   backdrop-filter: blur(12px); */
  /*   -webkit-backdrop-filter: blur(12px); */
  border: 1px solid rgba(255, 255, 255, 0.12);
  /*border-radius: 20px;*/
  /*padding: 8px;*/
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.poster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 18px rgb(80 92 161 / 43%), 0 0 32px rgb(214 107 255 / 0%),
    0 0 50px rgb(255 110 199 / 0%);
}

/* Inner Card */
.poster-inner {
  /* background: #14182a; */
  /*border-radius: 10px;*/
  overflow: hidden;
  height: 100%;
}

.poster-image {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(rgb(34, 34, 34), rgb(34, 34, 34)) no-repeat
      padding-box,
    linear-gradient(to right, rgb(196, 152, 17), rgb(48, 171, 23));
  border-width: 1.5px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0);
  border-image: initial;
}

.poster-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.poster-card:hover .poster-image img {
  transform: scale(1.05);
}

.poster-quality {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: #db0a0a;
  padding: 2px 8px;
  border-radius: 15%;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  /*   backdrop-filter: blur(4px); */
}

.poster-info {
  padding: 14px 6px;
  /* background: #14182a; */
}

/* Title - Full display, no truncation */
.poster-title {
  font-size: 0.9rem;
  /* line-height: 1.4; */
  /* margin-bottom: 6px; */
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.poster-year {
  font-size: 0.8rem;
  color: #9aa3b2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px 0 30px;
  background: #010101;
  border-radius: 15%;
}

.page-btn {
  width: 40px;
  height: 38px;
  background: #ffdb18;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
  background: #ffffff;
  color: var(--text-primary);
  border-color: var(--accent);
}

.page-btn:disabled {
  opacity: inherit;
  cursor: not-allowed;
}

.page-btn svg {
  width: 22px;
  height: 25px;
  color: black;
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-num {
  min-width: 45px;
  height: 38px;
  padding: 0 8px; /* Add padding for breathing room */
  background: #ffdb18;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #000000 !important;
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex; /* Ensure flex centering works */
  align-items: center;
  justify-content: center;
}

.page-num:hover {
  background: #ffffff;
  color: #000;
}

.page-num.active {
  background: #f40b0b;
  color: white !important;
  border: 1px solid white !important;
  min-width: 40px;
  height: 40px;
}

.page-dots {
  color: var(--text-muted);
  padding: 0 4px;
  font-size: var(--font-sm);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .movies-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 992px) {
  .header-container {
    padding: 10px 20px;
  }

  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .search-bar {
    max-width: none;
    flex: 1;
  }

  .app-container {
    padding: 65px 20px 30px;
  }

  .movies-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .hero-banner {
    height: 250px;
  }

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

@media (max-width: 768px) {
  :root {
    --font-xs: 0.7rem;
    --font-sm: 0.78rem;
    --font-base: 0.825rem;
  }

  .header-container {
    padding: 10px 14px;
    gap: 10px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .search-input {
    padding: 9px 12px 9px 34px;
  }

  .app-container {
    padding: 60px 14px 26px;
  }

  .notice-section {
    padding: 10px 12px;
    gap: 10px;
  }

  .hero-banner {
    height: 220px;
  }

  .hero-content {
    padding: 20px;
  }

  .hero-title {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }

  .hero-description {
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .btn {
    padding: 10px 10px !important;
    min-width: 230px;
    margin-bottom: 15px !important;
    border-radius: 15%;
  }

  .hero-nav {
    width: 34px;
    height: 34px;
  }

  .hero-nav svg {
    width: 16px;
    height: 16px;
  }

  .hero-prev {
    left: 10px;
  }

  .hero-next {
    right: 10px;
  }

  .movies-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .section-title {
    font-size: 1.1rem;
  }

  .page-btn,
  .page-num {
    width: 25px;
  }
  
  .bottom-row .p-btn {
  	padding: 0 20px !important;
  	min-width: 142px !important;
   }
}

.responsive-device-btn {
  display: none !important;
  background: linear-gradient(90deg, #ff2d55, #ff5f89);
  color: #fff !important;
  border: none;
  padding: 12px 15px;
  font-size: 15px;
  border-radius: 15%;
  cursor: pointer;
  box-shadow: 1px 1px 1px rgb(255 45 85 / 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  font-weight: 600 !important;
  margin-top: 1px;
}

/* for mobile devices */
@media (max-width: 480px) {
  :root {
    --font-xs: 0.65rem;
    --font-sm: 0.72rem;
    --font-base: 0.78rem;
  }
  
  .breadcrumb {
    display: none;
  }
  .top-row .p-btn {
    padding: 0 !important;
  }
  .logo-image {
    height: 38px;
    width: 155px !important;
    padding-top: 0px !important;
  }
.portal-container {
    padding: 5px !important;
  }
  .hero-section {
    margin-bottom: 10px;
  }

  .header-container {
    gap: 8px;
  }

  .logo-icon {
    width: 20px;
    height: 20px;
  }

  .logo-text {
    font-size: 0rem;
  }

  .search-input {
    padding: 8px 10px 8px 32px;
  }

  .app-container {
    padding: 56px 10px 22px;
  }

  .notice-section {
    flex-wrap: wrap;
    padding: 10px;
    position: relative;
  }

  .notice-icon {
    display: none;
  }

  .notice-text {
    flex: 1 1 100%;
    order: 1;
    padding-right: 24px;
  }

  .notice-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
  }

  .hero-banner {
    height: 180px;
    display: none; /* Hide by default */
    animation: fadeIn 0.5s ease-in-out;
  }

  .material-icons {
    padding-top: 0px;
  }

  .hero-banner.active {
    display: block; /* Show active */
  }

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

  .hero-content {
    padding: 14px;
    background: #00000030;
  }

  .hero-title {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }

  .hero-description {
    margin-bottom: 12px;
  }

  .btn {
    padding: 8px 16px;
  }

  .hero-nav {
    width: 30px;
    height: 30px;
  }

  .hero-prev {
    left: 8px;
  }

  .hero-next {
    right: 8px;
  }

  .movies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .poster-card {
    /*border-radius: 14px;*/
  }

  .poster-inner {
    /*border-radius: 12px;*/
  }

  .poster-info {
    padding: 10px 2px;
  }

  .poster-title {
    font-size: 0.9rem;
  }

  .poster-year {
    font-size: 0.75rem;
  }

  .section-title {
    font-size: 1rem;
    margin-bottom: 14px;
  }

  .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .page-btn,
  .page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px; /* Add padding for content breathing room */
    border-radius: 6px;
    background: #ffdb18;
    color: #fff;
    border: 1px solid #fff;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 33px;
    height: 32px;
  }

  .page-num:hover,
  .page-btn:hover:not(:disabled) {
    background: #fff;
    color: #fff;
  }

  .page-num.active {
    background: #7b6ef6;
    border-color: #7b6ef6;
    color: #fff;
  }

  .page-btn:disabled {
    opacity: inherit;
    cursor: not-allowed;
    background: #ffdb18;
    border-color: #fff;
  }

  .page-dots {
    color: #666;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
  }

  .page-numbers {
    gap: 4px;
    display: inline-flex;
  }

  .side-menu {
    width: 260px;
  }
}

/* Container for the buttons */
.portal-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 15px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  align-items: center;
}

/* Row setups */
.top-row,
.bottom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

/* Unified Button Base */
.p-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.1s ease, filter 0.2s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.p-btn:active {
  transform: scale(0.96);
}

.p-btn:hover {
  filter: brightness(1.1);
  box-shadow: 2px 10px 15px -14px #ffff;
  color: white;
}

/* Top Row Specifics - Exact Height and Width consistency */
.top-row .p-btn {
  border-radius: 15%;
  font-size: 14px;
  min-width: 180px;
  color: #000;
  padding: 10px 20px;
  text-transform: uppercase;
}

.btn-rog {
  background-color: #1aff1a;
}

.btn-goku {
  background-color: #80ffff;
}

.btn-xprime {
  background-color: #ffa500;
}

.btn-telegram {
  padding: 6px;
  background-color: #1a6d96;
  color: #ffffff !important;
}

/* Bottom Row Specifics - Matching Height and Shape */
.bottom-row .p-btn {
  height: 35px;
  padding: 0 20px;
  border-radius: 15%;
  font-size: 15px;
  background-color: #db501a;
  color: #ffffff;
  min-width: 122px;
}

/* Download App Button - Full width gradient */
.btn-download {
  grid-column: 1 / -1;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f87171 0%, #ec4899 50%, #f472b6 100%);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.35);
  gap: 8px;
}

.btn-download:hover {
  background: linear-gradient(135deg, #fb7185 0%, #db2777 50%, #ec4899 100%);
  box-shadow: 0 6px 25px rgba(236, 72, 153, 0.5);
}

/* Icon alignment */
.p-icon {
  margin-right: 6px;
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

sup {
  font-size: 11px;
  margin-left: 1px;
  font-weight: 800;
  vertical-align: super;
}

/* Portal buttons - Mobile 2 column grid */
@media (max-width: 480px) {
  .top-row,
  .bottom-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: auto !important;
  }

  .btn-download {
    grid-column: 1 / -1;
  }
.app-container {
    padding: 70px 0px 20px !important;
  }
.top-row .p-btn {
    min-width: 153px !important;
    padding: 8px 2px 8px 0px !important;
  }
  .content-section {
  padding: 7px !important;
}
}

/* =====================================================
   WordPress Comments Section
   ===================================================== */

/* Comments Container */
.comments-area,
#comments {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 32px;
}

/* Comments Title */
.comments-title,
#comments-title,
.comments-area h2,
.comments-area h3 {
  font-size: var(--font-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
}

/* Comment List */
.comment-list,
.commentlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Individual Comment */
.comment,
.comment-body {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.comment:last-child,
.comment-body:last-child {
  border-bottom: none;
}

/* Nested/Reply Comments */
.children {
  list-style: none;
  padding-left: 24px;
  margin-left: 24px;
  border-left: 2px solid var(--accent-soft);
}

.children .comment {
  padding: 16px 0;
}

/* Comment Author Info */
.comment-author,
.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-author .avatar,
.comment-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent-soft);
  object-fit: cover;
}

.comment-author .fn,
.comment-author .says,
.comment-author b,
.comment-author a {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--font-base);
}

.comment-author .says {
  display: none;
}

/* Comment Metadata (date, time) */
.comment-metadata,
.comment-meta time,
.commentmetadata {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.comment-metadata a,
.commentmetadata a {
  color: var(--text-muted);
}

.comment-metadata a:hover,
.commentmetadata a:hover {
  color: var(--accent-light);
}

/* Comment Content */
.comment-content,
.comment-text {
  color: var(--text-secondary);
  font-size: var(--font-sm);
  line-height: 1.7;
  margin: 12px 0;
}

.comment-content p {
  margin-bottom: 12px;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

/* Comment Links */
.comment-content a {
  color: var(--accent-light);
  text-decoration: underline;
  text-decoration-color: rgba(167, 139, 250, 0.3);
  text-underline-offset: 2px;
}

.comment-content a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* Reply Link */
.reply,
.comment-reply-link {
  margin-top: 12px;
}

.reply a,
.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent-light);
  font-size: var(--font-xs);
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.reply a:hover,
.comment-reply-link:hover {
  background: var(--accent);
  color: white;
}

/* Edit Link */
.comment-edit-link {
  font-size: var(--font-xs);
  color: var(--text-muted);
  margin-left: 10px;
}

.comment-edit-link:hover {
  color: var(--accent-light);
}

/* Awaiting Moderation */
.comment-awaiting-moderation {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  font-size: var(--font-xs);
  border-radius: 4px;
  margin-top: 8px;
}

/* =====================================================
   Comment Form
   ===================================================== */

#respond,
.comment-respond {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

/* Reply Title */
#reply-title,
.comment-reply-title {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#cancel-comment-reply-link {
  font-size: var(--font-xs);
  color: var(--text-muted);
  padding: 4px 10px;
  background: var(--bg-hover);
  border-radius: 4px;
}

#cancel-comment-reply-link:hover {
  color: var(--accent-light);
  background: var(--accent-soft);
}

/* Comment Form */
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-form label {
  display: block;
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.comment-form .required {
  color: #ef4444;
}

/* Form Inputs */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--font-sm);
  transition: all 0.2s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: var(--text-muted);
}

.comment-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

/* Form Notes */
.comment-notes,
.logged-in-as {
  font-size: var(--font-xs);
  color: var(--text-muted);
  margin-bottom: 8px;
}

.logged-in-as a {
  color: var(--accent-light);
}

/* Submit Button */
.comment-form .submit,
.form-submit input[type="submit"],
#submit {
  padding: 12px 28px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: fit-content;
}

.comment-form .submit:hover,
.form-submit input[type="submit"]:hover,
#submit:hover {
  background: #6b4ce0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 92, 252, 0.4);
}

.comment-form .submit:active,
.form-submit input[type="submit"]:active,
#submit:active {
  transform: translateY(0);
}

/* Cookie Consent Checkbox */
.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.comment-form-cookies-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-top: 2px;
}

.comment-form-cookies-consent label {
  margin-bottom: 0;
  font-size: var(--font-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

/* Form Fields Layout */
.comment-form-author,
.comment-form-email,
.comment-form-url {
  flex: 1;
}

/* Navigation Between Comments */
.comment-navigation,
.comments-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

.comment-navigation a,
.comments-pagination a {
  padding: 8px 16px;
  background: var(--bg-hover);
  color: var(--text-secondary);
  border-radius: 6px;
  font-size: var(--font-sm);
  font-weight: 500;
}

.comment-navigation a:hover,
.comments-pagination a:hover {
  background: var(--accent-soft);
  color: var(--accent-light);
}

/* No Comments Message */
.no-comments {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: var(--font-sm);
}

/* Pingback/Trackback Styling */
.pingback,
.trackback {
  padding: 12px 16px;
  background: var(--bg-hover);
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.pingback a,
.trackback a {
  color: var(--accent-light);
}

/* Comments Closed Notice */
.comments-closed,
.nocomments {
  text-align: center;
  padding: 24px;
  background: var(--notice-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: var(--font-sm);
}

/* =====================================================
   Comments Responsive Styles
   ===================================================== */

@media (max-width: 768px) {
  .comments-area,
  #comments {
    padding: 18px;
    margin-top: 24px;
  }

  .comments-title,
  #comments-title {
    font-size: var(--font-lg);
    margin-bottom: 18px;
    padding-bottom: 12px;
  }

  .children {
    padding-left: 16px;
    margin-left: 12px;
  }

  .comment-author .avatar,
  .comment-author img {
    width: 36px;
    height: 36px;
  }

  #respond,
  .comment-respond {
    padding: 18px;
  }

  .comment-form textarea {
    min-height: 120px;
  }
}

@media (max-width: 480px) {
  .comments-area,
  #comments {
    padding: 14px;
    border-radius: 10px;
  }

  .comment,
  .comment-body {
    padding: 14px 0;
  }

  .children {
    padding-left: 12px;
    margin-left: 8px;
  }

  .comment-author .avatar,
  .comment-author img {
    width: 32px;
    height: 32px;
  }

  #respond,
  .comment-respond {
    padding: 14px;
  }

  .comment-form input[type="text"],
  .comment-form input[type="email"],
  .comment-form input[type="url"],
  .comment-form textarea {
    padding: 10px 12px;
  }

  .comment-form .submit,
  .form-submit input[type="submit"],
  #submit {
    width: 100%;
    padding: 12px 20px;
  }
}