@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: 10px;
    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: 10px;
    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;
}

.announcement-hero {
    min-height: 78vh;
    padding: 150px 8% 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    position: relative;
    overflow: hidden;
    background: #EEDCEF;
}

.hero-content {
    flex: 1;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Jersey 10', monospace;
    font-size: clamp(2.15rem, 5vw, 4.5rem);
    line-height: 1.0;
    letter-spacing: 0.03em;
    color: #3F1C26;
    text-shadow: 4px 4px 0 rgba(175,125,135,0.5);
}

.hero-text {
    max-width: 620px;
    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;
}

.hero-info {
    flex: 0 0 380px;
    position: relative;
    z-index: 2;
    padding: 30px;
    border: 3px solid #59438D;
    background: rgba(89,67,141,0.06);
    box-shadow:
        6px 6px 0 #24132C,
        inset 0 0 0 2px rgba(89,67,141,0.15);
}

.hero-info h3 {
    font-family: 'Jersey 10', monospace;
    font-size: 1.35rem;
    line-height: 1.4;
    color: #3F1C26;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.hero-info p {
    color: rgba(63,28,38,0.75);
    font-family: 'DotGothic16', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 330px;
}

.section-divider {
    height: 60px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.divider-rule {
    flex: 1;
    max-width: 340px;
    height: 1px;
    background: rgba(89,67,141,0.15);
}

.divider-star {
    color: rgba(89,67,141,0.35);
    font-size: 0.9rem;
    line-height: 1;
}

.featured-section,
.latest-section {
    position: relative;
    padding: 100px 8%;
    overflow: hidden;
}

.featured-section {
    background: #EEDCEF;
}

.latest-section {
    background: #EEDCEF;
    border-top: 1px solid rgba(89,67,141,0.08);
    border-bottom: 1px solid rgba(89,67,141,0.08);
}

.section-heading {
    max-width: 800px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 50px;
}

.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);
    letter-spacing: 0.04em;
}

.featured-card {
    min-height: 360px;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #3F1C26;
    border: 2px solid #723D51;
    border-top-color: #59438D;
    border-radius: 10px;
    box-shadow: 6px 6px 0 #24132C;
    transition:
        transform 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
    overflow: hidden;
}

.featured-card:hover {
    transform: translate(-3px, -3px);
    border-color: #AF7D87;
    box-shadow: 9px 9px 0 #24132C;
}

.featured-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 20px 30px 16px;
    border-bottom: 2px solid #723D51;
    background: rgba(89,67,141,0.14);
}

.category-tag {
    display: inline-block;
    padding: 7px 10px;
    border: 1px solid rgba(175,125,135,0.6);
    color: #AF7D87;
    background: rgba(89,67,141,0.08);
    font-family: 'Jersey 10', monospace;
    font-size: 0.7rem;
}

.date {
    color: #EEDCEF;
    font-family: 'DotGothic16', monospace;
    font-size: 0.9rem;
}

.featured-content {
    max-width: 850px;
    padding: 28px 30px 30px;
    letter-spacing: 0.04em;
}

.featured-location {
    color: #AF7D87;
    font-family: 'Jersey 10', monospace;
    font-size: 0.8rem;
    margin-bottom: 18px;
}

.featured-content h3 {
    font-family: 'Jersey 10', monospace;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    line-height: 1.8;
    margin-bottom: 18px;
    color: #EEDCEF;
}

.featured-content p {
    color: rgba(238,220,239,0.75);
    font-family: 'DotGothic16', monospace;
    font-size: 1.15rem;
    line-height: 1.65;
    max-width: 720px;
}

.text-link {
    display: inline-block;
    margin-top: 22px;
    color: #EEDCEF;
    background: #723D51;
    border: 2px solid #AF7D87;
    padding: 8px 15px 7px;
    font-family: 'DotGothic16', monospace;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    box-shadow: 3px 3px 0 #24132C;
    transition:
        transform 0.12s steps(2),
        background 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.text-link::before {
    content: "▶";
    margin-right: 8px;
    color: #EEDCEF;
    font-size: 0.72rem;
}

.text-link:hover {
    background: #59438D;
    border-color: #EEDCEF;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #24132C;
}

.featured-symbol {
    position: absolute;
    right: 60px;
    bottom: 35px;
    font-family: 'VT323', monospace;
    font-size: 100px;
    color: #723D51;
    opacity: 0.55;
}

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.announcement-card {
    min-height: 390px;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #3F1C26;
    border: 2px solid #723D51;
    border-top-color: #59438D;
    border-radius: 10px;
    box-shadow: 6px 6px 0 #24132C;
    transition:
        transform 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
    overflow: hidden;
}

.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: 15px;
    padding: 18px 24px 15px;
    border-bottom: 2px solid #723D51;
    background: rgba(89,67,141,0.14);
}

.card-icon {
    width: 58px;
    height: 58px;
    margin: 25px 24px 10px;
    border: 2px solid #AF7D87;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EEDCEF;
    background: rgba(89,67,141,0.08);
    font-family: 'VT323', monospace;
    font-size: 30px;
    box-shadow: 3px 3px 0 rgba(36,19,44,0.7);
    transition: transform 0.12s steps(2), background 0.12s steps(2), border-color 0.12s steps(2);
}

.announcement-card:hover .card-icon {
    border-color: #EEDCEF;
    background: #59438D;
    transform: translate(-2px, -2px);
}

.announcement-card h3 {
    padding: 10px 24px 0;
    font-family: 'Jersey 10', monospace;
    font-size: 1rem;
    line-height: 1.9;
    color: #EEDCEF;
    letter-spacing: 0.04em;
}

.announcement-card p {
    margin: 14px 24px 0;
    color: rgba(238,220,239,0.75);
    font-family: 'DotGothic16', monospace;
    font-size: 1.05rem;
    line-height: 1.65;
}

.announcement-card .text-link {
    align-self: flex-start;
    margin: auto 24px 24px;
}

.all-announcements-button {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 55px;
}

.all-announcements-button a {
    display: inline-block;
    padding: 10px 18px 9px;
    color: #EEDCEF;
    background: #3F1C26;
    border: 3px solid #723D51;
    border-top-color: #59438D;
    border-left-color: #723D51;
    font-family: 'DotGothic16', monospace;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    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: 10px;
    transition:
        transform 0.12s steps(2),
        background 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.all-announcements-button a::before {
    content: "▶";
    margin-right: 8px;
    color: #AF7D87;
    font-size: 0.72rem;
}

.all-announcements-button a: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);
}

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-hero {
        padding: 130px 6% 90px;
        gap: 40px;
    }

    .hero-info {
        flex: 0 0 300px;
    }

    .featured-section,
    .latest-section {
        padding: 80px 6%;
    }

    .announcement-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-symbol {
        right: 30px;
        font-size: 70px;
    }

}

@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);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        min-width: 0;
        padding: 12px;
    }

    .announcement-hero {
        min-height: auto;
        padding: 130px 6% 75px;
        flex-direction: column;
        align-items: stretch;
        gap: 45px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(1.85rem, 8vw, 3.4rem);
        line-height: 1.35;
    }

    .hero-text {
        font-size: 0.85rem;
        line-height: 1.9;
    }

    .hero-info {
        width: 100%;
        flex: none;
        padding: 25px 20px;
    }

    .hero-info h3 {
        font-size: 1.15rem;
    }

    .hero-info p {
        font-size: 0.85rem;
    }

    .section-divider {
        height: 44px;
        padding: 0 6%;
        gap: 12px;
    }

    .divider-rule {
        max-width: 120px;
    }

    .featured-section,
    .latest-section {
        padding: 65px 6%;
    }

    .section-heading {
        gap: 12px;
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: clamp(1.35rem, 7vw, 2.2rem);
    }

    .featured-card {
        min-height: 340px;
    }

    .featured-top {
        padding: 16px 20px 13px;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .featured-content {
        padding: 25px 20px;
    }

    .featured-content h3 {
        font-size: 0.85rem;
        line-height: 1.8;
    }

    .featured-content p {
        font-size: 1.05rem;
    }

    .featured-symbol {
        display: none;
    }

    .announcement-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .announcement-card {
        min-height: 350px;
    }

    .card-top {
        padding: 16px 20px 13px;
    }

    .card-icon {
        margin-left: 20px;
        margin-right: 20px;
    }

    .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;
    }

    .announcement-card .text-link {
        margin-left: 20px;
        margin-right: 20px;
    }

    .all-announcements-button {
        margin-top: 40px;
    }

    .all-announcements-button a {
        font-size: 1rem;
        padding: 9px 14px 8px;
    }

    footer {
        padding: 40px 6%;
    }

}

@media (max-width: 450px) {

    .hero-text {
        font-size: 0.8rem;
    }

    .hero-info {
        padding: 22px 18px;
    }

    .featured-content h3 {
        font-size: 0.76rem;
    }

    .announcement-card h3 {
        font-size: 0.68rem;
    }

    .all-announcements-button a {
        font-size: 0.95rem;
    }

}
