/* AudioHimnos Arcade - Exact Arcade.online Live Interface Styles */

:root {
  --ao-bg-main: #13111c;
  --ao-bg-sidebar: #171524;
  --ao-bg-sidebar-active: #29253d;
  --ao-bg-header: #151322;
  --ao-bg-card: rgba(255, 255, 255, 0.05);
  --ao-bg-card-hover: rgba(255, 255, 255, 0.09);
  --ao-bg-modal: #181526;
  --ao-border: rgba(255, 255, 255, 0.08);
  --ao-border-hover: rgba(255, 255, 255, 0.2);
  --ao-accent-yellow: #facc15;
  --ao-accent-purple: #8b5cf6;
  --ao-accent-pink: #ec4899;
  --ao-accent-cyan: #38bdf8;
  --ao-text-main: #ffffff;
  --ao-text-muted: rgba(255, 255, 255, 0.65);
  --ao-text-sub: rgba(255, 255, 255, 0.4);
  --ao-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --sidebar-width: 220px;
  --header-height: 64px;
}

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

body {
  background-color: var(--ao-bg-main);
  color: var(--ao-text-main);
  font-family: var(--ao-font);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* App Wrapper with Sidebar & Main Area */
.app-wrapper {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* Sidebar - Left Fixed Navigation */
.ao-sidebar {
  width: var(--sidebar-width);
  background: var(--ao-bg-sidebar);
  border-right: 1px solid var(--ao-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  padding: 16px 12px;
}

.ao-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 16px;
  padding-right: 8px;
}

.ao-sidebar-collapse {
  background: none;
  border: none;
  color: var(--ao-text-muted);
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}

.ao-sidebar-collapse:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ao-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
}

.ao-sidebar-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ao-text-muted);
  transition: all 0.2s ease;
  cursor: pointer;
}

.ao-sidebar-item a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.ao-sidebar-item.active a {
  background: var(--ao-bg-sidebar-active);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ao-sidebar-icon {
  font-size: 15px;
  width: 20px;
  text-align: center;
}

.ao-sidebar-badge {
  margin-left: auto;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ao-sidebar-divider {
  height: 1px;
  background: var(--ao-border);
  margin: 12px 6px;
}

/* Main Area - Right Side */
.ao-main-container {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

@media(max-width: 900px) {
  .ao-sidebar { display: none; }
  .ao-main-container { margin-left: 0; }
}

/* Top Header */
.ao-top-header {
  height: var(--header-height);
  background: var(--ao-bg-header);
  border-bottom: 1px solid var(--ao-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 900;
}

.ao-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ao-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  font-style: italic;
}

.ao-logo-main {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.ao-logo-sub {
  font-size: 10px;
  font-weight: 900;
  color: #facc15;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 1px;
}

.ao-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login {
  background: #252236;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-login:hover {
  background: #312d47;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-signup {
  background: linear-gradient(180deg, #facc15 0%, #eab308 100%);
  color: #0f172a;
  padding: 8px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.35);
  transition: all 0.2s;
}

.btn-signup:hover {
  background: linear-gradient(180deg, #fef08a 0%, #facc15 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.5);
}

/* Hero Banner */
.ao-hero-banner {
  margin: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0b0f19 0%, #111827 50%, #0f172a 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

@media(max-width: 990px) {
  .ao-hero-banner {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }
}

.ao-hero-text {
  z-index: 2;
}

.ao-hero-heading-1 {
  font-size: 2.6rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.ao-hero-heading-2 {
  font-size: 3rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.1;
  color: #38bdf8;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
  margin-bottom: 24px;
}

.ao-hero-sub {
  font-size: 1.4rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.ao-hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.ao-hero-image-wrap img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
}

/* Official Partners Section */
.ao-section-partners {
  padding: 30px 24px;
}

.ao-partners-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.ao-partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media(max-width: 768px) {
  .ao-partners-grid { grid-template-columns: 1fr; }
}

.ao-partner-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ao-border);
  background: var(--ao-bg-card);
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.ao-partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.ao-partner-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* Games Grid Section */
.ao-games-section {
  padding: 20px 24px 60px;
}

.ao-fr-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tab-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.tab-btn {
  height: 38px;
  padding: 0 20px;
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.tab-btn.active {
  background: #ffffff;
  color: #13111c;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.ao-fr-grid {
  display: grid;
  gap: 24px 16px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.ao-fr-card {
  border-radius: 18px;
  background: var(--ao-bg-card);
  border: 1px solid var(--ao-border);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.ao-fr-card:hover {
  transform: translateY(-5px);
  background: var(--ao-bg-card-hover);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.ao-fr-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.ao-fr-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ao-fr-card:hover .ao-fr-card-img img {
  transform: scale(1.05);
}

.ao-fr-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(19, 17, 28, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--ao-accent-pink);
  text-transform: uppercase;
}

.ao-fr-card-info {
  padding: 14px 16px;
}

.ao-fr-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.ao-fr-card-sub {
  font-size: 13px;
  color: var(--ao-text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Testimonials Section */
.ao-testimonials-section {
  padding: 60px 24px 40px;
  background: var(--ao-bg-main);
}

.ao-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

@media(max-width: 900px) {
  .ao-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.ao-testimonial-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ao-stars {
  color: #facc15;
  font-size: 20px;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.ao-quote {
  font-size: 14px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.55;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.ao-author {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.ao-author strong {
  color: #ffffff;
  font-weight: 800;
  font-style: italic;
}

/* Secure Payments Bar */
.ao-payments-container {
  max-width: 1200px;
  margin: 20px auto 60px;
  padding: 0 24px;
}

.ao-payments-bar {
  background: #181525;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ao-payments-title {
  font-size: 16px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.ao-payment-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pay-badge {
  height: 32px;
  padding: 0 12px;
  background: #ffffff;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  color: #000;
}

.btn-signup-blue {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  transition: all 0.2s;
}

.btn-signup-blue:hover {
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
  transform: translateY(-1px);
}

/* Footer */
.ao-live-footer {
  background: #0f0d17;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 24px;
}

.ao-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media(max-width: 768px) {
  .ao-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.ao-footer-heading {
  font-size: 1.5rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.ao-footer-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.ao-social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ao-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f0d17;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ao-social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  background: #facc15;
  color: #0f0d17;
}

.ao-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ao-footer-links-inline {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.ao-footer-links-inline a {
  color: #60a5fa;
  font-size: 14px;
  transition: color 0.2s;
}

.ao-footer-links-inline a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Modals Overlay Base */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-in-out;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(56, 189, 248, 0.15);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media(max-width: 768px) {
  .modal-content {
    grid-template-columns: 1fr;
    max-height: 94vh;
    overflow-y: auto;
  }
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.modal-media {
  background: #0d0b16;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-media img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-details {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.modal-title {
  font-size: 2.2rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.modal-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 20px;
}

.how-to-play-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.how-to-play-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

.how-to-play-list li::before {
  content: "➔";
  position: absolute;
  left: 0;
  color: #facc15;
  font-weight: bold;
  font-size: 14px;
}

/* Auth Modal Specifics */
.auth-modal-content {
  max-width: 480px;
  display: block;
  padding: 36px;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 24px;
}

.auth-tab-btn {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab-btn.active {
  color: #ffffff;
  border-bottom-color: var(--ao-accent-yellow);
}

.auth-form-group {
  margin-bottom: 18px;
}

.auth-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.auth-form-group input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}

.auth-form-group input:focus {
  border-color: var(--ao-accent-cyan);
  background: rgba(255, 255, 255, 0.1);
}

.auth-social-btns {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.auth-social-link {
  flex: 1;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.auth-social-link:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Post-Auth Success Modal */
.success-modal-content {
  max-width: 520px;
  display: block;
  padding: 40px 32px;
  text-align: center;
}

.welcome-badge {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 18px;
  padding: 20px;
  margin: 24px 0;
}

.welcome-stats {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 14px;
}

.welcome-stat-item {
  font-size: 16px;
  font-weight: 900;
  color: #facc15;
}

/* FAQ Accordion Modal */
.faq-modal-content {
  max-width: 680px;
  display: block;
  padding: 40px 36px;
}

.faq-title {
  font-size: 2.2rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: 0.5px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(250, 204, 21, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 12px;
}

.faq-question span.icon {
  font-size: 16px;
  color: #facc15;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-question span.icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  line-height: 1.6;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding: 0 20px 18px;
}

/* Sidebar Collapsed State */
body.sidebar-collapsed .ao-sidebar {
  width: 70px;
  padding: 16px 8px;
}

body.sidebar-collapsed .ao-sidebar .ao-sidebar-item span:not(.ao-sidebar-icon),
body.sidebar-collapsed .ao-sidebar .ao-sidebar-badge,
body.sidebar-collapsed .ao-sidebar .ao-sidebar-divider {
  display: none !important;
}

body.sidebar-collapsed .ao-sidebar .ao-sidebar-item a {
  justify-content: center;
  padding: 12px 0;
}

body.sidebar-collapsed .ao-main-container {
  margin-left: 70px;
}

body.sidebar-collapsed .ao-sidebar-collapse {
  transform: rotate(180deg);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .ao-sidebar {
    width: 70px;
    padding: 16px 8px;
  }
  .ao-sidebar .ao-sidebar-item span:not(.ao-sidebar-icon),
  .ao-sidebar .ao-sidebar-badge,
  .ao-sidebar .ao-sidebar-divider {
    display: none !important;
  }
  .ao-sidebar .ao-sidebar-item a {
    justify-content: center;
    padding: 12px 0;
  }
  .ao-main-container {
    margin-left: 70px;
  }
  .ao-fr-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .app-wrapper {
    flex-direction: row;
  }

  /* Sidebar remains FIXED ON THE LEFT SIDE */
  .ao-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 60px !important;
    height: 100vh !important;
    z-index: 1000 !important;
    padding: 12px 6px !important;
    background: #0f0c1d !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-bottom: none !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  /* Hide text labels on mobile left sidebar by default */
  .ao-sidebar .ao-sidebar-item span:not(.ao-sidebar-icon),
  .ao-sidebar .ao-sidebar-badge,
  .ao-sidebar .ao-sidebar-divider {
    display: none !important;
  }

  .ao-sidebar .ao-sidebar-item a {
    justify-content: center !important;
    padding: 12px 0 !important;
  }

  /* Expanded state on mobile if user toggles collapse or touches sidebar */
  body.sidebar-expanded .ao-sidebar,
  .ao-sidebar:hover {
    width: 200px !important;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8) !important;
  }

  body.sidebar-expanded .ao-sidebar .ao-sidebar-item span:not(.ao-sidebar-icon),
  .ao-sidebar:hover .ao-sidebar-item span:not(.ao-sidebar-icon) {
    display: inline !important;
  }

  body.sidebar-expanded .ao-sidebar .ao-sidebar-item a,
  .ao-sidebar:hover .ao-sidebar-item a {
    justify-content: flex-start !important;
    padding: 10px 14px !important;
  }

  .ao-sidebar-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
  }

  .ao-sidebar-item {
    margin-bottom: 2px !important;
    width: 100% !important;
  }

  .ao-main-container {
    margin-left: 60px !important;
    width: calc(100% - 60px) !important;
  }

  .ao-top-header {
    padding: 12px 16px !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  .ao-hero-banner {
    flex-direction: column-reverse !important;
    text-align: center !important;
    padding: 24px 16px !important;
    gap: 20px !important;
  }

  .ao-hero-text {
    max-width: 100% !important;
  }

  .ao-hero-heading-2 {
    font-size: 1.8rem !important;
  }

  .ao-hero-heading-1 {
    font-size: 0.9rem !important;
  }

  .ao-hero-image-wrap img {
    max-height: 200px !important;
  }

  .ao-fr-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .ao-testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .ao-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .ao-payments-bar {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .ao-payment-badges {
    justify-content: center !important;
  }

  /* Modals Mobile Adaptation */
  .modal-content {
    width: 92% !important;
    max-width: 92% !important;
    padding: 20px !important;
    margin: 16px auto !important;
  }

  .modal-content.guide-modal-content {
    max-height: 90vh !important;
  }

  /* Header Logo Mobile Reduction & Two-line Layout */
  .ao-logo-main {
    font-size: 11.5px !important;
    letter-spacing: 0px !important;
  }

  .ao-logo-sub {
    font-size: 8.5px !important;
    letter-spacing: 1px !important;
  }
}

@media (max-width: 480px) {
  .ao-logo-main {
    font-size: 10px !important;
  }

  .ao-logo-sub {
    font-size: 7.5px !important;
  }

  .btn-signup, .btn-login {
    padding: 5px 9px !important;
    font-size: 10.5px !important;
  }

  .ao-hero-sub {
    font-size: 12px !important;
  }
}

/* ==========================================================================
   ACCESSIBILITY (A11Y) & HIGH PERFORMANCE STYLES
   ========================================================================== */

/* Visible Focus Outlines for Keyboard Navigation */
:focus-visible {
  outline: 3px solid #facc15 !important;
  outline-offset: 3px !important;
}

/* Minimum Touch Target Sizes */
button, a, input, select, textarea {
  min-height: 38px;
  touch-action: manipulation;
}

/* Reduced Motion Preference Respect */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   MODERN ASYMMETRICAL FEATURE GRID & SVG ICONS
   ========================================================================== */

.ao-features-section {
  padding: 50px 24px;
  background: rgba(0, 0, 0, 0.2);
}

.ao-features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.ao-feature-card {
  grid-column: span 4;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ao-border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.ao-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.1);
  background: rgba(255, 255, 255, 0.07);
}

.ao-feature-card.featured {
  grid-column: span 8;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
  border-color: rgba(56, 189, 248, 0.3);
}

.ao-feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.ao-feature-icon-wrap svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.ao-feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.ao-feature-text {
  font-size: 14px;
  color: var(--ao-text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .ao-feature-card, .ao-feature-card.featured {
    grid-column: span 12;
  }
}

.ao-svg-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}





