*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body.aom-page-body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  margin: 0;
  padding: 0;
}

:root {
  --navy-950: #04060c;
  --navy-900: #080b15;
  --navy-800: #0f1524;
  --ink: #eef1f7;
  --ink-dim: rgba(238, 241, 247, .66);
  --ink-faint: rgba(238, 241, 247, .4);
  --accent: #1b5ef7;
  --accent-bright: #3d78ff;
  --accent-soft: rgba(27, 94, 247, .16);
  --bg: #050810;
  --dark: #0a0e18;
  --dark2: #0f1524;
  /* --text: #eef1f7; */
  --muted: #9aa0b0;
  --faint: #6b7280;
  --blue: #3d78ff;
  --grad: linear-gradient(135deg, #1b5ef7 0%, #3d78ff 45%, #60a5fa 100%);
  --radius: 14px;
}

.aom-home-wrapper {
  background-color: var(--bg);
  color: var(--text);

  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 0;
}

.aom-home-wrapper a {
  text-decoration: none;
  color: inherit;
}

.aom-container {
  width: min(1240px, 92%);
  margin-inline: auto;
}

/* HERO SECTION */
.aom-hero-sec {
  position: relative;
  background: radial-gradient(circle at top center, rgba(61, 120, 255, 0.16) 0%, rgba(5, 8, 16, 0) 70%),
    linear-gradient(180deg, #080b15 0%, #050810 100%);
  padding: 140px 0 60px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.aom-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 30px;
  background: rgba(27, 94, 247, 0.16);
  border: 1px solid rgba(61, 120, 255, 0.3);
  color: #3d78ff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}

.aom-hero-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}

.aom-hero-title span {
  background: linear-gradient(135deg, #60a5fa 0%, #3d78ff 45%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.aom-hero-lead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(238, 241, 247, 0.72);
  line-height: 1.65;
  max-width: 68ch;
  margin: 0 auto 30px auto;
}

/* UPCOMING 2-CARD SLIDER SECTION */
.aom-featured-sec {
  padding: 50px 0 40px 0;
}

.aom-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.aom-sec-head h2 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.4px;
}

/* Slider Controls (Left & Right Arrow Buttons) */
.upcoming-slider-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.up-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.up-nav-btn:hover {
  background: #3d78ff;
  border-color: #3d78ff;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(61, 120, 255, 0.4);
}

.up-nav-btn:active {
  transform: scale(0.96);
}

/* 2-Card Viewport & Slider Track */
.upcoming-slider-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 20px;
  padding: 4px;
}

.upcoming-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.aom-feat-card-slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
  background: #0f1524;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
}

@media (max-width: 1024px) {
  .aom-feat-card-slide {
    flex: 0 0 calc(50% - 12px);
    min-width: calc(50% - 12px);
  }
}

@media (max-width: 640px) {
  .aom-feat-card-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }
}

.aom-feat-card-slide:hover {
  border-color: rgba(61, 120, 255, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.aom-card-banner {
  position: relative;
  height: 200px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  background: #0d1322;
}

.aom-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  /* object-fit: cover; */
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.aom-feat-card-slide:hover .aom-banner-img {
  transform: scale(1.06);
}

.aom-card-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(13, 19, 34, 0.8) 0%, rgba(13, 19, 34, 0.25) 60%, rgba(13, 19, 34, 0.85) 100%);
  z-index: 2;
  pointer-events: none;
}

.banner-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 3;
}

.banner-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.85);
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease;
}

.banner-tag-pos-bot-right {
  position: absolute;
  bottom: 5px;
  right: 12px;
  z-index: 3;
}

.banner-tag:hover {
  background: rgba(56, 189, 248, 0.25);
  color: #ffffff !important;
  border-color: rgba(56, 189, 248, 0.7);
}

.banner-author {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  color: #ffffff !important;
  text-decoration: none;
}

.author-avatar-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.author-info-text {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.banner-big-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  z-index: 2;
}

.aom-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.aom-card-date {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.aom-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 10px;
}

.aom-card-title a {
  color: #ffffff;
  transition: color 0.3s ease;
}

.aom-card-title a:hover {
  color: #60a5fa;
}

.aom-card-desc {
  font-size: 13.5px;
  color: rgba(238, 241, 247, 0.7);
  line-height: 1.6;
  margin-bottom: 20px;
}

.aom-card-foot-right,
.aom-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.aom-card-author {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.aom-card-author:hover {
  color: #38bdf8;
}

.aom-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #3d78ff;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.aom-card-btn:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* CTA BANNER SECTION (RIGHT AFTER UPCOMING SECTION) */
.aom-cta-sec {
  padding: 30px 0 50px 0;
  position: relative;
}

.aom-cta-banner {
  position: relative;
  background: linear-gradient(135deg, #0f1524 0%, #080b15 60%, #0a0e18 100%);
  border: 1px solid rgba(61, 120, 255, 0.25);
  border-radius: 24px;
  padding: 50px 40px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.aom-cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.aom-cta-banner h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.aom-cta-banner p {
  font-size: 15.5px;
  color: rgba(238, 241, 247, 0.75);
  line-height: 1.6;
  margin-bottom: 26px;
}

.aom-cta-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cyan-glow {
  background: linear-gradient(135deg, #1b5ef7, #3d78ff);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(27, 94, 247, 0.35);
}

.btn-cyan-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(61, 120, 255, 0.5);
}

.btn-glass-video {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.btn-glass-video:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

/* ALL WINNERS GRID SECTION WITH COMPACT SEARCH */
.aom-grid-sec {
  padding: 50px 0;
  background: rgba(8, 11, 21, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.aom-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

/* Compact Search Input */
.aom-search-box {
  position: relative;
  width: 280px;
  max-width: 280px;
}

.aom-search-box input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13.5px;
  outline: none;
  transition: all 0.3s ease;
}

.aom-search-box input:focus {
  border-color: #3d78ff;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 15px rgba(61, 120, 255, 0.25);
}

.aom-search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 13px;
}

.aom-filter-selects {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aom-select {
  padding: 9px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  outline: none;
  cursor: pointer;
}

.aom-select option {
  background: #090e18;
  color: #ffffff;
}

.aom-all-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .aom-all-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .aom-all-grid {
    grid-template-columns: 1fr;
  }
}

/* PAGINATION */
.aom-pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.aom-pg-btn {
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.aom-pg-btn:hover:not(:disabled) {
  background: #3d78ff;
  border-color: #3d78ff;
}

.aom-pg-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.aom-pg-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.aom-pg-num.active {
  background: #3d78ff;
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(61, 120, 255, 0.6);
}

/* 10 ACCORDION FAQS SECTION */
.aom-faq-sec {
  padding: 60px 0 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.aom-faq-list {
  max-width: 860px;
  margin: 30px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-accordion-item {
  background: #0f1524;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-accordion-item.open {
  border-color: rgba(61, 120, 255, 0.5);
  background: rgba(15, 21, 36, 0.95);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none !important;
  border-bottom: none !important;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
}

.faq-question-btn:focus,
.faq-question-btn:active {
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.faq-question-btn i {
  color: #3d78ff;
  transition: transform 0.3s ease;
}

.faq-accordion-item.open .faq-question-btn i {
  transform: rotate(180deg);
}

.faq-answer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease;
  padding: 0 24px;
  color: rgba(238, 241, 247, 0.75);
  font-size: 14.5px;
  line-height: 1.65;
  opacity: 0;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.faq-accordion-item.open .faq-answer-content {
  max-height: 1000px;
  opacity: 1;
  padding: 0 24px 22px 24px;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* --- Clean Utility Classes for App of the Month Pages --- */
.aom-date-small {
  font-size: 11px;
  opacity: 0.8;
}

.aom-browse-muted {
  color: var(--muted);
  font-size: 14px;
}

.aom-card-banner-h180 {
  height: 180px;
}

.aom-card-body-p18 {
  padding: 18px;
}

.aom-card-title-fs16 {
  font-size: 16px;
}

.aom-card-desc-fs13 {
  font-size: 13px;
}

.aom-sec-head-center {
  justify-content: center;
  text-align: center;
}

.aom-faq-lead-muted {
  color: var(--muted);
  margin-top: 6px;
}

.aom-email-link {
  color: #3d78ff;
  text-decoration: underline;
}

.aom-wrap-pt0 {
  padding-top: 0;
}

.aom-hero-pad {
  padding: 140px 0 60px;
}

.aom-container-center {
  text-align: center;
}

.aom-hero-title-mb16 {
  margin-bottom: 16px;
}

.aom-hero-lead-center {
  max-width: 650px;
  margin: 0 auto 20px;
}

.aom-crumb-meta {
  font-size: 14px;
  color: #94a3b8;
}

.aom-crumb-link {
  color: #38bdf8;
  text-decoration: none;
}

.aom-crumb-active {
  color: #e2e8f0;
}

.aom-grid-sec-pad {
  padding: 60px 0 100px;
}

.aom-empty-box {
  text-align: center;
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.aom-empty-icon {
  font-size: 48px;
  color: #475569;
  margin-bottom: 16px;
}

.aom-empty-title {
  color: #f8fafc;
  font-size: 22px;
  margin-bottom: 8px;
}

.aom-empty-desc {
  color: #94a3b8;
  margin-bottom: 24px;
}

.aom-empty-btn {
  display: inline-flex;
}

.aom-post-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.aom-post-cta-btn {
  padding: 12px 24px;
  font-size: 1rem;
}

.aom-sec-rel-bg {
  background: var(--g50);
  border-top: 1px solid var(--g200);
}

.aom-rel-desc {
  font-size: 0.9rem;
  color: var(--g500);
}

/* Card grid & helper styles to remove inline styles */
.app-grid-card .aom-card-banner {
  height: 180px;
  display: block;
}

.app-grid-card .aom-card-body {
  padding: 18px;
}

.app-grid-card .aom-tag-wrap {
  margin-bottom: 10px;
}

.app-grid-card .aom-card-title {
  font-size: 16px;
}

.app-grid-card .aom-card-desc {
  font-size: 13px;
  margin-bottom: 14px;
}

.app-grid-card .author-avatar-badge {
  width: 32px;
  height: 32px;
}

.app-grid-card .author-name-text {
  font-size: 12px;
}

.app-grid-card .author-date-text {
  font-size: 10px;
  opacity: 0.8;
}

.aom-faq-head {
  justify-content: center;
  text-align: center;
}

.aom-faq-sub {
  color: var(--muted);
  margin-top: 6px;
}

.aom-contact-link {
  color: #3d78ff;
  text-decoration: underline;
}

/* ==========================================================================
   Comprehensive Responsive Overrides for Mobile & Tablet Devices
   ========================================================================== */
@media (max-width: 992px) {
  .aom-all-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 768px) {
  .aom-hero-sec {
    padding: 105px 0 36px 0 !important;
  }

  .aom-hero-title {
    font-size: clamp(26px, 6.5vw, 40px) !important;
    line-height: 1.2 !important;
  }

  .aom-hero-lead {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
  }

  .aom-cta-banner {
    padding: 36px 20px !important;
    text-align: center !important;
  }

  .aom-cta-content h2 {
    font-size: 22px !important;
  }

  .aom-cta-btns {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .aom-cta-btns a {
    width: 100% !important;
    justify-content: center !important;
  }

  .aom-controls-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .aom-search-box {
    width: 100% !important;
    max-width: 100% !important;
  }

  .aom-filter-selects {
    width: 100% !important;
  }

  .aom-select {
    width: 100% !important;
  }

  .faq-question-btn {
    font-size: 14.5px !important;
    padding: 14px 16px !important;
  }

  .faq-answer-content {
    font-size: 13.5px !important;
    padding: 0 16px;
  }

  .faq-accordion-item.open .faq-answer-content {
    padding: 0 16px 16px 16px !important;
    max-height: 1000px !important;
  }
}

@media (max-width: 640px) {
  .aom-feat-card-slide {
    flex: 0 0 100% !important;
  }

  .aom-all-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .aom-sec-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .aom-sec-head.aom-faq-head {
    align-items: center !important;
  }
}