body {
    margin: 0;
    background-color: #070808;
    background-image: url("texture/net.png");
    background-repeat: repeat;
    background-size: 500px;
    background-attachment: fixed;
    color: white;
    font-family: Courier, monospace;
    color-scheme: dark;
}

/* HERO */
.hero {
    width: 100%;
    height: 300px;
    background-image: url("hero.jpg");
    background-size: cover;
    background-position: center;
}

/* LOGO */
.logo {
    position: relative;
    top: 10px;
    display: block;
    width: 500px;
    margin: 0 auto;
}

/* TITLE */
.site-title {
    font-family: "pf-fuel-decay", sans-serif;
    font-size: 16rem;
    color: #e41668;
    text-align: center;
    letter-spacing: 9px;
    text-transform: uppercase;
    text-shadow: 6px 6px 0 #070808, 10px 10px 0 #0bf9ff;
    margin-top: 20px;
}

/* TAGLINE */
.tagline-box {
    width: 80%;
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: #000;
    border: 2px solid #3cffaa;
    box-shadow: 12px 12px 0 #e41668;
    text-align: center;
    margin-top: 20px;
}

.tagline {
    font-family: "kiln", sans-serif;
    font-size: 2rem;
    color: #3cffaa;
}

.subtag {
    font-family: Courier, monospace;
    font-size: 1rem;
    color: white;
    margin-top: 10px;
}

/* MENU */
.menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 12px 0;
}

.menu-toggle {
    display: none;
    background: #000;
    border: 2px solid #3cffaa;
    color: #0bf9ff;
    font-family: "kiln", sans-serif;
    font-size: 1rem;
    padding: 10px 16px;
    cursor: pointer;
    box-shadow: 6px 6px 0 #e41668;
}

.menu-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.menu-links a {
    display: inline-block;
    background: #000;
    border: 2px solid #3cffaa;
    padding: 14px 24px;
    color: #0bf9ff;
    font-family: "kiln", sans-serif;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 6px 6px 0 #e41668;
    transition: all 0.2s ease;
    transform: rotate(-1deg);
}

.menu-links a:nth-child(2) {
    transform: rotate(2deg);
}

.menu-links a:nth-child(3) {
    transform: rotate(-2deg);
}

.menu-links a:hover {
    transform: translate(-4px, -4px) rotate(0deg);
    box-shadow: 12px 12px 0 #0bf9ff;
    background: #e41668;
    color: #000;
}

.contact-page {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

.contact-intro-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.contact-intro {
    font-family: "kiln", sans-serif;
    font-size: 2rem;
    text-align: center;
    color: #3cffaa;
    background: #000;
    border: 2px solid #3cffaa;
    padding: 24px 32px;
    box-shadow: 8px 8px 0 #e41668;
    max-width: 860px;
    width: 100%;
    line-height: 1.2;
}

.contact-form-wrapper {
    position: relative;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #3cffaa;
    box-shadow: 12px 12px 0 #e41668;
    padding: 40px;
    overflow: hidden;
}

.contact-form {
    display: grid;
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
}

.contact-form label {
    display: grid;
    gap: 10px;
    color: #fff;
    font-family: Courier, monospace;
}

.contact-form span {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #0bf9ff;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: #111;
    border: 2px solid #3cffaa;
    color: #fff;
    font-family: Courier, monospace;
    font-size: 1rem;
    padding: 18px 20px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0bf9ff;
    box-shadow: 0 0 18px rgba(11, 249, 255, 0.35);
}

.contact-form textarea {
    min-height: 220px;
    resize: vertical;
}

.contact-form button {
    width: fit-content;
    align-self: start;
    padding: 18px 36px;
    font-family: "kiln", sans-serif;
    font-size: 1rem;
    color: #000;
    background: #3cffaa;
    border: 2px solid #3cffaa;
    cursor: pointer;
    box-shadow: 6px 6px 0 #e41668;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 10px 10px 0 #0bf9ff;
}

.contact-form button:disabled {
    cursor: wait;
    opacity: 0.75;
}

.hidden-field {
    display: none;
}

.form-status {
    min-height: 1.4em;
    margin: 0;
    font-family: Courier, monospace;
    font-size: 1rem;
    line-height: 1.4;
}

.form-status-success {
    color: #3cffaa;
}

.form-status-error {
    color: #e41668;
}

.lightning {
    position: absolute;
    background-image: url('images/lightning.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
    pointer-events: none;
    animation: lightning-flicker 3.6s ease-in-out infinite;
}

.lightning-1 {
    width: 68px;
    height: 130px;
    top: 10px;
    left: 10px;
    animation-duration: 3.8s;
}

.lightning-2 {
    width: 54px;
    height: 104px;
    top: 8%;
    right: 14%;
    animation-duration: 2.9s;
    animation-delay: 0.2s;
}

.lightning-3 {
    width: 82px;
    height: 156px;
    bottom: 12%;
    left: 8%;
    animation-duration: 4.3s;
    animation-delay: 0.1s;
}

.lightning-4 {
    width: 60px;
    height: 120px;
    bottom: 14%;
    right: 12%;
    animation-duration: 3.2s;
    animation-delay: 0.4s;
}

.lightning-5 {
    width: 46px;
    height: 90px;
    top: 38%;
    left: 48%;
    animation-duration: 3.6s;
    animation-delay: 0.3s;
}

@keyframes lightning-flicker {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.88; }
    25% { transform: translate(-6px, -10px) rotate(-2deg); opacity: 1; }
    50% { transform: translate(4px, -18px) rotate(3deg); opacity: 0.7; }
    75% { transform: translate(-3px, 8px) rotate(-1deg); opacity: 0.95; }
}

/* CARDS */
.card-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px;
}

.card {
    width: 250px;
    height: 200px;
    background: #111;
    border: 3px solid #3cffaa;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 10px 10px 0px #e41668;
    font-family: Courier;
    transition: .3s;
}

.card-link {
    cursor: pointer;
}

.card-link:hover {
    border-color: #0bf9ff;
}

.card-link .card-meta {
    color: #0bf9ff;
    margin-top: 12px;
    font-size: 0.9rem;
}

.card:nth-child(1) { transform: rotate(-3deg); }
.card:nth-child(2) { transform: rotate(3deg); }
.card:nth-child(3) { transform: rotate(-5deg); }
.card:nth-child(4) { transform: rotate(2deg); }

.card:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 0 20px #0bf9ff, 15px 15px 0px #d9d802;
}

.card::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 18px;
    background: rgba(255,255,220,.4);
    top: -6px;
    left: 40px;
    transform: rotate(-8deg);
}

/* GALLERY MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.modal-dialog {
    position: relative;
    max-width: 900px;
    width: min(95%, 800px);
    max-height: 90vh;
    overflow-y: auto;
    background: #111;
    border: 3px solid #3cffaa;
    box-shadow: 0 0 0 8px rgba(0, 255, 255, 0.12);
    padding: 32px;
    z-index: 1;
}

.modal-dialog h2 {
    margin-top: 0;
    color: #e41668;
    font-family: "pf-fuel-decay", sans-serif;
    letter-spacing: 4px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: #000;
    border: 2px solid #3cffaa;
    color: #0bf9ff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.gallery-grid figure {
    margin: 0;
}

.gallery-grid img {
    width: 100%;
    max-width: 300px;
    display: block;
    border: 2px solid #3cffaa;
}

.gallery-grid figcaption {
    margin-top: 10px;
    color: #fff;
    font-family: Courier, monospace;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    body {
        background-size: 320px;
        background-attachment: scroll;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
    }

    .hero {
        height: 180px;
    }

    .logo {
        width: min(90vw, 500px);
        margin-top: 8px;
    }

    .site-title {
        font-size: clamp(3rem, 10vw, 5rem);
        letter-spacing: 3px;
        margin-top: 12px;
        line-height: 0.95;
    }

    .tagline-box {
        width: min(92%, 900px);
        padding: 16px;
        box-shadow: 8px 8px 0 #e41668;
        background: rgba(0, 0, 0, 0.95);
    }

    .tagline {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }

    .subtag {
        font-size: 0.95rem;
    }

    .menu {
        padding: 0 12px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: min(220px, 90vw);
        margin-bottom: 8px;
        background: #000;
        color: #3cffaa;
        border-color: #0bf9ff;
        box-shadow: 4px 4px 0 #e41668;
    }

    .menu-links {
        display: none;
        width: min(220px, 90vw);
        flex-direction: column;
        gap: 10px;
    }

    .menu.open .menu-links {
        display: flex;
    }

    .menu-links a {
        width: 100%;
        padding: 12px 16px;
        font-size: 1.1rem;
        text-align: center;
        background: rgba(0, 0, 0, 0.95);
        color: #3cffaa;
        border-color: #0bf9ff;
    }

    .about-box-text {
        width: min(92%, 800px);
        padding: 24px 20px;
        box-shadow: 8px 8px 0 #e41668;
    }

    .about-box-text h2 {
        font-size: 1.6rem;
    }

    .about-box-text p {
        font-size: 0.95rem;
    }

    .menu-wrapper {
        flex-wrap: wrap;
        padding: 0 12px;
    }

    .star-decoration {
        display: none;
    }

    .contact-page {
        padding: 0 12px;
        margin: 24px auto 48px;
    }

    .contact-intro {
        font-size: 1.35rem;
        padding: 18px;
        box-shadow: 6px 6px 0 #e41668;
    }

    .contact-form-wrapper {
        padding: 24px 18px;
        box-shadow: 8px 8px 0 #e41668;
        background: rgba(0, 0, 0, 0.95);
    }

    .contact-form {
        gap: 16px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 14px 16px;
    }

    .contact-form button {
        width: 100%;
    }

    .card-container {
        padding: 24px 12px 40px;
        gap: 16px;
    }

    .card {
        width: min(100%, 280px);
        height: auto;
        min-height: 180px;
        padding: 18px;
        background: rgba(17, 17, 17, 0.98);
        border-color: #0bf9ff;
    }

    .modal-dialog {
        width: min(96%, 800px);
        padding: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: clamp(2.4rem, 10vw, 3.4rem);
        letter-spacing: 2px;
    }

    .tagline-box {
        margin-top: 14px;
    }

    .menu a {
        font-size: 1rem;
    }

    .contact-intro {
        font-size: 1.1rem;
    }

    .contact-form button {
        padding: 14px 20px;
    }

    .card,
    .card:nth-child(1),
    .card:nth-child(2),
    .card:nth-child(3),
    .card:nth-child(4) {
        transform: none;
    }
}

.link-item .link-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #3cffaa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #0bf9ff;
    font-family: Courier, monospace;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-link {
    text-decoration: none;
    display: block;
}

.gallery-link:hover .link-placeholder {
    background: linear-gradient(135deg, #0bf9ff 0%, #3cffaa 100%);
    color: #000;
    box-shadow: 0 0 15px rgba(11, 249, 255, 0.5);
}
