:root {
  --primary: #FFD700;
  --primary-dark: #C5A300;
  --bg-dark: #0A0A0A;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.1);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --radius-lg: 16px;
  --radius-xl: 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Outfit', sans-serif;
  background-color: #000000 !important;
  background: #000000 !important;
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  direction: rtl;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #FFD700 #1a1a1a;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a, button, .article-card, .video-thumb, .filter-pill, .page-close-btn {
  -webkit-tap-highlight-color: rgba(255, 215, 0, 0.3);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #FFD700;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e6c200;
}

.app-container {
  min-height: 100vh;
  background-color: #000000 !important;
  position: relative;
}

a, a:link, a:visited, a:active {
  color: #FFFFFF !important;
  text-decoration: none !important;
  transition: all 0.3s;
}

a:hover {
  color: var(--primary) !important;
}

ul, li {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Glassmorphism Utility */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ====== Header Styles ====== */
.hive-header {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  border-radius: 50px;
  padding: 10px 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bee-logo {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.party-name-ar {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.party-name-en {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a i {
  color: var(--primary);
  font-size: 0.9rem;
}

.main-nav a:hover {
  color: var(--primary);
}

.join-btn {
  background: var(--primary);
  color: #000;
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s;
}

.join-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.header-social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 0.9rem;
}

.header-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 15px;
}

.bee-glow {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

/* ====== Hero Section ====== */
.hero-section {
  padding: 180px 20px 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-sup-title {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-size: 5rem;
  line-height: 1.2;
  margin-bottom: 30px;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.hero-title span.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hero-title span.highlight::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--primary);
  opacity: 0.2;
  border-radius: 4px;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-cta {
  background: var(--primary);
  color: #000;
  border: none;
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.hero-cta-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-cta-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hero-img-frame {
  position: relative;
}

.hero-img-leader {
  width: 100%;
  border-radius: var(--radius-xl);
  position: relative;
  z-index: 2;
  border: 1px solid var(--border);
}

.hero-img-blob {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-xl);
  z-index: 1;
  opacity: 0.1;
}

.hero-img-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: var(--primary);
  filter: blur(100px);
  z-index: 0;
  opacity: 0.2;
}

/* ====== Stats Section ====== */
.stats-section {
  padding: 40px 15px;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-value {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.stat-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ====== News Section ====== */
.news-section {
  padding: 100px 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.news-grid {
  max-width:1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s;
}

.news-card:hover {
  transform: translateY(-10px);
}

.card-image {
  height: 250px;
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 25px;
}

.card-category {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.news-card.featured {
  grid-column: span 1; /* In Turn 3 I made it all equal columns */
}

.news-cta {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.all-news-btn {
  padding: 15px 40px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

/* ====== Video Section ====== */
.video-section {
  padding: 100px 20px;
}

.video-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.video-player {
  padding: 30px;
  background: rgba(0,0,0,0.5);
}

.video-player iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.player-content {
  margin-top: 30px;
}

.player-content h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.video-list {
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 600px;
}

.video-thumb {
  display: flex;
  gap: 20px;
  padding: 25px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
}

.video-thumb:hover {
  background: rgba(255,255,255,0.05);
}

.video-thumb.active {
  background: rgba(255, 215, 0, 0.1);
  border-right: 4px solid var(--primary);
}

.thumb-img {
  width: 140px;
  height: 80px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.thumb-content h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.thumb-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ====== Overlays & Sheets ====== */
.fullscreen-overlay, .bottom-sheet-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7); /* Slightly transparent for blur */
  z-index: 5000;
  opacity: 0;
  display: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(8px); /* Noble blur effect */
  -webkit-backdrop-filter: blur(8px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.fullscreen-overlay.page-active, .bottom-sheet-overlay.sheet-active {
  opacity: 1;
  display: block;
  overflow-y: auto; /* Enable scrolling for the whole overlay */
  -webkit-overflow-scrolling: touch;
}

.fullscreen-page {
  padding: 120px 20px 80px; /* Increased top padding to avoid header overlap */
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  z-index: 5001;
  background: #000000;
}

.news-page-content {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.hero-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 450px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-article-image {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
}

.hero-article-body {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.hero-article-excerpt {
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.article-thumb {
  height: 220px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
  transition: transform 0.5s;
}

.article-card:hover .article-thumb {
  transform: scale(1.05);
}

.article-body {
  padding: 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 10px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-pill.active {
  background: var(--primary);
  color: black;
  border-color: var(--primary);
}

.bottom-sheet {
  position: fixed;
  bottom: 0; left: 50%;
  width: 100%;
  max-width: 900px;
  transform: translateX(-50%) translateY(100%);
  background: #0F0F0F;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  padding: 50px 40px;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 2100;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border);
}

.bottom-sheet-overlay.sheet-active .bottom-sheet {
  transform: translateX(-50%) translateY(0);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.stagger-in {
  animation: fadeIn 0.8s ease backwards;
}

.float-anim {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Close Buttons */
.close-btn, .page-close-btn {
  position: absolute;
  top: 30px;
  left: 30px; /* Standard for RTL apps to have close on the left */
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--primary);
  font-size: 2rem;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  z-index: 10000;
  outline: none;
}

.close-btn:hover, .page-close-btn:hover {
  background: var(--primary);
  color: #000;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  border-color: var(--primary);
}

/* Footer Section */
.bee-footer {
  background: #050505;
  padding: 100px 20px 40px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .bee-footer {
    padding: 40px 15px 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center;
  }
  .footer-col {
    padding: 0;
  }
  .footer-brand { text-align: center; }
  .footer-desc { text-align: center; }
  .footer-contact-list { text-align: center; align-items: center; }
  .footer-contact-item { justify-content: center; }
  .footer-cta-btn-modern { width: 100%; }
}

.bee-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: shimmer-thread 5s infinite linear;
}

@keyframes shimmer-thread {
  0% { left: -100%; }
  100% { left: 100%; }
}

.footer-social-modern {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.footer-social-modern a {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #FFFFFF !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  font-size: 1.2rem;
}

.footer-social-modern a:hover {
  background: var(--primary);
  color: #000 !important;
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--text-secondary) !important;
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--primary) !important;
  padding-right: 10px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-contact-item {
  color: var(--text-secondary);
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.footer-cta-btn-modern {
  width: 100%;
  padding: 15px;
  background: var(--primary);
  color: #000 !important;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.footer-cta-btn-modern:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Forms CSS bits */
.glass-input {
  width: 100%;
  padding: 15px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: white;
  margin-bottom: 20px;
  outline: none;
}

.glass-input:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.1);
}

.form-step { display: none; }
.form-step.active { display: block; }

/* Step Indicator Refinement */
.step-indicator {
  margin: 20px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.step-progress {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 300px;
  justify-content: center;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}

.step-dot.active {
  background: var(--primary);
  box-shadow: 0 0 15px var(--primary);
  transform: scale(1.3);
}

.step-dot.completed {
  background: var(--primary);
}

.step-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.step-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 320px;
}

.step-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.step-label.active {
  color: var(--primary);
  font-weight: 700;
}

/* Form Nav Buttons */
.form-nav {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 15px;
}

.form-nav-btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-size: 0.9rem;
}

.next-btn, .submit-btn {
  background: var(--primary);
  color: #000 !important;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.prev-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #FFF !important;
  border: 1px solid var(--border);
}

.next-btn:hover, .submit-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; padding: 20px; }
  .hero-title { font-size: 2.8rem; }
  .hero-desc { margin: 0 auto 30px; max-width: 90%; }
  .hero-actions { justify-content: center; }
  .hero-visual-col { margin-top: 40px; }
  .hero-img-leader { max-width: 300px; }
  
  .news-grid { grid-template-columns: 1fr 1fr; }
  .video-layout { grid-template-columns: 1fr; }
  
  .stats-container {
    grid-template-columns: 1fr 1fr;
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.22rem; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hive-header { top: 0; left: 0; right: 0; border-radius: 0; }
  .main-nav { display: none; }
  
  .stats-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-value { font-size: 2.5rem; }
}

/* ====== Premium Animated Bee Component ====== */
.premium-bee-box {
  width: 140px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3));
  animation: floatBee 4s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.premium-bee-box .bee-svg-clean {
  width: 140px !important;
  height: 154px !important;
}

@media (max-width: 600px) {
  .premium-bee-box {
    width: 100px;
    height: 100px;
    margin: 10px auto;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.2));
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }
  .premium-bee-box .bee-svg-clean {
    width: 100px !important;
    height: 110px !important;
  }
}

.bee-svg-container {
  width: 100%;
  height: 100%;
}

.bee-svg-main {
  width: 100%;
  height: 100%;
}

.bee-wing {
  fill: rgba(255, 255, 255, 0.6);
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 0.5;
  transform-origin: 50% 30%;
}

.wing-top {
  animation: flutter 0.1s ease-in-out infinite;
}

.bee-body {
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

@keyframes flutter {
  0%, 100% { transform: scaleY(1) translateY(0); }
  50% { transform: scaleY(0.3) translateY(5px); }
}

@keyframes floatBee {
  0%, 100% { transform: translateX(0) translateY(0) rotate(1deg); }
  50% { transform: translateX(5px) translateY(-10px) rotate(-1deg); }
}

/* Ensure footer column is transparent */
.footer-col {
  background: transparent !important;
}

/* ====== Bottom Sheet (About Party) Styles ====== */
.bottom-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.bottom-sheet-overlay.sheet-active {
  opacity: 1;
  visibility: visible;
}

.bottom-sheet {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 850px;
  background: #111;
  border-top: 3px solid var(--primary);
  border-radius: 40px 40px 0 0;
  padding: 40px;
  transform: translateX(-50%) translateY(100%);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 -10px 50px rgba(0,0,0,0.5);
}

.bottom-sheet-overlay.sheet-active .bottom-sheet {
  transform: translateX(-50%) translateY(0);
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: -20px auto 30px;
}

.close-btn {
  position: absolute;
  top: 25px;
  left: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #DDD;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.close-btn:hover {
  background: var(--primary);
  color: #000;
}

.sheet-title {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 30px;
  text-align: right;
}

.sheet-hero-section {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 30px;
}

.leader-img-sheet {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.leader-info-sheet {
  flex: 1;
  text-align: right;
}

.leader-name-sheet {
  font-size: 1.5rem;
  color: #FFF;
  margin-bottom: 10px;
}

.leader-quote {
  font-size: 1.1rem;
  color: #BBB;
  line-height: 1.6;
  font-style: italic;
}

.sheet-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card-sheet {
  padding: 25px;
  text-align: right;
  border-radius: 20px;
  border-right: 4px solid var(--primary);
}

.card-title-sheet {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.card-text-sheet {
  font-size: 1.05rem;
  color: #DDD;
  line-height: 1.5;
}

/* Bee Mascot Animations */
.bee-anim-wrap {
  animation: beeFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

@keyframes beeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.bee-wing-l {
  animation: flapLeft 0.12s ease-in-out infinite alternate;
  transform-origin: 75px 108px;
}

.bee-wing-r {
  animation: flapRight 0.12s ease-in-out infinite alternate;
  transform-origin: 125px 108px;
}

@keyframes flapLeft {
  from { transform: rotate(-35deg) scaleY(1); }
  to { transform: rotate(-35deg) scaleY(0.5); }
}

@keyframes flapRight {
  from { transform: rotate(35deg) scaleY(1); }
  to { transform: rotate(35deg) scaleY(0.5); }
}

@media (max-width: 768px) {
  .hive-header {
    top: 8px;
    left: 8px;
    right: 8px;
    padding: 8px 12px;
  }
  
  .main-nav {
    display: none; /* Hide nav links on mobile */
  }
  
  .header-social-icons {
    display: none; /* Hide social icons in header on mobile to save space */
  }
  
  .header-actions {
    gap: 8px;
  }
  
  .logo-text h1,
  .party-name-ar {
    font-size: 0.85rem;
  }
  
  .logo-text span,
  .party-name-en {
    display: none; /* Hide subtitle on mobile header */
  }
  
  .bee-logo {
    height: 50px;
    width: 50px;
  }

  .hero-title { font-size: 1.3rem !important; }
  .hero-subtitle { font-size: 0.8rem !important; }
  .hero-section { padding-top: 70px !important; }

  .news-page, .videos-page {
    display: block !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .join-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
    min-width: auto;
  }
  
  .logo-section {
    gap: 8px;
  }
  
  /* Mobile Menu Button */
  .mobile-menu-btn {
    display: none;
  }

  /* Desktop: show nav */
  .main-nav {
    display: flex !important;
  }

  .header-actions {
    display: flex !important;
  }

  @media (max-width: 768px) {
    .mobile-menu-btn {
      display: flex !important;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      background: rgba(255, 215, 0, 0.15);
      border: 1px solid rgba(255, 215, 0, 0.3);
      border-radius: 12px;
      color: #FFD700;
      font-size: 1.2rem;
      cursor: pointer;
      margin-right: auto;
    }

    .main-nav, .header-actions {
      display: none !important;
    }

    .mobile-menu-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.95);
      z-index: 3000;
      overflow-y: auto;
    }

    .mobile-menu-overlay.active {
      display: block;
    }
      transition: all 0.3s;
      margin-left: 10px;
    }
    
    .mobile-menu-btn:hover {
      background: rgba(255, 215, 0, 0.25);
    }
  }
  
  /* Mobile Menu Overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .mobile-menu-overlay.active {
    display: flex;
    opacity: 1;
  }
  
  .mobile-menu-content {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    overflow-y: auto;
  }
  
  .mobile-menu-close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
  }
  
  .mobile-menu-logo {
    text-align: center;
    margin-top: 40px;
  }
  
  .mobile-menu-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
  }
  
  .mobile-menu-logo h3 {
    color: #FFD700;
    font-size: 1.3rem;
  }
  
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
  }
  
  .mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #fff !important;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
  }
  
  .mobile-nav a:hover {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700 !important;
  }
  
  .mobile-nav a i {
    width: 24px;
    color: #FFD700;
  }
  
  .mobile-menu-social {
    display: flex;
    gap: 15px;
  }
  
  .mobile-menu-social a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s;
  }
  
  .mobile-menu-social a:hover {
    background: #FFD700;
    color: #000 !important;
  }
  
  .mobile-join-btn {
    width: 100%;
    max-width: 300px;
    padding: 15px !important;
    font-size: 1.1rem !important;
  }
}

@media (max-width: 480px) {
  .hive-header {
    padding: 6px 12px;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0 0 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo-section { gap: 8px; }
  
  .logo-text h1,
  .party-name-ar {
    font-size: 0.75rem;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .party-name-en { display: none; }
  
  .bee-logo {
    height: 30px;
    width: 30px;
  }
  
  .join-btn {
    padding: 5px 10px;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .hero-section { padding: 60px 10px 30px !important; }
  .hero-title { font-size: 1.4rem !important; }
  .hero-subtitle { font-size: 0.8rem !important; }
  .hero-img-frame { max-width: 180px; margin: 0 auto; }
  .hero-img-leader { border-radius: 16px !important; }
  
  .stat-card, .article-card, .video-thumb {
    margin-bottom: 10px;
  }

  .article-thumb { height: 160px !important; }
  
  .video-player iframe {
    height: 180px !important;
  }
  
  .section-title { font-size: 1.2rem !important; }
  
  .fullscreen-page {
    padding: 10px !important;
    padding-top: 50px;
    overflow-y: auto;
  }
}

@media (max-width: 600px) {
  .sheet-hero-section { flex-direction: column; text-align: center; gap: 20px; }
  .leader-info-sheet { text-align: center; }
  .sheet-title { text-align: center; font-size: 1.8rem; }
  .info-card-sheet { text-align: center; border-right: none; border-bottom: 4px solid var(--primary); }
  .bottom-sheet { padding: 25px 15px; border-radius: 30px 30px 0 0; }
  
  .form-row { flex-direction: column; gap: 0; }
  .input-group { margin-bottom: 20px; }
  .glass-input { font-size: 1rem; padding: 12px 15px; }
  
  .form-nav { flex-direction: column-reverse; gap: 10px; }
  .form-nav-btn { width: 100%; }
  
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }

  .app-container { overflow-x: hidden; max-width: 100vw; }
  
  /* News & Videos Fullscreen Overlay - Mobile Fix */
  .fullscreen-overlay { 
    position: fixed !important; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    overflow: auto !important; 
    -webkit-overflow-scrolling: touch;
    z-index: 2000;
  }
  
  /* Force show when page-active */
  .fullscreen-overlay.page-active {
    display: block !important;
    opacity: 1 !important;
  }
  
  .fullscreen-page {
    padding: 15px !important;
    padding-top: 70px !important;
    min-height: 100vh;
  }
  
  .articles-grid { grid-template-columns: 1fr !important; gap: 15px; }
  .article-card { margin-bottom: 15px; }
  
  .video-list { display: flex; flex-direction: column; gap: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .video-thumb { flex: 0 0 auto; width: 100%; }
  .news-page-content { padding: 10px !important; }
  .page-header { margin-bottom: 20px; }
  
  .page-close-btn {
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 2001;
  }
  
  /* Better card styling on mobile */
  .article-card, .news-card {
    min-height: 200px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
  }
  
  .article-title, .card-title {
    font-size: 1rem !important;
    line-height: 1.4;
  }
  
  .article-thumb {
    height: 150px !important;
    border-radius: 12px;
    background-color: #1a1a1a !important;
    background-size: cover !important;
    background-position: center !important;
  }
}

