/* ==========================================================================
   OPTI COMPRESS - MASTER CSS DESIGN SYSTEM
   Professional, Responsive, Dark Mode Enabled, AdSense Ready
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables & Theme Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Color Palette */
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-light: #EFF6FF;
  --secondary: #0F172A;
  --secondary-hover: #1E293B;
  --accent: #38BDF8;
  --accent-hover: #0284C7;
  
  /* Status Colors */
  --success: #22C55E;
  --success-bg: #DCFCE7;
  --warning: #F59E0B;
  --warning-bg: #FEF3C7;
  --error: #EF4444;
  --error-bg: #FEE2E2;

  /* Neutrals (Light Mode Default) */
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --border-color: #E2E8F0;
  --border-focus: #93C5FD;
  
  /* Text Colors */
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-inverse: #FFFFFF;

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);

  /* Layout Constants */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --header-height: 80px;
  --header-shrink: 64px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Dark Mode Theme Overrides */
[data-theme="dark"] {
  --primary: #3B82F6;
  --primary-hover: #60A5FA;
  --primary-light: rgba(59, 130, 246, 0.15);
  --secondary: #F8FAFC;
  --secondary-hover: #E2E8F0;

  --bg-main: #0B0F19;
  --bg-surface: #111827;
  --bg-card: #1F2937;
  --bg-subtle: #1F2937;
  --border-color: #374151;
  --border-focus: #60A5FA;

  --text-main: #F9FAFB;
  --text-muted: #9CA3AF;
  --text-light: #6B7280;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --glass-bg: rgba(17, 24, 39, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Focus Visible Accessibility */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Container & Layout System
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.main-content {
  flex: 1 0 auto;
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: 60px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

@media (max-width: 992px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   4. Header & Sticky Navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: height var(--transition-fast), background-color var(--transition-normal);
}

.header.shrink {
  height: var(--header-shrink);
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-main);
}

.brand-logo svg {
  height: 44px;
  width: auto;
  transition: transform var(--transition-fast);
}

.header.shrink .brand-logo svg {
  height: 36px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Dark Mode Switcher Toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.theme-toggle:hover {
  transform: scale(1.05);
  color: var(--primary);
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 868px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
    box-shadow: var(--shadow-xl);
  }

  .header.shrink .nav-menu {
    top: var(--header-shrink);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

/* --------------------------------------------------------------------------
   5. Buttons & Components
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--border-color);
  color: var(--text-main);
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--accent);
  color: #0F172A;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #FFFFFF;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-danger {
  background-color: var(--error-bg);
  color: var(--error);
  border: 1px solid var(--error);
}

.btn-danger:hover {
  background-color: var(--error);
  color: #FFFFFF;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span.sep {
  opacity: 0.5;
}

.breadcrumbs span.current {
  color: var(--text-main);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-ctas {
    justify-content: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-title span.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --------------------------------------------------------------------------
   7. Image Compressor Tool Component
   -------------------------------------------------------------------------- */
.tool-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  margin-bottom: 48px;
}

@media (max-width: 600px) {
  .tool-wrapper {
    padding: 20px;
  }
}

/* Dropzone */
.dropzone {
  border: 2px dashed var(--primary);
  background-color: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-anchor: middle;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.dropzone:hover,
.dropzone.dragover {
  background-color: rgba(37, 99, 235, 0.12);
  border-color: var(--primary-hover);
  transform: scale(1.008);
}

.dropzone-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: var(--primary);
}

.dropzone-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dropzone-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.file-input {
  display: none;
}

/* Controls Panel */
.tool-controls {
  margin-top: 32px;
  padding: 24px;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-label {
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-val {
  color: var(--primary);
  font-weight: 800;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

.select-input {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-main);
  outline: none;
}

/* Batch Toolbar */
.batch-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 16px;
}

.batch-stats {
  font-weight: 700;
  font-size: 1.05rem;
}

.batch-actions {
  display: flex;
  gap: 12px;
}

/* Compressed Item Cards */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.file-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.file-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 680px) {
  .file-card {
    grid-template-columns: 60px 1fr;
  }
  .file-card-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
}

.file-thumb {
  width: 80px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
}

.file-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.file-name {
  font-weight: 700;
  font-size: 0.95rem;
  word-break: break-all;
}

.file-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.badge-savings {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  background-color: var(--success-bg);
  color: var(--success);
  font-weight: 800;
  font-size: 0.8rem;
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background-color: var(--bg-subtle);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 6px;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--primary);
  width: 0%;
  transition: width 0.3s ease;
}

.file-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   8. SEO & Content Article Formatting
   -------------------------------------------------------------------------- */
.seo-article {
  line-height: 1.8;
  font-size: 1.05rem;
  color: var(--text-main);
}

.seo-article h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.25;
}

.seo-article h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 40px 0 20px;
  color: var(--text-main);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}

.seo-article h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 28px 0 16px;
  color: var(--text-main);
}

.seo-article h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 20px 0 12px;
}

.seo-article p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.seo-article ul, .seo-article ol {
  margin: 0 0 24px 24px;
  color: var(--text-muted);
}

.seo-article li {
  margin-bottom: 10px;
}

/* Table Styling */
.table-wrapper {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.data-table th, .data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  background-color: var(--bg-subtle);
  font-weight: 700;
  color: var(--text-main);
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* Highlight / Alert Boxes */
.alert-box {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin: 28px 0;
  border-left: 4px solid var(--primary);
  background-color: var(--primary-light);
  color: var(--text-main);
}

.alert-box.info {
  border-left-color: var(--accent);
  background-color: rgba(56, 189, 248, 0.1);
}

.alert-box.success {
  border-left-color: var(--success);
  background-color: var(--success-bg);
  color: #065F46;
}

/* --------------------------------------------------------------------------
   9. AdSense Responsive Placeholders
   -------------------------------------------------------------------------- */
.ad-placeholder {
  width: 100%;
  min-height: 120px;
  background-color: var(--bg-subtle);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 32px 0;
  padding: 16px;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ad-placeholder::before {
  content: 'ADVERTISEMENT';
  font-size: 0.7rem;
  opacity: 0.6;
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   10. Sidebar Component
   -------------------------------------------------------------------------- */
.sidebar {
  display: flex;
  flex-direction: flex-column;
  flex-direction: column;
  gap: 32px;
}

.sidebar-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}

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

.sidebar-list-item a {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
  display: block;
  transition: color var(--transition-fast);
}

.sidebar-list-item a:hover {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   11. FAQ & Accordion Component
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
  color: var(--primary);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* --------------------------------------------------------------------------
   12. Footer Component
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 868px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Social Media Icons with Brand Hover Colors & Animations */
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

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

/* Brand Specific Hover Colors */
.social-icon.facebook:hover {
  background-color: #1877F2;
  color: #FFFFFF;
  border-color: #1877F2;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.social-icon.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.4);
}

.social-icon.twitter:hover {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.social-icon.linkedin:hover {
  background-color: #0A66C2;
  color: #FFFFFF;
  border-color: #0A66C2;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.4);
}

.social-icon.youtube:hover {
  background-color: #FF0000;
  color: #FFFFFF;
  border-color: #FF0000;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

.social-icon.pinterest:hover {
  background-color: #BD081C;
  color: #FFFFFF;
  border-color: #BD081C;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 12px rgba(189, 8, 28, 0.4);
}

.social-icon.github:hover {
  background-color: #24292E;
  color: #FFFFFF;
  border-color: #24292E;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 12px rgba(36, 41, 46, 0.4);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   13. Toast Notifications & Cookie Consent
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background-color: var(--secondary);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInLeft 0.3s ease;
}

@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
