body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}
.dark-mode {
    background-color: #333;
    color: #f4f4f4;
}
.container {
    max-width: 1200px;
    margin: 50px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, color 0.3s;
}
.dark-mode .container {
    background: #444;
}
h1 {
    margin-bottom: 10px;
}
h2 {
    font-weight: normal;
    font-size: 1.2em;
    color: #555;
    margin-bottom: 20px;
}
.dark-mode h2 {
    color: #ccc;
}
input[type="text"] {
    width: 80%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.dark-mode input[type="text"] {
    background: #666;
    color: #fff;
    border: 1px solid #555;
}
button {
    padding: 10px 20px;
    border: none;
    background: #007BFF;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}
button:hover {
    background: #0056b3;
}
.results.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.results.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}
.result {
    text-align: left;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    transition: background-color 0.3s, color 0.3s;
}
.dark-mode .result {
    background-color: #555;
    border: 1px solid #444;
}
.result a {
    font-size: 1.2em;
    color: #007BFF;
    text-decoration: none;
}
.dark-mode .result a {
    color: #89CFF0;
}
.result a:hover {
    text-decoration: underline;
}
.result p {
    margin: 5px 0;
}
.result .url {
    font-size: 0.8em;
    color: #555;
}
.dark-mode .result .url {
    color: #ccc;
}
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 4px;
    margin-top: 10px;
}
.dark-mode .accordion {
    background-color: #666;
    color: #ccc;
}
.accordion:hover,
.accordion:focus {
    background-color: #ccc;
}
.dark-mode .accordion:hover,
.dark-mode .accordion:focus {
    background-color: #777;
}
.panel {
    padding: 0 18px;
    display: none;
    background-color: white;
    overflow: hidden;
    border-radius: 4px;
}
.dark-mode .panel {
    background-color: #666;
    color: #ccc;
}
.panel a {
    display: block;
    color: #007BFF;
    text-decoration: none;
    margin: 10px 0;
    font-size: 0.9em;
}
.dark-mode .panel a {
    color: #89CFF0;
}
.panel a:hover {
    text-decoration: underline;
}
.footer {
    margin-top: 50px;
    font-size: 0.9em;
    color: #666;
}
.dark-mode .footer {
    color: #ccc;
}
.toggle-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    color: #333;
}
.dark-mode .toggle-button {
    color: #f4f4f4;
}
.toggle-view-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    color: #333;
}
.dark-mode .toggle-view-button {
    color: #f4f4f4;
}
.pagination-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
    grid-column: 1 / -1; /* Ensure the pagination spans across all columns */
}
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.pagination a {
    padding: 10px 15px;
    text-decoration: none;
    color: #007BFF;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}
.dark-mode .pagination a {
    color: #89CFF0;
    background: #444;
    border: 1px solid #555;
}
.pagination a:hover {
    background: #007BFF;
    color: #fff;
}
.dark-mode .pagination a:hover {
    background: #89CFF0;
    color: #333;
}
.pagination .current-page {
    font-weight: bold;
    background: #007BFF;
    color: #fff;
}
.dark-mode .pagination .current-page {
    background: #89CFF0;
    color: #333;
}
/* ChatGPT response box */
#chatgptResponse {
    margin-top: 20px;
    padding: 15px;
    background-color: #f4f4f4;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}
.dark-mode #chatgptResponse {
    background-color: #222;
    color: #ccc;
}
 .neon-text {
            font-family: 'Courier New', Courier, monospace;
            font-size: 80px;
            color: #fff;
            text-shadow:
                0 0 5px rgba(255, 255, 255, 0.1),
                0 0 10px rgba(255, 255, 255, 0.1),
                0 0 20px rgba(255, 255, 255, 0.1),
                0 0 40px rgba(0, 191, 255, 0.1),
                0 0 80px rgba(0, 191, 255, 0.1),
                0 0 90px rgba(0, 191, 255, 0.1),
                0 0 100px rgba(0, 191, 255, 0.1),
                0 0 150px rgba(0, 191, 255, 0.1);
            position: relative;
			z-index: 10;
        }
        .neon-text span {
            position: relative;
            animation: flicker 3s infinite alternate;
        }
        .neon-text span:nth-child(odd) {
            animation-delay: 1s;
        }
        .neon-text::before,
        .neon-text::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        .neon-text::before {
            color: #00bfff;
            z-index: -1;
            text-shadow: 
                0 0 5px #00bfff, 
                0 0 10px #00bfff, 
                0 0 20px #00bfff, 
                0 0 40px #00bfff, 
                0 0 80px #00bfff, 
                0 0 90px #00bfff, 
                0 0 100px #00bfff, 
                0 0 150px #00bfff;
            opacity: 0.8;
            animation: flicker 2.5s infinite alternate;
        }
        .neon-text::after {
            color: #00bfff;
            z-index: -2;
            text-shadow: 
                0 0 5px #00bfff, 
                0 0 10px #00bfff, 
                0 0 20px #00bfff, 
                0 0 40px #00bfff, 
                0 0 80px #00bfff, 
                0 0 90px #00bfff, 
                0 0 100px #00bfff, 
                0 0 150px #00bfff;
            opacity: 0.5;
            animation: flicker 4s infinite alternate;
        }
        @keyframes flicker {
            0%, 19%, 21%, 23%, 24%, 50%, 52%, 53%, 100% {
                opacity: 1;
            }
            20%, 22%, 25%, 51% {
                opacity: 0.4;
            }
        }