* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Mono', monospace;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #e6e2d8;
    color: #111;
    overflow: hidden;
    height: 100dvh;
    width: 100vw;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(247,243,234,0.9) 0%, transparent 100%);
}

.logo {
    height: 32px;
    object-fit: contain;
    filter: invert(1) contrast(200%);
    transform: rotate(-2deg);
}

.menu-btn {
    background: #ff6b6b;
    border: 3px solid #111;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    z-index: 10;
    box-shadow: 4px 4px 0 #111;
    transition: transform 0.1s;
}

.menu-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #111;
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #111;
}

.slider-container {
    position: relative;
    height: 100dvh;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 40px;
}

.slider {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.slide {
    flex: 0 0 85vw;
    height: 68dvh;
    scroll-snap-align: center;
    border: 4px solid #111;
    overflow: hidden;
    position: relative;
    box-shadow: 8px 8px 0 #111;
    background: #fff;
    transform: rotate(calc(-2deg + var(--rand, 0deg)));
}



.card {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card-img {
    width: 100%;
    height: 55%;
    object-fit: cover;
    filter: grayscale(100%) contrast(150%) brightness(1.2);
    border-bottom: 4px solid #111;
    mix-blend-mode: multiply;
}

.slide:active .card-img {
    filter: grayscale(0%) contrast(150%) hue-rotate(90deg);
}

.card-content {
    flex: 1;
    padding: 20px;
    background: #f4f1ea;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.card-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    background: #feca57;
    display: inline-block;
    align-self: flex-start;
    padding: 4px 8px;
    border: 2px solid #111;
    transform: rotate(-2deg);
    margin-top: -30px;
    z-index: 2;
}

.card-content p {
    font-size: 0.9rem;
    color: #111;
    line-height: 1.4;
    margin-top: 10px;
    font-weight: 400;
}

.action-btn {
    margin-top: auto;
    padding: 12px 24px;
    background: #48dbfb;
    color: #111;
    border: 3px solid #111;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    align-self: flex-start;
    box-shadow: 4px 4px 0 #111;
    transition: transform 0.1s, box-shadow 0.1s;
}

.action-btn:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0 #111;
}



/* Bottom Sheet Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(230, 226, 216, 0.8);
    z-index: 100;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #fff;
    width: 100%;
    padding: 40px 24px 50px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 4px solid #111;
    box-shadow: 0 -8px 0 #111;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: -24px;
    right: 24px;
    background: #feca57;
    border: 3px solid #111;
    color: #111;
    width: 48px;
    height: 48px;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 4px 4px 0 #111;
}

.modal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
    text-transform: uppercase;
}

.modal-content p {
    color: #111;
    font-size: 0.9rem;
    margin-bottom: 32px;
    background: #1dd1a1;
    display: inline-block;
    padding: 4px 8px;
    border: 2px solid #111;
    transform: rotate(1deg);
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

input, textarea {
    background: #fff;
    border: 3px solid #111;
    padding: 16px;
    color: #111;
    font-size: 1rem;
    outline: none;
    transition: transform 0.1s;
    appearance: none;
    box-shadow: 4px 4px 0 #111;
}

input::placeholder, textarea::placeholder {
    color: #666;
}

input:focus, textarea:focus {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #111;
}

.submit-btn {
    padding: 16px;
    background: #ff6b6b;
    color: #111;
    border: 3px solid #111;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 4px 4px 0 #111;
    transition: all 0.1s;
}

.submit-btn:active {
    transform: translate(4px, 4px);
    box-shadow: 0 0 0 #111;
}