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

body { font-family: 'Open Sans', 'Noto Sans Jp', sans-serif; }


header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e5e7eb;
}

.container {
    max-width: 1200px;
    margin:0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo-icons {
    display: flex;
    align-items: center;
    gap: 8px;

}

.logo {
    height: 50px;
}

.logo-name {
    height: 50px;
}

/* Desktop Navigation */
.nav-links {
    display: none; /* Hidden by default on mobile */
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #666666;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #ff6666;
    transform: scale(1.15);
}

.ultimate-icon svg{
    cursor: pointer;
    transition: all 0.3s;
}
.ultimate-icon:hover svg {
    stroke: #ff6666;
    transform: scale(1.15);

}


@media (min-width: 768px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .mobile-menu-btn {
        display: none;
    }
}




/* ================ ULTIMATE SEARCH – FINAL BULLETPROOF VERSION (Dec 2025) ================ */

                                .ultimate-search {
                                    position: relative;
                                    display: flex;
                                    align-items: center;
                                    z-index: 1000; /* important when inside navbar */
                                }

                                #ultimateInput,
                                #ultimateInput-mobile {
                                    position: absolute;
                                    top: 0;
                                    right: 0;
                                    width: 70px;
                                    height: 56px;
                                    padding: 0 60px 0 20px;
                                    border: 3px solid #ff6666;
                                    border-radius: 99px;
                                    font-size: 1.1rem;
                                    background: white;
                                    outline: none;
                                    opacity: 0;
                                    visibility: hidden;
                                    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
                                    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.15);
                                    font-family: 'Noto Sans JP', sans-serif;
                                    box-sizing: border-box;
                                }

                                #ultimateInput.active,
                                #ultimateInput-mobile.active {
                                    width: 420px;
                                    opacity: 1;
                                    visibility: visible;
                                }

                                /* ================ DESKTOP RESULTS DROPDOWN – NEVER OVERFLOWS ================ */
                                .ultimate-results {
                                    position: absolute;
                                    top: calc(100% + 8px);
                                    right: 0;                    /* ← aligned to the right edge of the input (your design) */
                                    left: auto;
                                    width: 480px;                /* fixed comfortable width */
                                    max-width: calc(100vw - 32px); /* never wider than screen minus margin */
                                    max-height: 70vh;
                                    overflow-y: auto;
                                    background: white;
                                    border: 1px solid #ddd;
                                    border-radius: 12px;
                                    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
                                    z-index: 9999;
                                    padding: 12px 0;
                                    box-sizing: border-box;
                                    opacity: 0;
                                    visibility: hidden;
                                    transform: translateY(10px);
                                    transition: all 0.25s ease;
                                }

                                /* Show it */
                                .ultimate-results.active {
                                    opacity: 1;
                                    visibility: visible;
                                    transform: translateY(0);
                                }

                                /* If screen is small → stretch full width but keep safe margins */
                                @media (max-width: 640px) {
                                    #ultimateInput.active,
                                    #ultimateInput-mobile.active {
                                        width: calc(100vw - 40px);
                                        left: 20px;
                                        right: 20px;
                                    }

                                    .ultimate-results {
                                        left: 20px !important;
                                        right: 20px !important;
                                        width: calc(100vw - 40px);
                                        border-radius: 16px;
                                    }
                                }

                                #ultimateSearch-mobile {
                                    width: 100%;
                                    padding: 1rem 0;
                                    text-align: center;
                                }

                                .mobile-search-overlay {
                                    position: fixed;
                                    inset: 0;
                                    background: white;
                                    z-index: 2147483647;
                                    display: flex;
                                    flex-direction: column;
                                    transform: translateY(-100%);
                                    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
                                }

                                .mobile-search-overlay.open {
                                    transform: translateY(0);
                                }

                                #ultimateInput-mobile {
                                    width: 100%;
                                    padding: 20px;
                                    padding-top: max(20px, env(safe-area-inset-top));
                                    font-size: 1.css1.2rem;
                                    border: none;
                                    border-bottom: 2px solid #eee;
                                    background: white;
                                    outline: none;
                                }

                                #ultimateResults-mobile {
                                    flex: 1;
                                    overflow-y: auto;
                                    padding: 0 20px 100px;
                                }

                                /* Hide the search icon when it's inside the mobile overlay – we only want the input */
                                .mobile-search-overlay .ultimate-icon {
                                    display: none !important;
                                }

                                .mobile-search-overlay .ultimate-search {
                                    padding: 0;
                                    background: none;
                                }

                                /* Optional: make the input look perfect at the very top */
                                .mobile-search-overlay #ultimateInput-mobile {
                                    padding-top: max(40px, env(safe-area-inset-top));
                                    font-size: 1.3rem;
                                    border-bottom: 3px solid #DC143C;
                                }
                                /* ================ RESULT ITEM STYLING (kept your beautiful crimson theme) ================ */
                                .result-item {
                                    padding: 1.2rem 1.6rem;
                                    border-bottom: 1px solid #faeaea;
                                    transition: background 0.25s;
                                }
                                .result-item:hover {
                                    background: #fff8f8;
                                }
                                .result-item a {
                                    font-weight: 700;
                                    color: #3366cc;
                                    text-decoration: none;
                                    font-size: 1.15rem;
                                    display: block;
                                }
                                .result-item p {
                                    margin: 0.5rem 0 0;
                                    color: #444;
                                    font-size: 1rem;
                                    line-height: 1.55;
                                }
                                .result-item mark {
                                    background: #ffebec;
                                    color: #DC143C;
                                    padding: 1px 6px;
                                    border-radius: 4px;
                                    font-weight: 700;
                                }
                                .suggestion {
                                    padding: 1.5rem;
                                    color: #888;
                                    font-style: italic;
                                    text-align: center;
                                }


/* Mobile Menu Button */
.mobile-menu-btn {
    display: block; /* Visible by default on mobile */
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.35 ease;
    padding: 2rem;
    z-index: 100;
}

.mobile-sidebar.open {right: 0;}

.overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s;
    z-index: 99;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav {
    margin-top: 3rem;
}

.mobile-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;;
}

.mobile-nav a:hover {
    color: #ff6666;
}

.ultimateInput-mobilePlaceholder {
    border: 2px solid #666666;
    padding: 4px;
}


/* Show desktop nav on larger screens */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}


                    /* ========== Hero Section ========== linear-gradient(135deg, #fff0f2 0%, #fff8f0 65%, #fff 100%); */
                    .hero {
                        position: relative;
                        overflow: hidden;
                        min-height: 100vh;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        text-align: center;
                        padding: 20px 20px 60px;
                        margin-bottom: 60px;
                          background: url('images/japanese-traditional.webp') center/cover no-repeat; /* if browser doesn't support the video */
                    }
                    .bg-video {
                        position: absolute;
                        inset: 0;
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        z-index: 0;
                    }
                    .hero::before {
                        content: "";
                        position: absolute;
                        inset: 0;
                        background: rgba(245, 235, 220, 0.4);
                        pointer-events: none;
                        z-index: 1;
                    }


                    .hero-content {
                        position: relative;
                        max-width: 900px;
                        z-index: 2;
                    }
                    .hero h1 {
                        font-size: 5rem;
                        font-weight: 700;
                        line-height: 1.1;
                        margin-bottom: 28px;
                        color: #1a1a1a;
                        text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
                    }

                    
                    .hero h1 span.withLine { font-size: 3.5rem;  }

                    /* make red text pop more during wave */
                    .hero h1 span.redLine { 
                        color: #ff6666;
                        text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.35);
                      }   

                    
                    .hero p {
                        font-size: 1.55rem;
                        color: #333;
                        margin-bottom: 60px;
                        line-height: 1.6;
                        text-shadow: 0 2px 5px rgb(255, 255, 255, 0.4);
                    }
                    .hero p span {
                        margin-right: 20px;
                    }

                    /* Pill navigation in the center */
                    .hero-nav {
                        display: flex;
                        gap: 24px;
                        flex-wrap: wrap;
                        justify-content: center;
                    }
                    .hero-nav a {
                        display: inline-block;
                        padding: 14px 36px;
                        background: rgba(255, 255, 255, 0.85);
                        backdrop-filter: blur(12px);
                        border: 2px solid transparent;
                        border-radius: 50px;
                        font-size: 1.25rem;
                        font-weight: 600;
                        color: #333;
                        text-decoration: none;
                        transition: all 0.35s ease;
                        box-shadow: 0 8px 25px rgba(220, 20, 60, 0.15);
                    }
                    .hero-nav a:hover {
                        background: white;
                        color: #ff6666;
                        border-color: #ff6666;
                        transform: translateY(-6px);
                        box-shadow: 0 16px 48px rgba(220, 20, 60, 0.25);
                    }

                    @media (max-width: 768px) {
                        .hero h1 { font-size: 4rem ; }
                        .hero h1 span.withLine { font-size: 2.4rem;}
                        .hero p { font-size: 1.35rem; }
                        .hero-nav { gap: 16px; }
                        .hero-nav a { padding: 12 28px; font-size: 1.1rem;}

                    }


/* ===== Sections ===== */
.home-sections {
    
    margin-bottom: 60px;
}

.home-section-1 {
    width: 80%;
    max-width: 900px;
    margin: auto;
    background: rgba(166, 199, 245, 0.15); /* Light transparent */
    backdrop-filter: blur(12px);           /* The frosted magic */
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 50px 60px;
    border-radius: 20px;
}
.home-sections-with-photo {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
}
.home-section-paragraph {
    flex: 1;
    min-width: 200px;
}
.home-section1-photo {
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(137, 140, 252, 0.25);
    width: 100%;
    max-width: 350px;
    transition: transform 0.6s;

}
.home-section-paragraph h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.home-section-paragraph p span {
    display: block;
    font-size: 1rem;
}
@media (max-width: 768px) {
    .home-sections-with-photo {
        flex-wrap: wrap;
    }
}



.home-section-2 {
    width: 80%;
    max-width: 900px;
    margin: auto;
    padding: 50px 60px;
    margin-top: 60px;
    margin-bottom: 60px;
}
.home-section-3 {
    width: 80%;
    max-width: 900px;
    margin: auto;
    background: rgba(246, 206, 185, 0.15); /* Light transparent */
    backdrop-filter: blur(12px);           /* The frosted magic */
    border: 1px solid rgba(246, 144, 144, 0.25);
    padding: 50px 60px;
    border-radius: 20px;
}
.home-section-4 {
    width: 80%;
    max-width: 900px;
    margin: auto;
    padding: 50px 60px;
    margin-top: 60px;
    margin-bottom: 60px;
}

/* ========== Main Alphabet Cards ========== */

                        .section-5 {
                            padding: 120px 20px;
                            background: #faf4ef;
                            overflow: hidden;
                        }
                        .main-alphabet-cards-row {
                            position: relative;
                            max-width: 1300px;
                            margin: 0 auto;
                        }

                        /* Row */
                        .main-alphabet-cards {
                            display: flex;
                            gap: 30px;
                            padding: 1rem 2rem;
                            overflow-x: auto;
                            scroll-behavior: smooth;
                            scroll-snap-type: x mandatory;
                        }
                        .main-alphabet-cards::-webkit-scrollbar { display: none;}

                        /* Cards */
                        .main-alphabet {
                            min-width: 420px;
                            background: #ffffff;
                            border-radius: 28px;
                            overflow: hidden;
                            scroll-snap-align: center;
                            box-shadow: 0 3px 6px rgba(83, 82, 81, 0.25);

                            opacity: 0;
                            transform: translateY(50px);
                            animation: fadeInUp 0.9s ease forwards;
                        }

                        /* Fade-in Animation */
                        @keyframes fadeInUp {
                            to {
                                opacity: 1;
                                transform: translateY(0);
                            }
                        }

                        .alpabet-image {max-width: 150px; padding: 0 20px 0 20px;}

                        .main-alphabet h3 {
                            font-size: 1.5rem;
                            color: #333;
                            padding: 20px;
                        }
                        .main-alphabet p { padding: 20px;}
                        .main-examples {padding: 0 40px 20px 40px ;}
                        .main-examples h5 {margin-bottom: 10px;}

                        /* Arrows */
                        .main-al-arrow {
                            position: absolute;
                            top: 50%;
                            transform: translateY(-50%);
                            width: 60px;
                            height: 60px;
                            background-color: white;
                            border: none;
                            border-radius: 50%;
                            font-size: 2rem;
                            color: #cc3333;
                            cursor: pointer;
                            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
                            z-index: 10;
                            transition: all 0.3s;
                        }
                        .main-al-arrow:hover {
                            background: #cc3333;
                            color: white;
                            transform: translateY(-50%) scale(1.1);
                        }
                        .main-left-arrow {left: -30px;}
                        .main-right-arrow {right: -30px}

                        @media (max-width: 768px) {
                            .main-al-arrow { width: 50px; height: 50px; font-size: 1.5rem;}
                            .main-left-arrow { left: 10px;}
                            .main-right-arrow { right: 10px;}
                        }
                        @media (max-width: 500px) {
                            .main-alphabet {
                                min-width: 320px;
                            }
                        }


/* ===== Footer ===== */
.site-footer {
    background: #555555;
    color: #eee;
    padding: 100px 40px 40px;
    margin-top: 150px;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: #4b4b4b;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.footer-tagline {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 400px;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: white;
    font-weight: 600;
}
.footer-links a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 14px;
    font-size: 1.05rem;
    transition: all 0.3s;
}
.footer-links a:hover {
    color: #ff6666;
    padding-left: 8px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95rem;
    color: #999;
}

@media (max-width: 968px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    .footer-bottom {
        text-align: center;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}
    


                                    /* ============== KANA PAGE ========== */
                                    .hero-kana {
                                        min-height: 100vh;
                                        background: url("images/kana\ page\ hero.webp") center / cover no-repeat;
                                        display: flex;
                                        align-items: center;
                                        justify-content: center;
                                        text-align: center;
                                        position: relative;
                                    }
                                    .hero-kana::before {
                                        content: "";
                                        position: absolute;
                                        inset: 0;
                                        background: rgba(30, 24, 60, 0.55);
                                    }
                                    .hero-kana-content {
                                        position: relative;
                                        max-width: 900px;
                                    }
                                    .hero-kana-content p {
                                        font-size: 5.8rem;
                                        font-weight: 700;
                                        line-height: 1.1;
                                        transform: translateY(-10vh);
                                        color: #ffffff;
                                        text-shadow: 0 4px 14px rgba(0, 0, 0, 0.65),
                                                     0 1px 2px rgba(0, 0, 0, 0.8);
                                    }


                                    /* Sections === Main */
                                    .introduction-kana {
                                        max-width: 600px;
                                        margin: 0 auto;
                                        padding: 40px 20px;
                                    }
                                    .introduction-kana h1 {
                                        font-size: 2.4rem;
                                        line-height: 1.2;
                                        margin-bottom: 24px;
                                        color: #1a1a1a;
                                    }
                                    
                                    .kana-intro-section h2 {
                                        font-size: 1.6rem;
                                        line-height: 1.3;
                                        margin: 20px 0 16px;
                                    }
                                    .kana-intro-section p {
                                        font-size: 1.05rem;
                                        line-height: 1.6;
                                        margin-bottom: 40px;
                                    }



                                    
                                    .kana-intro-hiragana-chart {
                                        max-width: 600px;
                                        margin: 0 auto;
                                        padding: 120px 20px 60px;
                                    }
                                    .kana-intro-hiragana-chart h3 {
                                        font-size: 1.6rem;
                                        padding-bottom: 60px;
                                        text-align: center;
                                    }
                                    .kana-intro-h-table {
                                        width: 80%;
                                        border-collapse: collapse;
                                        overflow: hidden;
                                    }
                                    .kana-intro-h-table th, td {
                                        padding: 28px;
                                        text-align: center;
                                        border: 1px solid #ccc;
                                        font-size: 1.1rem;
                                    }
                                    .kana-intro-h-table th {
                                        background: #f0f2f5;
                                        color: #1a1a1a;
                                        font-weight: 700;
                                        font-size: 1.2rem;
                                    }
                                    

                                    .intro-h-chart {
                                        font-size: 2.2rem;
                                        font-weight: 600;
                                        display: block;
                                        margin-bottom: 8px;
                                    }
                                    .intro-h-romaji {
                                        font-size: 1rem;
                                        color: #666;
                                    }
                                    .empty-h-in {
                                        border: none;
                                    }
                                    .kana-intro-h-table caption {
                                        font-size: 0.9rem;
                                        padding: 20px;
                                        color: #555;
                                        caption-side: bottom;
                                    }
                                    @media (max-width: 768px) {
                                        .kana-intro-h-table th, td { padding: 18px; }
                                        .intro-h-chart { font-size: 1.8rem; }
                                        .intro-h-romaji { font-size: 0.8rem; }
                                    }








/* ========== HIRAGANA PAGE ========== */
.hero-hiragana {
    min-height: 100vh;
    background: url("/images/Mount-fuji-hiragama-page.webp") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.hero-hiragana::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(30, 24, 60, 0.55);
}
.hero-hiragana-content {
    position: relative;
    max-width: 900px;
}
.hero-hiragana-content p {
    font-size: 5.8rem;
    font-weight: 700;
    line-height: 1.1;
    transform: translateY(-10vh);
    color: #ffffff;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.65),
                    0 1px 2px rgba(0, 0, 0, 0.8);
}

.hiragana-main-chart {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.hiragana-main-chart h1 {
    text-align: center;
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1a1a1a;
}
.hira-subtitle {
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 50px;
}
.hira-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}
.hira-nav-btn {
    padding: 16px 36px;
    background: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);

    transition: all 0.4s ease;
}

.hira-nav-btn:hover {
    background: #DC143C;
    color: white;
    transform: translateY(-6px);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.16),
        0 2px 6px rgba(0, 0, 0, 0.08);

}

/* Section Title */
.hira-section-title {
    text-align: center;
    font-size: 1.8rem;
    margin: 40px 0 60px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Chart Grid */
.hiragana-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(110px, 1fr));
    gap: 24px;
    max-width: 700px;
    margin: 0 auto 100px;
}

.hiragana-grid-combo{
    display: grid;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    gap: 24px;
    max-width: 540px;
    margin: 0 auto 100px;
}

.hira-cell {
    aspect-ratio: 1;
    background: white;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}
.hira-cell:hover {
    transform: translateY(-28px) scale(1.2);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.15);
    z-index: 10;
}
.hira-cell:hover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(225, 255, 255, 0.85), transparent 65%);
    opacity: 0.7;
    animation: glowPulse 1.8s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
}

.hira-hiragana {
    font-size: 2.2rem;
    font-weight: bold;
    color: #222;
    transition: all 0.5s ease;
}
.hira-romaji {
    font-size: 1rem;
    color: #666;
    margin-top: 8px;
    transform: translateY(10px);
    transition: all 0.5s ease;
    font-weight: 600;
}

.hira-cell:hover .hira-hiragana {
    color: #DC143C;
    transform: scale(1.15);
}

.hira-cell:hover .hira-romaji {
    transform: translateY(0);
}

@media (max-width: 768px) {
    h1 { font-size: 2rem;}
    .hira-subtitle { font-size: 1rem; margin-bottom: 40px; }
    .hira-section-title { font-size: 1.5rem; margin-bottom: 60px; }
    .hiragana-grid { gap: 16px; }
    .hira-cell { aspect-ratio: 1; }
    .hira-hiragana { font-size: 1.8rem; }
    .hira-romaji { font-size: 0.9rem; }
    .hira-cell:hover { transform: translateY(-20px) scale(1.1); }
    .hira-nav-btn { padding: 12px 28px;font-size: 1rem; }

}


                                    

                                    