/* ========================================
   GAMINGSTUNT - COMPLETE CSS
   Version: 2.0
   Last Updated: Dec 2025
   ======================================== */

/* ===== CSS RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand Colors */
  --bg-primary: #0a0e1a;
  --bg-secondary: #1a1d2e;
  --accent-primary: #FFD700;
  --accent-secondary: #FFE55C;
  --success: #10b981;
  --error: #ef4444;
  --text-primary: #e5e7eb;
  --text-secondary: #9ca3af;
  --border-color: #1f2937;
  
  /* Spacing */
  --container-width: 1200px;
  --section-padding: 80px 20px;
  
  /* Transitions */
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Inter', 'Roboto', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===== HEADER & NAVIGATION ===== */
.main-header {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  height: 45px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 35px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 8px 0;
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.youtube-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-primary);
  font-weight: 600;
}

.youtube-icon {
  font-size: 14px;
}

.live-badge {
  background: #ff0000;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: var(--accent-primary);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(10, 14, 26, 0.98);
  backdrop-filter: blur(20px);
  padding: 80px 30px 30px;
  transition: right 0.4s ease;
  z-index: 1001;
  border-left: 1px solid var(--border-color);
}

.mobile-menu-overlay.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 36px;
  color: var(--accent-primary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.mobile-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.mobile-nav-link {
  font-size: 18px;
  font-weight: 500;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.youtube-mobile {
  color: var(--accent-primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1), transparent 70%);
  animation: glow 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 35px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

.btn-tool {
  width: 100%;
  padding: 12px 24px;
  background: rgba(255, 215, 0, 0.1);
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  font-size: 15px;
  border-radius: 8px;
}

.btn-tool:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.2);
}

.btn-youtube {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  animation: subtlePulse 3s infinite;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-youtube:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(255, 0, 0, 0.5);
}

@keyframes subtlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* ===== TOOLS PAGE - HERO ===== */
.tools-hero {
  padding: 100px 20px 60px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
  position: relative;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.tools-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  background: linear-gradient(135deg, #FFD700, #FFE55C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  line-height: 1.2;
}

.tools-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 25px;
  line-height: 1.5;
}

.tools-count {
  margin-top: 20px;
}

.count-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.15);
  color: var(--accent-primary);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

/* ===== TOOLS PAGE - FILTER ===== */
.tools-filter-section {
  padding: 30px 20px;
  background: rgba(31, 41, 55, 0.3);
  border-bottom: 1px solid var(--border-color);
  
  
  
  
}

.filter-tabs {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  font-family: inherit;
}

.filter-tab:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(255, 215, 0, 0.05);
}

.filter-tab.active {
  background: var(--accent-primary);
  color: var(--bg-primary);
  border-color: var(--accent-primary);
}

/* ===== TOOLS PAGE - GRID ===== */
.tools-section {
  padding: 60px 20px 80px;
  background: var(--bg-primary);
}

.tools-category {
  margin-bottom: 70px;
}

.category-heading {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 30px;
  color: var(--text-primary);
  font-weight: 700;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.tool-card {
  background: rgba(31, 41, 55, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tool-card:hover::before {
  transform: scaleX(1);
}

.tool-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.2);
  background: rgba(31, 41, 55, 0.6);
}

.tool-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: inline-block;
}

.tool-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.3;
}

.tool-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.tool-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tool-game,
.tool-type {
  background: rgba(255, 215, 0, 0.1);
  color: var(--accent-primary);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

.tool-type {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 60px 20px;
  background: rgba(31, 41, 55, 0.3);
}

.cta-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 40px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
  border: 2px solid var(--accent-primary);
  border-radius: 20px;
}

.cta-box h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 15px;
  color: var(--text-primary);
}

.cta-box p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.7;
}

/* ===== TRUST INDICATORS ===== */
.trust-indicators {
  padding: 60px 20px;
  background: rgba(31, 41, 55, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.15);
}

.stat-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== YOUTUBE SECTION ===== */
.youtube-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.05), rgba(255, 215, 0, 0.05));
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  text-align: center;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 50px;
  font-size: 18px;
}

.youtube-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.youtube-cta {
  text-align: center;
  padding: 40px;
  background: rgba(10, 14, 26, 0.6);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.yt-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.youtube-cta h3 {
  font-size: 28px;
  color: var(--accent-primary);
  margin-bottom: 15px;
}

.youtube-cta p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-size: 16px;
}

.yt-benefits {
  list-style: none;
  text-align: left;
  margin: 25px 0 35px;
  padding: 0;
}

.yt-benefits li {
  padding: 10px 0;
  color: var(--text-primary);
  font-size: 15px;
}

.yt-subtext {
  margin-top: 15px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* YouTube CTA Banner (Contact Page & Other Pages) */
.youtube-cta-banner {
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(255, 215, 0, 0.05));
  border-radius: 16px;
  border: 2px solid rgba(255, 0, 0, 0.3);
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.15);
  transition: all 0.3s ease;
  margin: 60px auto;
  max-width: 800px;
}

.youtube-cta-banner:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(255, 0, 0, 0.25);
  border-color: rgba(255, 0, 0, 0.5);
}

.youtube-cta-banner p {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 25px;
  font-weight: 500;
  line-height: 1.6;
}

.youtube-cta-banner a {
  display: inline-block;
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
  padding: var(--section-padding);
  background: rgba(31, 41, 55, 0.2);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.benefit-card {
  text-align: center;
  padding: 35px 25px;
  background: rgba(10, 14, 26, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 50px;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 600;
}

.benefit-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.main-footer {
  background: rgba(15, 20, 30, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 60px 20px 30px;
  margin-top: 0;
}

.newsletter-section {
  text-align: center;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-heading {
  font-size: 26px;
  margin-bottom: 10px;
  color: var(--accent-primary);
}

.newsletter-subtext {
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-size: 15px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 15px;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.newsletter-btn {
  padding: 14px 28px;
  background: var(--accent-primary);
  color: var(--bg-primary);
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.newsletter-btn:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
}

.newsletter-message {
  font-size: 14px;
  margin-top: 10px;
  min-height: 20px;
}

.newsletter-message.success {
  color: var(--success);
}

.newsletter-message.error {
  color: var(--error);
}

.social-section {
  text-align: center;
  margin-bottom: 40px;
}

.social-heading {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 41, 55, 0.6);
  border-radius: 50%;
  color: var(--accent-primary);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.social-icon:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.footer-links {
  text-align: center;
  margin-bottom: 30px;
}

.footer-links-heading {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 14px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent-primary);
}

.footer-tagline {
  text-align: center;
  margin: 30px 0 20px;
  color: var(--text-secondary);
  font-size: 15px;
  font-style: italic;
}

.footer-copyright {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 13px;
}

/* ===== TOOL PAGES ===== */
.tool-page {
  padding: 40px 20px 80px;
  min-height: 60vh;
}

.tool-header {
  text-align: center;
  margin-bottom: 40px;
}

.tool-container {
  background: rgba(31, 41, 55, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 35px;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-section {
  margin-bottom: 25px;
}

.form-section h3 {
  font-size: 20px;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: rgba(10, 14, 26, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group small {
  font-size: 13px;
  color: var(--text-secondary);
}

.results-section {
  margin-top: 40px;
  padding: 30px;
  background: rgba(16, 185, 129, 0.05);
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
}

.results-section h3 {
  font-size: 22px;
  margin-bottom: 25px;
  color: var(--accent-primary);
  text-align: center;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.result-item {
  background: rgba(10, 14, 26, 0.6);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.result-item.highlight {
  border-color: var(--accent-primary);
  background: rgba(255, 215, 0, 0.05);
}

.result-label {
  font-size: 13px;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 8px;
}

.result-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-primary);
  display: block;
}

.result-tips {
  margin-top: 30px;
}

.result-tips h4 {
  font-size: 18px;
  color: var(--accent-primary);
  margin-bottom: 15px;
}

.result-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.result-tips li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  color: var(--text-secondary);
  line-height: 1.6;
}

.tool-guide {
  max-width: 900px;
  margin: 60px auto 0;
}

.tool-guide h2 {
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 20px;
  margin-top: 40px;
}

.tool-guide h3 {
  font-size: 22px;
  color: var(--accent-primary);
  margin-bottom: 15px;
  margin-top: 30px;
}

.tool-guide p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.tool-guide ul {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 25px;
  padding-left: 30px;
}

.tool-guide li {
  margin-bottom: 12px;
}

.tool-guide table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
}

.tool-guide th,
.tool-guide td {
  padding: 12px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  text-align: left;
}

.tool-guide th {
  background: rgba(255, 215, 0, 0.1);
  font-weight: 600;
  color: var(--accent-primary);
}

.tool-guide td {
  color: var(--text-secondary);
}

/* ===== GOOGLE ADSENSE ===== */
.adsbygoogle {
  display: block;
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}

.ad-label {
  display: block;
  font-size: 10px;
  color: #6b7280;
  text-align: center;
  margin-bottom: 8px;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}

.adsbygoogle ins {
  overflow: hidden;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .youtube-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .result-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-tabs {
    gap: 10px;
  }
  
  .filter-tab {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .tools-filter-section {
    position: static;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 80px 20px 60px;
  }
  
  .tools-hero {
    padding: 80px 20px 50px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-menu {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .cta-box {
    padding: 35px 25px;
  }
  
  .tool-container {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .tools-title {
    font-size: 32px;
  }
  
  .category-heading {
    font-size: 22px;
  }
}

/* ===== TOOL SECTION (Content Pages) ===== */
.tool-section {
  margin-bottom: 50px;
}

.tool-section h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.tool-section h2 {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--text-primary);
  margin-bottom: 25px;
  margin-top: 50px;
  font-weight: 700;
  line-height: 1.3;
}

.tool-section h3 {
  font-size: clamp(20px, 3vw, 26px);
  color: var(--accent-primary);
  margin-bottom: 18px;
  margin-top: 35px;
  font-weight: 600;
  line-height: 1.4;
}

.tool-section p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 25px;
}

.tool-section ul,
.tool-section ol {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 30px;
  padding-left: 30px;
}

.tool-section li {
  margin-bottom: 15px;
}

.tool-section strong {
  color: var(--text-primary);
  font-weight: 600;
}


.featured-tools-cta {
  margin-top: 50px;
  margin-bottom: 80px;
  text-align: center;
}

/* ===== TOOLS HOME FOOTER SPACING ===== */
.tools-home-footer {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
  padding: 0;
}

.tools-home-hint {
  margin-top: 15px;
  font-size: 16px;
  color: var(--text-secondary);
}

/* ===== ROTATING TOOLS PROMOTION STRIP ===== */
.tools-promo-strip {
  margin-bottom: 0;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05), rgba(255, 215, 0, 0.1));
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  padding: 25px 0;
  overflow: hidden;
  position: relative;
}

.promo-track {
  display: flex;
  width: fit-content;
  animation: scroll-promo 40s linear infinite;
}

.promo-track:hover {
  animation-play-state: paused;
}

.promo-items {
  display: flex;
  gap: 40px;
  padding: 0 20px;
}

.promo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(10, 14, 26, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-primary);
}

.promo-item:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--accent-primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.promo-icon {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.promo-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

@keyframes scroll-promo {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .promo-items {
    gap: 25px;
  }
  
  .promo-item {
    padding: 10px 20px;
  }
  
  .promo-icon {
    font-size: 20px;
  }
  
  .promo-text {
    font-size: 14px;
  }
}

/* ===== TOOL PAGE INTRO SPACING FIX ===== */
.tool-intro {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 45px;
  max-width: 900px;
}

.tool-layout {
  margin-top: 40px;
}

.tool-header {
  margin-bottom: 35px;
}

.tool-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 20px;
  line-height: 1.3;
}

/* ===== HERO INTERACTIVE EFFECTS ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 3s ease-out forwards;
  box-shadow: 0 0 10px var(--accent-primary);
}

@keyframes float-particle {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) scale(1.5);
  }
}

.hero-title {
  transition: transform 0.3s ease;
}

.hero:hover .hero-title {
  transform: scale(1.02);
}

/* Glow effect on mouse move */
.hero-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.hero:hover .hero-glow {
  opacity: 1;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent-primary);
  color: var(--bg-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-secondary);
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
}

.back-to-top:active {
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  stroke-width: 3;
}

/* Responsive */
@media (max-width: 768px) {
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
  
  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* ========================================
   BOOKS/RESOURCES PAGE
======================================== */

/* Hero */
.books-hero {
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid var(--accent-primary);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.books-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700, #FFE55C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.books-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Search */
.search-wrapper {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    background: rgba(26, 29, 46, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
}

/* Stats */
.resource-stats {
    padding: 40px 20px;
    background: rgba(26, 29, 46, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Categories */
.resource-category {
    padding: 60px 20px;
}

.category-heading {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Resource Cards */
.resource-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.15);
}

.resource-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.resource-badge {
    padding: 4px 10px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-badge.hot {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    animation: pulse 2s infinite;
}

.resource-pages {
    font-size: 12px;
    color: var(--text-secondary);
    background: rgba(255, 215, 0, 0.1);
    padding: 4px 10px;
    border-radius: 5px;
}

.resource-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.resource-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.btn-download {
    width: 100%;
    padding: 12px 20px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.btn-download:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Features */
.resources-features {
    padding: 80px 20px;
    background: rgba(26, 29, 46, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA */
.resources-cta {
    padding: 80px 20px;
}

.cta-box {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 2px solid var(--accent-primary);
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.cta-box p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* No Results */
.no-results-message {
    text-align: center;
    padding: 80px 20px;
}

.no-results-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.no-results-content p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .books-hero {
        padding: 80px 20px 50px;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-box {
        padding: 40px 25px;
    }
}

@media (max-width: 480px) {
    .books-title {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   LIGHT MODE THEME
   ======================================== */
body.light-mode {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-card: #ffffff;
    --text-primary: #0a0e1a;
    --text-secondary: #4a5568;
    --border-color: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
    --accent: #FFD700;
    --accent-hover: #FFC700;
}

body.light-mode {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text-primary);
}

body.light-mode .card,
body.light-mode .tool-card,
body.light-mode .guide-card {
    background: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: 0 4px 12px var(--shadow);
}

body.light-mode header,
body.light-mode footer {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

body.light-mode .nav-links a {
    color: var(--text-primary);
}

body.light-mode .nav-links a:hover {
    color: var(--accent);
}

body.light-mode input,
body.light-mode textarea,
body.light-mode select {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

body.light-mode .btn-primary,
body.light-mode button[type="submit"] {
    background: var(--accent);
    color: var(--text-primary);
}

body.light-mode .btn-primary:hover {
    background: var(--accent-hover);
}

body.light-mode #themeToggle {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-primary);
}
