:root {
    --milky-white: #FAF9F6;
    --glass-bg: rgba(250, 249, 246, 0.4);
    --teal: #008080;
    --teal-light: rgba(0, 128, 128, 0.1);
    --text-dark: #1A2525;
    --text-light: #4A5D5D;
    view-transition-name: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0 !important;
}

.hidden {
    display: none !important;
}

/* Keep scrolling available to touch, wheel and keyboard users. */
* { scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }

body {
    font-family: 'Lora', serif;
    background-color: var(--milky-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated SVG Background */
.bg-animation {
    position: fixed;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background-color: var(--milky-white);
}

.bg-animation svg {
    width: 200%;
    height: 100%;
}

/* Reusable Glass Block */
.glass-block {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 128, 128, 0.25);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

h1, h2, h3 {
    color: var(--teal);
    margin-bottom: 1rem;
    font-weight: 500;
}

h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.5rem; }
p { font-size: 1.3rem; color: var(--text-light); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--teal);
    color: var(--milky-white);
    text-decoration: none;
    border: 1px solid var(--teal);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
    font-family: 'Lora', serif;
}

.btn:hover {
    background-color: transparent;
    color: var(--teal);
}

.btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateY(3px);
}

/* Section Layouts */
.screen-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 10%;
}

.btn:disabled,
.btn[disabled],
.htmx-request .btn {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    background-color: rgba(0, 128, 128, 0.5);
}

@media (max-width: 900px) {
    h1 { font-size: 2.5rem; }
}

@media (max-width: 600px) {
    .screen-section { padding-inline: 5%; }
}
