/* Base Styles V1.1 FIXED LAYOUT */  /* <--- ADD THIS LINE (or similar) */
:root {
  --primary-glow: rgba(0, 212, 255, 0.6);
  --secondary-glow: rgba(2, 136, 209, 0.5);
  --text-primary: #e8eaf6;
  --text-secondary: #90caf9;
  --bg-dark: #0a0e1a;
  --bg-darker: #020308;
  --accent-blue: #00d4ff;
  --accent-vivid: #ff8f00; /* A vivid amber/orange */
  --vivid-glow: rgba(255, 143, 0, 0.5); /* A matching glow */
}



/* Wide Color Gamut support for modern displays */
@media (color-gamut: p3) {
  :root {
    --accent-blue: color(display-p3 0 0.83 1);
    --primary-glow: color(display-p3 0 0.83 1 / 0.6);
  }
}

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

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

html, body {
  /* Cinematic Spotlight Background */
  background: radial-gradient(circle at 50% 10%, #1e293b 0%, #0f172a 40%, #000000 100%);
  background-color: #000000;
  color: #e2e8f0; /* Cinematic soft white text */
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* Animated Sweeping Lines */
.sweep-line {
    content: '';
    position: fixed;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-glow), transparent);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
    box-shadow: 0 0 10px var(--primary-glow);
}

.sweep-line.one { top: -100%; animation: verticalSweep 25s linear infinite; }
.sweep-line.two { top: -100%; animation: verticalSweep 35s linear infinite; animation-delay: 12s; }
.sweep-line.three { bottom: -100%; top: auto; height: 1px; opacity: 0.4; animation: verticalSweepUp 40s linear infinite; animation-delay: 5s; }
.sweep-line.four { top: -100%; animation: verticalSweep 45s linear infinite; animation-delay: 20s; opacity: 0.5; }

@keyframes verticalSweep { 0% { top: -10%; } 100% { top: 110%; } }
@keyframes verticalSweepUp { 0% { bottom: -10%; } 100% { bottom: 110%; } }


/* Loading Screen */
.loading-overlay {
  position: fixed; 
  inset: 0; 
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  display: flex;
  align-items: center; 
  justify-content: center; 
  z-index: 100000;
  flex-direction: column; 
  transition: opacity 0.8s ease-out;
}
.loading-video { 
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  opacity: 0.7;
  /* Fallback for when video doesn't load */
  background: var(--bg-darker);
}
.loading-text {
  font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 900;
  background: linear-gradient(135deg, #4fc3f7 0%, #0288d1 30%, #00e5ff 60%, #4fc3f7 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; animation: pulse 2s ease-in-out infinite, shimmer 3s linear infinite;
  z-index: 1; margin-bottom: 20px; filter: drop-shadow(0 0 20px var(--primary-glow));
}
.loading-spinner { 
  width: 60px; 
  height: 60px; 
  border: 3px solid rgba(79, 195, 247, 0.1);
  border-top: 3px solid var(--accent-blue);
  border-radius: 50%;
  animation: netflixSpin 1s linear infinite;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  z-index: 1;  /* Add this */
  position: relative;  /* Add this */
}
@keyframes netflixSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-subtext { 
  margin-top: 20px; 
  font-size: 1rem; 
  color: var(--text-secondary); 
  letter-spacing: 1px; 
  z-index: 1; 
  opacity: 0.8;
  position: relative;  /* Add this */
}

/* Loading Screen */
.loading-overlay {
  /* ... styles ... */
}
.loading-spinner {
  /* ... styles ... */
}
.loading-subtext {
  /* ... styles ... */
}

/* THIS IS A GREAT PLACE FOR THIS RULE */
.loader-hidden #loading {
  display: none !important;
}

/* Header */
header {
  /* ... styles ... */
}

/* Header */
header {
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.8) 0%, rgba(2, 3, 8, 0.9) 100%);
  backdrop-filter: blur(20px); border-bottom: 1px solid var(--primary-glow); text-align: center;
  padding: 25px 20px 20px; position: relative; z-index: 10; overflow: hidden;
}
header::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 0, rgba(79, 195, 247, 0.15), transparent 60%);
  pointer-events: none; animation: headerGlow 8s ease-in-out infinite alternate;
}
/* Near line 155 in your style.css */
header h1 {
  font-size: clamp(1.2rem, 3vw, 1.8rem); 
  font-weight: 900;
  /* ... existing gradient and clip styles ... */
  margin-bottom: 8px; 
  letter-spacing: -1px; 
  text-transform: uppercase; 
  line-height: 1.1;
  
  /* CRITICAL ADDITION: Center the text itself */
  text-align: center; 
}
.header-subtitle { font-size: clamp(0.65rem, 1.2vw, 0.8rem); color: var(--text-secondary); font-weight: 300; letter-spacing: 3px; text-transform: uppercase; }

/* Sections & Video Grid */
main { padding-top: 10px; }
section { padding: 5px 0; animation: fadeIn 0.8s ease-out forwards; position: relative; z-index: 1; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

section h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-vivid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 3px 50px;
  text-align: left;
}

.scroll-container { position: relative; margin: 0 auto; }
.scroll-wrapper { display: flex; gap: 15px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 5px 50px 30px; }
.scroll-wrapper::-webkit-scrollbar { display: none; }

.scroll-wrapper { 
  display: flex; 
  gap: 15px; 
  overflow-x: auto; 
  scroll-behavior: smooth; 
  scrollbar-width: none; 
  padding: 5px 50px 30px;
  /* Enhanced smooth scrolling */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding: 50px;
}

/* Optional: Add snap points to cards for smoother stops */
.video-card {
  scroll-snap-align: start;
}

/* --- Video Card --- */
/* Target all anchor elements within the card that might be picking up default link styles */
.video-card, .video-card h3, .video-card p {
    text-decoration: none !important;
}

.video-card {
  flex-shrink: 0; width: 300px; height: 320px; background: #060c18;
  border: 1px solid rgba(79, 195, 247, 0.2); border-radius: 12px;
  overflow: hidden; position: relative; cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.shorts-card { width: 200px; height: 300px; }
.thumbnail-wrapper {
    width: 100%; height: 100%; position: relative; overflow: hidden;
    transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    flex-shrink: 0; border-radius: 12px;
}
.video-thumbnail {
    width: 100%; height: 100%; background-size: cover; background-position: center;
    transition: opacity 0.4s ease, transform 0.4s ease; position: relative; z-index: 1;
}
.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%; /* Adjust this value to shift headroom down */
    background-color: #000;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 0;
    pointer-events: none;
}

.play-icon {
  position: absolute; top: 15px; right: 15px; width: 50px; height: 50px;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(178, 34, 34, 0.4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 100, 100, 0.3); transform: scale(0);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); opacity: 0; z-index: 2;
}
.play-icon:hover { 
  background: rgba(255, 255, 255, 0.35); 
  transform: scale(1.1); 
  border-color: rgba(255, 255, 255, 0.8);
}

.play-icon svg { width: 24px; height: 24px; fill: white; margin-left: 4px; }

.thumbnail-title {
  position: absolute; 
  bottom: 0; 
  left: 0; 
  right: 0; 
  
  /* DEFAULT FOR DESKTOP/TABLET: Indent 65px to clear the scroll arrow/play button */
  padding: 25px 15px 15px 65px; /* Indent applied by default */
  
  background: linear-gradient(to top, rgba(0,0,0,0.95) 20%, transparent 100%);
  color: #fff; 
  font-size: 1rem; 
  font-weight: 700; 
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9); 
  transition: all 0.4s ease; 
  z-index: 2;
  text-decoration: none; 
}

.description-wrapper { flex-grow: 1; display: flex; align-items: flex-start; justify-content: center; padding: 10px 15px; overflow: hidden; }
.video-description {
  text-align: center; font-size: 0.9rem; color: #d0d8e0; opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s ease-out 0.1s, transform 0.3s ease-out 0.1s;
  /* CSS FIX: ENSURE DESCRIPTION TEXT IS NOT UNDERLINED */
  text-decoration: none; 
}

/* Hover & Expanded States */
.video-card:hover { transform: translateY(-5px) scale(1.05); z-index: 20;  border-color: var(--vivid-glow);}
.video-card.expanded { transform: translateY(-5px) scale(1.05); z-index: 20; border-color: rgba(79, 195, 247, 0.5); }
.video-card:hover .video-thumbnail, .video-card.expanded .video-thumbnail { transform: scale(1.05); }
.video-card:not(.no-video-preview):hover .video-preview,
.video-card:not(.no-video-preview).expanded .video-preview { opacity: 1; z-index: 1; }
.video-card:not(.no-video-preview):hover .video-thumbnail,
.video-card:not(.no-video-preview).expanded .video-thumbnail { opacity: 0; }
.video-card.expanded .play-icon, .video-card:hover .play-icon { transform: scale(1); opacity: 1; }
.video-card.expanded .thumbnail-wrapper, .video-card:hover .thumbnail-wrapper { height: 55%; border-radius: 12px 12px 0 0; }
.video-card.expanded .video-description, .video-card:hover .video-description { opacity: 1; transform: translateY(0); }

/* Arrows & Theater */

/* 1. Correct the main scroll-arrow styles */

.scroll-arrow {
  position: absolute; 
  top: 50%; /* Center the arrow vertically */
  transform: translateY(-50%); /* Pull it up by half its height */
  bottom: auto; 
  
  /* Retain all other styles for appearance */
  background: rgba(2, 136, 209, 0.2);
  border: 1px solid rgba(79, 195, 247, 0.3); 
  color: #4fc3f7; 
  width: 40px; 
  height: 40px; 
  border-radius: 50%;
  font-size: 18px; 
  cursor: pointer; 
  transition: all 0.3s ease; 
  z-index: 30;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  backdrop-filter: blur(10px);
}
/* Ensure these two simple rules are present immediately after */
.arrow-left { 
    left: 5px; 
    right: auto;
}
.arrow-right { 
    right: 5px; 
    left: auto;
}

/* Find this block and ensure it is correct */
.theater-mode {
  position: fixed; 
  inset: 0; /* CRITICAL: Fills the entire screen */
  background: rgba(0, 0, 0, 0.9); 
  backdrop-filter: blur(20px);
  z-index: 10000; 
  display: none; 
  justify-content: center; 
  align-items: center; 
  animation: fadeIn 0.3s ease;
}

/* Find this block and ensure it is correct */
.theater-content { 
  position: relative; 
  width: 90vw; 
  max-width: 1200px; /* Limit max size on large screens */
  height: auto; /* Let aspect ratio control height */
  aspect-ratio: 16/9; 
  background: #000; 
  margin: 0;
  padding: 0;
}


/* Portrait mode for shorts */
.theater-content.portrait {
  aspect-ratio: 9/16;
  width: auto;
  height: 85vh;
  max-width: calc(85vh * 9 / 16);
  max-height: 85vh;
}

.theater-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  max-height: 90vh; /* Prevent oversized players */
}

.theater-close {
  position: fixed; 
  bottom: 80px !important; /* Moved higher to avoid YouTube controls */
  right: 20px !important; 
  top: auto !important;
  
  background: rgba(255, 255, 255, 0.1);
  border: none; 
  color: #fff; 
  width: 44px; 
  height: 44px; 
  border-radius: 50%;
  font-size: 1.5rem; 
  cursor: pointer; 
  z-index: 10002 !important;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  transition: all 0.3s ease;
}

/* Adjust for mobile devices - even higher to clear YouTube controls */
@media (max-width: 768px) {
  .theater-close {
    bottom: 100px !important; /* Higher on mobile */
  }
}

/* For landscape orientation, can be a bit lower */
@media (max-width: 768px) and (orientation: landscape) {
  .theater-close {
    bottom: 60px !important; /* Lower in landscape since more space */
  }
}

.theater-close:hover { background: rgba(255, 255, 255, 0.2); transform: rotate(90deg) scale(1.1); }

/* About & Footer */
.about-section { background: transparent; padding: 50px 20px; }
.about-content { max-width: 900px; margin: 0 auto; text-align: center; }
.about-content h2 { text-align: center; margin: 0 0 30px; }
.about-content p { font-size: 1.1rem; line-height: 1.8; color: #b0bec5; margin-bottom: 20px; }
.about-content h3 { color: #4fc3f7; font-size: 1.6rem; margin: 50px 0 30px; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 25px; margin-top: 40px; }
.tool-item {
  background: linear-gradient(135deg, rgba(2, 136, 209, 0.1) 0%, rgba(79, 195, 247, 0.05) 100%);
  padding: 30px 20px; border-radius: 16px; border: 1px solid rgba(79, 195, 247, 0.2);
  transition: all 0.4s ease; text-decoration: none; color: inherit;
}
.tool-item:hover { transform: translateY(-8px); border-color: rgba(79, 195, 247, 0.5); box-shadow: 0 12px 30px var(--secondary-glow); }
.tool-name { font-weight: 700; color: #fff; font-size: 1.1rem; }
.tool-type { font-size: 0.9rem; color: var(--text-secondary); }
footer {
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.9) 0%, rgba(2, 3, 8, 0.95) 100%);
  padding: 50px 20px 30px; text-align: center; border-top: 1px solid rgba(79, 195, 247, 0.2);
  color: #b0bec5; z-index: 1; position: relative;
}
footer a { color: #4fc3f7; text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
footer a:hover { color: #81d4fa; text-decoration: underline; }
.footer-buttons { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 25px;
  border-radius: 30px; text-decoration: none !important; font-weight: 700; transition: all 0.3s ease;
}
.footer-btn:hover { transform: translateY(-3px) scale(1.05); }
.footer-btn:active { transform: translateY(-1px) scale(1.02); }
.youtube-btn-footer {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%); color: white;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}
.youtube-btn-footer:hover { box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5); }
.coffee-btn {
  background: linear-gradient(135deg, #FFDD00 0%, #FFA500 100%); color: #000;
  box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.coffee-btn:hover { box-shadow: 0 6px 20px rgba(255, 165, 0, 0.5); }
/* Responsive */

@media (max-width: 1024px) {
  .scroll-arrow { display: none; }
  /* Show play icon on all touch/small screen devices */

  /* Must be inside the main @media (max-width: 1024px) block */

.scroll-arrow { 
    display: none; /* Hide the arrows on all mobile/tablet screens */
}

/* Ensure the play button is always visible on touch devices */
.play-icon { 
    transform: scale(1) !important; 
    opacity: 1 !important; 
    width: 44px; 
    height: 44px; 
}

.play-icon {
  position: absolute; 
  top: 15px;    /* 15px down from the top edge */
  right: 15px;  /* FIX: 15px from the right edge */
  left: auto;   /* Ensures it stays on the right */
  z-index: 40; 
  width: 50px; height: 50px;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(178, 34, 34, 0.4); 
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transform: scale(0);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  opacity: 0; 
  
}

  .play-icon svg { width: 26px; height: 26px; fill: white; margin-left: 3px; }
  
  /* Mobile Card Behavior - Lateral Expansion Like Desktop */
  .video-card:hover { transform: none; } /* No hover on mobile */
  
  .video-card.expanded { 
    transform: translateY(-5px) scale(1.05) !important; /* Lateral expansion */
    z-index: 20; 
    border-color: rgba(79, 195, 247, 0.5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  }
  
  /* ALL Cards Portrait Size on Mobile - Like Shorts */
  .video-card, .shorts-card { 
    width: 200px !important; 
    height: 300px !important; 
  }
  
  /* Expanded cards - thumbnail shrinks to show description */
  .video-card.expanded .thumbnail-wrapper { 
    height: 55% !important; 
    border-radius: 12px 12px 0 0; 
  }
  
  /* HIDE Descriptions by Default - Show ONLY When Tapped */
  .description-wrapper { 
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  
  .video-description { 
    opacity: 0 !important;
    transform: translateY(10px) !important;
  }
  
  .video-card.expanded .description-wrapper { 
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .video-card.expanded .video-description { 
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  
  /* Fix Back Button Overlap */
  header {
    padding-top: 70px !important;
    padding-bottom: 25px !important;
  }
  
  .back-link {
    top: 15px !important;
    left: 15px !important;
    font-size: 0.75rem !important;
    padding: 6px 12px !important;
  }
  
  /* Layout Adjustments */
  .scroll-container { padding: 0; }
  .scroll-wrapper { padding: 10px 15px; }
  section { padding: 10px 0; }
  section h2 { margin-left: 15px; font-size: clamp(1.2rem, 3vw, 1.5rem); }
  .footer-btn { padding: 10px 20px; font-size: 0.9rem; }

  .theater-content { 
    width: 100vw; 
    height: auto; /* Changed from 70vh */
    max-height: 50vh; /* Limit height on mobile */
    border-radius: 0; 
  }
  
  .theater-content.portrait {
    max-height: 80vh; /* Taller for shorts */
    max-width: 90vw;
  }
/* Mobile - solid background and proper sizing */
  .theater-mode {
    background: #000 !important;
    backdrop-filter: none;
  }
  
  .theater-content {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
  }
  
  .theater-content.portrait {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
  }
  
  .theater-content iframe {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
  }
}

  .theater-close { top: 15px; right: 15px; }
  .tools-grid {
      grid-template-columns: 1fr 1fr;
      gap: 15px;
      margin-top: 25px;
  }
  .tool-item {
      padding: 20px 15px;
      min-height: 100px;
  }
  .tool-name {
      font-size: 1rem;
  }
  .tool-type {
      font-size: 0.85rem;
  }
  .about-section {
      padding: 30px 15px;
  }

  /* FIX: Landscape mode to show description without overflow (Nested) */
  @media (orientation: landscape) and (max-width: 1024px) {
    .video-card, .shorts-card { height: 350px !important; } /* Taller card in landscape */
    .video-card.expanded { 
        height: 350px !important; 
        min-height: 350px;
    }
    .video-card.expanded .thumbnail-wrapper { 
        height: 50% !important; /* Shrink thumbnail area */
    }
    .video-card.expanded .description-wrapper { 
        height: 50%; /* Allocate remaining space for description */
        align-items: center; 
    }
    
  }
 

  /* FIX: Landscape mode to show description without overflow */
  @media (orientation: landscape) and (max-width: 1024px) {

   .video-card, .shorts-card {
  width: 200px !important;
  min-height: 300px !important; /* allow taller cards */
  height: auto !important;
}


    .video-card.expanded { 
        height: 350px !important; 
        min-height: 350px;
    }
    .video-card.expanded .thumbnail-wrapper { 
        height: 50% !important; /* Shrink thumbnail */
    }
    .video-card.expanded .description-wrapper { 
        height: 50%; /* Give description remaining space */
        align-items: center; 
    }
    
  }

/* FIX: Remove the text indent ONLY on small mobile screens where arrows are hidden */
@media (max-width: 768px) {
    .thumbnail-title {
        /* Revert to symmetrical padding for perfect centering on small screens */
        padding-left: 15px !important; 
    }
}


/* FIX: Unify ALL card sizes to the compact 200x300 look on DESKTOP */

@media (min-width: 1025px) {
    /* Allow Netflix-style auto height */
    .video-card {
        width: 200px !important;
        min-height: 300px !important;
        height: auto !important;
        transition: all 0.6s ease-in-out;
    }
}


/* Animations */
@keyframes shimmer { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
@keyframes pulse { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; transform: scale(1.02); } }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; } 40% { transform: scale(1.2); opacity: 1; } }
@keyframes headerGlow { from { opacity: 0.7; transform: scale(1); } to { opacity: 1; transform: scale(1.1); } }

/* Contact section */
.contact-section {
  background: transparent;
  padding: 50px 20px;
  margin: 20px 0;
}

.contact-container {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.contact-container h2 {
  text-align: center;
  margin: 0 0 30px;
}

.contact-form {
  background: rgba(10, 14, 26, 0.6);
  backdrop-filter: blur(20px);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid rgba(79, 195, 247, 0.2);
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #b0bec5;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4fc3f7;
  background: rgba(0, 0, 0, 0.6);
}

.submit-btn {
  width: 100%;
  padding: 15px 30px;
  background: linear-gradient(135deg, #0288d1 0%, #01579b 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #4fc3f7 0%, #0288d1 100%);
  transform: translateY(-2px);
}

.success-message {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
  font-weight: 600;
}

/* ================================================================ */
/* ============== IMPROVED STYLES FOR TOOL PAGE V2 ================ */
/* ================================================================ */

/* --- Header & "Back" Link --- */
.tool-header {
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
}
/* This specifically targets the "Back to the Main Lab" link */
.tool-header a {
  color: var(--text-secondary); /* Softer blue from your theme */
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block; /* Allows for padding and margin */
  margin-top: 15px;
  padding: 8px 15px;
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: 20px;
  transition: all 0.3s ease;
}
.tool-header a:hover {
  background: rgba(79, 195, 247, 0.15);
  border-color: rgba(79, 195, 247, 0.6);
  color: #fff;
}


/* --- Main Container --- */
.prompt-container {
  width: 90%;
  max-width: 800px;
  margin: 20px auto; /* Reduced top margin slightly */
  padding: 40px;
}


/* --- The Generated Prompt Area --- */
.result-area {
  margin-top: 30px;
  background: rgba(0,0,0,0.3);
  padding: 30px; /* Increased padding */
  border-radius: 12px; /* Nicer rounded corners */
  text-align: left;
  border: 1px solid rgba(79, 195, 247, 0.1);
}

/* This is for the prompt text itself */
#generatedPrompt {
  font-size: 1.25rem;  /* Bigger text */
  line-height: 1.8;
  color: var(--text-primary); /* Softer, off-white color (#e8eaf6) */
  font-weight: 400; /* Normal weight, not thin */
}


/* --- Buttons --- */
#copyBtn {
  margin-top: 25px;
  padding: 12px 25px; /* Larger button */
  background: var(--accent-vivid);
  color: #000;
  border: none;
  border-radius: 8px; /* Rounded corners */
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
#copyBtn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px var(--vivid-glow);
}

/* Add this to your style.css file */
.loader-hidden #loading {
  display: none !important;
}
/* ==============================
   CINEMATIC BLUE REFINEMENT
   ============================== */

/* === Refined "AI Filmmaking Tools" Hero === */

/* ================================================================ */
/* ============  CINEMATIC HERO & BIGGER BUTTONS V2  ============== */
/* ================================================================ */

/* 1. The Main Hero Container - Glassmorphism Style */
.promo-section {
  padding: 60px 20px; /* More breathing room */
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.promo-content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 40px; /* Larger padding for cinematic feel */
  border-radius: 24px; /* Softer corners */
  text-align: center;

  /* The "Cinematic Glass" Look */
  background: rgba(15, 23, 42, 0.6); /* Semi-transparent dark blue */
  backdrop-filter: blur(20px); /* Blurs the background behind it */
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08); /* Subtle highlights */
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05); /* Inner rim light */
}

/* 2. Cinematic Typography */
.promo-title {
  font-size: clamp(2rem, 4vw, 3rem); /* Much larger title */
  font-weight: 900;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px; /* Wide tracking = Cinematic */
  line-height: 1.1;
  
  /* Gold/Silver Cinematic Gradient Text */
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.promo-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #94a3b8; /* Muted slate blue */
  max-width: 700px;
  margin: 0 auto 40px; /* Space before buttons */
  font-weight: 400;
}

/* 3. The Big Button Grid */
.promo-features-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Auto-responsive grid */
  gap: 20px; /* Clean gap */
  width: 100%;
  margin-top: 20px;
}

/* 4. THE NEW BIG BUTTONS */
.promo-feature {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 25px; /* MUCH larger click area */
  min-height: 80px;   /* Substantial height */
  
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  overflow: hidden; /* For shine effect */
}

/* Add icons (optional emoji indicators) via CSS if not in HTML */
.promo-feature::before {
  margin-right: 10px;
  font-size: 1.4rem;
  filter: grayscale(100%); /* Start subtle */
  transition: all 0.3s ease;
}

/* Cinematic Hover Effect */
.promo-feature:hover {
  transform: translateY(-5px); /* Lift up */
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.1), rgba(15, 23, 42, 0.9)); /* Blue glow */
  border-color: rgba(56, 189, 248, 0.5); /* Highlight border */
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(56, 189, 248, 0.2); /* Glow */
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
/* Fixed Beta Tag - Inline (No Overlap) */
.promo-feature .beta-tag {
  position: static; /* Sits in flow with text */
  display: inline-flex;
  align-items: center;
  margin-left: 8px; /* Spacing from text */
  transform: translateY(-1px); /* Optical alignment */
  
  /* Visual Style */
  font-size: 0.6rem;
  padding: 3px 7px;
  background: #f59e0b; /* Amber */
  color: #000;
  border-radius: 4px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Remove the old arrow lines completely */
.promo-feature::after, 
.promo-features-large .promo-feature::before,
.promo-features-large .promo-feature::after {
  display: none !important;
  content: none !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .promo-section {
    padding: 20px 10px;
  }
  .promo-content {
    padding: 30px 15px;
  }
  .promo-title {
    font-size: 1.8rem;
  }
  .promo-features-large {
    grid-template-columns: 1fr; /* Stack vertically on mobile */
  }
  .promo-feature {
    width: 100%;
    font-size: 1rem;
  }
}


/* ================================================================ */
/* ============== FINAL & COMPLETE TOOL PAGE STYLES =============== */
/* ================================================================ */

.tool-header {
  text-align: center;
  margin: 20px 0 40px 0;
  width: 100%;
}
.tool-header a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  margin-top: 15px;
  padding: 8px 15px;
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: 20px;
  transition: all 0.3s ease;
}
.tool-header a:hover {
  background: rgba(79, 195, 247, 0.15);
  border-color: rgba(79, 195, 247, 0.6);
  color: #fff;
}

.prompt-container {
  width: 90%;
  max-width: 800px;
  margin: 20px auto;
  padding: 40px;
  background: rgba(10, 14, 26, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(79, 195, 247, 0.2);
}
.prompt-container p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: center;
  margin-bottom: 30px;
}

#userInput {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  padding: 18px;
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(79, 195, 247, 0.3);
  color: var(--text-primary);
  border-radius: 12px;
  transition: all 0.3s ease;
}
#userInput:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px var(--secondary-glow);
}
#userInput::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.prompt-form .submit-btn {
  margin-top: 20px;
}

#copyBtn {
  margin-top: 25px;
  padding: 12px 25px;
  /* --- NEW BLUE STYLES --- */
  background: linear-gradient(135deg, var(--accent-blue) 0%, #0288d1 100%);
  color: var(--text-primary);
  box-shadow: 0 4px 15px var(--primary-glow);
  /* --- End of new styles --- */
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

#copyBtn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.result-area {
  margin-top: 40px;
  background: rgba(0,0,0,0.3);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  border: 1px solid rgba(79, 195, 247, 0.1);
}
#generatedPrompt {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-primary);
  font-weight: 400;
}

/* --- AUTH SECTION STYLES --- */

.auth-section {
    max-width: 600px;
    margin: 20px auto 30px;
    padding: 20px;
    background-color: #1a1a2e; /* Dark background matching the theme */
    border: 1px solid #4a4a6e;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2); /* Neon glow effect */
}

.auth-card h2 {
    color: #00ffcc; /* Neon cyan color */
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.auth-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #4a4a6e;
    border-radius: 4px;
    background-color: #0d0d18;
    color: #fff;
    box-sizing: border-box;
    font-size: 1rem;
}

.auth-card input::placeholder {
    color: #888;
}

.auth-card button {
    margin-right: 10px;
    margin-bottom: 10px;
}

.secondary-btn {
    padding: 10px 20px;
    background-color: transparent;
    color: #00ffcc; /* Neon cyan text */
    border: 2px solid #00ffcc;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    font-weight: bold;
    text-transform: uppercase;
}

.secondary-btn:hover {
    background-color: #00ffcc;
    color: #1a1a2e; /* Dark text on hover */
}

#userStatus {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
}

#userStatus strong {
    color: #00ffcc;
    font-weight: 700;
}

/* ================================================================ */
/* ============== ESSENTIAL STYLES FOR LOGIN INTERFACE ============== */
/* ================================================================ */

/* --- AUTH SECTION CONTAINER --- */
.auth-section {
    max-width: 600px;
    margin: 20px auto 30px;
    padding: 20px;
    background-color: #1a1a2e; /* Dark background matching the theme */
    border: 1px solid #4a4a6e;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2); /* Neon glow effect */
}

/* --- FORM TITLE --- */
.auth-card h2 {
    color: #00ffcc; /* Neon cyan color */
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* --- INPUT FIELDS --- */
.auth-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #4a4a6e;
    border-radius: 4px;
    background-color: #0d0d18;
    color: #fff;
    box-sizing: border-box;
    font-size: 1rem;
}

.auth-card input::placeholder {
    color: #888;
}

/* --- BUTTON LAYOUT --- */
.auth-card button {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* --- SECONDARY BUTTON (SIGN UP/LOG OUT) --- */
.secondary-btn {
    padding: 10px 20px;
    background-color: transparent;
    color: #00ffcc; /* Neon cyan text */
    border: 2px solid #00ffcc;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    font-weight: bold;
    text-transform: uppercase;
}

.secondary-btn:hover {
    background-color: #00ffcc;
    color: #1a1a2e; /* Dark text on hover */
}

/* --- USER STATUS BAR (Log-in state) --- */
#userStatus {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
}

#userStatus strong {
    color: #00ffcc;
    font-weight: 700;
}

/* --- FINAL, OVERRIDING HEADER & BUTTON FIX (Paste at the very end of style.css) --- */

/* 1. Ensure the overall header content is centered */
header {
    text-align: center !important; /* Force title/content to center */
    padding-top: 50px !important; /* Push content down */
    position: relative !important; /* Required for absolute positioning of the button */
}

/* 2. Style the Title Text (Ensure it is fully centered) */
header h1 {
    text-align: center !important;
    margin-top: 0 !important;
}

/* 3. CRITICAL FIX: Reposition and RESTORE the Button Appearance */
.header-support-btn {
    /* POSITIONING FIX: Break the button out of the flow */
    position: absolute !important;
    top: 25px !important; 
    right: 20px !important;
    
    /* RESTORE BUTTON STYLES (Use !important to force override everything) */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    gap: 5px !important;
    padding: 8px 15px !important;
    
    background-color: #ffaa00 !important; /* Gold/Orange background */
    color: #020308 !important; /* Dark text */
    
    border-radius: 6px !important;
    font-size: 0.9rem !important;
    font-weight: bold !important;
    text-decoration: none !important; /* THIS REMOVES THE UNDERLINE/LINE LOOK */
    
    box-shadow: 0 2px 10px rgba(255, 170, 0, 0.4) !important;
    z-index: 50 !important; /* Ensure it is visible above the banner */
    
    /* Hover state for completeness */
    transition: all 0.2s ease !important;
}

.header-support-btn:hover {
    background-color: #ff8f00 !important;
    transform: translateY(-1px) !important;

}


/* --- FINAL MOBILE SUPPORT BUTTON OVERRIDE --- */
@media (max-width: 600px) {
    .header-support-btn {
        /* 1. Reduce padding significantly to shrink button */
        padding: 6px 10px !important; 
        
        /* 2. Reduce font size */
        font-size: 0.7rem !important;
        
        /* 3. Adjust position to clear the title area */
        top: 30px !important; 
        right: 15px !important; 
    }
}


/* =================================
   === AD CONTAINER WRAPPER ===
   ================================= */
.ad-container-wrapper {
  /* This is the key: sets the max ad width */
  max-width: 728px; 
  
  /* These center the ad container */
  margin-left: auto;
  margin-right: auto;

  /* These add spacing above/below the ad */
  margin-top: 30px;
  margin-bottom: 30px;
  
  /* This centers the ad itself if it's smaller */
  text-align: center;
}

/* On mobile, make the ad fill the width */
@media (max-width: 728px) {
  .ad-container-wrapper {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}


section[style*="max-width:900px"] {
  text-align: center;
}

section[style*="max-width:900px"] h2 {
  text-align: center;
  color: #fefefe;
}

section[style*="max-width:900px"] p {
  text-align: center;
  margin: 0 auto;
  max-width: 850px;
}


/* === Large Blue Feature Buttons (replaces gold CTAs) === */

.promo-features-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px; /* Minimal gap */
  margin: 10px auto 0px;
}

.promo-features-large .promo-feature {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px; /* Reduced gap inside button */
  
  /* === TIGHTER WIDTHS === */
  width: auto;            
  min-width: 56px;       /* Reduced from 180px (Much tighter) */
  max-width: 189px;       /* Reduced from 260px */
  margin: 0 auto;         
  padding: 10px 16px;     /* Reduced padding (Less empty space) */
  /* ====================== */

  text-decoration: none;
  font-size: 0.85rem;     /* Slightly smaller text for a sharper look */
  font-weight: 600;
  color: #cfe9ff;
  
  border-radius: 4px;    /* Slightly tighter corners */
  border: 1.5px solid rgba(100, 170, 255, 0.4);
  background: linear-gradient(145deg, rgba(10,25,50,0.92), rgba(3,10,30,0.96));
  box-shadow:
    0 4px 25px rgba(50,150,255,0.25),
    inset 0 0 30px rgba(50,150,255,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
/* Hover / active effect - more dramatic */
.promo-features-large .promo-feature:hover {
  background: linear-gradient(145deg, rgba(20,45,85,0.96), rgba(5,15,35,0.99));
  border-color: rgba(120,200,255,0.85);
  color: #ffffff;
  box-shadow:
    0 6px 40px rgba(80,180,255,0.45),
    0 0 15px rgba(100,180,255,0.5),
    inset 0 0 35px rgba(80,180,255,0.15);
  transform: translateY(-4px) scale(1.02);
}

/* === ENHANCED VISIBLE ARROWS === */
/* Vertical connector line - brighter and thicker */
.promo-features-large .promo-feature::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -32px; /* Adjusted for larger gap */
  width: 3px;
  height: 17px;
  background: linear-gradient(
      to bottom,
      rgba(100, 200, 255, 0.9),
      rgba(100, 200, 255, 0.3)
  );
  opacity: 1;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(100, 200, 255, 0.6);
}

/* Arrowhead - bigger and brighter */
.promo-features-large .promo-feature::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -36px;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-right: 3px solid rgba(100, 200, 255, 1);
  border-bottom: 3px solid rgba(100, 200, 255, 1);
  opacity: 1;
  pointer-events: none;
  box-shadow: 
    0 0 8px rgba(100, 200, 255, 0.8),
    0 0 15px rgba(100, 200, 255, 0.4);
}

/* Hide arrows on bottom row buttons (4, 5, 6) */
.promo-features-large .promo-feature:nth-child(4)::after,
.promo-features-large .promo-feature:nth-child(4)::before,
.promo-features-large .promo-feature:nth-child(5)::after,
.promo-features-large .promo-feature:nth-child(5)::before,
.promo-features-large .promo-feature:nth-child(6)::after,
.promo-features-large .promo-feature:nth-child(6)::before {
  display: none;
}

/* Pulse animation for arrows */
@keyframes arrowPulse {
  0%, 100% {
    opacity: 1;
    transform: translateX(-50%) rotate(45deg) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translateX(-50%) rotate(45deg) scale(1.1);
  }
}

.promo-features-large .promo-feature::before {
  animation: arrowPulse 2s ease-in-out infinite;
}

/* === Center alignment fix for lead text === */

.promo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.promo-title {
  margin-bottom: 12px;
}

.promo-lead {
  text-align: center;
  margin: 0 auto 8px;
  padding: 0 20px;
  max-width: 760px;
  font-size: 0.7rem;
  line-height: 1.3;
  color: #b9dbff;
  text-shadow: 0 0 12px rgba(60, 160, 255, 0.15);
  /* === Highlight for the BETA label === */
.promo-features-large .beta-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  box-shadow: 
    0 0 10px rgba(255, 107, 53, 0.6),
    0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  animation: betaPulse 2s ease-in-out infinite;
}

@keyframes betaPulse {
  0%, 100% {
    box-shadow: 
      0 0 10px rgba(255, 107, 53, 0.6),
      0 2px 8px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 
      0 0 20px rgba(255, 107, 53, 0.9),
      0 2px 12px rgba(0, 0, 0, 0.4);
  }
}

.promo-features-large .promo-feature:hover .beta-tag {
  background: linear-gradient(135deg, #ff8f00, #ffb300);
  box-shadow: 
    0 0 20px rgba(255, 143, 0, 0.8),
    0 2px 10px rgba(0, 0, 0, 0.4);
}

}

/* === Mobile Responsiveness for Enhanced Features === */
@media (max-width: 768px) {
  .promo-features-large {
    gap: 24px; /* Slightly smaller gap on mobile */
    width: 95%;
    margin: 20px auto;
  }
  
  .promo-features-large .promo-feature {
    width: 95%;
    font-size: 0.95rem;
    padding: 14px 18px;
  }
  
  .promo-features-large .promo-feature::after {
    height: 20px;
    bottom: -28px;
  }
  
  .promo-features-large .promo-feature::before {
    bottom: -32px;
    width: 8px;
    height: 8px;
  }
}

header h1 {
  background: linear-gradient(135deg, #00aaff, #6a5acd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

/* Match header title color with section titles */
header h1, header h1 span {
  background: linear-gradient(135deg, #00bfff 0%, #0077ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(0, 191, 255, 0.4);
  font-weight: 900;
}

header h2 {
  color: #00b8ff;
  opacity: 0.8;
  font-weight: 600;
}
iframe[src*="buymeacoffee"], a[href*="buymeacoffee"] {
  display: none !important;
}



/* === Lateral Vertical Ads pinned near AI Tools === */

.ad-lateral {
  position: fixed;
  top: 160px;                 /* aligns visually with AI tools block */
  width: 160px;
  height: 600px;              /* AdSense will adapt inside */
  display: block;
  z-index: 40;
  opacity: 0;                 /* start hidden, JS toggles */
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.ad-left {
  left: 24px;
}

.ad-right {
  right: 24px;
}

/* Hide on smaller screens so layout stays clean */
@media (max-width: 1280px) {
  .ad-lateral {
    display: none !important;
  }
}


/* ================================================= */
/* === COMPACT LANDING PAGE (Pulls Carousel Up) === */
/* ================================================= */

/* 1. Tighten the Main Header */
header {
    padding-top: 15px !important;    /* Reduced from 50px/25px */
    padding-bottom: 10px !important; /* Reduced from 20px */
}

/* 2. Reduce spacing around the Blue Hero Box */
.promo-section {
    padding-top: 10px !important;    /* Reduced from 40px */
    padding-bottom: 15px !important; /* Reduced from 10px/40px */
    min-height: auto !important;     /* Remove any height forcing */
}

/* 3. Compact the Blue Hero Box Internals */
.promo-content {
    padding: 15px 20px 15px !important; /* Reduced from 26px 30px */
    max-width: 900px !important;        /* Slightly narrower looks cleaner */
}

/* 4. Tighten Title and Description Text */
.promo-title {
    margin-bottom: 2px !important;      /* Push text closer to title */
    font-size: 1.1rem !important;       /* Ensure it's not huge */
}

.promo-lead {
    margin-bottom: 8px !important;      /* Push buttons closer to text */
    font-size: 0.85rem !important;
}

/* 5. Make the Button Grid Tighter */
.promo-features-large {
    gap: 8px !important;        /* Keep buttons close */
    margin-top: 5px !important; /* Reduce top margin */
}

/* 6. Make the Buttons themselves maintain good height */
.promo-features-large .promo-feature {
    padding: 12px 18px !important; /* Better balance of height and width */
    font-size: 0.9rem !important;
}

/* 7. Adjust the decorative arrows to fit the new tight spacing */
.promo-features-large .promo-feature::after {
    height: 15px !important;      /* Shorten the vertical line */
    bottom: -26px !important;     /* Adjust position */ 
}

.promo-features-large .promo-feature::before {
    bottom: -30px !important;     /* Adjust arrow head position */
}

/* 8. Pull the Carousel closer to the Hero Box */
main {
    padding-top: 0 !important;
}

.scroll-container {
    margin-top: 0 !important; 
}

/* (Optional) Adjust the section title "Cinematic Shorts" spacing */
section h2 {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    font-size: 1.2rem !important; /* Slightly smaller title */
}

/* ================================================================ */
/* === COMPACT PROMO SECTION FIX - PASTE AT BOTTOM OF STYLE.CSS == */
/* ================================================================ */

/* Make promo section MUCH more compact */
.promo-section {
  padding: 1.5rem 20px 1.25rem 20px !important;
}

.promo-content {
  padding: 1.25rem 1.5rem 1.25rem !important; /* MUCH less padding */
  max-width: 800px !important; /* Narrower box */
  border-radius: 14px !important;
}

/* BIGGER title */
.promo-title {
  font-size: 2.5rem !important;
  margin-bottom: 0.4rem !important; /* Less space below */
  font-weight: 800 !important;
}

.promo-lead {
  font-size: 0.9rem !important;
  margin-bottom: 1rem !important; /* Less space before buttons */
  line-height: 1.45 !important;
  max-width: 650px !important;
}

/* MUCH smaller compact buttons */
.promo-features-large {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.6rem !important; /* Tighter gap */
  max-width: 750px !important; /* Narrower grid */
  margin: 0 auto !important;
}

.promo-feature {
  padding: 0.65rem 0.9rem !important; /* Even smaller */
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  min-height: auto !important;
  height: auto !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  line-height: 1.25 !important;
  
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.promo-feature:hover {
  transform: translateY(-2px) !important;
}

/* Remove arrows completely */
.promo-feature::after,
.promo-feature::before,
.promo-features-large .promo-feature::after,
.promo-features-large .promo-feature::before {
  display: none !important;
  content: none !important;
}

/* Smaller beta tag */
.beta-tag {
  font-size: 0.58rem !important;
  padding: 0.15rem 0.35rem !important;
  margin-left: 0.25rem !important;
  border-radius: 3px !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .promo-section {
    padding: 1.25rem 1rem 1rem !important;
  }
  
  .promo-content {
    padding: 1rem 1rem !important;
  }
  
  .promo-title {
    font-size: 1.75rem !important;
  }
  
  .promo-lead {
    font-size: 0.85rem !important;
    margin-bottom: 0.9rem !important;
  }
  
  .promo-features-large {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
  }
  
  .promo-feature {
    padding: 0.7rem 0.85rem !important;
    font-size: 0.78rem !important;
  }
}

