 /* Base Styles */
 html {
     scroll-behavior: smooth;
 }

 body {
     background-color: #ffffff;
     color: #333333;
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
         Helvetica, Arial, sans-serif;
     margin: 0;
     line-height: 1.6;
 }

 /* Typography */
 h1,
 h2,
 h3 {
     font-weight: 700;
     color: #111;
     line-height: 1.2;
 }

 h1 {
     font-size: 2.4em;
     margin-bottom: 0.5em;
 }

 h2 {
     font-size: 1.8em;
     margin-top: 1.5em;
     margin-bottom: 0.8em;
     border-bottom: 1px solid #eee;
     padding-bottom: 0.3em;
 }

 p {
     margin-bottom: 1.2em;
 }

 a {
     color: #007bff;
     text-decoration: none;
 }

 a:hover {
     text-decoration: underline;
 }

 strong {
     font-weight: 700;
 }

 /* Buttons */
 .button {
     display: inline-block;
     padding: 15px 24px;
     border: none;
     border-radius: 8px;
     color: white !important;
     text-decoration: none !important;
     font-size: 1em;
     font-weight: 600;
     cursor: pointer;
     text-align: center;
     transition: background-color 0.3s ease, transform 0.2s ease;
 }

 .button:hover {
     transform: translateY(-2px);
 }

 .register-btn {
     background-color: #218838;
 }

 .download-btn {
     background-color: #0069d9;
 }

 .login-btn {
     background-color: #c82333;
 }

 .telegram-btn {
     background-color: #0088cc;
 }

 .buttons-container {
     display: flex;
     flex-wrap: wrap;
     gap: 15px;
     margin: 25px 0;
     justify-content: center;
 }

 .buttons-container .button {
     flex-grow: 1;
     max-width: 255px;
 }

 /* Header */
 .site-header {
     background-color: #c10103;
     padding: 15px 0;
     position: sticky;
     top: 0;
     z-index: 1000;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 }

 .header-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .site-logo a img {
     vertical-align: middle;
     width: 71px !important;
     height: 55px !important;
 }

 .header-right {
     display: flex;
     align-items: center;
     gap: 20px;
 }

 .main-navigation ul {
     margin: 0;
     padding: 0;
     list-style: none;
     display: flex;
     gap: 25px;
 }

 .main-navigation a {
     color: rgb(231, 223, 223);
     font-weight: 600;
     padding: 5px 0;
     position: relative;
 }

 .main-navigation a:hover {
     text-decoration: none;
 }

 /* Desktop Dropdown Menu */
 .desktop-nav .menu-item-has-children {
     position: relative;
 }

 .desktop-nav .menu-item-has-children>a::after {
     content: "▼";
     font-size: 0.7em;
     margin-left: 8px;
     display: inline-block;
 }

 .desktop-nav .sub-menu {
     display: none;
     position: absolute;
     top: 100%;
     left: 0;
     background-color: #c10103;
     list-style: none;
     padding: 10px;
     margin: 0;
     border-radius: 5px;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
     min-width: 200px;
 }

 .desktop-nav .menu-item-has-children:hover>.sub-menu {
     display: block;
 }

 .desktop-nav .sub-menu li a {
     padding: 8px 12px;
     display: block;
     white-space: nowrap;
 }

 .desktop-nav .sub-menu li a:hover {
     background-color: rgba(255, 255, 255, 0.1);
 }

 /* Header Buttons */
 .header-buttons {
     display: flex;
     gap: 10px;
 }

 .header-buttons .button {
     padding: 8px 16px;
     border-radius: 5px;
 }

 /* Mobile Navigation */
 .menu-toggle {
     display: none;
 }

 .mobile-buttons {
     display: none;
 }

 .mobile-nav {
     display: none;
 }

 /* Container */
 .container {
     padding: 40px;
     max-width: 1200px;
     margin: auto;
 }

 .entry-content::after {
     content: "";
     clear: both;
     display: table;
 }

 .aligncenter {
     display: block;
     margin: 20px auto;
     max-width: 100%;
     height: auto;
     background-color: #f1f1f1;
 }

 /* Table Styles */
 table {
     width: 100%;
     border-collapse: collapse;
     margin: 25px 0;
     box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
 }

 th,
 td {
     padding: 12px 15px;
     text-align: left;
     border-bottom: 1px solid #dddddd;
 }

 td:first-child {
     font-weight: bold;
 }

 tr:nth-of-type(even) {
     background-color: #f9f9f9;
 }

 tr:hover {
     background-color: #f1f1f1;
 }

 /* Table of Contents */
 #toc-container {
     display: inline-grid;
     max-width: 55%;
     width: 100%;
     margin: 10px 30px 20px 0;
     background: #fdfdfd;
     border: 1px solid #eee;
     border-radius: 8px;
     padding: 0;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
 }

 #toc-container summary {
     font-size: 1.2rem;
     font-weight: 600;
     color: #333;
     cursor: pointer;
     list-style: none;
     padding: 15px 25px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     outline: none;
     max-width: 100%;
     margin: 20px 0;
 }

 #toc-container summary::-webkit-details-marker {
     display: none;
 }

 #toc-container summary:focus {
     outline: none;
     border: none;
 }

 #toc-container summary::after {
     content: "▼";
     font-size: 1rem;
     color: #555;
     transition: transform 0.2s ease-out;
 }

 #toc-container details[open]>summary::after {
     transform: rotate(180deg);
 }

 #toc-container:hover {
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
 }

 #toc {
     padding: 0px 25px 20px 25px;
     margin: 0;
     border-top: 1px solid #eee;
 }

 #toc ul {
     list-style: decimal;
     padding: 0 0 0 20px;
     margin: 15px 0 0 0;
 }

 #toc ul li {
     padding-top: 12px;
 }

 #toc ul li a {
     color: #1e73be;
     font-size: 1rem;
 }

 #toc ul li a:hover {
     color: #0056b3;
 }

 /* FAQ */
 .faq-item {
     margin-bottom: 10px;
     border-bottom: 1px solid #eee;
 }

 .faq-item summary {
     font-weight: bold;
     padding: 15px;
     cursor: pointer;
     outline: none;
     position: relative;
 }

 /* Responsive Breakpoint */
 @media (max-width: 992px) {
     .header-right {
         display: none;
     }

     .menu-toggle {
         display: block;
         background: none;
         border: none;
         color: white;
         font-size: 30px;
         cursor: pointer;
     }

     .header-container {
         flex-wrap: wrap;
     }

     .mobile-buttons {
         display: flex;
         width: 100%;
         gap: 15px;
         margin-top: 15px;
     }

     .mobile-buttons .button {
         flex: 1;
         border-radius: 50px;
         padding: 12px 10px;
         font-size: 1rem;
         font-weight: bold;
     }

     .mobile-buttons .login-btn {
         background-color: #1976d2;
     }

     .mobile-buttons .download-btn {
         background-color: #1b5e20;
     }

     .mobile-nav {
         display: none;
         /* Hidden by default */
         background-color: #c10103;
         padding: 10px 0;
     }

     .mobile-nav.open {
         display: block;
     }

     .mobile-nav ul {
         list-style: none;
         padding: 0;
         margin: 0;
         display: flex;
         flex-direction: column;
         align-items: center;
     }

     .mobile-nav li {
         width: 100%;
         text-align: center;
     }

     .mobile-nav a {
         display: block;
         padding: 12px 20px;
         color: white;
         font-weight: 600;
     }

     .mobile-nav .sub-menu {
         display: none;
         background-color: #004a83;
     }

     .mobile-nav .sub-menu a {
         font-weight: normal;
         font-size: 0.9em;
     }

     .mobile-nav .menu-item-has-children.open>.sub-menu {
         display: block;
     }

     .container {
         padding: 20px;
     }

     h1 {
         font-size: 2em;
     }

     h2 {
         font-size: 1.5em;
     }

     .buttons-container {
         flex-direction: column;
         align-items: center;
     }

     .buttons-container .button {
         width: 100%;
         max-width: 250px;
     }

     #toc-container {
         float: none;
         max-width: 100%;
         margin: 20px 0;
     }

     .entry-content ul {
         padding: 0px;
         list-style: none;
     }

     .entry-content img {
         width: 100%;
     }
 }

 /* Footer */
 .site-footer {
     background-color: #c10103;
     color: #f1e5e5;
     padding: 20px;
     margin-top: 40px;
     text-align: center;
 }

 .footer-container {
     max-width: 1200px;
     margin: 0 auto;
 }

 .footer-bottom {
     font-size: 0.9em;
 }

 button.button.download-btn.new-tab a {
     color: #fff;
 }

 .button a {
     color: #fff;
 }

 .mobile-nav .menu-item-has-children>a::after {
     content: "▼";
     font-size: 0.7em;
     margin-left: 8px;
     display: inline-block;
 }

 .mobile-nav a {
     position: relative;
 }