* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(8, 145, 178, 0.1);
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-datetime {
    position: absolute;
    top: 1rem;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 0.9;
}

.splash-datetime .time {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.125rem;
}

.splash-datetime .date {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.85;
}

.splash-content {
    text-align: center;
    color: white;
    animation: fadeInUp 0.8s ease;
}

.splash-icon {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.splash-logo {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
    background: white;
    padding: 1rem;
}

.splash-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.splash-subtitle {
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 0.1em;
    animation: pulse 2s ease-in-out infinite;
}

.splash-pulse {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 3rem auto 0;
    animation: ripple 2s ease-out infinite;
}

/* Enhanced Touch Indicator */
.touch-indicator {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 3rem auto 0;
}

.touch-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    animation: touchBounce 1.5s ease-in-out infinite;
    z-index: 10;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.touch-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 50%;
    background: transparent;
    border: 4px solid rgba(255, 255, 255, 0.9);
}

.touch-ring-1 {
    animation: rippleWave 2s ease-out infinite;
}

.touch-ring-2 {
    animation: rippleWave 2s ease-out infinite 0.5s;
}

.touch-ring-3 {
    animation: rippleWave 2s ease-out infinite 1s;
}

.touch-rotate {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    margin-top: -90px;
    margin-left: -90px;
    border: 3px dashed rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: spinSlow 10s linear infinite;
}

@keyframes touchBounce {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -60%) scale(1.15);
    }
}

@keyframes rippleWave {
    0% {
        transform: scale(1);
        opacity: 1;
        border-width: 4px;
    }
    100% {
        transform: scale(3.5);
        opacity: 0;
        border-width: 1px;
    }
}

@keyframes spinSlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.95;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Large touch screens - bigger splash elements */
@media (min-width: 1024px) {
    .splash-icon {
        font-size: 8rem;
    }

    .splash-logo {
        width: 220px;
    }

    .splash-pulse {
        width: 100px;
        height: 100px;
    }

    .touch-indicator {
        width: 280px;
        height: 280px;
    }

    .touch-icon {
        font-size: 5rem;
    }

    .touch-ring {
        width: 80px;
        height: 80px;
        margin-top: -40px;
        margin-left: -40px;
    }

    .touch-rotate {
        width: 260px;
        height: 260px;
        margin-top: -130px;
        margin-left: -130px;
    }

    .splash-datetime {
        top: 1.5rem;
    }

    .splash-datetime .time {
        font-size: 2.5rem;
    }

    .splash-datetime .date {
        font-size: 1.125rem;
    }
}

@media (min-width: 1400px) {
    .splash-icon {
        font-size: 10rem;
    }

    .splash-logo {
        width: 280px;
        margin-bottom: 2.5rem;
    }

    .splash-title {
        font-size: 6rem;
    }

    .splash-subtitle {
        font-size: 2.5rem;
    }

    .splash-pulse {
        width: 120px;
        height: 120px;
    }

    .touch-indicator {
        width: 360px;
        height: 360px;
        margin-top: 4rem;
    }

    .touch-icon {
        font-size: 6rem;
    }

    .touch-ring {
        width: 100px;
        height: 100px;
        margin-top: -50px;
        margin-left: -50px;
        border-width: 5px;
    }

    .touch-rotate {
        width: 340px;
        height: 340px;
        margin-top: -170px;
        margin-left: -170px;
        border-width: 4px;
    }

    .splash-datetime {
        top: 2rem;
    }

    .splash-datetime .time {
        font-size: 3rem;
    }

    .splash-datetime .date {
        font-size: 1.25rem;
    }
}

:root {
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --accent: #f59e0b;
    --bg: #fafafa;
    --card-bg: #ffffff;
    --text: #0f172a;
    --text-light: #334155;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Kiosk mode - prevent text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Prevent pull-to-refresh and overscroll */
    overscroll-behavior: none;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Hide scrollbar for Chrome, Safari, Opera */
body::-webkit-scrollbar {
    display: none;
}

/* Skip to main content link for keyboard/screen reader users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 700;
    z-index: 1000;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Better focus indicators for accessibility */
*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

/* Remove outline for mouse users but keep for keyboard */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Header - More compact on mobile */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 100;
    /* Subtle shimmer effect */
    background-size: 200% 200%;
    animation: headerShimmer 8s ease infinite;
}

@keyframes headerShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.header h1 {
    font-size: clamp(1.5rem, 6vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.header p {
    font-size: clamp(0.875rem, 3.5vw, 1.25rem);
    opacity: 0.95;
    font-weight: 400;
}

/* Container - Better mobile padding */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Search Box - Bigger touch target */
.search-box {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    border: 2px solid var(--border);
}

/* Only make search box sticky on tablets and larger screens */
@media (min-width: 768px) {
    .search-box {
        position: sticky;
        top: 100px;
        z-index: 90;
    }
}

.search-input {
    width: 100%;
    padding: 1rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s ease;
    background: var(--bg);
    /* Better mobile input */
    -webkit-appearance: none;
    appearance: none;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

/* Grid - Single column on mobile, better spacing */
.guides-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .guides-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    /* Start scaling up text at 1024px */
    .header {
        padding: 2rem 1.5rem;
    }

    .header h1 {
        font-size: 2.75rem;
    }

    .header p {
        font-size: 1.25rem;
    }

    .search-input {
        padding: 1.125rem 1.25rem;
        font-size: 1.125rem;
    }

    .guide-card {
        padding: 1.75rem;
        min-height: 160px;
    }

    .guide-icon {
        font-size: 3rem;
        margin-bottom: 0.875rem;
    }

    .guide-title {
        font-size: 1.375rem;
    }

    .guide-description {
        font-size: 1rem;
    }

    .help-section {
        padding: 2rem;
    }

    .help-section h2 {
        font-size: 1.75rem;
    }

    .help-section p {
        font-size: 1.125rem;
    }

    .contact-card {
        font-size: 1rem;
    }

    .hours-title {
        font-size: 1.25rem;
    }

    .hours-grid {
        font-size: 1rem;
    }
}

/* Large screens - 4 columns and bigger elements */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 2rem;
    }

    .guides-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .header {
        padding: 2.5rem 2rem;
    }

    .header h1 {
        font-size: 3.5rem;
    }

    .header p {
        font-size: 1.5rem;
    }

    .search-input {
        padding: 1.25rem 1.5rem;
        font-size: 1.25rem;
    }

    .guide-card {
        padding: 2rem;
        min-height: 180px;
    }

    .guide-icon {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }

    .guide-title {
        font-size: 1.5rem;
    }

    .guide-description {
        font-size: 1.1rem;
    }

    .help-section {
        padding: 2.5rem;
    }

    .help-section h2 {
        font-size: 2rem;
    }

    .help-section p {
        font-size: 1.25rem;
    }

    .contact-card {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
    }

    .hours-section {
        padding: 1.75rem;
    }

    .hours-title {
        font-size: 1.375rem;
    }

    .hours-grid {
        font-size: 1.1rem;
    }
}

/* Extra large screens */
@media (min-width: 1800px) {
    .container {
        max-width: 1600px;
    }

    .header h1 {
        font-size: 4rem;
    }

    .header p {
        font-size: 1.75rem;
    }

    .guide-card {
        padding: 2.5rem;
        min-height: 200px;
    }

    .guide-icon {
        font-size: 4rem;
    }

    .guide-title {
        font-size: 1.75rem;
    }

    .guide-description {
        font-size: 1.25rem;
    }
}

/* Portrait orientation on tall screens - KIOSK MODE - FIT ALL ON SCREEN */
@media (min-height: 800px) and (orientation: portrait) {
    /* Make entire page fit viewport without scrolling - only on home page */
    body.home-page {
        height: 100vh;
        overflow: hidden;
    }

    .header {
        padding: 0.75rem 1rem;
    }

    .header h1 {
        font-size: 1.75rem;
        margin-bottom: 0.2rem;
    }

    .header p {
        font-size: 1rem;
    }

    .search-box {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .search-input {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .container {
        padding: 0.75rem;
        height: calc(100vh - 80px);
        display: flex;
        flex-direction: column;
    }

    /* 3 columns x 4 rows grid to fit 12 cards */
    .guides-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem;
        flex: 1;
        align-content: start;
    }

    /* Compact cards */
    .guide-card {
        padding: 0.75rem;
        min-height: auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.35rem;
        border-width: 2px;
        border-radius: 12px;
    }

    .guide-icon {
        font-size: 2rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .guide-title {
        font-size: 0.9rem;
        margin-bottom: 0;
        line-height: 1.2;
    }

    .guide-description {
        display: none; /* Hide descriptions to save space */
    }

    /* Compact help section */
    .help-section {
        display: block;
        padding: 0.75rem;
        margin-top: 0.5rem;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .help-section h2 {
        font-size: 1rem;
        margin-bottom: 0.35rem;
    }

    .visit-it {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        border-radius: 8px;
        gap: 0.5rem;
    }

    .visit-icon {
        font-size: 1rem;
    }

    .return-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        margin-top: 0.5rem;
        border-radius: 10px;
        flex-shrink: 0;
    }
}

/* Even larger portrait screens (kiosk displays) - FIT ALL ON SCREEN */
@media (min-height: 1200px) and (orientation: portrait) {
    .header {
        padding: 1rem 1.5rem;
    }

    .header h1 {
        font-size: 2.25rem;
    }

    .header p {
        font-size: 1.25rem;
    }

    .search-box {
        padding: 0.6rem;
        margin-bottom: 0.6rem;
    }

    .search-input {
        padding: 0.7rem 1rem;
        font-size: 1rem;
    }

    .container {
        padding: 1rem;
        height: calc(100vh - 100px);
    }

    .guides-grid {
        gap: 1rem;
    }

    .guide-card {
        padding: 1rem;
        min-height: auto;
        border-width: 3px;
        border-radius: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    }

    .guide-card:hover,
    .guide-card:active {
        box-shadow: 0 6px 16px rgba(8, 145, 178, 0.15);
    }

    .guide-icon {
        font-size: 2.5rem;
    }

    .guide-title {
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    .guide-description {
        display: none;
    }

    .help-section {
        display: block;
        padding: 1rem;
        margin-top: 0.75rem;
    }

    .help-section h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .visit-it {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
    }

    .return-btn {
        padding: 1rem 2rem;
        font-size: 1.25rem;
        margin-top: 0.75rem;
        border-radius: 12px;
    }
}

/* Very tall portrait kiosk screens (1600px+ height) - FIT ALL ON SCREEN */
@media (min-height: 1600px) and (orientation: portrait) {
    .header {
        padding: 1.25rem 2rem;
    }

    .header h1 {
        font-size: 2.75rem;
    }

    .header p {
        font-size: 1.5rem;
    }

    .search-box {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .search-input {
        padding: 0.85rem 1.25rem;
        font-size: 1.15rem;
    }

    .container {
        padding: 1.25rem;
        height: calc(100vh - 120px);
    }

    .guides-grid {
        gap: 1.25rem;
    }

    .guide-card {
        padding: 1.25rem;
        min-height: auto;
        border-radius: 20px;
    }

    .guide-icon {
        font-size: 3rem;
    }

    .guide-title {
        font-size: 1.35rem;
        margin-bottom: 0.25rem;
    }

    /* Show short descriptions on larger screens */
    .guide-description {
        display: block;
        font-size: 0.95rem;
        line-height: 1.3;
        color: var(--text-light);
    }

    .help-section {
        display: block;
        padding: 1.25rem;
        margin-top: 1rem;
    }

    .help-section h2 {
        font-size: 1.5rem;
    }

    .visit-it {
        padding: 1rem 1.25rem;
        font-size: 1.25rem;
    }

    .return-btn {
        padding: 1.25rem 2.5rem;
        font-size: 1.35rem;
        margin-top: 0.75rem;
    }
}

/* Extra tall portrait kiosk screens (1920px+ height) - FIT ALL ON SCREEN */
@media (min-height: 1900px) and (orientation: portrait) {
    .header {
        padding: 1.75rem 2rem;
    }

    .header h1 {
        font-size: 3.25rem;
    }

    .header p {
        font-size: 1.75rem;
    }

    .search-box {
        padding: 0.75rem;
        margin-bottom: 1rem;
        border-radius: 16px;
        flex-shrink: 0;
    }

    .search-input {
        padding: 1.1rem 1.5rem;
        font-size: 1.35rem;
        border-radius: 12px;
    }

    .container {
        padding: 1.75rem;
        height: calc(100vh - 155px);
    }

    .guides-grid {
        gap: 1.75rem;
        align-content: center;
    }

    .guide-card {
        padding: 1.75rem;
        border-radius: 24px;
        border-width: 3px;
        gap: 0.5rem;
    }

    .guide-icon {
        font-size: 4rem;
        margin-bottom: 0.25rem;
    }

    .guide-title {
        font-size: 1.65rem;
        margin-bottom: 0.25rem;
    }

    .guide-description {
        display: block;
        font-size: 1.15rem;
        line-height: 1.4;
    }

    .help-section {
        display: block;
        padding: 1.5rem;
        margin-top: 1rem;
        border-radius: 16px;
    }

    .help-section h2 {
        font-size: 1.75rem;
        margin-bottom: 0.6rem;
    }

    .visit-it {
        padding: 1.1rem 1.5rem;
        font-size: 1.35rem;
        border-radius: 12px;
    }

    .visit-icon {
        font-size: 1.5rem;
    }

    .return-btn {
        padding: 1.5rem 3rem;
        font-size: 1.5rem;
        margin-top: 1rem;
        border-radius: 16px;
    }
}

/* Guide Cards - Better mobile touch targets */
.guide-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    /* Bigger touch target */
    min-height: 140px;
    display: flex;
    flex-direction: column;
    /* Keyboard accessibility */
    tabindex: 0;
    /* Staggered entrance animation */
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.5s ease forwards;
}

/* Staggered animation delays for cards */
.guide-card:nth-child(1) { animation-delay: 0.05s; }
.guide-card:nth-child(2) { animation-delay: 0.1s; }
.guide-card:nth-child(3) { animation-delay: 0.15s; }
.guide-card:nth-child(4) { animation-delay: 0.2s; }
.guide-card:nth-child(5) { animation-delay: 0.25s; }
.guide-card:nth-child(6) { animation-delay: 0.3s; }
.guide-card:nth-child(7) { animation-delay: 0.35s; }
.guide-card:nth-child(8) { animation-delay: 0.4s; }
.guide-card:nth-child(9) { animation-delay: 0.45s; }
.guide-card:nth-child(10) { animation-delay: 0.5s; }
.guide-card:nth-child(11) { animation-delay: 0.55s; }
.guide-card:nth-child(12) { animation-delay: 0.6s; }

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-card:hover,
.guide-card:focus-visible {
    border-color: var(--primary);
    box-shadow: 0 12px 28px -8px rgba(8, 145, 178, 0.25), 0 8px 16px -8px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.guide-card:active {
    transform: scale(0.97) translateY(0);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.15);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: var(--primary);
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px 0 0 16px;
    transform-origin: center;
}

.guide-card:hover::before,
.guide-card:focus-visible::before {
    transform: scaleY(1);
}

.guide-card:active::before {
    transform: scaleY(1);
}

/* Subtle glow effect on hover */
.guide-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary);
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.guide-card:hover::after,
.guide-card:focus-visible::after {
    opacity: 0.08;
}

.guide-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-card:hover .guide-icon,
.guide-card:focus-visible .guide-icon {
    transform: scale(1.05);
}

.guide-card:active .guide-icon {
    transform: scale(0.98);
}

.guide-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.guide-description {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Modal - Full screen on mobile */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--card-bg);
    min-height: 100vh;
    width: 100%;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.98);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media (min-width: 768px) {
    .modal.active {
        padding: 2rem;
        display: flex;
        align-items: start;
        justify-content: center;
    }

    .modal-content {
        border-radius: 20px;
        max-width: 900px;
        min-height: auto;
        max-height: 90vh;
        margin-top: 2rem;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
    padding-right: 3rem;
}

/* Close button - Bigger for kiosk touch screens */
.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Better touch target */
    touch-action: manipulation;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg) scale(1.1);
}

.close-btn:active {
    background: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(0.95);
}

.modal-body {
    padding: 1.5rem 1rem;
    color: var(--text);
}

@media (min-width: 768px) {
    .modal-body {
        padding: 2rem;
    }
}

.modal-body img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

/* Better mobile typography in modal */
.modal-body h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 800;
}

.modal-body p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text);
}

.modal-body ul,
.modal-body ol {
    margin-left: 1.5rem;
    font-size: 1.25rem;
    color: var(--text);
}

.modal-body li {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text);
}

.modal-body code {
    font-size: 1.1rem;
    word-break: break-all;
}

/* Bigger text for kiosk portrait mode */
@media (min-height: 800px) and (orientation: portrait) {
    .modal-header {
        padding: 1.75rem 1.25rem;
    }

    .modal-title {
        font-size: 2.25rem;
    }

    .modal-body {
        padding: 2rem 1.5rem;
    }

    .modal-body h3 {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .modal-body p {
        font-size: 1.5rem;
        line-height: 1.9;
        margin-bottom: 1.25rem;
    }

    .modal-body ul,
    .modal-body ol {
        font-size: 1.5rem;
        margin-left: 2rem;
    }

    .modal-body li {
        margin-bottom: 1.25rem;
        line-height: 1.9;
    }

    .modal-body code {
        font-size: 1.375rem;
        padding: 0.25rem 0.5rem;
        background: #f1f5f9;
        border-radius: 6px;
    }

    .modal-body strong {
        color: var(--primary-dark);
    }
}

/* Even larger text for big kiosk displays */
@media (min-height: 1200px) and (orientation: portrait) {
    .modal-header {
        padding: 2rem 1.5rem;
    }

    .modal-title {
        font-size: 2.5rem;
    }

    .modal-body {
        padding: 2.5rem 2rem;
    }

    .modal-body h3 {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }

    .modal-body p {
        font-size: 1.75rem;
        line-height: 2;
        margin-bottom: 1.5rem;
    }

    .modal-body ul,
    .modal-body ol {
        font-size: 1.75rem;
        margin-left: 2.5rem;
    }

    .modal-body li {
        margin-bottom: 1.5rem;
        line-height: 2;
    }

    .modal-body code {
        font-size: 1.5rem;
    }
}

/* Very tall portrait kiosk - larger modal text (1600px+) */
@media (min-height: 1600px) and (orientation: portrait) {
    .modal-header {
        padding: 2.25rem 1.75rem;
    }

    .modal-title {
        font-size: 2.75rem;
    }

    .modal-body {
        padding: 2.75rem 2.25rem;
    }

    .modal-body h3 {
        font-size: 2.5rem !important;
        margin-bottom: 1.5rem;
        font-weight: 800 !important;
    }

    .modal-body h4 {
        font-size: 2rem !important;
        margin-bottom: 1.25rem;
        font-weight: 700 !important;
    }

    .modal-body p {
        font-size: 2rem !important;
        line-height: 1.9 !important;
        margin-bottom: 1.5rem;
    }

    .modal-body ul,
    .modal-body ol {
        font-size: 2rem !important;
        line-height: 1.9 !important;
        margin-left: 2.5rem;
    }

    .modal-body li {
        margin-bottom: 1.25rem !important;
        font-size: 2rem !important;
        line-height: 1.9 !important;
    }

    .modal-body code {
        font-size: 1.75rem !important;
        padding: 0.35rem 0.65rem !important;
    }

    .modal-body strong {
        font-size: inherit !important;
    }

    /* Override inline styles from guide-content.js */
    .modal-body [style*="font-size"] {
        font-size: 2rem !important;
    }

    .modal-body h3[style*="font-size"],
    .modal-body [style] h3 {
        font-size: 2.5rem !important;
    }

    .modal-body code[style*="font-size"],
    .modal-body [style] code {
        font-size: 1.75rem !important;
    }

    .modal-body div[style*="background"] p,
    .modal-body div[style*="background"] li {
        font-size: 2rem !important;
        line-height: 1.9 !important;
    }

    .modal-body div[style*="background"] ul,
    .modal-body div[style*="background"] ol {
        font-size: 2rem !important;
    }

    .modal-body div[style*="background"] code {
        font-size: 1.75rem !important;
    }

    /* Collapsible sections */
    .collapsible-header {
        padding: 1.5rem 1.75rem;
    }

    .collapsible-title {
        font-size: 1.75rem;
    }

    .collapsible-title span:first-child {
        font-size: 2rem;
    }

    .collapsible-icon {
        font-size: 1.5rem;
    }

    .collapsible-inner p,
    .collapsible-inner li {
        font-size: 2rem !important;
        line-height: 1.9 !important;
    }

    .collapsible-inner ul,
    .collapsible-inner ol {
        font-size: 2rem !important;
    }

    .collapsible-inner code {
        font-size: 1.75rem !important;
    }

    .collapsible-inner h4 {
        font-size: 2rem !important;
    }

    /* Feedback section */
    .feedback-section {
        padding: 2rem;
        margin-top: 2.5rem;
    }

    .feedback-title {
        font-size: 1.5rem !important;
    }

    .feedback-btn {
        padding: 1.25rem 3rem;
        font-size: 1.5rem;
        min-width: 180px;
    }

    .feedback-thanks {
        font-size: 1.5rem;
        padding: 1.5rem;
    }

    /* Close button bigger */
    .close-btn {
        width: 72px;
        height: 72px;
        font-size: 2.5rem;
    }
}

/* Full HD portrait kiosk - even larger modal text (1900px+) */
@media (min-height: 1900px) and (orientation: portrait) {
    .modal-header {
        padding: 2.5rem 2rem;
    }

    .modal-title {
        font-size: 3rem;
    }

    .modal-body {
        padding: 3rem 2.5rem;
    }

    .modal-body h3 {
        font-size: 2.75rem !important;
        margin-bottom: 1.75rem;
    }

    .modal-body h4 {
        font-size: 2.25rem !important;
        margin-bottom: 1.5rem;
    }

    .modal-body p {
        font-size: 2.25rem !important;
        line-height: 2 !important;
        margin-bottom: 1.75rem;
    }

    .modal-body ul,
    .modal-body ol {
        font-size: 2.25rem !important;
        line-height: 2 !important;
        margin-left: 3rem;
    }

    .modal-body li {
        margin-bottom: 1.5rem !important;
        font-size: 2.25rem !important;
        line-height: 2 !important;
    }

    .modal-body code {
        font-size: 2rem !important;
        padding: 0.4rem 0.75rem !important;
    }

    /* Override inline styles from guide-content.js */
    .modal-body [style*="font-size"] {
        font-size: 2.25rem !important;
    }

    .modal-body h3[style*="font-size"],
    .modal-body [style] h3 {
        font-size: 2.75rem !important;
    }

    .modal-body h4[style*="font-size"],
    .modal-body [style] h4 {
        font-size: 2.25rem !important;
    }

    .modal-body code[style*="font-size"],
    .modal-body [style] code {
        font-size: 2rem !important;
    }

    .modal-body div[style*="background"] p,
    .modal-body div[style*="background"] li {
        font-size: 2.25rem !important;
        line-height: 2 !important;
    }

    .modal-body div[style*="background"] ul,
    .modal-body div[style*="background"] ol {
        font-size: 2.25rem !important;
    }

    .modal-body div[style*="background"] code {
        font-size: 2rem !important;
    }

    /* Collapsible sections */
    .collapsible-header {
        padding: 1.75rem 2rem;
    }

    .collapsible-title {
        font-size: 2rem;
    }

    .collapsible-title span:first-child {
        font-size: 2.25rem;
    }

    .collapsible-icon {
        font-size: 1.75rem;
    }

    .collapsible-inner p,
    .collapsible-inner li {
        font-size: 2.25rem !important;
        line-height: 2 !important;
    }

    .collapsible-inner ul,
    .collapsible-inner ol {
        font-size: 2.25rem !important;
    }

    .collapsible-inner code {
        font-size: 2rem !important;
    }

    .collapsible-inner h4 {
        font-size: 2.25rem !important;
    }

    /* Feedback section */
    .feedback-section {
        padding: 2.5rem;
    }

    .feedback-title {
        font-size: 1.75rem !important;
    }

    .feedback-btn {
        padding: 1.5rem 3.5rem;
        font-size: 1.75rem;
        min-width: 200px;
        border-radius: 16px;
    }

    .feedback-thanks {
        font-size: 1.75rem;
        padding: 1.75rem;
    }

    /* Close button */
    .close-btn {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }
}

/* Help Section */
.help-section {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
    text-align: center;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.5s ease forwards;
    animation-delay: 0.7s;
}

.help-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.help-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .contact-info {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.contact-card {
    background: var(--bg);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 2px solid var(--border);
    font-weight: 600;
    font-size: 0.9375rem;
    /* Better mobile touch */
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hours-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1.25rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 2px solid var(--primary);
}

.hours-title {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hours-grid {
    display: grid;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.hours-day {
    font-weight: 600;
    color: var(--text);
}

.hours-time {
    color: var(--text-light);
    font-weight: 500;
}

/* Return to Start Button */
.return-btn {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
}

.return-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.return-btn:hover::before {
    left: 100%;
}

.return-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.35);
}

.return-btn:active {
    transform: scale(0.98) translateY(0);
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.25);
}

/* Visit IT Section */
.visit-it {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1.25rem;
    border-radius: 12px;
    border: 2px solid var(--primary);
    font-size: 1.25rem;
    color: var(--text);
}

.visit-icon {
    font-size: 1.5rem;
}

.visit-text strong {
    color: var(--primary-dark);
}

/* Make visit-it clickable */
.visit-it {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.visit-it::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(8, 145, 178, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.visit-it:hover::before,
.visit-it:focus-visible::before {
    width: 300%;
    height: 300%;
}

.visit-it:hover,
.visit-it:focus-visible {
    background: linear-gradient(135deg, #e0f2fe 0%, #cffafe 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(8, 145, 178, 0.25);
    border-color: var(--primary);
}

.visit-it:active {
    transform: scale(0.98) translateY(0);
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.2);
}

.hours-closed {
    color: #dc2626;
    font-weight: 600;
}

/* Map zoom functionality */
.map-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    -webkit-overflow-scrolling: touch;
}

.map-container.zoomed {
    cursor: move;
    align-items: flex-start;
    justify-content: flex-start;
}

.map-container.dragging {
    cursor: grabbing;
}

/* Hide scrollbars but keep functionality */
.map-container::-webkit-scrollbar {
    display: none;
}

.map-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.map-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    flex-shrink: 0;
}

.map-container.zoomed .map-image {
    max-width: none;
    max-height: none;
    width: 200%;
    height: auto;
    border-radius: 0;
}

.zoom-hint {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 10;
    white-space: nowrap;
}

.map-container.zoomed + .zoom-hint,
.zoom-hint.hidden {
    opacity: 0;
}

/* Loading state */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    position: relative;
}

.loading::after {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    margin: 1rem auto;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: loadingSpin 0.8s linear infinite;
}

@keyframes loadingSpin {
    to { transform: rotate(360deg); }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Fix iOS zoom on input focus */
@media screen and (max-width: 767px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* Feedback Section */
.feedback-section {
    background: var(--bg);
    border-top: 2px solid var(--border);
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 0 0 12px 12px;
}

.feedback-title {
    text-align: center;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.feedback-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feedback-btn {
    padding: 0.75rem 2rem;
    border-radius: 12px;
    border: 2px solid var(--border);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feedback-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.feedback-btn:active::before {
    width: 300%;
    height: 300%;
}

.feedback-btn-yes {
    background: #f0fdf4;
    color: #166534;
    border-color: #86efac;
}

.feedback-btn-yes:hover {
    background: #dcfce7;
    border-color: #4ade80;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.25);
}

.feedback-btn-yes:active {
    transform: scale(0.97) translateY(0);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

.feedback-btn-no {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fca5a5;
}

.feedback-btn-no:hover {
    background: #fee2e2;
    border-color: #f87171;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.25);
}

.feedback-btn-no:active {
    transform: scale(0.97) translateY(0);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.feedback-thanks {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-radius: 12px;
    color: #166534;
    font-weight: 600;
    display: none;
    border: 2px solid #86efac;
}

.feedback-thanks.show {
    display: block;
    animation: thanksBounce 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes thanksBounce {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-10px);
    }
    50% {
        transform: scale(1.05) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Collapsible Accordion Sections */
.collapsible-section {
    margin-bottom: 1rem;
}

.collapsible-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    cursor: pointer;
    user-select: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: var(--card-bg);
    border: 2px solid var(--border);
}

.collapsible-header:hover {
    border-color: var(--primary);
    background: var(--bg);
}

.collapsible-header:active {
    transform: scale(0.99);
}

.collapsible-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.collapsible-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.collapsible-header.active .collapsible-icon {
    transform: rotate(180deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.collapsible-content.active {
    max-height: 5000px; /* Large enough for any content */
}

.collapsible-inner {
    padding: 1rem 0;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .collapsible-icon {
        transition: none !important;
    }

    .collapsible-content {
        transition: none !important;
    }
}


/* FAQs section */

        .faq-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 1rem;
        }

        .back-link {
            display: inline-block;
            margin-bottom: 1.5rem;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .back-link:hover {
            color: var(--primary-dark);
            transform: translateX(-4px);
        }

        .faq-item {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            box-shadow: var(--shadow);
            border: 2px solid var(--border);
            transition: all 0.2s ease;
        }

        .faq-item:hover {
            border-color: var(--primary);
        }

        .faq-question {
            font-size: 1.125rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.75rem;
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
        }

        .faq-answer {
            color: var(--text);
            line-height: 1.6;
            font-size: 0.9375rem;
        }

        .faq-answer code {
            background: var(--bg);
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.875rem;
        }

        .faq-answer strong {
            color: var(--text);
        }

        /* VIDEO PAGE */

        .back-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--card-bg);
            padding: 0.75rem 1.25rem;
            border-radius: 12px;
            box-shadow: var(--shadow);
            border: 2px solid var(--border);
            text-decoration: none;
            color: var(--text);
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 1.5rem;
            transition: all 0.2s ease;
            cursor: pointer;
        }

        .back-button:hover {
            border-color: var(--primary);
            transform: translateX(-2px);
        }

        .back-button:active {
            transform: scale(0.98);
        }

        /* Videos Section */
        .videos-section {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 1.5rem 1rem;
            box-shadow: var(--shadow);
            border: 2px solid var(--border);
            margin-bottom: 2rem;
        }

        @media (min-width: 768px) {
            .videos-section {
                padding: 2rem;
            }
        }

        .videos-section h2 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text);
            text-align: center;
        }

        .videos-section > p {
            color: var(--text-light);
            margin-bottom: 2rem;
            font-size: 1rem;
            text-align: center;
        }

        .videos-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .videos-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .video-item {
            display: flex;
            flex-direction: column;
        }

        .video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
            border-radius: 12px;
            box-shadow: var(--shadow);
            background: var(--bg);
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
            border-radius: 12px;
        }

        .video-title {
            font-size: 1.125rem;
            font-weight: 700;
            color: var(--text);
            margin-top: 0.75rem;
            margin-bottom: 0.25rem;
        }

        .video-description {
            font-size: 0.9375rem;
            color: var(--text-light);
            line-height: 1.5;
        }

/* ========================================
   LANDSCAPE KIOSK MODE (1920x1080 touch screens)
   Override inline styles in guide-content.js
   ======================================== */

/* Medium landscape screens (1600px+) - moderate increase */
@media (min-width: 1600px) and (orientation: landscape) {
    .modal-body p,
    .modal-body li {
        font-size: 1.35rem !important;
        line-height: 1.85 !important;
    }

    .modal-body ul,
    .modal-body ol {
        font-size: 1.35rem !important;
    }

    .modal-body code {
        font-size: 1.2rem !important;
    }

    .modal-body h3 {
        font-size: 1.75rem !important;
    }

    .modal-body h4 {
        font-size: 1.35rem !important;
    }

    .modal-body [style*="font-size"] {
        font-size: 1.35rem !important;
    }

    .modal-body div[style*="background"] p,
    .modal-body div[style*="background"] li {
        font-size: 1.35rem !important;
    }

    .collapsible-inner p,
    .collapsible-inner li {
        font-size: 1.35rem !important;
        line-height: 1.85 !important;
    }

    .collapsible-title {
        font-size: 1.35rem;
    }
}

/* Large landscape screens (1800px+) - bigger increase */
@media (min-width: 1800px) and (orientation: landscape) {
    /* Modal title */
    .modal-title {
        font-size: 2.5rem;
    }

    /* Modal body general content */
    .modal-body {
        padding: 2.5rem 3rem;
    }

    .modal-body h3 {
        font-size: 2rem !important;
        margin-bottom: 1.25rem;
    }

    .modal-body h4 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem;
    }

    .modal-body p {
        font-size: 1.5rem !important;
        line-height: 1.9 !important;
        margin-bottom: 1.25rem;
    }

    .modal-body ul,
    .modal-body ol {
        font-size: 1.5rem !important;
        line-height: 1.9 !important;
        margin-left: 2rem;
    }

    .modal-body li {
        margin-bottom: 1rem !important;
        font-size: 1.5rem !important;
        line-height: 1.9 !important;
    }

    .modal-body code {
        font-size: 1.35rem !important;
        padding: 0.35rem 0.65rem !important;
    }

    .modal-body strong {
        font-size: inherit !important;
    }

    /* Collapsible sections for kiosk */
    .collapsible-header {
        padding: 1.25rem 1.5rem;
    }

    .collapsible-title {
        font-size: 1.5rem;
    }

    .collapsible-title span:first-child {
        font-size: 1.75rem;
    }

    .collapsible-icon {
        font-size: 1.5rem;
    }

    .collapsible-inner {
        padding: 1.25rem 0;
    }

    /* Feedback section */
    .feedback-section {
        padding: 2rem;
        margin-top: 2.5rem;
    }

    .feedback-title {
        font-size: 1.35rem !important;
    }

    .feedback-btn {
        padding: 1rem 2.5rem;
        font-size: 1.25rem;
        min-width: 160px;
    }

    .feedback-thanks {
        font-size: 1.25rem;
        padding: 1.25rem;
    }

    /* Close button - even bigger for large touch screens */
    .close-btn {
        width: 72px;
        height: 72px;
        font-size: 2.5rem;
    }
}

/* Override ALL inline styles in guide content for landscape kiosk */
@media (min-width: 1800px) and (orientation: landscape) {
    /* Target elements with inline styles */
    .modal-body [style*="font-size"] {
        font-size: 1.5rem !important;
    }

    .modal-body h3[style*="font-size"],
    .modal-body [style] h3 {
        font-size: 2rem !important;
    }

    .modal-body h4[style*="font-size"],
    .modal-body [style] h4 {
        font-size: 1.5rem !important;
    }

    .modal-body code[style*="font-size"],
    .modal-body [style] code {
        font-size: 1.35rem !important;
    }

    /* Specific content boxes */
    .modal-body div[style*="background"] p,
    .modal-body div[style*="background"] li {
        font-size: 1.5rem !important;
        line-height: 1.9 !important;
    }

    .modal-body div[style*="background"] ul,
    .modal-body div[style*="background"] ol {
        font-size: 1.5rem !important;
        line-height: 1.9 !important;
    }

    .modal-body div[style*="background"] code {
        font-size: 1.35rem !important;
        padding: 0.35rem 0.65rem !important;
    }

    /* All inner content boxes */
    .collapsible-inner p,
    .collapsible-inner li {
        font-size: 1.5rem !important;
        line-height: 1.9 !important;
    }

    .collapsible-inner ul,
    .collapsible-inner ol {
        font-size: 1.5rem !important;
    }

    .collapsible-inner code {
        font-size: 1.35rem !important;
    }

    .collapsible-inner h4 {
        font-size: 1.5rem !important;
    }
}

/* Force high-contrast text in modal content (but preserve intentional colors like red warnings) */
.modal-body p:not([style*="color"]),
.modal-body li:not([style*="color"]),
.modal-body span:not([style*="color"]),
.modal-body div:not([style*="background"]):not([style*="color"]) {
    color: var(--text) !important;
}

.modal-body h3:not([style*="color"]),
.modal-body h4:not([style*="color"]) {
    color: var(--text) !important;
    font-weight: 800 !important;
}

.modal-body strong:not([style*="color"]) {
    color: var(--primary-dark) !important;
    font-weight: 800;
}

.collapsible-inner p:not([style*="color"]),
.collapsible-inner li:not([style*="color"]),
.collapsible-inner span:not([style*="color"]) {
    color: var(--text) !important;
}

/* Even larger screens (4K or very large kiosk) */
@media (min-width: 2400px) and (orientation: landscape) {
    .modal-body {
        padding: 3rem 4rem;
    }

    .modal-body h3 {
        font-size: 2.5rem !important;
    }

    .modal-body h4 {
        font-size: 1.75rem !important;
    }

    .modal-body p,
    .modal-body li {
        font-size: 1.75rem !important;
        line-height: 2 !important;
    }

    .modal-body ul,
    .modal-body ol {
        font-size: 1.75rem !important;
    }

    .modal-body code {
        font-size: 1.5rem !important;
    }

    .collapsible-title {
        font-size: 1.75rem;
    }
}