:root {
  --primary-color: #2563EB;
  --secondary-color: #4B5563;
  --accent-color: #EFF6FF;
  --success-color: #10B981;
  --light-gray: #F3F4F6;
  --dark-gray: #1F2937;
  --white: #FFFFFF;
  --black: #000000;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --border-radius: 8px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body {
  background-color: #F9FAFB;
  color: #4B5563;
  min-height: 100vh;
  transition: background-color 0.3s, color 0.3s;
}
body.dark {
  background-color: #2d3748;
  color: #e5e7eb;
}
body.dark * {
  color: #e5e7eb;
}
body.dark .text-white,
body.dark .input-group label,
body.dark .output-header h2,
body.dark .nav-link,
body.dark .btn-primary,
body.dark .btn-success,
body.dark .copy-notification,
body.dark .accordion-header {
  color: #FFFFFF;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}
.input-section {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.dark .input-section {
  background-color: #374151;
}
.output-section {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.dark .output-section {
  background-color: #374151;
}
.output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--light-gray);
}
.dark .output-header {
  border-bottom: 1px solid #4b5563;
}
.output-box {
  width: 100%;
  min-height: 100px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 0.75rem;
  overflow-wrap: break-word;
  background-color: var(--accent-color);
  color: #1F2937;
}
.dark .output-box {
  border: 1px solid #4b5563;
  background-color: #4b5563;
  color: #e5e7eb;
}
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.btn {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}
.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}
.btn-primary:hover {
  background-color: #1D4ED8;
}
.btn-secondary {
  background-color: var(--light-gray);
  color: #4B5563;
}
.dark .btn-secondary {
  background-color: #4b5563;
  color: #e5e7eb;
}
.btn-secondary:hover {
  background-color: #E5E7EB;
}
.dark .btn-secondary:hover {
  background-color: #6b7280;
}
.btn-success {
  background-color: var(--success-color);
  color: var(--white);
}
.btn-success:hover {
  background-color: #059669;
}
.btn i {
  margin-right: 0.5rem;
}
.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.input-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #000000;
}
.dark .input-group label {
  color: #FFFFFF;
}
.input-field {
  padding: 0.75rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease;
  color: #1F2937;
}
.dark .input-field {
  border: 1px solid #4b5563;
  background-color: #4b5563;
  color: #e5e7eb;
}
.input-field:focus {
  border-color: var(--primary-color);
}
.input-field::placeholder {
  color: #6b7280;
}
.dark .input-field::placeholder {
  color: #d1d5db;
}
.note {
  font-size: 0.875rem;
  color: #6b7280;
}
.dark .note {
  color: #d1d5db;
}
.error-message {
  font-size: 0.875rem;
  color: #ef4444;
  margin-top: 0.25rem;
  display: none;
}
.copy-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--success-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--border-radius);
  display: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.copy-notification.show {
  display: block;
  opacity: 1;
}
@keyframes fadeInOut {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}
/* Header Styles */
.nav-bar {
  background-color: var(--white);
  padding: 1rem 2rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
.dark .nav-bar {
  background-color: #374151;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  color: #4B5563;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: var(--primary-color);
}
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #4B5563;
}
.dark .hamburger {
  color: #e5e7eb;
}
.theme-toggle {
  position: absolute;
  top: 1rem;
  right: 2rem;
}
.theme-toggle button {
  padding: 8px;
  border-radius: 50%;
  background-color: #e5e7eb;
  color: #1f2937;
  font-size: 1.25rem;
  border: none;
  cursor: pointer;
}
.dark .theme-toggle button {
  background-color: #4b5563;
  color: #e5e7eb;
}
#snowCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}
/* Footer Styles */
.footer {
  background-color: var(--white);
  padding: 2rem 1rem;
  border-top: 1px solid var(--light-gray);
  margin-top: 2rem;
  width: 100%;
}
.dark .footer {
  background-color: #374151;
  border-top: 1px solid #4b5563;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.footer-section {
  flex: 1;
  min-width: 200px;
}
.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1F2937;
}
.dark .footer-section h3 {
  color: #e5e7eb;
}
.footer-section ul {
  list-style: none;
}
.footer-section ul li {
  margin-bottom: 0.5rem;
}
.footer-section ul li a {
  color: #4B5563;
  text-decoration: none;
  transition: color 0.3s ease;
}
.dark .footer-section ul li a {
  color: #d1d5db;
}
.footer-section ul li a:hover {
  color: var(--primary-color);
}
.social-icons {
  display: flex;
  gap: 1rem;
}
.social-icons a {
  color: #4B5563;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
.dark .social-icons a {
  color: #d1d5db;
}
.social-icons a:hover {
  color: var(--primary-color);
}
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
  color: #6b7280;
}
.dark .footer-bottom {
  border-top: 1px solid #4b5563;
  color: #d1d5db;
}
/* Heading Section */
.heading-section {
  text-align: center;
  padding: 2rem 0;
}
.heading-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1F2937;
}
.dark .heading-section h1 {
  color: #e5e7eb;
}
.heading-section p {
  font-size: 1rem;
  color: #6b7280;
  margin-top: 0.5rem;
}
.dark .heading-section p {
  color: #d1d5db;
}
/* Accordion Styles */
.accordion-section {
  margin: 2rem 0;
}
.accordion {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}
.dark .accordion {
  background-color: #374151;
}
.accordion-header {
  padding: 1rem;
  font-weight: 600;
  color: #1F2937;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}
.dark .accordion-header {
  color: #e5e7eb;
}
.accordion-header:hover {
  background-color: var(--light-gray);
}
.dark .accordion-header:hover {
  background-color: #4b5563;
}
.accordion-header i {
  transition: transform 0.3s ease;
}
.accordion-header.active i {
  transform: rotate(180deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.accordion-content.active {
  max-height: 500px;
  padding: 1rem;
}
.accordion-content p, .accordion-content li {
  font-size: 0.875rem;
  color: #4B5563;
}
.dark .accordion-content p, .dark .accordion-content li {
  color: #d1d5db;
}
/* Blog Section Styles */
.blog-section {
  margin: 2rem 0;
}
.blog-post {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.dark .blog-post {
  background-color: #374151;
}
.content-section {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.dark .content-section {
  background-color: #374151;
}
.sidebar {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.dark .sidebar {
  background-color: #374151;
}
.latest-posts ul li {
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 0.5rem;
}
.dark .latest-posts ul li {
  border-bottom: 1px solid #4b5563;
}
.latest-posts ul li:last-child {
  border-bottom: none;
}
@media (max-width: 768px) {
  .container {
    padding: 0.5rem;
  }
  .input-section, .output-section, .accordion, .blog-post, .sidebar, .content-section {
    padding: 1rem;
  }
  .action-buttons {
    justify-content: center;
  }
  .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--white);
    padding: 1rem;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 1000;
  }
  .dark .nav-links {
    background-color: #374151;
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .theme-toggle {
    right: 2rem;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
  .heading-section h1 {
    font-size: 1.75rem;
  }
}