body {
    background-image: url("assets/lowlogotilegray2.7b556c55df1e.png");
    background-size: 100px 200px;
    background-position: center;
    background-repeat: repeat;
    /* background-color: black; */
    /* color: yellow; */

    padding: 10px;
    font-size: 1.3rem;
    /* TEMPORARILY DISABLED: custom cursor
    cursor: url("assets/lowCursor.9f21976e1d64.png"), auto;
    */
}

/* TEMPORARILY DISABLED: custom cursor
* {
    cursor: url("assets/lowCursor.9f21976e1d64.png"), auto;
}

a, button {
    cursor: url("assets/point.9fa83b731dcd.png"), pointer !important;
}
*/

h1 {
    /* text-transform: uppercase; */
    /* font-family: Arial, Helvetica, sans-serif; */
    font-weight: normal;
    font-size: 2.5rem;
    word-break: break-word;
}

h1 img {
    vertical-align: middle;
}

#capture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: white;
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#capture.hidden {
    display: none;
}

/* Prevent scrolling when capture is visible */
body.capture-visible {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

html.capture-visible {
    overflow: hidden;
    height: 100%;
}

#page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-family: serif;
}

/* Minimal capture page styles */
.minimal-title {
    font-weight: normal;
    font-size: 2.5rem;
    word-break: break-word;
}

.minimal-enter-button {
    pointer-events: auto;

}

#enter-button {
    /* Keep this for backward compatibility */
   font-size: 1.2rem;
  background-color: lightgray;
  color: black;
  cursor: pointer;
  font-family: Arial, sans-serif;
  z-index: 1001;
  pointer-events: auto;
  border: 2px outset black;
  border-radius: 0px;
}

.container {
    width: fit-content;
    max-width: 700px;
    padding: 10px;
}

/* Make all images responsive by default */
.container img {
    max-width: 100%;
    height: auto;
}

.separator {
    border: 2px inset gray;
    width: 100%;
    height: 8px;
    margin: 10px 0;
}

.info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    padding: 8px;
    max-width: 600px;
}

.info > img {
    justify-self: center;
    align-self: center;
}

.nav {
    display: flex;
    flex-direction: column;
}

.links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    gap: 16px;
    padding: 8px;
    max-width: 400px;
    margin: 0 auto;
}

.links a {
    position: relative;
    display: block;
}

.links img {
    border: 2px solid black;
    display: block;
    width: 100%;
    max-width: 200px;
    /* TEMPORARILY DISABLED: custom cursor
    cursor: url("assets/point.9fa83b731dcd.png"), pointer;
    */
}

.shader-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 0px);
    height: calc(100% - 4px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 10;
    border: 2px solid black;
}

.links a:hover .shader-canvas,
.links a:active .shader-canvas,
.links a.touching .shader-canvas {
    opacity: 1;
}

.description-image {
    max-width: 100%;
    height: auto;
    width: 400px;
    object-fit: contain;
}

/* Mobile breakpoint - that janky small screen experience */
@media (max-width: 500px) {
    body {
        padding: 5px;
        background-size: 60px 120px; /* crunchier tiles */
    }
    
    h1 {
        font-size: 2rem;
        text-align: center;
        line-height: 1.4;
    }
    
    h1 img {
        width: 30px;
        display: block;
        margin: 0 auto 5px;
    }
    
    h1 img:last-child {
        display: none; /* asymmetry */
    }
    
    .container {
        padding: 8px;
        margin: 0 3px;
        display: flex;
        flex-direction: column;
    }
    
    h1 {
        order: -3;
    }
    
    .separator:first-of-type {
        order: -2;
    }
    
    .info {
        order: -1;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .info > img {
        width: 100px;
    }
    
    .description-image {
        width: 100%;
        height: auto;
    }

    .shader-canvas {
        width: calc(100% - 4px);
        height: calc(100% - 4px);
    }
    
    .links {
        order: 1;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 4px;
    }
    
    .links img {
        max-width: 150px;
    }
    
    .weekly-showtimes {
        order: 2;
    }
    
    .separator:not(:first-of-type) {
        order: 3;
        height: 5px;
        margin: 8px 0;
    }
    
    .footer {
        order: 4;
    }
}

/* Minimal capture page mobile styles */
@media (max-width: 768px) {
    .minimal-title {
        font-size: 2rem;
    }

    h1 img {
        display: none;
    }

    h1 {
        margin-bottom: 0;
    }

    .info {
        display: flex;
    }
}