    :root {
      --text-color: #333;
      --bg-color: #121212;
      --mast-text-color: white;
      --shadow-color: #690000;
      --primary-color: #860000;
      --secondary-color: #695351;
      --header-bg: #f0f0f0;
      --highlight-color: #ff4444;
      --success-color: #4caf50;
      --warning-color: #ff9800;
      --error-color: #f44336;
      --info-color: #2196f3;
      --time-color: black;
      --overlay-bg: #2fa;
      --overlay-text: #f22;
    }

    @media (prefers-color-scheme: dark) {
      :root {
        --bg-color: #121212;
        --text-color: #f0f0f0;
        --card-bg: #2d2d2d;
        --shadow-color: #400000;
        --header-bg: #1a1a1a;
        --secondary-color: #a08985;
      }
    }

    /* Prevent text selection */
    * {
      -webkit-touch-callout: none;
      -webkit-user-select: none;
      -khtml-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }

    body {
      background-color: var(--bg-color);
      color: var(--text-color);
      line-height: 1.6;
      margin: 0;
      padding: 10px;
      font-family: "Titillium Web", sans-serif;
      user-select: none;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      cursor: default;
    }

    .theme-transition {
      transition: background-color var(--transition-speed), color var(--transition-speed);
    }

    .theme-transition-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1000;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.5s ease-in-out;
    }

    /* Background Animation */
    .background-animation {
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      pointer-events: none;
      z-index: -1;
      overflow: hidden;
    }

    .bubble {
      position: absolute;
      bottom: -100px;
      border-radius: 50%;
      opacity: 0.1;
      background: radial-gradient(circle at 30% 30%, var(--primary-color), transparent);
      animation: bubble 20s infinite linear;
    }

    @keyframes bubble {
      0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
      }

      100% {
        transform: translateY(-1200px) rotate(360deg);
        opacity: 0;
      }
    }

    /* Dark Mode Toggle */
    .dark-mode-toggle {
      position: fixed;
      top: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: var(--primary-color);
      color: white;
      border: none;
      cursor: pointer;
      z-index: 101;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .dark-mode-toggle:hover {
      transform: scale(1.1);
      background-color: var(--secondary-color);
    }

    .dark-mode-toggle:active {
      transform: scale(0.95);
    }

    /* Settings Toggle */
    .settings-toggle {
      position: fixed;
      top: 20px;
      right: 70px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: var(--primary-color);
      color: white;
      border: none;
      cursor: pointer;
      z-index: 101;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .settings-toggle:hover {
      transform: scale(1.1);
      background-color: var(--secondary-color);
    }

    .settings-toggle:active {
      transform: scale(0.95);
    }

    .ripple {
      position: absolute;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.4);
      transform: scale(0);
      animation: ripple 0.6s ease-out;
      pointer-events: none;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
    }

    @keyframes ripple {
      to {
        transform: scale(2);
        opacity: 0;
      }
    }

    /* Settings Panel */
    .settings-panel {
      position: fixed;
      top: 70px;
      right: 20px;
      width: 300px;
      background-color: var(--card-bg);
      border-radius: 10px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      z-index: 100;
      overflow: hidden;
      transform: translateY(-20px);
      opacity: 0;
      pointer-events: none;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .settings-panel.active {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .settings-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px;
      background-color: var(--primary-color);
      color: white;
    }

    .settings-header h3 {
      margin: 0;
      font-weight: 600;
    }

    .settings-close {
      background: none;
      border: none;
      color: white;
      font-size: 20px;
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .settings-close:hover {
      transform: scale(1.2);
    }

    .settings-section {
      padding: 15px;
      border-bottom: 1px solid var(--card-border);
    }

    .settings-section h4 {
      margin: 0 0 10px 0;
      font-weight: 600;
    }

    .slider-container {
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .slider-container label {
      flex-basis: 60px;
    }

    .slider-container input[type="range"] {
      flex-grow: 1;
      margin: 0 10px;
      height: 6px;
      background-color: var(--card-border);
      border-radius: 3px;
      cursor: pointer;
      outline: none;
      -webkit-appearance: none;
    }

    .slider-container input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background-color: var(--primary-color);
      cursor: pointer;
      border: none;
      transition: background-color 0.2s;
    }

    .slider-container input[type="range"]::-webkit-slider-thumb:hover {
      background-color: var(--secondary-color);
    }

    .slider-value {
      flex-basis: 30px;
      text-align: center;
      font-weight: 500;
    }

    .toggle-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }

    .toggle-switch {
      position: relative;
      display: inline-block;
      width: 46px;
      height: 24px;
    }

    .toggle-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .toggle-slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ccc;
      transition: .4s;
      border-radius: 24px;
    }

    .toggle-slider:before {
      position: absolute;
      content: "";
      height: 18px;
      width: 18px;
      left: 3px;
      bottom: 3px;
      background-color: white;
      transition: .4s;
      border-radius: 50%;
    }

    input:checked+.toggle-slider {
      background-color: var(--primary-color);
    }

    input:checked+.toggle-slider:before {
      transform: translateX(22px);
    }

    .voice-select {
      width: 100%;
      padding: 8px;
      border-radius: 5px;
      border: 1px solid var(--card-border);
      background-color: var(--bg-color);
      color: var(--text-color);
      margin-top: 5px;
      font-size: 14px;
    }

    .voice-select option.premium-voice {
      color: var(--primary-color);
      font-weight: 500;
    }

    /* TTS Status */
    .tts-status {
      position: fixed;
      top: 70px;
      left: 50%;
      transform: translateX(-50%);
      background-color: var(--card-bg);
      color: var(--text-color);
      padding: 8px 16px;
      border-radius: 20px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      font-size: 14px;
      font-weight: 500;
      z-index: 90;
      display: none;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .status-playing {
      background-color: var(--primary-color);
      color: white;
    }

    .status-paused {
      background-color: #FFA500;
      color: white;
    }

    .status-error {
      background-color: #FF4444;
      color: white;
    }

    .status-complete {
      background-color: #4CAF50;
      color: white;
    }

    /* Progress Bar */
    .progress-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background-color: rgba(0, 0, 0, 0.1);
      z-index: 95;
      overflow: hidden;
    }

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

    /* Toast Notifications */
    .toast-container {
      position: fixed;
      bottom: 20px;
      left: 20px;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .toast {
      display: flex;
      align-items: center;
      gap: 10px;
      background-color: var(--card-bg);
      color: var(--text-color);
      padding: 12px 16px;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      max-width: 350px;
      transform: translateX(-100%);
      opacity: 0;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .toast.show {
      transform: translateX(0);
      opacity: 1;
    }

    .toast-info {
      border-left: 4px solid var(--primary-color);
    }

    .toast-success {
      border-left: 4px solid #4CAF50;
    }

    .toast-warning {
      border-left: 4px solid #FFA500;
    }

    .toast-error {
      border-left: 4px solid #FF4444;
    }

    .toast button {
      margin-left: auto;
      background: none;
      border: none;
      font-size: 16px;
      color: var(--text-color);
      opacity: 0.6;
      cursor: pointer;
      transition: opacity 0.2s;
    }

    .toast button:hover {
      opacity: 1;
    }

    /* Error Notification */
    .error-notification {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: var(--card-bg);
      border-left: 4px solid #FF4444;
      border-radius: 8px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      width: 350px;
      z-index: 1000;
      overflow: hidden;
      opacity: 1;
      transition: opacity 0.3s ease;
    }

    .error-notification-header {
      background-color: #FF4444;
      color: white;
      padding: 12px 16px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 600;
    }

    .error-notification p {
      padding: 12px 16px;
      margin: 0;
    }

    .error-notification-buttons {
      display: flex;
      gap: 10px;
      padding: 0 16px 16px 16px;
    }

    .error-notification-buttons button {
      flex: 1;
      padding: 8px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      font-weight: 500;
      transition: background-color 0.2s;
    }

    .error-notification-buttons button:first-child {
      background-color: #4CAF50;
      color: white;
    }

    .error-notification-buttons button:nth-child(2) {
      background-color: #FFA500;
      color: white;
    }

    .error-notification-buttons button:last-child {
      background-color: #FF4444;
      color: white;
    }

    .close-button {
      margin-left: auto;
      background: none;
      border: none;
      color: white;
      font-size: 18px;
      cursor: pointer;
    }

    /* Confetti Animation */
    .confetti-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1001;
    }

    .confetti {
      position: absolute;
      width: 10px;
      height: 10px;
      top: -10px;
      animation: confetti-fall 4s linear forwards;
    }

    @keyframes confetti-fall {
      0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
      }

      100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
      }
    }

    .radial-menu {
      position: fixed;
      bottom: 0px;
      left: 2%;
      transform: translateX(-50%);
      z-index: 1000;
      margin: 1rem 0;
    }

    .radial-menu-toggle {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--primary-color);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 0.25rem 0.5rem var(--shadow-color);
      transition: transform 0.3s, background-color 0.3s;
      position: relative;
      overflow: hidden;
    }

    .radial-menu-toggle:hover {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--primary-color);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 0.25rem 0.5rem var(--shadow-color);
      transition: transform 0.3s, background-color 0.3s;
      position: relative;
      overflow: hidden;
      transform: scale(1.1);
    }

    .radial-menu-toggle.active {
      background: var(--time-color);
      transform: scale(2);
    }

    .radial-menu-items {
      position: absolute;
      bottom: -20px;
      left: 80%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
      transform: translateY(20px);
      padding: 0.5rem;
    }

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

    .radial-menu-item {
      margin: 10px;
      padding: 20px;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--primary-color);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      border: 2px outset var(--time-color);
      box-shadow: -1px -1px var(--secondary-color);
      border: none;
    }

    .radial-menu-item:hover {
      transform: scale(1.1);
      background: #0056b3;
      border: 2px outset var(--time-color);
    }

    .radial-menu select {
      width: 200px;
      padding: 8px;
      border-radius: 20px;
      background-color: var(--card-bg);
      color: var(--text-color);
      border: 1px solid var(--card-border);
      font-size: 14px;
      appearance: none;
      outline: none;
      text-overflow: ellipsis;
      padding-right: 24px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235D5CDE'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 8px center;
      background-size: 16px;
    }

    .radial-menu select:hover {
      border-color: var(--primary-color);
    }

    /* Header Styles */
    .header {
      padding: 2rem;
      margin-bottom: 16px;
      width: 97%;
      border-bottom: 1px solid var(--card-border);
      font-family: "Dancing Script", serif;
      top: 0;
      position: fixed;
      z-index: 100;
    }

    .masthead {
      max-width: 2400px;
      margin: 0 auto;
      text-align: center;
      box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.9);
      opacity: 60%;
      background: var(--primary-color);
    }

    /* Navigation Bar */
    .navbar {
      max-width: 100%;
      margin: 0 auto;
      padding: 1px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: var(--primary-color);
    }

    /* Nav Links All*/
    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    /* Nav Links */
    .nav-link,
    .popup-button {
      color: var(--text-color);
      text-decoration: none;
      font-weight: 600;
      transition: color 0.3s ease;
      text-transform: uppercase;
      font-size: 0.6rem;
      font-family: "Libre Franklin"
    }

    /* Nav Links Hover */
    .nav-link:hover,
    .popup-button:hover {
      color: var(--secondary-color);
    }

    /* Nav Links After */
    .nav-link:after {
      color: var(--time-color);
    }

    .publication-title {
      font-family: 'Dancing Script', serif;
      font-size: 3.5rem;
      margin: 0 0 8px 0;
      font-weight: 700;
      color: var(--mast-text-color);
      transition: color 0.3s ease;
      text-shadow: 1px 1px var(--time-color), -1px 1px var(--time-color);
    }

    .meta-info {
      display: inline;
      justify-content: space-between;
      align-items: center;
      margin-top: 1px;
      background-color: var(--primary-color);
      text-shadow: 1px 0 var(--time-color);
      border-top: 2px outset black;
      border-bottom: 2px outset black;
      padding: 0;
      margin-left: 5px;
      margin-right: 5px;
      margin-bottom: 0px;
      margin-top: 5px;
      font-size: 0.9rem;
      font-family: 'Libre Franklin'
    }

    .date,
    .time,
    .publisher {
      margin: 0;
      display: inline-block;
      font-style: italic;
      padding: 3px;
      line-height: 1rem;
    }

    /* Grid Styles */
    .grid-container {
      display: grid;
      grid-template-columns: 1fr;
      margin-top: 1000px;
      gap: 16px;
      padding: 16px;
      max-width: 2200px;
      width: 750px;
      margin: 0 auto;
    }

    #grid {
      margin-top: 175px;
    }

    @media (min-width: 768px) {
      .grid-container {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 1024px) {
      .grid-container {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    /* Card Styles */
    .card-header {
      background-color: var(--card-bg);
      border-radius: 8px;
      margin: 3px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .card-header:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .toggle {
      padding: 16px;
      margin: 0;
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text-color);
      display: block;
      position: relative;
    }

    .toggle::after {
      content: '\f078';
      font-family: 'Font Awesome 5 Free';
      font-weight: 900;
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      transition: transform 0.3s ease;
      color: var(--primary-color);
    }

    .card-header.active .toggle::after {
      transform: translateY(-50%) rotate(180deg);
    }

    .grid-item {
      background-color: var(--card-bg);
      padding: 0 16px 16px 16px;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.6s ease, padding 0.3s ease;
    }

    .grid-item.active {
      max-height: 10000px;
      padding: 0 16px 16px 16px;
    }

    /* Article Styles */
    .articleTitle {
      font-size: 1.8rem;
      margin: 0 0 8px 0;
      font-weight: 700;
      display: none;
      color: var(--primary-color);
      font-family: 'Titillium Web', sans-serif;
    }

    .pubDate,
    .byline {
      font-size: 0.9rem;
      margin: 0 0 8px 0;
      color: #777;
    }

    .sectionHead {
      font-size: 1.4rem;
      font-weight: 600;
      margin: 24px 0 12px 0;
      color: var(--primary-color);
    }

    p {
      line-height: 1.6;
      margin: 0 0 16px 0;
    }

    blockquote {
      padding: 16px;
      background-color: rgba(0, 0, 0, 0.05);
      border-left: 4px solid var(--primary-color);
      margin: 16px 0;
      font-style: italic;
    }

    .key-points {
      background-color: rgba(93, 92, 222, 0.1);
      padding: 16px;
      border-radius: 8px;
      margin: 16px 0;
    }

    .key-points h3 {
      margin-top: 0;
      font-weight: 600;
      color: var(--primary-color);
    }

    table {
      width: 100%;
      border-collapse: collapse;
      margin: 16px 0;
    }

    table th {
      background-color: var(--primary-color);
      color: white;
      font-weight: 600;
      text-align: left;
      padding: 10px;
    }

    table td {
      padding: 10px;
      border-bottom: 1px solid var(--card-border);
    }

    /* Citations */
    .citation {
      font-size: 0.8rem;
      color: #777;
      margin-top: 16px;
    }

    .citation a {
      color: var(--primary-color);
      text-decoration: none;
      transition: color 0.2s;
    }

    .citation a:hover {
      text-decoration: underline;
    }

    /* Essay and About Sections */
    .essay-section,
    #about,
    #services,
    #contact {
      padding: 32px 16px;
      max-width: 800px;
      margin: 0 auto;
    }

    .essay-section {
      margin-top: 150px;
    }

    .essay-section h1,
    #about h1,
    #services h1,
    #contact h1 {
      font-size: 2rem;
      font-weight: 700;
      margin: 0 0 16px 0;
      color: var(--primary-color);
    }

    .service-card {
      background-color: var(--card-bg);
      padding: 16px;
      border-radius: 8px;
      margin-bottom: 16px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .service-card h2 {
      font-size: 1.4rem;
      font-weight: 600;
      margin: 0 0 12px 0;
      color: var(--primary-color);
    }

    /* Contact Form */
    #contactForm {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    #contactForm input,
    #contactForm textarea {
      padding: 12px;
      border-radius: 8px;
      border: 1px solid var(--card-border);
      background-color: var(--bg-color);
      color: var(--text-color);
      font-size: 16px;
      outline: none;
      transition: border-color 0.2s;
    }

    #contactForm input:focus,
    #contactForm textarea:focus {
      border-color: var(--primary-color);
    }

    #contactForm button {
      background-color: var(--primary-color);
      color: white;
      border: none;
      padding: 12px 24px;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.2s;
    }

    #contactForm button:hover {
      background-color: var(--secondary-color);
    }

    /* Block Explorer */
    .block-explorer {
      max-width: 800px;
      margin: 32px auto;
      padding: 16px;
    }

    .block-explorer h2 {
      font-size: 1.8rem;
      font-weight: 700;
      margin: 0 0 16px 0;
      color: var(--primary-color);
    }

    .blockchain-status {
      margin-bottom: 16px;
      padding: 12px;
      border-radius: 8px;
      background-color: var(--card-bg);
      text-align: center;
    }

    .status-valid {
      color: #4CAF50;
    }

    .status-invalid {
      color: #FF4444;
    }

    .blockchain-container {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .block-item {
      background-color: var(--card-bg);
      border-radius: 8px;
      padding: 16px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .block-header {
      display: flex;
      justify-content: space-between;
      margin-bottom: 12px;
      font-weight: 500;
    }

    .block-content {
      margin-bottom: 12px;
    }

    .hash-value {
      font-family: monospace;
      background-color: rgba(0, 0, 0, 0.05);
      padding: 2px 4px;
      border-radius: 4px;
    }

    .hash-value-full {
      font-family: monospace;
      word-break: break-all;
      display: block;
      background-color: rgba(0, 0, 0, 0.05);
      padding: 8px;
      border-radius: 4px;
      margin-top: 4px;
    }

    .block-details {
      display: none;
      padding-top: 12px;
      border-top: 1px solid var(--card-border);
    }

    .block-details-button {
      width: 100%;
      padding: 8px;
      background-color: rgba(0, 0, 0, 0.05);
      border: none;
      border-radius: 4px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: background-color 0.2s;
    }

    .block-details-button:hover {
      background-color: rgba(0, 0, 0, 0.1);
    }

    .block-connector {
      height: 20px;
      width: 2px;
      background-color: var(--primary-color);
      margin: 0 auto;
    }

    .loading-spinner {
      display: inline-block;
      width: 20px;
      height: 20px;
      border: 3px solid rgba(0, 0, 0, 0.1);
      border-radius: 50%;
      border-top-color: var(--primary-color);
      animation: spin 1s linear infinite;
      margin-right: 8px;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    /* Word highlighting for TTS */
    .tts-word {
      display: inline;
      transition: background-color 0.2s;
      border-radius: 3px;
      padding: 0 2px;
    }

    .tts-word-highlight {
      background-color: rgba(255, 68, 68, 0.5);
      border-radius: 3px;
    }

    .current-paragraph {
      background-color: rgba(93, 92, 222, 0.1);
      padding: 10px;
      border-radius: 8px;
      transition: background-color 0.3s ease;
    }

    /* Overlay to prevent right-click */
    .copy-protection-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 9999;
      display: none;
      background-color: var(--overlay-bg);
      color: var(--overlay-text);
      text-align: center;
      padding-top: 20vh;
      opacity: 60%;
      font-family: "Cinzel", serif;
      font-weight: 900;
      font-size: 3.5rem;
      text-shadow: 3px 3px var(--secondary-color);
    }

    /* Extra Responsive Adjustments */
    @media (max-width: 480px) {
      .publication-title {
        font-size: 2rem;
      }

      .settings-panel {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
      }

      .radial-menu select {
        width: 150px;
        font-size: 12px;
      }

      .toggle {
        font-size: 1rem;
        padding: 12px;
      }

      table {
        font-size: 0.9rem;
      }

      blockquote {
        font-size: 0.9rem;
      }
    }
    
    .overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }
    
    .overlay-content {
      background: var(--bg-color);
      padding: 20px;
      border-radius: 18px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
      position: relative;
      width: 90%;
      max-width: 1000px;
      max-height: 90vh;
      overflow: auto;
    }
    
    .close-button {
      position: absolute;
      top: 10px;
      right: 10px;
      background-color: var(--primary-color);
      color: white;
      border: none;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 16px;
      font-weight: bold;
    }
    
    #fallback-content {
      width: 100%;
      height: 80vh;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    #content-iframe {
      width: 100%;
      height: 80vh;
      border: none;
    }
    
    .container {
            max-width: 800px;
            margin: 50px auto;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            background-color: #ffffff;
        }     
     
        .recipe-card {
            background-color: var(--primary-color);
            border-radius: 10px;
            padding: 20px;
            margin: 20px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
#cookin {
  color: var(--bg-color);
}

#twinkies {
            background-color: var(--primary-color);
            border-radius: 10px;
            padding: 20px;
            margin: 20px 0;
            
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
      
      .overlay-content {
        width: 95%;
        height: 90%;
      }
    }

    footer {
      text-align: center;
      padding: 1rem;
      background-color: var(--header-bg);
      margin-top: 2rem;
      border-top: 2px solid var(--primary-color);
    }
  
    
    