/* ==========================================================================
   LankaTopTen - Sri Lanka Search Engine Design System & Styles
   ========================================================================== */

:root {
  --primary-navy: #0b1329;
  --navy-light: #16223e;
  --navy-card: #1c2b4b;
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.4);
  --accent-emerald: #10b981;
  --accent-cyan: #06b6d4;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #1e293b;
  --bg-gradient: linear-gradient(135deg, #070d1e 0%, #0f172a 100%);
  --glass-bg: rgba(15, 23, 42, 0.75);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--primary-navy);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Full Width Top Bar
   -------------------------------------------------------------------------- */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(11, 19, 41, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.lion-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 12px var(--accent-gold-glow);
}

.brand-name {
  background: linear-gradient(90deg, #ffffff, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.top-bar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.slogan {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #38bdf8, #f59e0b, #34d399);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sl-flag-badge {
  display: inline-block;
  background: #ce1126;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #ffb703;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-signin {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-signin:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn-register {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-gold-glow);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.15);
}

.user-avatar {
  width: 32px;
  height: 32px;
  background: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
}

.btn-logout {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

/* --------------------------------------------------------------------------
   Full Size Moving Carousel (10 Slides)
   -------------------------------------------------------------------------- */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 520px;
  margin-top: 70px;
  overflow: hidden;
}

.slider-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  animation: kenburns 12s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(11, 19, 41, 0.4) 0%,
    rgba(11, 19, 41, 0.75) 60%,
    rgba(11, 19, 41, 1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 4rem 5rem 4rem;
}

.slide-caption {
  max-width: 800px;
  z-index: 10;
}

.slide-tag {
  display: inline-block;
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.slide-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.slide-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.slider-controls {
  position: absolute;
  bottom: 25px;
  right: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 20;
}

.nav-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.nav-arrow:hover {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 4rem;
  display: flex;
  gap: 8px;
  z-index: 20;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  width: 32px;
  border-radius: 10px;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold-glow);
}

/* --------------------------------------------------------------------------
   Search Bar with AI Support
   -------------------------------------------------------------------------- */
.search-section-wrapper {
  position: relative;
  z-index: 50;
  max-width: 900px;
  margin: -120px auto 3rem auto;
  padding: 0 1.5rem;
}

.search-box-card {
  background: rgba(22, 34, 62, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.15);
}

.search-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.search-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #38bdf8;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.ai-toggle-btn.active {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #fff;
  border-color: #38bdf8;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

.search-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 1.25rem 3.5rem 1.25rem 3.5rem;
  background: rgba(11, 19, 41, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: #fff;
  font-size: 1.1rem;
  outline: none;
  transition: var(--transition);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.4);
}

.search-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 25px var(--accent-gold-glow), inset 0 2px 6px rgba(0,0,0,0.4);
}

.search-icon-left {
  position: absolute;
  left: 1.25rem;
  font-size: 1.3rem;
  color: var(--accent-gold);
}

.search-action-right {
  position: absolute;
  right: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-search-trigger {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  color: #000;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.btn-search-trigger:hover {
  transform: scale(1.05);
}

.search-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  align-items: center;
}

.prompt-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.prompt-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.prompt-chip:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--accent-gold);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Main Content Layout: 4 Columns (3 Category + 1 Ads)
   -------------------------------------------------------------------------- */
.main-content-container {
  max-width: 1400px;
  margin: 0 auto 4rem auto;
  padding: 0 2rem;
}

.section-title-wrapper {
  margin-bottom: 2rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.25rem;
}

.layout-4-col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* 3-Column Category Container spans first 3 columns */
.category-columns-wrapper {
  grid-column: span 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-card {
  background: var(--navy-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
  opacity: 0;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

.cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cat-icon-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.cat-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.cat-count {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 12px;
}

.cat-links {
  list-style: none;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.cat-links li {
  margin-bottom: 0.5rem;
}

.cat-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.cat-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.cat-explore-btn {
  margin-top: auto;
  width: 100%;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.cat-explore-btn:hover {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

/* 4th Column: Ads Sidebar */
.ads-column-sidebar {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ad-card {
  background: linear-gradient(145deg, #131c35, #1e2c4f);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.ad-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: 0 12px 30px var(--accent-gold-glow);
}

.ad-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.ad-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.ad-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.ad-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.ad-cta {
  display: block;
  width: 100%;
  padding: 0.5rem;
  text-align: center;
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.ad-cta:hover {
  background: #fbbf24;
}

/* --------------------------------------------------------------------------
   Search Results Down Area
   -------------------------------------------------------------------------- */
.search-results-section {
  max-width: 1200px;
  margin: 2rem auto 5rem auto;
  padding: 0 2rem;
  scroll-margin-top: 90px;
}

.results-box {
  background: var(--navy-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.results-header-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.results-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.query-highlight {
  color: var(--accent-gold);
  font-weight: 700;
}

/* AI Summary Box */
.ai-summary-box {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.ai-summary-text {
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.results-filter-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  border-color: var(--accent-gold);
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-item {
  background: rgba(11, 19, 41, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.result-item:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateX(4px);
  background: rgba(11, 19, 41, 0.9);
}

.result-url {
  font-size: 0.8rem;
  color: var(--accent-emerald);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.verified-icon {
  color: #38bdf8;
}

.result-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.result-title a {
  color: #38bdf8;
  text-decoration: none;
}

.result-title a:hover {
  text-decoration: underline;
  color: var(--accent-gold);
}

.result-snippet {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.result-tags {
  display: flex;
  gap: 0.5rem;
}

.tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  padding: 2px 8px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Popups / Modals (Sign In & Register)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-card {
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 440px;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #ef4444;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.modal-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(11, 19, 41, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold-glow);
}

.form-submit-btn {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.form-submit-btn:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.modal-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-footer a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: #070d1e;
  border-top: 1px solid var(--glass-border);
  padding: 3rem 2rem 1.5rem 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col-brand {
  max-width: 350px;
}

.footer-brand-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .layout-4-col-grid {
    grid-template-columns: 1fr;
  }

  .category-columns-wrapper {
    grid-column: span 1;
    grid-template-columns: repeat(2, 1fr);
  }

  .ads-column-sidebar {
    grid-column: span 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar-center {
    display: none;
  }

  .slide-title {
    font-size: 1.8rem;
  }

  .category-columns-wrapper {
    grid-template-columns: 1fr;
  }

  .ads-column-sidebar {
    grid-template-columns: 1fr;
  }

  .slider-controls, .slider-dots {
    left: 1.5rem;
    right: auto;
  }

  .slide-overlay {
    padding: 0 1.5rem 5rem 1.5rem;
  }
}
