
/* User Menu Styles */
.user-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.user-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-icon:hover {
    transform: scale(1.1);
}

.user-icon svg {
    color: #666;
}

.user-dropdown {
    position: fixed !important;
    top: 60px !important;
    right: 20px !important;
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    min-width: 200px !important;
    display: none !important;
    overflow: hidden !important;
}

.user-dropdown.show {
    display: block !important;
}

.user-info {
    padding: 12px 16px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.user-info span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.dropdown-divider {
    height: 1px;
    background-color: #e9ecef;
}

.dropdown-item {
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-item svg {
    color: #666;
}

/* Instructors page specific styles */
.instructors-main {
    margin: 0;
    padding: 0;
}

.instructors-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Base page title styles */
.page-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #d32f2f;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Instructors page specific title */
.instructors-page .page-title {
    font-size: 18px !important;
}

/* Lesson plan page specific title */
.lesson-plan-page .page-title {
    font-size: 36px;
    text-shadow: 2px 2px 0px #000000;
    margin-top: -15px;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.title-line {
    width: 300px;
    height: 2px;
    background-color: #000000;
    margin: 0 auto 30px auto;
    position: relative;
}

.title-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: #000000;
    transform: translate(-50%, -50%) rotate(45deg);
}

.instructor-section {
    margin-bottom: 50px;
}

.instructor-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 30px;
    flex-direction: row-reverse;
}

.instructor-content.donna-content {
    flex-direction: row;
}

.instructor-text {
    flex: 1;
}

.instructor-text h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.instructor-text p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
}

.instructor-image {
    flex: 0 0 200px;
}

.instructor-photo {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.joint-efforts {
    margin-top: 40px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #d32f2f;
}

.joint-efforts p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.contact-section {
    margin-top: 40px;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    text-align: center;
}

.contact-section p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}


/* Responsive Design */
@media (max-width: 900px) {
    .popculture-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .popculture-page .left-column,
    .popculture-page .right-column {
        width: 100%;
        flex: none;
    }
    
    .popculture-main {
        padding: 80px 20px 0 20px; /* Add top padding to avoid hamburger menu */
    }
}

@media (max-width: 768px) {
    .user-menu {
        top: 15px;
        right: 15px;
    }
    
    .user-icon {
        width: 28px;
        height: 28px;
    }
    
    .user-dropdown {
        min-width: 180px !important;
        top: 55px !important;
        right: 15px !important;
    }
    
    .instructors-main {
        padding: 0 20px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    /* Lesson plan page mobile styles */
    .lesson-plan-page .page-title {
        font-size: 24px;
    }
    
    .title-line {
        width: 200px;
    }
    
    .instructor-content {
        flex-direction: column-reverse;
        gap: 20px;
        align-items: center;
    }
    
    .instructor-content.donna-content {
        flex-direction: column-reverse;
    }
    
    .instructor-image {
        flex: none;
        align-self: center;
    }
    
    .instructor-photo {
        width: 150px;
        height: 190px;
    }
    
    .instructor-text h2 {
        font-size: 18px;
        text-align: center;
    }
    
    .instructor-text p {
        font-size: 14px;
    }
    
    .joint-efforts {
        padding: 20px;
    }
    
    .joint-efforts p {
        font-size: 14px;
    }
    
    .contact-section {
        padding: 20px;
        margin-top: 30px;
    }
    
    .contact-section p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .instructors-main {
        padding: 0 15px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    /* Lesson plan page mobile styles */
    .lesson-plan-page .page-title {
        font-size: 20px;
    }
    
    .instructor-text h2 {
        font-size: 16px;
    }
    
    .instructor-text p {
        font-size: 13px;
    }
    
    .instructor-photo {
        width: 120px;
        height: 150px;
    }
    
    .joint-efforts {
        padding: 15px;
    }
    
    .joint-efforts p {
        font-size: 13px;
    }
    
    .contact-section {
        padding: 15px;
        margin-top: 20px;
    }
    
            .contact-section p {
                font-size: 13px;
            }
            
            .footer {
                text-align: right !important;
                display: flex !important;
                justify-content: flex-end !important;
            }
            
            .footer-buttons {
                gap: 10px;
                justify-content: flex-end !important;
                margin-left: auto !important;
                margin-right: 15px;
            }
            
            .audio-player audio {
                width: 80px;
                height: 30px;
            }
            
            .volume-control {
                display: none !important;
            }
            
            .back-btn,
            .login-btn {
                width: 60px;
                padding: 6px 12px;
                font-size: 12px;
            }
            
            .button-container p {
                display: none;
            }
            
            .page-title {
                font-size: 28px !important;
                margin-bottom: 20px;
            }
        }

/* Footer buttons styling */
.audio-player {
    display: flex;
    align-items: center;
}

/* Desktop audio player - show native controls */
.desktop-audio {
    height: 40px;
    outline: none;
}

.desktop-audio::-webkit-media-controls-panel {
    background-color: #f5f5f5;
    border-radius: 8px;
}

/* Mobile audio player - show minimal controls */
.mobile-audio {
    display: none;
}

.play-pause-btn {
    display: none;
    background: #f0f0f0;
    border: 1px solid #ddd;
    font-size: 0;
    color: #333;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: all 0.2s;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Play icon (default state) */
.play-pause-btn::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid #333;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-left: 2px;
}

/* Pause icon (when playing) */
.play-pause-btn.playing::before {
    content: '';
    width: 3px;
    height: 10px;
    border: none;
    background: #333;
    margin-left: 0;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.play-pause-btn.playing::after {
    content: '';
    width: 3px;
    height: 10px;
    background: #333;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.play-pause-btn:hover {
    background-color: rgba(0,0,0,0.1);
}

.time-display {
    display: none;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #666;
    min-width: 35px;
    text-align: center;
}

/* Mobile styles - show minimal audio player */
@media (max-width: 768px) {
    .desktop-audio {
        display: none;
    }
    
    .mobile-audio {
        display: none;
    }
    
    .play-pause-btn {
        display: block;
    }
    
    .time-display {
        display: block;
    }
    
            .audio-player {
                display: flex;
                align-items: center;
                gap: 10px;
                background-color: #f5f5f5;
                padding: 8px 12px;
                border-radius: 8px;
            }
        }

        /* Lesson plan page mobile footer alignment - match instructors page exactly */
        .lesson-plan-page .footer {
            text-align: right !important;
            display: flex !important;
            justify-content: flex-end !important;
        }
        
        .lesson-plan-page .footer-buttons {
            gap: 10px;
            justify-content: flex-end !important;
            margin-left: auto !important;
            margin-right: 15px;
        }
        
        .lesson-plan-page .button-container {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 15px 20px 30px 20px;
            background-color: white;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
            min-height: 60px;
            height: auto;
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }


        /* Before We Start page mobile footer alignment */
        .before-we-start-page .footer {
            text-align: right !important;
            display: flex !important;
            justify-content: flex-end !important;
        }
        
        .before-we-start-page .footer-buttons {
            gap: 10px;
            justify-content: flex-end !important;
            margin-left: auto !important;
            margin-right: 15px;
        }
        
        .before-we-start-page .button-container {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 15px 20px 30px 20px;
            background-color: white;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
            min-height: 60px;
            height: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

.footer-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Index page specific button alignment */
.index-page .footer-buttons {
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 15px;
}

/* Hide only the progress bar, keep time displays */
#audioElement::-webkit-media-controls-timeline {
    display: none !important;
}


/* Before We Start page specific styles */
.before-we-start-main {
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.before-we-start-page .page-title {
    font-family: Georgia, serif !important;
    font-weight: 700 !important;
    font-size: 48px;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
    font-style: italic !important;
    text-transform: none !important;
}

.content-section p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #000;
    margin-bottom: 20px;
    text-align: left;
}

.disclaimer-list {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #000;
    margin: 20px 0;
    padding-left: 20px;
}

.disclaimer-list li {
    margin-bottom: 15px;
    line-height: 1.5;
}

.disclaimer-list strong {
    font-weight: 700;
}

/* Mobile styles for Before We Start page */
@media (max-width: 768px) {
    .before-we-start-main {
        padding: 20px 15px;
    }
    
    .before-we-start-page .page-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .content-section p,
    .disclaimer-list {
        font-size: 14px;
    }
    
    .disclaimer-list {
        padding-left: 15px;
    }
}

/* Welcome page specific styles */
.welcome-main {
    padding: 40px 30px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
}

.welcome-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.welcome-text {
    flex: 1;
    padding-right: 20px;
}

.welcome-title-image {
    margin: 0 0 20px 0;
    display: flex;
    justify-content: flex-start;
}

.welcome-title-img {
    max-width: 400px;
    height: auto;
}

.welcome-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #000;
    margin: 0 0 30px 0;
}

.welcome-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.welcome-bullets li {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #000;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}

.welcome-bullets li::before {
    content: "•";
    color: #000;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 20px;
}

.welcome-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.mahjong-board {
    width: 100%;
    max-width: 300px;
    height: auto;
    border: 2px solid #000;
    border-radius: 8px;
}

/* Welcome page mobile styles */
@media (max-width: 768px) {
    .welcome-main {
        padding: 20px 15px;
    }
    
    .welcome-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .welcome-text {
        padding-right: 0;
    }
    
    .welcome-title-image {
        justify-content: center;
    }
    
    .welcome-title-img {
        max-width: 300px;
    }
    
    .welcome-subtitle {
        font-size: 20px;
        text-align: center;
    }
    
    .welcome-bullets li {
        font-size: 16px;
    }
    
    .welcome-image {
        flex: none;
        order: 1;
    }
    
    .mahjong-board {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .welcome-title-img {
        max-width: 250px;
    }
    
    .welcome-subtitle {
        font-size: 18px;
    }
    
    .welcome-bullets li {
        font-size: 14px;
    }
    
    /* Formation mobile styles */
    .formation-title {
        font-size: 24px;
        letter-spacing: 2px;
        margin-bottom: 20px;
        margin-top: -15px;
    }
    
    .formation-bullets li {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    /* Resurgence mobile styles */
    .resurgence-title {
        font-size: 24px;
        letter-spacing: 2px;
        margin-bottom: 20px;
        margin-top: -15px;
    }
    
    .resurgence-bullets li {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    /* Pop Culture tablet styles */
    .popculture-main {
        padding: 30px 20px 0 20px;
    }
    
    .popculture-content {
        gap: 30px;
    }
    
    .pop-image {
        height: 120px;
    }
    
    .popculture-title {
        font-size: 36px;
    }
    
    .right-column {
        flex: 0 0 250px;
        margin-top: 40px;
    }
    
    .popculture-bullets li {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .movie-list li {
        font-size: 14px;
        margin-bottom: 6px;
    }
}

@media (max-width: 480px) {
    .formation-title {
        font-size: 20px;
        letter-spacing: 2px;
        margin-bottom: 15px;
        margin-top: -15px;
    }
    
    .formation-bullets li {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .resurgence-title {
        font-size: 20px;
        letter-spacing: 2px;
        margin-bottom: 15px;
        margin-top: -15px;
    }
    
    .resurgence-bullets li {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    /* Pop Culture mobile styles */
    .popculture-main {
        padding: 20px 15px 0 15px;
    }
    
    .popculture-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .popculture-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .pop-image {
        height: 90px;
    }
    
    .popculture-title {
        font-size: 28px;
    }
    
    .left-column {
        width: 100%;
    }
    
    .right-column {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 20px auto 0 auto;
    }
    
    .popculture-bullets li {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .movie-list li {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    /* Julia page mobile styles */
    .julia-main {
        padding: 20px 15px 0 15px;
    }
    
    .julia-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .julia-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .chaos-image,
    .julia-image {
        height: auto;
        width: 100%;
    }
    
    .julia-column,
    .chaos-column {
        flex: none;
        width: 100%;
    }
    
    .julia-column {
        order: 2;
    }
    
    .chaos-column {
        order: 1;
    }
    
    /* The Game page mobile styles */
    .the-game-main {
        padding: 20px 15px 0 15px;
    }
    
    .the-game-title {
        font-size: 28px;
        letter-spacing: 2px;
        margin-bottom: 15px;
        margin-top: -15px;
    }
    
    .the-game-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .the-game-bullets li {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    /* Julia page tablet styles */
    .julia-main {
        padding: 30px 20px 0 20px;
    }
    
    .julia-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .julia-content {
        gap: 20px;
    }
    
    .chaos-image,
    .julia-image {
        height: 300px;
    }
    
    .julia-column,
    .chaos-column {
        flex: 1;
    }
    
    /* The Game page tablet styles */
    .the-game-main {
        padding: 30px 20px 0 20px;
    }
    
    .the-game-title {
        font-size: 32px;
        letter-spacing: 2px;
        margin-bottom: 20px;
        margin-top: -15px;
    }
    
    .the-game-content {
        gap: 30px;
    }
    
    .the-game-bullets li {
        font-size: 16px;
        margin-bottom: 15px;
    }
}

/* Formation page specific styles */
.formation-main {
    margin: 0;
    padding: 40px 30px 0 30px;
    text-align: center;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.formation-container {
    max-width: 800px;
    margin: 0 auto;
}

.formation-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #d32f2f;
    text-align: center;
    margin-bottom: 30px;
    margin-top: -15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #000000;
}

.formation-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
    text-align: left;
}

.formation-bullets li {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #000;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.formation-bullets li::before {
    content: "•";
    color: #000;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 20px;
}

.fine-print {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.fine-print p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Formation page footer alignment */
.formation-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.formation-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 15px;
}

.formation-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px 30px 20px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    min-height: 60px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Pop Culture page specific styles */
.popculture-main {
    margin: 0;
    padding: 40px 30px 0 30px;
    min-height: calc(100vh - 200px);
}

.popculture-container {
    max-width: 1200px;
    margin: 0 auto;
}

.popculture-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Left Column */
.left-column {
    flex: 1;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.popculture-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.pop-image {
    height: 180px;
    width: auto;
}

.popculture-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #d32f2f;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #000000;
}

.popculture-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.popculture-bullets li {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #000;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.popculture-bullets li::before {
    content: "•";
    color: #000;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 20px;
}

.movie-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.movie-list li {
    font-size: 16px;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.movie-list li::before {
    content: "◦";
    color: #666;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 16px;
}

/* Right Column */
.right-column {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 60px;
}

.amy-image,
.joyluck-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.sarah-image {
    width: 50%;
    height: auto;
    object-fit: contain;
}

/* Julia page specific styles */
.julia-main {
    margin: 0;
    padding: 40px 30px 0 30px;
    min-height: calc(100vh - 200px);
}

.julia-main img {
    vertical-align: top;
    margin: 0;
    padding: 0;
}

.julia-container {
    max-width: 1200px;
    margin: 0 auto;
}

.julia-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #000;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.julia-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 0;
    padding: 0;
}

.julia-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.chaos-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.chaos-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    margin: 0;
    padding: 0;
    display: block;
}

.julia-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    margin: 0;
    padding: 0;
    display: block;
}

/* Julia page footer alignment */
.julia-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.julia-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 15px;
}

.julia-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px 30px 20px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    min-height: 60px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* The Game page specific styles */
.the-game-main {
    margin: 0;
    padding: 40px 30px 0 30px;
    min-height: calc(100vh - 200px);
}

.the-game-container {
    max-width: 1200px;
    margin: 0 auto;
}

.the-game-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.the-game-content .left-column {
    flex: 0 0 50%;
}

.the-game-content .right-column {
    flex: 0 0 50%;
}

.the-game-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #d32f2f;
    text-align: center;
    margin-bottom: 30px;
    margin-top: -15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #000000;
}

.the-game-image,
.game-1937-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0;
    padding: 0;
    display: block;
}

.the-game-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.the-game-bullets li {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #000;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.the-game-bullets li::before {
    content: "•";
    color: #000;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 20px;
}

/* The Game page footer alignment */
.the-game-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.the-game-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 15px;
}

.the-game-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px 30px 20px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    min-height: 60px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Pop Culture page footer alignment */
.popculture-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.popculture-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 15px;
}

.popculture-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px 30px 20px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    min-height: 60px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Resurgence page specific styles */
.resurgence-main {
    margin: 0;
    padding: 40px 30px 0 30px;
    text-align: center;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.resurgence-container {
    max-width: 800px;
    margin: 0 auto;
}

.resurgence-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #d32f2f;
    text-align: center;
    margin-bottom: 30px;
    margin-top: -15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #000000;
}

.resurgence-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
    text-align: left;
}

.resurgence-bullets li {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #000;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.resurgence-bullets li::before {
    content: "•";
    color: #000;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 20px;
}

/* Resurgence page footer alignment */
.resurgence-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.resurgence-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 15px;
}

.resurgence-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px 30px 20px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    min-height: 60px;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Welcome page footer alignment */
.welcome-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.welcome-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 15px;
}

.welcome-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px 30px 20px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    min-height: 60px;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-btn {
    background-color: #333333;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 80px;
}

.back-btn:hover {
    background-color: #333333;
    transform: translateY(-1px);
}

.login-btn {
    width: 80px;
}

/* Fine print styling */
.fine-print {
    margin-top: 20px;
    padding: 15px 30px;
    background-color: white;
}

.fine-print p {
    font-size: 10px;
    color: #666;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* Standardize footer height across all pages */
.button-container {
    min-height: 60px;
    height: auto;
    padding-bottom: 30px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Lesson Plan page specific styles */
.lesson-plan-main {
    margin: 0;
    padding: 10px 30px 0 30px;
}

.lesson-plan-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.brand-header {
    margin-bottom: 5px;
}

.brand-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #333;
    margin-bottom: 0px;
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #333;
    margin-bottom: 2px;
}

.brand-logo {
    margin-bottom: 0px;
    display: flex;
    justify-content: center;
}

.brand-logo .logo-image {
    max-height: 50px;
    width: auto;
}

.modern {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #999;
    font-weight: 400;
}

.mahjong {
    font-family: 'Dancing Script', cursive;
    font-size: 36px;
    color: #d32f2f;
    font-weight: 700;
    margin-left: 10px;
}


.lessons-list {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.lesson-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #d32f2f;
}

.lesson-item.current {
    background-color: #fff5f5;
    border-left-color: #d32f2f;
}

.lesson-item h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.lesson-item.current h3 {
    color: #d32f2f;
}

.lesson-item p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #666;
    margin: 0;
    font-style: italic;
}

.lesson-item.current p {
    color: #d32f2f;
}

/* We Love It Page Styles */
.we-love-it-page {
    background-color: white;
    min-height: 100vh;
    padding: 20px;
}

.we-love-it-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 20px;
}

.image-container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.weloveit-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .we-love-it-main {
        padding: 20px 10px;
        min-height: 60vh;
    }
    
    .we-love-it-page .button-container {
        padding: 15px 20px 30px 20px;
    }
}

.we-love-it-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.we-love-it-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 15px;
}

.we-love-it-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px 30px 20px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    min-height: 60px;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* The Object Page Styles */
.the-object-page {
    background-color: white;
    min-height: 100vh;
    padding: 20px;
}

.the-object-main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.the-object-page .two-column-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.the-object-page .left-column {
    flex: 0 0 25%;
    min-width: 250px;
}

.the-object-page .right-column {
    flex: 0 0 75%;
}

.the-object-page .column-header {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #d32f2f;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    margin-top: -15px;
    text-align: center;
    white-space: normal;
    word-break: keep-all;
    text-shadow: 2px 2px 0px #000000;
}

.the-object-page .card-image-container {
    text-align: center;
    margin-bottom: 20px;
}

.the-object-page .card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.the-object-page .image-369-container {
    text-align: center;
    margin-bottom: 30px;
}

.the-object-page .image-369 {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.the-object-page .text-content {
    font-family: 'Inter', sans-serif;
}

.the-object-page .object-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.the-object-page .object-bullets li {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.the-object-page .object-bullets li:before {
    content: "•";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.the-object-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.the-object-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 15px;
}

.the-object-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px 30px 20px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    min-height: 60px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .the-object-page .two-column-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .the-object-page .left-column,
    .the-object-page .right-column {
        flex: 1;
    }
    
    .the-object-main {
        padding: 20px 10px;
    }
    
    .the-object-page .button-container {
        padding: 15px 20px 30px 20px;
    }
}

/* Annual Card Page Styles */
.annual-card-page {
    background-color: white;
    min-height: 100vh;
    padding: 20px;
}

.annual-card-main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.annual-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #d32f2f;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    margin-top: -15px;
    text-shadow: 2px 2px 0px #000000;
}

.annual-card-content {
    font-family: 'Inter', sans-serif;
    max-width: 800px;
    margin: 0 auto;
}

.annual-card-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.annual-card-bullets li {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
    padding-left: 20px;
    position: relative;
}

.annual-card-bullets li:before {
    content: "•";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.annual-card-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.annual-card-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 15px;
}

.annual-card-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px 30px 20px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    min-height: 60px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .annual-card-main {
        padding: 20px 10px;
    }
    
    .annual-card-title {
        font-size: 36px;
    }
    
    .annual-card-bullets li {
        font-size: 18px;
    }
    
    .annual-card-page .button-container {
        padding: 15px 20px 30px 20px;
    }
}

/* Bams page styles */
.bams-page {
    background-color: white;
    min-height: 100vh;
    padding: 20px;
}

.bams-main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.bams-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.bams-page .left-column {
    flex: 0 0 50%;
    min-width: 300px;
}

.bams-page .right-column {
    flex: 0 0 50%;
}

.bams-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.bams-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bams-bullets li {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.bams-bullets li:before {
    content: "•";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.bams-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.bams-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
}

.bams-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 20px 30px 40px 30px;
    display: flex;
    justify-content: flex-end;
    z-index: 100;
}

@media (max-width: 768px) {
    .bams-main {
        padding: 80px 10px 20px 10px; /* Add top padding to avoid hamburger menu */
    }
    
    .bams-content {
        flex-direction: column;
        gap: 15px; /* Subtle spacing for single column layout */
    }
    
    .bams-page .left-column {
        flex: none;
        width: 100%;
    }
    
    .bams-page .right-column {
        flex: none;
        width: 100%;
    }
    
    .bams-bullets li {
        font-size: 18px;
    }
    
    .bams-page .button-container {
        padding: 15px 20px 30px 20px;
    }
}

/* OneBam page styles */
.onebam-page {
    background-color: white;
    min-height: 100vh;
    padding: 20px;
}

.onebam-main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.onebam-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.onebam-page .left-column {
    flex: 0 0 30%;
    min-width: 200px;
}

.onebam-page .right-column {
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.onebam-tile-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.onebam-title-image {
    width: 60%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.onebam-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.onebam-bullets li {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.onebam-bullets li:before {
    content: "•";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.onebam-varieties-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.onebam-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.onebam-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
}

.onebam-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 20px 30px 40px 30px;
    display: flex;
    justify-content: flex-end;
    z-index: 100;
}

@media (max-width: 768px) {
    .onebam-main {
        padding: 20px 10px;
    }
    
    .onebam-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .onebam-page .left-column {
        flex: none;
        width: 50%; /* Make image take only half width on mobile */
        align-self: center; /* Center the image */
    }
    
    .onebam-page .right-column {
        flex: none;
        width: 100%;
    }
    
    .onebam-tile-image {
        width: 100%;
        max-width: 200px; /* Limit maximum size */
    }
    
    .onebam-bullets li {
        font-size: 18px;
    }
    
    .onebam-page .button-container {
        padding: 15px 20px 30px 20px;
    }
}

/* Craks page styles */
.craks-page {
    background-color: white;
    min-height: 100vh;
    padding: 20px;
}

.craks-main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.craks-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.craks-page .left-column {
    flex: 0 0 50%;
    min-width: 300px;
}

.craks-page .right-column {
    flex: 0 0 50%;
}

.craks-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.craks-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.craks-bullets li {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.craks-bullets li:before {
    content: "•";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.craks-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.craks-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
}

.craks-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 20px 30px 40px 30px;
    display: flex;
    justify-content: flex-end;
    z-index: 100;
}

@media (max-width: 768px) {
    .craks-main {
        padding: 80px 10px 20px 10px; /* Add top padding to avoid hamburger menu */
    }
    
    .craks-content {
        flex-direction: column;
        gap: 15px; /* Subtle spacing for single column layout */
    }
    
    .craks-page .left-column {
        flex: none;
        width: 100%;
    }
    
    .craks-page .right-column {
        flex: none;
        width: 100%;
    }
    
    .craks-bullets li {
        font-size: 18px;
    }
    
    .craks-page .button-container {
        padding: 15px 20px 30px 20px;
    }
}

/* Dots page styles */
.dots-page {
    background-color: white;
    min-height: 100vh;
    padding: 20px;
}

.dots-main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.dots-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.dots-page .left-column {
    flex: 0 0 40%;
    min-width: 250px;
}

.dots-page .right-column {
    flex: 0 0 60%;
}

.dots-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.dots-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    margin-top: 0;
}

.dots-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dots-bullets li {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.dots-bullets li:before {
    content: "•";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.dots-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.dots-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
}

.dots-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 20px 30px 40px 30px;
    display: flex;
    justify-content: flex-end;
    z-index: 100;
}

@media (max-width: 768px) {
    .dots-main {
        padding: 80px 10px 20px 10px; /* Add top padding to avoid hamburger menu */
    }
    
    .dots-content {
        flex-direction: column;
        gap: 15px; /* Subtle spacing for single column layout */
    }
    
    .dots-page .left-column {
        flex: none;
        width: 100%;
    }
    
    .dots-page .right-column {
        flex: none;
        width: 100%;
    }
    
    .dots-bullets li {
        font-size: 18px;
    }
    
    .dots-page .button-container {
        padding: 15px 20px 30px 20px;
    }
}

/* Tile Time page styles */
.tiletime-page {
    background-color: white;
    min-height: 100vh;
    padding: 20px;
}

.tiletime-main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.tiletime-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #d32f2f;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    margin-top: 0;
    text-align: center;
    text-shadow: 2px 2px 0px #000000;
}

.tiletime-title-bar {
    width: 100%;
    height: 4px;
    background-color: #000000;
    margin: 0 auto 40px auto;
    max-width: 400px;
}

.tiletime-content {
    display: flex;
    gap: 30px;
    align-items: flex-start !important;
    margin-bottom: 40px;
}

.tiletime-page .left-column {
    flex: 0 0 40%;
    min-width: 300px;
}

.tiletime-page .right-column {
    flex: 0 0 60%;
    align-self: flex-start;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.tiletime-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.tiletime-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 0 !important;
}

.tiletime-bullets li {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.tiletime-bullets li:before {
    content: "•";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.tiletime-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.tiletime-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
}

.tiletime-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 20px 30px 40px 30px;
    display: flex;
    justify-content: flex-end;
    z-index: 100;
}

@media (max-width: 768px) {
    .tiletime-main {
        padding: 80px 10px 20px 10px; /* Add top padding to avoid hamburger menu */
    }
    
    .tiletime-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .tiletime-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .tiletime-page .left-column {
        flex: none;
        width: 100%;
    }
    
    .tiletime-page .right-column {
        flex: none;
        width: 100%;
    }
    
    .tiletime-bullets li {
        font-size: 18px;
    }
    
    .tiletime-page .button-container {
        padding: 15px 20px 30px 20px;
    }
}

/* Dragons page styles */
.dragons-page {
    background-color: white;
    min-height: 100vh;
    padding: 20px;
}

.dragons-page .dragons-main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.dragons-page .dragons-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #d32f2f;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: left;
    text-shadow: 2px 2px 0px #000000;
}

.dragons-page .dragons-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.dragons-page .left-column {
    flex: 1;
    max-width: 400px;
}

.dragons-page .right-column {
    flex: 1;
    display: flex;
    justify-content: center;
}

.dragons-page .dragons-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
}

.dragons-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.dragons-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
}

.dragons-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 20px 30px 40px 30px;
    display: flex;
    justify-content: flex-end;
    z-index: 100;
}

@media (max-width: 768px) {
    .dragons-main {
        padding: 80px 10px 20px 10px; /* Add top padding to avoid hamburger menu */
    }
    
    .dragons-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .dragons-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .dragons-page .left-column {
        flex: none;
        width: 100%;
    }
    
    .dragons-page .right-column {
        flex: none;
        width: 100%;
    }
    
    .dragons-page .button-container {
        padding: 15px 20px 30px 20px;
    }
}

/* TheObject page fine print styling */
.the-object-page .fine-print {
    margin-top: 20px;
    padding: 15px 30px;
    background-color: white;
}

.the-object-page .fine-print p {
    font-size: 10px;
    color: #666;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* 152 Tiles Page Styles */
.tiles-152-page {
    background-color: white;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.tiles-152-main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px 0 0 0;
    margin: 0;
}

/* Mobile adjustments for 152tiles page */
@media (max-width: 768px) {
    .tiles-152-main {
        padding-top: 100px; /* Push image down on mobile to avoid hamburger menu */
    }
}

.tiles-152-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.tiles-152-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.tiles-152-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 15px;
}

.tiles-152-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px 30px 20px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    min-height: 60px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Dragons page styles */
.dragons-page .dragons-intro {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 20px 0;
    line-height: 1.4;
}

.dragons-page .dragons-bullets {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.dragons-page .dragons-bullets li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.dragons-page .dragons-bullets li::before {
    content: "•";
    color: #000;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 4px;
}

.dragons-page .dragons-bullets .red-dragon {
    color: #dc2626;
    font-weight: 600;
}

.dragons-page .dragons-bullets .red-dragon::before {
    color: #000;
}

.dragons-page .dragons-bullets .green-dragon {
    color: #2d5016;
    font-weight: 600;
}

.dragons-page .dragons-bullets .green-dragon::before {
    color: #000;
}

.dragons-page .dragons-bullets .white-dragon {
    color: #1e3a8a;
    font-weight: 600;
}

.dragons-page .dragons-bullets .white-dragon::before {
    color: #000;
}

.dragons-page .dragon-inline-image {
    height: 50px;
    width: auto;
    margin-left: 8px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .tiles-152-page .button-container {
        padding: 15px 20px 30px 20px;
    }
    
    .dragons-page .dragons-intro {
        font-size: 16px;
        padding: 15px 0;
    }
    
    .dragons-page .dragons-bullets li {
        font-size: 15px;
        margin-bottom: 10px;
    }
}

/* Dragon Quiz page styles */
.dragonquiz-page .dragonquiz-main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.dragonquiz-page .dragonquiz-container {
    max-width: 100%;
}

.dragonquiz-page .dragonquiz-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 50px;
    text-align: center;
    text-shadow: 2px 2px 0px #000000;
}

.dragonquiz-page .dragonquiz-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.dragonquiz-page .quiz-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.dragonquiz-page .quiz-question {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #333;
    margin: 0;
    flex-shrink: 0;
    min-width: 200px;
    text-align: right;
}

.dragonquiz-page .tiles-row {
    display: flex;
    justify-content: flex-start;
    flex: 1;
}

.dragonquiz-page .tiles-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.dragonquiz-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.dragonquiz-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
}

.dragonquiz-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 20px 30px 40px 30px;
    display: flex;
    justify-content: flex-end;
    z-index: 100;
}

@media (max-width: 768px) {
    .dragonquiz-page .dragonquiz-main {
        padding: 80px 10px 20px 10px;
    }
    
    .dragonquiz-page .dragonquiz-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .dragonquiz-page .quiz-question {
        font-size: 20px;
    }
    
    .dragonquiz-page .dragonquiz-content {
        gap: 30px;
    }
    
    .dragonquiz-page .quiz-section {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .dragonquiz-page .quiz-question {
        min-width: auto;
        font-size: 20px;
    }
    
    .dragonquiz-page .tiles-row {
        width: 100%;
    }
    
    .dragonquiz-page .button-container {
        padding: 15px 20px 30px 20px;
    }
}

/* Dragon Answers Page Styles */
.dragonanswers-page .dragonanswers-main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.dragonanswers-page .dragonanswers-container {
    max-width: 100%;
}


.dragonanswers-page .dragonanswers-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.dragonanswers-page .dragon-answer-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dragonanswers-page .dragon-tile {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dragonanswers-page .dragon-tile-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.dragonanswers-page .dragon-text {
    flex: 1;
    min-width: 200px;
}

.dragonanswers-page .dragon-match-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.dragonanswers-page .suit-tiles {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dragonanswers-page .suit-tiles-image {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    border-radius: 8px;
}

.dragonanswers-page .footer {
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.dragonanswers-page .footer-buttons {
    gap: 10px;
    justify-content: flex-end !important;
    margin-left: auto !important;
}

.dragonanswers-page .button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 20px 30px 40px 30px;
    display: flex;
    justify-content: flex-end;
    z-index: 100;
}

@media (max-width: 768px) {
    .dragonanswers-page .dragonanswers-main {
        padding: 80px 10px 20px 10px;
    }


    .dragonanswers-page .dragon-answer-section {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 15px;
    }

    .dragonanswers-page .dragon-tile {
        width: 100px;
        height: 100px;
    }

    .dragonanswers-page .dragon-tile-image {
        width: 80px;
        height: 80px;
    }

    .dragonanswers-page .dragon-match-text {
        font-size: 20px;
    }

    .dragonanswers-page .dragonanswers-content {
        gap: 30px;
    }

        .dragonanswers-page .button-container {
            padding: 15px 20px 30px 20px;
        }
    }

/* Payment Modal Styles */
.payment-info {
    text-align: center;
    margin: 20px 0;
}

.price {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #d32f2f;
    margin: 20px 0;
    text-shadow: 2px 2px 0px #000000;
}

.features {
    margin: 30px 0;
}

.features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.features li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.features li:last-child {
    border-bottom: none;
}

.payment-btn {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    display: block;
}

.payment-btn:hover {
    background: linear-gradient(135deg, #b71c1c, #d32f2f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.payment-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(211, 47, 47, 0.3);
}

#payment-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

#payment-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#payment-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mobile styles for payment modal */
@media (max-width: 768px) {
    .price {
        font-size: 36px;
    }
    
    .features li {
        font-size: 14px;
    }
    
    .payment-btn {
        font-size: 16px;
        padding: 12px 30px;
    }
}

