@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(238,220,239,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(238,220,239,0.2);
    pointer-events: none;
}

.home-link::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 5px;
    right: 5px;
    height: 2px;
    background: rgba(36,19,44,0.4);
    pointer-events: none;
}

.home-link span {
    color: #AF7D87;
    margin-right: 5px;
    text-shadow: 0 0 7px rgba(175,125,135,0.55);
}

.home-link:hover {
    color: #EEDCEF;
    background: #59438D;
    border-top-color: #EEDCEF;
    border-left-color: #AF7D87;
    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.22),
        inset 2px 2px 0 rgba(238,220,239,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(238,220,239,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(238,220,239,0.16);
    pointer-events: none;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 5px;
    right: 5px;
    height: 2px;
    background: rgba(36,19,44,0.35);
    pointer-events: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: #EEDCEF;
    background: #59438D;
    border-top-color: #EEDCEF;
    border-left-color: #AF7D87;
    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.2),
        inset 2px 2px 0 rgba(238,220,239,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(238,220,239,0.12);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #3F1C26;
    font-size: 1.7rem;
    cursor: pointer;
}

.hero {
    min-height: 78vh;
    padding: 150px 8% 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    position: relative;
    overflow: hidden;
    background: #EEDCEF;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Jersey 10', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #3F1C26;
    text-shadow: 4px 4px 0 rgba(175,125,135,0.5);
}

.hero h1 span {
    color: #59438D;
}

.hero-description {
    max-width: 600px;
    margin-top: 30px;
    color: rgba(63,28,38,0.75);
    font-size: 1rem;
    line-height: 1.9;
    font-weight: bold;
}

.hero-image {
    width: min(25vw, 370px);
    aspect-ratio: 1 / 1;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background:
        radial-gradient(circle at center, rgba(89,67,141,0.12), transparent 48%),
        #3F1C26;
    border: 2px solid #723D51;
    box-shadow:
        0 0 35px rgba(89,67,141,0.16),
        0 0 90px rgba(175,125,135,0.08),
        7px 7px 0 #24132C;
}

.gif-caption {
    margin-top: 14px;
    text-align: center;
    font-family: 'VT323', monospace;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(238,220,239,0.7);
}

.gif-caption a {
    color: #AF7D87;
}

.gif-caption a:hover {
    color: #EEDCEF;
}

.discover-section {
    position: relative;
    padding: 90px 8%;
    background: #EEDCEF;
    overflow: hidden;
}

.discover-heading {
    max-width: 800px;
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.discover-heading h2 {
    margin-top: 22px;
    font-family: 'Jersey 10', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.7rem);
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: #3F1C26;
    text-shadow: 4px 4px 0 rgba(175,125,135,0.45);
}

.discover-heading h2 span {
    color: #59438D;
}

.discover-heading p {
    max-width: 650px;
    margin-top: 20px;
    color: rgba(63,28,38,0.75);
    font-size: 1rem;
    line-height: 1.9;
    font-weight: bold;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.category-card {
    min-height: 560px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #3F1C26;
    border: 2px solid #723D51;
    border-top-color: #59438D;
    border-left-color: #723D51;
    border-radius: 10px;
    box-shadow:
        6px 6px 0 #24132C,
        inset 2px 2px 0 rgba(238,220,239,0.08),
        inset 0 0 0 2px rgba(89,67,141,0.12);
    transition:
        transform 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
    overflow: hidden;
}

.category-card:hover {
    transform: translate(-3px, -4px);
    border-color: #AF7D87;
    box-shadow:
        9px 9px 0 #24132C,
        0 0 20px rgba(89,67,141,0.18),
        inset 2px 2px 0 rgba(238,220,239,0.12),
        inset 0 0 0 2px rgba(89,67,141,0.18);
}

.category-image {
    height: 245px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #24132C;
    border-bottom: 2px solid #723D51;
    box-shadow:
        inset 2px 2px 0 #24132C,
        inset -2px -2px 0 rgba(89,67,141,0.08);
}

.category-image::before {
    content: "";
    position: absolute;
    inset: 25px;
    border: 2px solid rgba(89,67,141,0.3);
}

.category-image::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(175,125,135,0.2);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(89,67,141,0.1);
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.image-placeholder strong {
    color: rgba(238,220,239,0.65);
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    font-weight: normal;
}

.image-placeholder small {
    color: rgba(238,220,239,0.45);
    font-family: 'VT323', monospace;
    font-size: 1rem;
}

.category-card:hover .image-placeholder strong {
    color: rgba(238,220,239,0.85);
}

.category-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 24px 30px;
}

.category-label {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 20px;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    color: #AF7D87;
}

.category-content h3 {
    font-family: 'Jersey 10', sans-serif;
    font-size: 1.6rem;
    line-height: 1.3;
    color: #EEDCEF;
}

.category-content p {
    margin-top: 16px;
    color: rgba(238,220,239,0.75);
    font-family: 'VT323', monospace;
    font-size: 1.15rem;
    line-height: 1.6;
}

.category-link {
    align-self: flex-start;
    margin-top: auto;
    position: relative;
    display: inline-block;
    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;
    letter-spacing: 0.02em;
    border-radius: 10px;
    box-shadow:
        4px 4px 0 #24132C,
        inset 2px 2px 0 rgba(238,220,239,0.18),
        inset -2px -2px 0 rgba(0,0,0,0.28);
    transition:
        transform 0.12s steps(2),
        background 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.category-link::before {
    content: "▶";
    margin-right: 8px;
    color: #AF7D87;
    font-size: 0.72rem;
}

.category-card:hover .category-link {
    color: #EEDCEF;
    background: #59438D;
    border-top-color: #EEDCEF;
    border-left-color: #AF7D87;
    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.2),
        inset 2px 2px 0 rgba(238,220,239,0.22),
        inset -2px -2px 0 rgba(0,0,0,0.22);
}

.closing {
    min-height: 50vh;
    padding: 90px 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #EEDCEF;
    border-top: 2px solid rgba(89,67,141,0.18);
}

.closing-content {
    position: relative;
    z-index: 2;
}

.closing-content h2 {
    margin-top: 22px;
    font-family: 'Jersey 10', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.7rem);
    line-height: 1.3;
    color: #3F1C26;
    text-shadow: 4px 4px 0 rgba(175,125,135,0.45);
}

.closing-content h2 span {
    color: #59438D;
}

footer {
    padding: 50px 8%;
    border-top: 2px solid #723D51;
    color: rgba(238,220,239,0.7);
    background: #24132C;
}

.copyright {
    font-family: 'VT323', monospace;
    font-size: 1rem;
    opacity: 0.6;
}

@media (max-width: 1000px) {

    .hero {
        gap: 40px;
    }

    .hero-image {
        width: min(34vw, 360px);
    }

    .category-grid {
        gap: 25px;
    }

}

@media (max-width: 900px) {

    .hero {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 140px;
    }

    .hero-content {
        max-width: 800px;
    }

    .hero-image {
        width: 70vw;
        max-width: 430px;
        align-self: center;
        margin-top: 30px;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 650px) {

    .navbar {
        padding: 20px 6%;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 102;
        color: #3F1C26;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 6%;
        right: 6%;
        background: #3F1C26;
        border: 2px solid #723D51;
        padding: 20px;
        flex-direction: column;
        gap: 10px;
        box-shadow: 6px 6px 0 #24132C;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 10px 12px;
    }

    .hero {
        min-height: auto;
        padding: 130px 6% 75px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
        line-height: 1.25;
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.9;
    }

    .hero-image {
        width: 78vw;
        max-width: 400px;
        margin-top: 20px;
    }

    .discover-section {
        padding: 65px 6%;
    }

    .discover-heading {
        margin-bottom: 35px;
    }

    .discover-heading h2 {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
    }

    .discover-heading p {
        font-size: 0.8rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .category-card {
        min-height: 490px;
    }

    .category-image {
        height: 210px;
    }

    .category-content {
        padding: 20px 20px 26px;
    }

    .category-content h3 {
        font-size: 1.4rem;
    }

    .category-content p {
        font-size: 1.1rem;
    }

    .category-link {
        margin-top: auto;
        font-size: 1.1rem;
    }

    .closing {
        min-height: 45vh;
        padding: 65px 6%;
    }

    .closing-content h2 {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
    }

    footer {
        padding: 40px 6%;
    }
}