@font-face {
    font-family: "Khmer OS Muol Light";
    src: url("../assets/fonts/KhmerOSmuollight.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Khmer OS Muol Pali";
    src: url("../assets/fonts/KhmerOSmuolpali.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kantumruy Regular";
    src: url("../assets/fonts/Kantumruy-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Kantumruy Regular";
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
}

h1 {
    font-family: "Khmer OS Muol Light";
    font-size: 2.2rem;
    color: rgb(245, 184, 15);
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    line-height: 1;
}

h2 {
    font-family: "Khmer OS Muol Light";
    color: rgb(245, 184, 15);
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.8);
    line-height: 1;
}

.container {
    max-width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.bg-video {
    display: flex;
    align-items: center;
    max-width: 500px;
}

.video,
.intro-video {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 100svh;
    max-width: 500px;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.cover {
    margin-top: 170px;
}

.cover,
.content {
    position: relative;
    z-index: 1;
}

/* Nessary Button */
.musci-toggle-btn {
    position: fixed;
    bottom: 90px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
    z-index: 999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition:
        transform 0.2s ease,
        opacity 0.3s ease;
}

.musci-toggle-btn i {
    font-size: 12px;
}

.musci-toggle-btn:hover {
    transform: scale(1.08);
}

.scroll-btn {
    position: fixed;
    right: 16px;
    bottom: 130px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
    z-index: 999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition:
        transform 0.2s ease,
        opacity 0.3s ease;
}

.scroll-btn i {
    font-size: 12px;
}

.scroll-btn:hover {
    transform: scale(1.08);
}

.skip-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
    z-index: 999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition:
        transform 0.2s ease,
        opacity 0.3s ease;
}

.skip-btn i {
    font-size: 12px;
}

.skip-btn:hover {
    transform: scale(1.08);
}

/* Cover Section */
.cover-section {
    padding: 40px 20px;
    text-align: center;
}

.cover-section {
    position: relative;
    overflow: hidden;
}

/* Header Section */
.header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 95vh;
    padding: 30px 20px;
    box-sizing: border-box;
    position: relative;
    margin-top: 30px;
}

.ceremony-box {
    text-align: center;
    margin-top: 2rem;
}

.cover-title-box {
    text-align: center;
    margin-bottom: 1.5rem;
}

.ceremony-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 600;
}

.ceremony-divider img {
    max-width: 220px;
    margin: 0.5rem auto 0;
    display: block;
}

.parents-name {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0px 20px;
}

.left,
.right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.parents-title {
    font-size: 1.125rem;
}

.subtitle {
    font-family: "Kantumruy Regular";
    font-style: italic;
    font-size: 0.8rem;
    color: #1a2a4f;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.8);
}

.invite-phase {
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    margin-top: 15px;
}

.phase-title {
    font-size: 1.125rem;
    line-height: 1.9;
}

.phase-sentence {
    font-family: "Khmer OS Muol Pali";
    text-align: center;
    font-size: 0.85rem;
    line-height: 2rem;
    color: rgb(245, 184, 15);
    max-width: 700px;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
}

.phase-divider img {
    width: 200px;
    max-width: 70%;
    transition: transform 0.3s ease;
}

.phase-divider img:hover {
    transform: scale(1.05);
}

.bride-groom {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.bride-groom-title {
    font-style: italic;
    text-align: center;
}

.bride-groom-name {
    font-family: "Khmer OS Muol Light";
}

.date-banner {
    font-family: "Khmer OS Muol Light";
    color: rgb(245, 184, 15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.line-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 200px;
}

.line {
    height: 2px;
    width: calc(100% * 9 / 16);
    background-color: rgb(245, 184, 15);
}

.side-text {
    font-size: 12px;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
}

.center-text {
    text-align: center;
    line-height: 1.2;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
}

.top-text {
    font-size: 20px;
    letter-spacing: 2px;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
}

.main-text {
    font-size: 50px;
    font-weight: 700;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
}

.bottom-text {
    font-size: 15px;
    letter-spacing: 2px;
}

.cover-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 70px;
}

.couple-name {
    width: 270px;
    max-width: 270px;
    display: flex;
    align-self: center;
}

.couple-name img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guests-name {
    text-align: center;
}

.guests-name h2 {
    font-size: 1.125rem;
}

.name-frame {
    font-family: "Khmer OS Muol Light";
    background-image: url("../assets/images/name-frame-kbach.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    aspect-ratio: 4 / 1;
    width: 100%;
    max-width: 400px;
    min-height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-text {
    color: rgb(245, 184, 15);
    font-size: 0.85rem;
    line-height: 1.4;
    padding: 0 12px;
    text-align: center;
    white-space: normal;
    letter-spacing: 0.5px;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.8);
}

.date-box {
    font-family: "Khmer OS Muol Pali";
    color: rgb(245, 184, 15);
    margin-bottom: 15px;
    text-align: center;
}

.date {
    font-size: 0.85rem;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
    line-height: 2rem;
}

.address {
    font-size: 0.85rem;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
    line-height: 2rem;
}

.add-to-calendar {
    display: flex;
    justify-content: center;
}

.btn-frame {
    background-image: url("../assets/images/name-frame-kbach-02.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 333px;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-text {
    font-family: "Khmer OS Muol Light";
    font-size: 0.95rem;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 18px;
    text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.8);
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
    text-decoration: none;
}

.btn-text:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.btn-text:active {
    transform: translateY(0);
    opacity: 0.8;
}

/* Countdown */
.event-countdown {
    min-height: 500px;
    padding: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 30px;
    background-image: url("../assets/images/hl-engaged-countdown.gif");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.event-countdown h2 {
    font-size: 1.125rem;
    text-align: center;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.countdown-item {
    min-width: 80px;
    background: white;
    border-radius: 15px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05);
}

.countdown-value {
    font-family: "Khmer OS Muol Light";
    font-size: 1rem;
    font-weight: 700;
    color: rgb(245, 184, 15);
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-label {
    font-family: "Khmer OS Muol Pali";
    font-size: 0.75rem;
    color: #7f8c8d;
    letter-spacing: 1px;
}

/* Sections */
.section {
    min-height: 500px;
    padding: 25px;
    position: relative;
}

.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 15px;
}

.section-title h2 {
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.section-divider img {
    width: 300px;
    max-width: 70%;
    transition: transform 0.3s ease;
}

.section-divider img:hover {
    transform: scale(1.05);
}

.section-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #028a0f 0%, #ffe169 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 18px;
}

/* Agenda */
.agenda-item {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    font-family: "Khmer OS Muol Pali";
}

.agenda-time {
    display: flex;
    align-items: start;
    font-weight: 600;
    color: rgb(245, 184, 15);
    position: relative;
}

.agenda-time-icon {
    font-size: 1.25rem;
    color: rgb(245, 184, 15);
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
}

.agenda-content {
    flex: 1;
    padding-left: 20px;
}

.agenda-content h3 {
    text-align: center;
    font-size: 1rem;
    line-height: 2rem;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
}

.agenda-title {
    font-weight: 600;
    color: rgb(245, 184, 15);
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
}

.agenda-desc {
    color: rgb(245, 184, 15);
    font-size: 0.85rem;
    line-height: 2rem;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
}

/* Location */

.location-img {
    border: 2px solid rgb(245, 184, 15);
    padding: 3px;
    border-radius: 15px;
    width: 100%;
    height: 100%;
}

.location-maps {
    display: flex;
    justify-content: center;
}

/* KHQR wrapper */
.khqr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.khqr-toggle {
    max-height: 40px;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 4px;
    margin-bottom: 16px;
    border-radius: 15px;
    background: rgba(165, 174, 121, 0.2);
}

.khqr-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: rgb(245, 184, 15);
    border-radius: 15px;
    transition: left 0.3s ease;
}

.khqr-btn {
    font-family: "Kantumruy Regular";
    position: relative;
    z-index: 1;
    padding: 8px 18px;
    font-weight: bold;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgb(245, 184, 15);
    transition: color 0.25s ease;
}

.khqr-btn.active {
    color: #ffffff;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
}

.khqr-group {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
    margin-top: 8px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
}

.khqr-image {
    width: 200px;
    max-width: 100%;
    height: auto;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.khqr-image {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.khqr-image:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

/* RSVP Form */
.form {
    border: 2px solid rgb(245, 184, 15);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1a2a4f;
}

.form-control {
    width: 100%;
    padding: 5px;
    border: 1px solid #1a2a4f;
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: rgb(245, 184, 15);
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
}

.radio-option input {
    margin-right: 8px;
}

.submit-btn {
    display: flex;
    justify-content: center;
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Footer */
.site-footer {
    position: relative;
    padding: 40px 20px;
    overflow: hidden;
}

.footer-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.glow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 120px;
    background: radial-gradient(ellipse at center, rgba(165, 174, 121, 0.1) 0%, transparent 70%);
    filter: blur(20px);
}

.glow-top {
    top: -60px;
}

.glow-bottom {
    bottom: -60px;
}

.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.divider-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(165, 174, 121, 0.3), transparent);
}

.footer-text {
    font-size: 14px;
    color: #43652f;
    margin-bottom: 20px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    padding: 15px 30px;
    border-radius: 15px;
    border: 1px solid rgba(165, 174, 121, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-brand:hover {
    transform: translateY(-2px);
    border-color: rgba(165, 174, 121, 0.4);
    box-shadow: 0 5px 15px rgba(165, 174, 121, 0.1);
}

.footer-brand img {
    height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-brand:hover img:first-child {
    transform: translateX(-2px) rotate(-2deg);
}

.footer-brand:hover img:last-child {
    transform: translateX(2px) rotate(2deg);
}

.footer-brand i {
    font-size: 1rem;
    color: rgb(245, 184, 15);
    font-weight: 300;
}

.footer-social-text {
    margin: 20px 0;
    font-size: 14px;
    color: #43652f;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 20px 0;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(165, 174, 121, 0.15);
    color: #43652f;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-socials a:hover {
    transform: scale(1.1);
    background: rgba(165, 174, 121, 0.35);
    color: #2c4a1f;
}

.footer-socials i {
    font-size: 18px;
}

.footer-end {
    margin-top: 30px;
    font-size: 14px;
    letter-spacing: 10px;
}

.seo-text {
    font-size: 12px;
    opacity: 0.6;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
    z-index: 100;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #1a2a4f;
    font-size: 0.8rem;
    transition: color 0.3s;
    flex: 1;
}

.nav-item.active {
    color: rgb(245, 184, 15);
    transform: translateY(-2px);
}

.nav-item {
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.nav-icon {
    font-size: 16px;
    margin-bottom: 5px;
}

/* Success Message */
.success-message {
    font-family: "Kantumruy Regular";
    max-width: 500px;
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgb(245, 184, 15);
    color: #1a2a4f;
    text-align: center;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    font-weight: 500;
}

.success-message.show {
    transform: translateY(0);
}

.celebration-popover {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.4);
    padding: clamp(16px, 4vw, 26px) clamp(20px, 6vw, 40px);
    max-width: min(90vw, 520px);
    width: fit-content;
    text-align: center;
    line-height: 1.6;
    font-size: clamp(1rem, 3.5vw, 1.35rem);
    font-family: "Khmer OS Muol Pali";
    color: rgb(245, 184, 15);
    background: rgba(255, 255, 255, 0.96);
    border-radius: clamp(14px, 4vw, 20px);
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.8);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(2, 138, 15, 0.5);
    z-index: 9999;
    pointer-events: none;
    animation:
        popOver 1.2s cubic-bezier(0.25, 1.4, 0.4, 1) forwards,
        glowPulse 2.5s ease-in-out infinite;
}

/* Pop + bounce */
@keyframes popOver {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.3);
    }
    65% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Glow breathing */
@keyframes glowPulse {
    0%,
    100% {
        box-shadow:
            0 15px 40px rgba(0, 0, 0, 0.25),
            0 0 22px rgba(2, 138, 15, 0.45);
    }
    50% {
        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.35),
            0 0 40px rgba(2, 138, 15, 0.75);
    }
}

/* Smooth exit */
.celebration-popover.hide {
    opacity: 0;
    transform: translate(-50%, -70%) scale(0.6);
    transition: all 0.6s ease;
}

/* ===== Message List ===== */
#messagesContainer {
    max-width: 1200px;
    max-height: 420px;
    margin: 0 auto;
    padding: 16px 14px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    border: 2px solid rgba(245, 184, 15, 0.75);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.04);
    scroll-behavior: smooth;
}

#messagesContainer::-webkit-scrollbar {
    width: 4px;
}

#messagesContainer::-webkit-scrollbar-track {
    background: transparent;
}

#messagesContainer::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 20px;
}

#messagesContainer::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

.messages-header {
    text-align: center;
}

.messages-header p {
    font-size: 0.85rem;
    opacity: 0.5;
}

.messages-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message-card {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background: linear-gradient(135deg, rgba(165, 174, 121, 0.2), rgba(165, 174, 121, 0.05));
    border: 1px solid rgba(165, 174, 121, 0.25);
    border-radius: 15px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.message-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(165, 174, 121, 0.15);
}

.message-top {
    overflow: hidden;
    margin-bottom: 12px;
}

.message-name {
    float: left;
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 75%;
}

.message-status {
    float: right;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(165, 174, 121, 0.4);
    background: rgba(165, 174, 121, 0.2);
}

.message-divider {
    height: 1px;
    margin: 16px 0;
    background: linear-gradient(90deg, transparent, rgba(165, 174, 121, 0.5), transparent);
}

.message-body p {
    font-size: 16px;
    font-style: italic;
    line-height: 1.7;
    margin: 0;
    min-height: 60px;
}

.message-footer {
    text-align: right;
}

.message-date {
    font-size: 10px;
    letter-spacing: 0.04em;
    font-style: italic;
}

.messages-count {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.65;
}

/* Responsive adjustments */

@media (min-width: 768px) {
    .container {
        width: calc(100svh * 9 / 16);
        margin: 0 auto;
    }

    .cover,
    .content {
        width: calc(100svh * 9 / 16);
    }

    .footer-brand {
        padding: 15px 20px;
        gap: 15px;
    }

    .footer-brand img {
        height: 80px;
    }

    .footer-socials {
        gap: 12px;
    }

    .footer-socials a {
        width: 36px;
        height: 36px;
    }

    .message-card:nth-child(2n) {
        margin-right: 0;
    }

    .bottom-nav {
        width: calc(100svh * 9 / 16);
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Ensure good touch targets */
button,
.map-button,
.nav-item,
.radio-option {
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

/* Hide scrollbar but keep functionality */
::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

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

    h2 {
        font-size: 1.3rem;
    }

    .date {
        font-size: 0.75rem;
    }

    .address {
        font-size: 0.75rem;
    }

    .btn-text {
        font-size: 0.85rem;
    }

    .cover { 
        margin-top: 60px;
    }
}
