/* 90's Retro Website Styles - WELCOME TO THE WORLD WIDE WEB! */* Standalone blink class for any element */
.blink {
    animation: blink 1.5s infinite;
    font-weight: bold;
    color: #ff0000;
    text-shadow: 2px 2px 0px #000000;
}

/* Typing animation class */
.typing {
    overflow: hidden;
    border-right: 3px solid #ff0000;
    white-space: nowrap;
    animation: typewriter 4s steps(50) 1s 1 normal both, blink-cursor 1s steps(1) infinite;
    font-weight: bold;
    color: #000080;
    text-shadow: 1px 1px 0px #ffffff;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-cursor {
    0%, 50% { border-color: #ff0000; }
    51%, 100% { border-color: transparent; }
}

/* Retro box styling */
.retro-box {
    background: linear-gradient(135deg, #ffff00, #ff8000);
    border: 4px solid #000000;
    padding: 1rem;
    margin: 1rem auto;
    max-width: 600px;
    box-shadow: 8px 8px 0px #ff0000;
    position: relative;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.retro-box::before {
    content: "★ SPECIAL ANNOUNCEMENT ★";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff0000;
    color: #ffffff;
    padding: 5px 15px;
    border: 2px solid #000000;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 1px 1px 0px #000000;
}

.retro-box:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 12px 12px 0px #ff00ff;
    background: linear-gradient(135deg, #00ff00, #00ffff);
}

.retro-box p {
    margin: 1rem 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: #000000;
    text-shadow: 1px 1px 0px #ffffff;
    text-align: center;
}

/* Retro box 2 - For Publications */
.retro-box2 {
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    border: 4px solid #000000;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 700px;
    box-shadow: 8px 8px 0px #00ff00;
    position: relative;
    transform: rotate(0.5deg);
    transition: all 0.3s ease;
}

.retro-box2::before {
    content: "📄 PUBLICATION 📄";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #0000ff;
    color: #ffffff;
    padding: 5px 15px;
    border: 2px solid #ffff00;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 1px 1px 0px #000000;
    animation: blink 2s infinite;
}

.retro-box2:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 12px 12px 0px #ff8000;
    background: linear-gradient(135deg, #ffff00, #ff0080);
}

.retro-box2 .pub-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #000080;
    text-shadow: 2px 2px 0px #ffffff;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.retro-box2 .pub-title:hover {
    color: #ff0000;
    text-shadow: 3px 3px 0px #ffff00;
    animation: wiggle 0.5s ease-in-out;
}

.retro-box2 .pub-authors {
    font-size: 1.1rem;
    font-weight: bold;
    color: #800080;
    text-shadow: 1px 1px 0px #ffffff;
    text-align: center;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.retro-box2 .pub-journal {
    font-size: 1rem;
    font-weight: bold;
    color: #ff0080;
    text-shadow: 1px 1px 0px #ffffff;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.3rem 1rem;
    background: rgba(255, 255, 0, 0.8);
    border: 2px solid #000000;
    display: block;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.retro-box2 .pub-journal:hover {
    transform: rotate(0deg) scale(1.05);
    background: rgba(0, 255, 255, 0.8);
    color: #000080;
}

.retro-box2 .pub-abstract {
    font-size: 1rem;
    font-weight: normal;
    color: #000000;
    text-shadow: 1px 1px 0px #ffffff;
    text-align: left;
    margin-bottom: 1rem;
    line-height: 1.4;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border: 2px dashed #000000;
    border-radius: 0;
}

.retro-box2 .pub-link {
    display: inline-block;
    background: linear-gradient(45deg, #ff0000, #ff8000);
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border: 3px solid #000000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 2px 2px 0px #000000;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0px #ffff00;
    margin: 0 auto;
    display: block;
    text-align: center;
    max-width: 200px;
}

.retro-box2 .pub-link:hover {
    background: linear-gradient(45deg, #00ff00, #0000ff);
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 6px 6px 0px #ff00ff;
    animation: neon-pulse 0.5s ease-in-out;
}

@keyframes neon-pulse {
    0%, 100% { box-shadow: 6px 6px 0px #ff00ff; }
    50% { box-shadow: 6px 6px 0px #ff00ff, 0 0 20px #ff00ff; }
}

/* Multimedia box styling - For videos and interactive content */
.multimedia-box {
    background: linear-gradient(135deg, #ff0080, #8000ff);
    border: 4px solid #00ffff;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 500px;
    box-shadow: 8px 8px 0px #ffff00;
    position: relative;
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
}

.multimedia-box::before {
    content: "MULTIMEDIA EXPERIENCE";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff0000;
    color: #ffff00;
    padding: 5px 15px;
    border: 2px solid #000000;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 2px 2px 0px #000000;
    animation: none;
}

.multimedia-box:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 12px 12px 0px #00ff00;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
}

.multimedia-box h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 3px 3px 0px #000000;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.multimedia-box p {
    margin: 1rem 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffff00;
    text-shadow: 2px 2px 0px #000000;
    text-align: center;
}

.multimedia-box video {
    border: 3px solid #000000;
    box-shadow: 5px 5px 0px #ff0000;
    margin: 1rem auto;
    display: block;
    max-width: 100%;
    height: auto;
}

.multimedia-box .tech-note {
    font-size: 0.9rem;
    color: #00ff00;
    text-shadow: 1px 1px 0px #000000;
    text-align: center;
    margin-top: 1rem;
    font-weight: bold;
}

.nav-menu {   margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', 'Times New Roman', serif;
    line-height: 1.4;
    color: #000080;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff0080);
    background-size: 400% 400%;
    animation: rainbow-bg 8s ease infinite;
}

@keyframes rainbow-bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles - NETSCAPE NAVIGATOR STYLE! */
.navbar {
    background: linear-gradient(90deg, #ff0000, #00ff00, #0000ff);
    border: 4px solid #ffff00;
    box-shadow: 4px 4px 0px #000000;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    font-size: 2rem;
    font-weight: bold;
    color: #ffff00;
    text-shadow: 3px 3px 0px #000000;
    animation: blink 1.5s infinite;
    text-transform: uppercase;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Standalone blink class for any element */
.blink {
    animation: blink 0.s infinite;
    font-weight: bold;
    color: #ff0000;
    text-shadow: 2px 2px 0px #000000;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #ff0080, #8000ff);
    border: 3px solid #ffff00;
    border-radius: 0;
    text-shadow: 2px 2px 0px #000000;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(45deg, #00ff00, #ff8000);
    transform: scale(1.1);
    box-shadow: 3px 3px 0px #000000;
    animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
    0%, 100% { transform: scale(1.1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-3deg); }
    75% { transform: scale(1.1) rotate(3deg); }
}

/* Dropdown Menu Styles - 90's STYLE! */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: " ▼";
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    border: 4px solid #ffff00;
    border-top: none;
    box-shadow: 8px 8px 0px #000000;
    min-width: 200px;
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1002;
    margin-top: 15px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: dropdown-appear 0.5s ease-out;
}

@keyframes dropdown-appear {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-menu li {
    border-bottom: 2px solid #ffff00;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-link {
    display: block;
    padding: 1rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 2px 2px 0px #000000;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: transparent;
}

.dropdown-link:hover {
    background: linear-gradient(45deg, #ff0000, #ff8000);
    color: #ffff00;
    transform: scale(1.05);
    text-shadow: 3px 3px 0px #000000;
    animation: neon-glow 0.5s ease-in-out;
}

@keyframes neon-glow {
    0%, 100% { box-shadow: inset 0 0 10px #ff0000; }
    50% { box-shadow: inset 0 0 20px #ff0000, 0 0 15px #ff0000; }
}

/* Main content - UNDER CONSTRUCTION VIBES */
main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

.section {
    padding: 3rem 0;
    border: 5px dashed #ff0000;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.95);
    position: relative;
    box-shadow: 8px 8px 0px #000000;
}

/* Did You Know boxes - Interactive facts! */
.did-you-know-box {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffff00;
    padding: 8px 20px;
    color: #ff0000;
    font-weight: bold;
    border: 3px solid #000000;
    box-shadow: 3px 3px 0px #ff0000;
    animation: bounce 2s ease-in-out infinite;
    z-index: 1001;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 400px;
    text-align: center;
    line-height: 1.3;
}

.did-you-know-box:hover {
    background: #00ff00;
    transform: translateX(-50%) scale(1.05);
    box-shadow: 5px 5px 0px #ff0000;
}

.did-you-know-box strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(5px); }
}

.section:nth-child(even) {
    background: rgba(255, 255, 0, 0.9);
    border-color: #0000ff;
}

.section:nth-child(even)::before {
    background: #ff00ff;
    color: #ffffff;
    content: "★ ☆ ★ CYBER SPACE ZONE ★ ☆ ★";
    z-index: 1001;
}

.section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff0000;
    text-align: center;
    text-shadow: 4px 4px 0px #000000;
    text-transform: uppercase;
    animation: wobble 2s ease-in-out infinite;
    font-weight: bold;
}

@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

.section p {
    font-size: 1.3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #000080;
    font-weight: bold;
    text-shadow: 1px 1px 0px #ffffff;
}

.section ul {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.section ul li {
    margin: 1rem 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.section ul li a {
    color: #0000ff;
    text-decoration: underline;
    font-weight: bold;
    text-shadow: 1px 1px 0px #ffffff;
}

.section ul li a:hover {
    color: #ff0000;
    background: #ffff00;
    padding: 3px 8px;
    border: 2px solid #000000;
    animation: flash 0.5s ease-in-out;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Footer - VISITOR COUNTER STYLE */
footer {
    background: linear-gradient(90deg, #ff0000, #ff8000, #ffff00, #00ff00, #0000ff, #8000ff);
    color: #ffffff;
    text-align: center;
    padding: 2rem 0;
    border: 5px solid #000000;
    text-shadow: 2px 2px 0px #000000;
    font-weight: bold;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

footer p {
    margin: 0;
    animation: slide 8s linear infinite;
    position: relative;
    z-index: 1;
}

footer::before {
    content: "DARK MODE COMING SOON!";
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.8rem;
    background: #000000;
    color: #00ff00;
    padding: 2px 5px;
    border: 1px solid #00ff00;
}

@keyframes slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Contact Form - GUESTBOOK STYLE */
.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    border: 6px solid #000000;
    box-shadow: 10px 10px 0px #ffff00;
    position: relative;
    text-align: center;
}

.contact-form form {
    text-align: left;
    max-width: 100%;
    margin: 0 auto;
}

.contact-form::before {
    content: "SIGN MY GUESTBOOK!";
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff0000;
    color: #ffffff;
    padding: 10px 20px;
    border: 3px solid #000000;
    font-weight: bold;
    text-shadow: 2px 2px 0px #000000;
}

.contact-form h3 {
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
    font-size: 2rem;
    text-shadow: 3px 3px 0px #000000;
    text-transform: uppercase;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #ffffff;
    font-size: 1.3rem;
    text-shadow: 2px 2px 0px #000000;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 4px solid #000000;
    border-radius: 0;
    font-size: 1.2rem;
    font-family: 'Courier New', monospace;
    background: #ffff00;
    color: #000000;
    font-weight: bold;
    box-shadow: inset 2px 2px 0px #ff0000;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: #00ff00;
    box-shadow: 0 0 15px #ff0000, inset 2px 2px 0px #0000ff;
    animation: neon 1s ease-in-out infinite alternate;
}

@keyframes neon {
    from { box-shadow: 0 0 15px #ff0000, inset 2px 2px 0px #0000ff; }
    to { box-shadow: 0 0 25px #ff0000, 0 0 35px #ff0000, inset 2px 2px 0px #0000ff; }
}

.contact-form button {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(45deg, #ff0000, #ff8000);
    color: #ffffff;
    border: 5px solid #000000;
    border-radius: 0;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px #000000;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0px #ffff00;
}

.contact-form button:hover {
    background: linear-gradient(45deg, #00ff00, #0000ff);
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 6px 6px 0px #ff00ff;
    animation: party 0.5s ease-in-out;
}

@keyframes party {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(180deg); }
}

/* Links page - WEB RING STYLE */
#links .section {
    padding: 2rem 0;
}

#links h2 {
    margin-bottom: 0.5rem;
    color: #ff0000;
    text-shadow: 4px 4px 0px #000000;
}

#links > .container > p {
    margin-bottom: 2rem;
    font-size: 1.3rem;
    color: #000080;
    font-weight: bold;
    text-shadow: 1px 1px 0px #ffffff;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.links-category h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(45deg, #ff0080, #8000ff);
    padding: 1.2rem;
    border: 4px solid #ffff00;
    text-shadow: 3px 3px 0px #000000;
    text-transform: uppercase;
    animation: rainbow-text 3s ease-in-out infinite;
    box-shadow: 5px 5px 0px #000000;
}

@keyframes rainbow-text {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(180deg); }
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.link-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffff00, #ff8000);
    border: 4px solid #000000;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 6px 6px 0px #ff0000;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: "NEW!";
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ff0000;
    color: #ffffff;
    padding: 3px 8px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 2px solid #000000;
    animation: blink-new 1s infinite;
}

@keyframes blink-new {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.link-card::after {
    content: "★";
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1.5rem;
    color: #ff0000;
    animation: spin 3s linear infinite;
}

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

.link-card:hover {
    background: linear-gradient(135deg, #00ff00, #00ffff);
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 10px 10px 0px #ff00ff;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: rotate(-1deg) scale(1.05) translateX(0px); }
    25% { transform: rotate(-1deg) scale(1.05) translateX(-2px); }
    75% { transform: rotate(-1deg) scale(1.05) translateX(2px); }
}

.link-title {
    font-weight: bold;
    color: #000080;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0px #ffffff;
    text-transform: uppercase;
}

.link-desc {
    color: #000000;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    text-shadow: 1px 1px 0px #ffffff;
}

.link-url {
    color: #800080;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    margin-top: auto;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 8px;
    border: 2px dashed #000000;
    text-transform: lowercase;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    hyphens: none;
}

.link-card:hover .link-title {
    color: #ff0000;
    animation: disco 0.5s ease-in-out infinite;
}

@keyframes disco {
    0%, 100% { text-shadow: 2px 2px 0px #ffffff; }
    50% { text-shadow: 2px 2px 0px #ffff00, 0 0 10px #ff0000; }
}

.link-card:hover .link-url {
    background: #ffff00;
    color: #000000;
    border-color: #ff0000;
    animation: typewriter 1s steps(20) infinite;
}

@keyframes typewriter {
    0% { border-right: 2px solid #ff0000; }
    50% { border-right: 2px solid transparent; }
    100% { border-right: 2px solid #ff0000; }
}

/* Remove old list styles */
#links ul {
    display: none;
}

/* RETRO SCROLLBAR */
::-webkit-scrollbar {
    width: 20px;
}

::-webkit-scrollbar-track {
    background: #ffff00;
    border: 2px solid #000000;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ff0000, #0000ff);
    border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #00ff00, #ff00ff);
}

/* Responsive design - MOBILE FRIENDLY IMPROVEMENTS! */
@media (max-width: 1024px) {
    .nav-link {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
    
    .dropdown-menu {
        min-width: 180px;
    }
    
    .dropdown-link {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 0.8rem 15px;
    }

    .nav-logo {
        font-size: 1.6rem;
    }

    .nav-menu {
        gap: 0.3rem;
        margin-top: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
        border: 2px solid #ffff00;
        text-shadow: 1px 1px 0px #000000;
    }

    .dropdown-menu {
        min-width: 160px;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .dropdown:hover .dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }
    
    .dropdown-link {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    main {
        margin-top: 140px;
    }

    .section h2 {
        font-size: 2.2rem;
    }

    .section {
        padding: 2rem 0;
        margin: 1rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .did-you-know-box {
        font-size: 0.9rem;
        padding: 6px 15px;
        max-width: 300px;
    }
}

@media (max-width: 600px) {
    .nav-logo {
        font-size: 1.4rem;
    }

    .nav-menu {
        gap: 0.2rem;
        margin-top: 0.6rem;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        border: 2px solid #ffff00;
    }

    main {
        margin-top: 130px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.6rem 10px;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-menu {
        flex-direction: row;
        gap: 0.15rem;
        margin-top: 0.5rem;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
        border: 1px solid #ffff00;
        text-shadow: 1px 1px 0px #000000;
    }

    main {
        margin-top: 120px;
    }

    .section h2 {
        font-size: 1.8rem;
    }
    
    .did-you-know-box {
        font-size: 0.8rem;
        padding: 5px 12px;
        max-width: 250px;
        bottom: -50px;
    }
}
