@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=Jersey+10&family=VT323&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #EEDCEF;
    color: #3F1C26;
    font-family: 'DotGothic16', monospace;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

::selection {
    background: #59438D;
    color: #EEDCEF;
}

.navbar {
    width: 100%;
    padding: 22px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.home-link {
    position: relative;
    font-family: 'VT323', monospace;
    font-size: 1.35rem;
    color: #EEDCEF;
    padding: 5px 12px;
    background: #3F1C26;
    border: 3px solid #723D51;
    border-top-color: #59438D;
    border-left-color: #723D51;
    box-shadow:
        4px 4px 0 #24132C,
        inset 2px 2px 0 rgba(255,255,255,0.16),
        inset -2px -2px 0 rgba(0,0,0,0.3);
    text-shadow: 1px 1px 0 #24132C;
    border-radius: 12px;
    transition:
        transform 0.12s steps(2),
        background 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.home-link::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    pointer-events: none;
}

.home-link::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 5px;
    right: 5px;
    height: 2px;
    background: rgba(20,15,35,0.4);
    pointer-events: none;
}

.home-link span {
    color: #EEDCEF;
    margin-right: 5px;
    text-shadow: 0 0 7px rgba(89,67,141,0.65);
}

.home-link:hover {
    color: #EEDCEF;
    background: #59438D;
    border-top-color: #EEDCEF;
    border-left-color: #EEDCEF;
    border-right-color: #24132C;
    border-bottom-color: #24132C;
    transform: translate(-2px, -2px);
    box-shadow:
        6px 6px 0 #24132C,
        0 0 16px rgba(89,67,141,0.3),
        inset 2px 2px 0 rgba(255,255,255,0.2),
        inset -2px -2px 0 rgba(0,0,0,0.22);
}

.home-link:hover span {
    color: #EEDCEF;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-links a {
    position: relative;
    display: inline-block;
    min-width: 92px;
    padding: 9px 15px 8px;
    color: #EEDCEF;
    background: #3F1C26;
    border: 3px solid #723D51;
    border-top-color: #59438D;
    border-left-color: #723D51;
    font-family: 'VT323', monospace;
    font-size: 1.15rem;
    line-height: 1.1;
    text-align: center;
    letter-spacing: 0.02em;
    box-shadow:
        4px 4px 0 #24132C,
        inset 2px 2px 0 rgba(255,255,255,0.18),
        inset -2px -2px 0 rgba(0,0,0,0.28);
    border-radius: 12px;
    transition:
        transform 0.12s steps(2),
        background 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.nav-links a::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: rgba(255,255,255,0.16);
    pointer-events: none;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 5px;
    right: 5px;
    height: 2px;
    background: rgba(20,15,35,0.35);
    pointer-events: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: #EEDCEF;
    background: #59438D;
    border-top-color: #EEDCEF;
    border-left-color: #EEDCEF;
    border-right-color: #24132C;
    border-bottom-color: #24132C;
    transform: translate(-2px, -2px);
    box-shadow:
        6px 6px 0 #24132C,
        0 0 14px rgba(89,67,141,0.28),
        inset 2px 2px 0 rgba(255,255,255,0.22),
        inset -2px -2px 0 rgba(0,0,0,0.22);
}

.nav-links a:active {
    transform: translate(2px, 2px);
    background: #3F1C26;
    border-top-color: #24132C;
    border-left-color: #24132C;
    border-right-color: #723D51;
    border-bottom-color: #723D51;
    box-shadow:
        1px 1px 0 #24132C,
        inset 2px 2px 0 rgba(0,0,0,0.22),
        inset -2px -2px 0 rgba(255,255,255,0.12);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #3F1C26;
    font-size: 1.7rem;
    cursor: pointer;
}

.page-hero {
    min-height: 70vh;
    padding: 150px 8% 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #EEDCEF;
}

.hero-content {
    max-width: none;
    width: 100%;
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-family: 'Jersey 10', monospace;
    font-size: clamp(2.15rem, 5vw, 4.5rem);
    line-height: 1.3;
    letter-spacing: 0.03em;
    color: #3F1C26;
    text-shadow: 4px 4px 0 rgba(175,125,135,0.5);
}

.page-hero h1 span {
    color: #59438D;
}

.hero-description {
    max-width: 600px;
    margin-top: 30px;
    color: rgba(63,28,38,0.75);
    font-family: 'DotGothic16', monospace;
    font-size: 1rem;
    line-height: 1.9;
    font-weight: bold;
    letter-spacing: 0.04em;
}

.snapshot-section {
    padding: 60px 8%;
    position: relative;
    background: #EEDCEF;
    border-top: 1px solid rgba(89,67,141,0.08);
    border-bottom: 1px solid rgba(89,67,141,0.08);
}

.snapshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.snapshot-placeholder {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(89,67,141,0.06);
    border: 2px dashed rgba(89,67,141,0.4);
    color: #59438D;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 10px;
    border-radius: 14px;
}

.announcement-section {
    padding: 100px 8%;
    position: relative;
    overflow: hidden;
    background: #EEDCEF;
    border-top: 1px solid rgba(89,67,141,0.08);
}

.section-heading {
    max-width: 800px;
    position: relative;
    z-index: 2;
    margin-bottom: 45px;
}

.section-heading h2 {
    margin-top: 0;
    font-family: 'Jersey 10', monospace;
    font-size: clamp(1.6rem, 4vw, 3rem);
    line-height: 1.5;
    letter-spacing: -0.03em;
    color: #3F1C26;
    text-shadow: 4px 4px 0 rgba(175,125,135,0.5);
}

.section-heading h2 span {
    color: #59438D;
}

.section-heading p {
    max-width: 650px;
    margin-top: 20px;
    color: rgba(63,28,38,0.75);
    font-family: 'DotGothic16', monospace;
    font-size: 1rem;
    line-height: 1.9;
    font-weight: bold;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 2;
    margin-bottom: 25px;
}

.filter-button {
    padding: 9px 15px;
    border: 2px solid #723D51;
    border-top-color: #59438D;
    border-left-color: #723D51;
    background: #3F1C26;
    color: #EEDCEF;
    font-family: 'VT323', monospace;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow:
        3px 3px 0 #24132C,
        inset 1px 1px 0 rgba(255,255,255,0.12);
    border-radius: 10px;
    transition:
        transform 0.12s steps(2),
        background 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.filter-button:hover,
.filter-button.active {
    color: #EEDCEF;
    background: #59438D;
    border-top-color: #EEDCEF;
    border-left-color: #EEDCEF;
    border-right-color: #24132C;
    border-bottom-color: #24132C;
    transform: translate(-2px, -2px);
    box-shadow:
        5px 5px 0 #24132C,
        0 0 14px rgba(89,67,141,0.25);
}

.announcement-meta {
    position: relative;
    z-index: 2;
    margin-bottom: 25px;
    font-family: 'VT323', monospace;
    color: #59438D;
    font-size: 1.05rem;
}

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    position: relative;
    z-index: 2;
}

.announcement-card {
    min-height: 390px;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: #3F1C26;
    border: 2px solid #723D51;
    box-shadow: 6px 6px 0 #24132C;
    border-radius: 16px;
    transition:
        transform 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.announcement-card:hover {
    transform: translate(-3px, -3px);
    border-color: #AF7D87;
    box-shadow: 9px 9px 0 #24132C;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    border-bottom: 2px solid #723D51;
    background: rgba(89,67,141,0.14);
}

.card-category {
    font-family: 'Jersey 10', monospace;
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: #EEDCEF;
}

.card-date {
    font-family: 'DotGothic16', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: rgba(238,220,239,0.6);
    white-space: nowrap;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag {
    padding: 3px 6px;
    border: 1px solid rgba(175,125,135,0.6);
    color: #AF7D87;
    background: rgba(89,67,141,0.08);
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    line-height: 1;
    border-radius: 5px;
}

.announcement-card h3 {
    margin: 0;
    padding: 20px 24px 0;
    font-family: 'Jersey 10', monospace;
    font-size: 1rem;
    line-height: 1.9;
    letter-spacing: 0.05em;
    color: #EEDCEF;
    font-weight: normal;
}

.announcement-card p {
    margin: 14px 24px 0;
    color: rgba(238,220,239,0.75);
    font-family: 'DotGothic16', monospace;
    font-size: 1.1rem;
    line-height: 1.6;
}

.card-link {
    align-self: flex-start;
    margin: auto 24px 24px;
    padding: 8px 15px 7px;
    color: #EEDCEF;
    background: #723D51;
    border: 2px solid #AF7D87;
    font-family: 'DotGothic16', monospace;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    box-shadow: 3px 3px 0 #24132C;
    border-radius: 10px;
    transition:
        transform 0.12s steps(2),
        background 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.card-link:hover {
    background: #59438D;
    border-color: #AF7D87;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #24132C;
}

.no-results {
    display: none;
    padding: 70px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.no-results-symbol {
    color: #59438D;
    font-size: 2rem;
    margin-bottom: 15px;
}

.no-results h3 {
    font-family: 'Jersey 10', monospace;
    font-size: 1.3rem;
    line-height: 1.8;
    color: #3F1C26;
}

.no-results p {
    margin-top: 12px;
    color: rgba(63,28,38,0.75);
    font-family: 'DotGothic16', monospace;
    font-size: 1.1rem;
    font-weight: bold;
}

.closing-section {
    padding: 90px 8%;
    text-align: center;
    border-top: 1px solid rgba(89,67,141,0.08);
    background: #EEDCEF;
}

.return-button {
    display: inline-block;
    padding: 10px 16px;
    color: #EEDCEF;
    background: #3F1C26;
    border: 3px solid #723D51;
    border-top-color: #59438D;
    border-left-color: #723D51;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    box-shadow:
        4px 4px 0 #24132C,
        inset 2px 2px 0 rgba(255,255,255,0.16),
        inset -2px -2px 0 rgba(0,0,0,0.28);
    border-radius: 12px;
    transition:
        transform 0.12s steps(2),
        background 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.return-button:hover {
    color: #EEDCEF;
    background: #59438D;
    border-top-color: #EEDCEF;
    border-left-color: #EEDCEF;
    border-right-color: #24132C;
    border-bottom-color: #24132C;
    transform: translate(-2px, -2px);
    box-shadow:
        6px 6px 0 #24132C,
        0 0 16px rgba(89,67,141,0.3);
}

footer {
    padding: 50px 8%;
    border-top: 1px solid rgba(89,67,141,0.25);
    color: rgba(238,220,239,0.65);
    background: #24132C;
}

.copyright {
    font-family: 'DotGothic16', monospace;
    font-size: 1rem;
    opacity: 0.6;
}

@media (max-width: 1000px) {

    .announcement-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .snapshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .announcement-section {
        padding: 80px 6%;
    }

}

@media (max-width: 650px) {

    .navbar {
        padding: 20px 6%;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 102;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 6%;
        right: 6%;
        background: #3F1C26;
        border: 2px solid rgba(89,67,141,0.3);
        padding: 20px;
        flex-direction: column;
        gap: 10px;
        box-shadow: 6px 6px 0 rgba(36,19,44,0.25);
        border-radius: 14px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        min-width: 0;
        padding: 12px;
    }

    .page-hero {
        min-height: auto;
        padding: 130px 6% 75px;
    }

    .page-hero h1 {
        font-size: clamp(1.85rem, 8vw, 3.4rem);
        line-height: 1.35;
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.9;
    }

    .snapshot-section {
        padding: 45px 6%;
    }

    .snapshot-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .announcement-section {
        padding: 65px 6%;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: clamp(1.35rem, 7vw, 2.2rem);
    }

    .section-heading p {
        font-size: 0.85rem;
    }

    .filter-bar {
        gap: 7px;
    }

    .filter-button {
        padding: 8px 11px;
        font-size: 0.95rem;
    }

    .announcement-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .announcement-card {
        min-height: 350px;
    }

    .card-top {
        padding: 14px 18px;
    }

    .announcement-card h3 {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 0.8rem;
    }

    .announcement-card p {
        margin-left: 20px;
        margin-right: 20px;
        font-size: 1rem;
    }

    .card-link {
        margin-left: 20px;
        margin-right: 20px;
    }

    .closing-section {
        padding: 65px 6%;
    }

    footer {
        padding: 40px 6%;
        text-align: center;
    }

}

@media (max-width: 450px) {

    .home-link {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 0.8rem;
    }

    .announcement-card h3 {
        font-size: 0.76rem;
    }

    .announcement-card p {
        font-size: 0.95rem;
    }

    .filter-button {
        font-size: 0.9rem;
    }

    .return-button {
        font-size: 1rem;
    }

}