 body {
     margin: 0;
     font-family: 'Segoe UI', Arial;
     background: radial-gradient(circle at top left, #02299e9d, #0033cc 30%, transparent 40%),
         radial-gradient(circle at bottom right, #0033cc, #000033 30%, transparent 40%),
         linear-gradient(to bottom, #1a1a2e, #16213e)
 }


 header {
     background: #1e1e2f;
     color: #1e90ff;
     text-align: center;
     padding: 20px;
     text-shadow: 0 0 10px #1e90ff, 0 0 20px #1e90ff;

 }

 h1 {
     margin: 0;
     font-size: 1.8rem;
 }


 .menu-toggle {
     display: none;
     font-size: 1.5rem;
     background: none;
     border: none;
     color: white;
     position: absolute;
     top: 1rem;
     right: 1rem;
     cursor: pointer;
 }

 .navbar .nav-list {
     list-style: none;
     display: flex;
     flex-wrap: wrap;
     gap: 1rem;
     margin: 1rem 0 0;
     padding: 0;
 }

 .navbar .nav-list li {
     position: relative;
 }

 .navbar .nav-list a {
     color: white;
     text-decoration: none;
     padding: 0.5rem 0.75rem;
     display: block;
     transition: background 0.3s;
 }

 .navbar .nav-list a:hover {
     background: #1e90ff;
     border-radius: 4px;
 }

 .dropdown-menu {
     display: none;
     position: absolute;
     top: 100%;
     left: 0;
     background: #00bfff;
     min-width: 200px;
     z-index: 1000;
 }

 .dropdown:hover .dropdown-menu {
     display: block;
 }

 .dropdown-menu li a {
     padding: 0.5rem 1rem;
 }

 .search-container {
     margin-top: 1rem;
 }

 input#searchBar {
     width: 100%;
     padding: 0.5rem;
     border-radius: 10px;
     border: none;
 }

 @media (max-width: 768px) {
     .menu-toggle {
         display: block;
     }

     .navbar .nav-list {
         flex-direction: column;
         display: none;
     }

     .navbar.active .nav-list {
         display: flex;
     }

     .dropdown-menu {
         position: static;
     }
 }


 #entry-overlay {
     position: fixed;
     inset: 0;
     background: rgba(0, 0, 0, 0.7);
     backdrop-filter: blur(2px);
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 9999;
 }

 .logo {
     display: inline-flex;
     align-items: center;
     gap: 12px;
     white-space: nowrap;
     text-decoration: none;
 }

 .dra-LOGO {
     width: 65px;
     height: 65px;
     border-radius: 10px;
     object-fit: cover;
     transition: transform 0.3s ease;
     display: block;
 }


 .dra-LOGO:hover,
 .logo:focus-within .dra-LOGO {
     transform: scale(1.1);
 }

 .brand-wordmark {
     color: #00bfff;
     font-weight: 700;
     font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
     font-size: 1.05rem;
     letter-spacing: 0.02em;
 }


 @media (max-width: 640px) {
     .brand-wordmark {
         display: none;
     }

     .dra-LOGO {
         width: 48px;
         height: 48px;
     }
 }

 .logo:focus-visible {
     outline: 3px solid rgba(34, 197, 94, 0.18);
     outline-offset: 4px;
     border-radius: 8px;
 }

 .entry-box {
     max-width: 520px;
     width: 90%;
     background: #1a1a2e;
     padding: 10px;
     box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
     border-radius: 14px;
     text-align: center;
     font-family: 'Segoe UI', Arial, sans-serif;
 }

 .entry-box h2 {
     margin: 0 0 10px;
     color: #16a085;
 }

 .entry-box p {
     color: #333;
     margin: 0 0 18px;
 }

 .entry-actions {
     display: flex;
     gap: 12px;
     justify-content: center;
     flex-wrap: wrap;
 }

 #enter-btn,
 #reject-btn {
     padding: 10px 16px;
     border-radius: 8px;
     border: none;
     cursor: pointer;
     font-weight: 600;
 }

 #enter-btn {
     background: #16a085;
     color: #111;
 }

 #enter-btn:hover {
     background: #1e90ff;
 }

 #reject-btn {
     background: #16a085;
     color: #111;
     border: none;
 }

 #reject-btn:hover {
     background: #1e90ff;
 }

 .tag-card.highlight {
     background: #1e90ff;
 }

 .tag-card.highlight {
     background: #111;
     transition: background 0.3s;

 }


 .blur .tag-card {
     filter: blur(3px);
 }

 .tag-card[style*="inline-block"] {
     filter: none !important;
 }

 header {
     background: #002147;
     color: white;
     text-align: center;
     padding: 20px;
 }

 .search-container {
     margin: 15px auto;
     text-align: center;
 }

 #searchBar {
     width: 60%;
     max-width: 400px;
     padding: 10px 14px;
     border: 2px solid #16a085;
     border-radius: 8px;
     font-size: 16px;
     outline: none;
     transition: 0.3s;
 }

 #searchBar:focus {
     border-color: #1abc9c;
     box-shadow: 0 0 8px rgba(26, 188, 156, 0.5);
 }

 header h1 {
     margin: 0;
     font-size: 2em;
 }

 nav {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     background: #1a1a2e;
     padding: 10px;
     box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
 }

 nav a {
     margin: 5px 15px;
     color: whitesmoke;
     text-decoration: none;
     font-weight: bold;
     transition: 0.3s;
 }

 nav a:hover {
     color: #203859;
     text-shadow: 0 0 10px #203859;
 }

 section {
     margin: 20px auto;
     padding: 20px;
     max-width: 1200px;
     background: #1e1e2f;
     border-radius: 10px;
     box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
 }

 h2 {
     color: whitesmoke;
     text-shadow: 0 0 10px #1e90ff, 0 0 20px #1e90ff;
     font-size: 40px;
     text-align: center;
     margin-bottom: 25px;
 }


 .tag-card {
     background: #1a1a2e;
     color: #e0f7fa;
     border: 1px solid #1e90ff;
     margin: 10px 0;
     padding: 15px;
     border-radius: 10px;
     cursor: pointer;
     transition: 0.3s;
     box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
 }

 .tag-card:hover {
     transform: scale(1.05);
     box-shadow: 0 0 30px rgba(0, 255, 255, 0.65);
 }

 .tooltip {
     visibility: hidden;
     background: #34495e;
     color: white;
     padding: 5px 10px;
     border-radius: 5px;
     position: absolute;
     top: -40px;
     left: 0;
     z-index: 10;
     font-size: 13px;
 }

 .tag-card:hover .tooltip {
     visibility: visible;
 }

 #modal {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.8);
     justify-content: center;
     align-items: center;
     animation: fadeIn 0.3s;
 }

 #modal-content {
     background: rgb(147, 72, 72);
     padding: 20px;
     max-width: 900px;
     width: 90%;
     border-radius: 10px;
     position: relative;
     max-height: 90%;
     overflow-y: auto;
     animation: slideDown 0.3s;
 }

 #modal-content h3 {
     margin-top: 0;
 }

 #close-modal {
     position: absolute;
     top: 10px;
     right: 15px;
     font-size: 25px;
     cursor: pointer;
 }

 p {
     background: #6b7280;
     color: #0033cc;
     padding: 10px;
     border-radius: 5px;
     overflow-x: auto;
 }

 textarea {
     width: 100%;
     height: 150px;
     font-family: monospace;
     font-size: 14px;
     border-radius: 5px;
     border: 1px solid #1e1e2f;
     padding: 10px;
 }

 button.copy-btn,
 button.run-btn,
 button.quiz-btn {
     padding: 8px 12px;
     background: #203859;
     color: white;
     border: none;
     border-radius: 5px;
     cursor: pointer;
     margin-top: 10px;
     margin-right: 10px;
     transition: 0.3s;
 }

 button.copy-btn:hover,
 button.run-btn:hover,
 button.quiz-btn:hover {
     background: #1e90ff;
 }

 iframe {
     width: 100%;
     height: 200px;
     border: 1px solid #ccc;
     border-radius: 5px;
     margin-top: 10px;
 }

 .quiz-section {
     background: #6b7280;
     padding: 10px;
     margin: 10px 0;
     border-radius: 5px;
 }

 @keyframes fadeIn {
     from {
         opacity: 0
     }

     to {
         opacity: 1
     }
 }

 @keyframes slideDown {
     from {
         transform: translateY(-50px);
         opacity: 0
     }

     to {
         transform: translateY(0);
         opacity: 1
     }
 }

 #scrollTopBtn,
 #scrollBottomBtn {
     position: fixed;
     right: 20px;
     bottom: 20px;
     width: 45px;
     height: 45px;
     border-radius: 50%;
     border: none;
     background: #1a1a2e;
     color: white;
     font-size: 20px;
     cursor: pointer;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
     transition: 0.3s;
     z-index: 999;
 }

 #scrollBottomBtn {
     bottom: 70px;
 }

 #scrollTopBtn:hover,
 #scrollBottomBtn:hover {
     background: #203859;
 }

 body {
     margin: 0;
     font-family: Arial, sans-serif;
 }

 .navbar {
     background-color: #093969;
 }

 .nav-list {
     list-style: none;
     margin: 0;
     padding: 0;
     display: flex;
 }

 .nav-list li {
     position: relative;
 }

 .nav-list a {
     display: block;
     padding: 14px 20px;
     color: white;
     text-decoration: none;
 }

 .nav-list a:hover {
     background-color: #093969;
 }

 .dropdown-menu {
     display: none;
     position: absolute;
     background-color: #1e90ff;
     top: 100%;
     left: 0;
     min-width: 160px;
     z-index: 1000;
 }

 .dropdown-menu li a {
     padding: 10px 20px;
 }

 .dropdown:hover .dropdown-menu {
     display: block;
 }

 footer {
     text-align: center;
     padding: 24px;
     font-size: 0.9rem;
     color: #6b7280;
 }


 .DP {
     height: 90px;
     width: 90px;
     border-radius: 50%;
     border: 2px solid #1abc9c;
     object-fit: cover;
     margin-bottom: 10px;
 }

 .wa {
     margin-top: 10px;
     width: 60px;
     height: 60px;
     border-radius: 50%;
     box-shadow: 0 0 8px rgba(37, 211, 102, 0.4);
     transition: box-shadow 0.3s ease;
 }

 .wa:hover {
     box-shadow: 0 0 12px rgba(37, 211, 102, 0.8);
 }

 a {
     color: white;
     text-decoration: none;
 }

 a:hover {
     color: #ff3c3c;
 }

 footer {
     text-align: center;
     padding: 24px;
     font-size: 0.9rem;
     color: #6b7280;
 }


 #modal-content {
     background: #ccc;
     color: #1a1a1a;
 }

 #modal-content h3 {
     color: #0f4c75;
     /* light mode heading */
 }

 #modal-content h4 {
     color: #16a085;
 }


 #modal-content.modal-dark {
     background: #002147;
     color: #eaeaea;
     border: 1px solid #0a2a4f;
     box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
 }

 #modal-content.modal-dark h3 {
     color: #64ffda;
  
 }

 #modal-content.modal-dark h4 {
     color: #3fc1c9;
 }

 #modalThemeBtn {
     position: static;
     top: 10px;
     left: 15px;
     background: none;
     border: none;
     font-size: 20px;
     cursor: pointer;
     color: inherit;
 }