html, body {
            margin: 0;
            padding: 0;
            min-height: 100vh;
            width: 100vw;
        }
        body {
            background: linear-gradient(140deg, #94ffe8 10%, #59baff 100%);
            overflow-x: hidden;
        }

/* Custom scrollbar styling */
body {
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 255, 232, 0.79) transparent;
}

/* Webkit scrollbar styling for Chrome/Safari/Edge */
body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background: rgba(148, 255, 232, 0.79);
    border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 255, 232, 1);
}
/* Animations */
@keyframes subtlePulse {
  0% {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0.95;
  }
  50% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0.95;
  }
}

.center-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Key: distribute space proportionally */
    min-height: 100vh;
    width: 100%;
    padding: 13vh 0 8vh 0; /* Top and bottom padding as viewport percentages */
    box-sizing: border-box;
}
.logo-container {
    position: relative;
    width: 265px;
    height: 265px;
    max-width: 265px;
    max-height: 265px;
    margin: 6.5vh auto 7vh auto; /* Bottom margin scales with viewport */
    flex-shrink: 0; /* Prevent shrinking */
}
.kanji {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    pointer-events: none;
    }
.home-sei-logo {
    position: absolute;
    top: 55% !important;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: auto;
    z-index: 2;
    transition: transform 0.3s ease;
    animation: subtlePulse 3s ease-in-out infinite;
    cursor: pointer;
}
.home-sei-logo:hover {
    transform: translate(-50%, -50%) scale(1.05);
    animation: subtlePulse 2s ease-in-out infinite;
}
.home {
    width: 100vw;
    max-width: 1100px;
    text-align: center;
    margin-top: auto; /* Push to bottom of available space */
    padding: 0;
    box-sizing: border-box;
    z-index: 1;
    flex-shrink: 0; /* Prevent shrinking */
}

.tag-line1 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.22rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5vh;
    font-weight: 300;
    line-height: 1.3;
    }

/* Text version control for different screen sizes */
.mobile-text {
    display: none;
}
.desktop-text {
    display: inline;
}
.tag-line2 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 2.8rem;
    color: rgba(255, 255, 255, 1);
    font-weight: 100;
    letter-spacing: 0.02em;
    margin-top: 1.5vh;
    line-height: 1.5;
    }

/* Tablet Styles (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .center-wrapper {
        padding: 12vh 0 8vh 0;
    }
    .logo-container {
        width: 280px;
        height: 280px;
        max-width: 280px;
        max-height: 280px;
        margin: 5vh auto 6vh auto;
    }
    .home-sei-logo {
        width: 140px;
    }
    .tag-line1 {
        font-size: 1.15rem;
        margin-bottom: 1.2vh;
    }
    .tag-line2 {
        font-size: 2.4rem;
        line-height: 1.4;
    }
    
    /* Touch-friendly improvements for tablets */
    .home-sei-logo {
        cursor: pointer;
        touch-action: manipulation;
    }
    
    /* Ensure proper touch handling */
    body {
        touch-action: manipulation;
    }
}

/* Mobile Styles (320px - 767px) */
@media (max-width: 767px) {
    body {
        overflow-y: auto;
        min-height: 100vh;
    }
    
    .center-wrapper {
        padding: 15vh 0 10vh 0;
        min-height: 100vh;
    }
    .logo-container {
        width: 55vw;
        height: 55vw;
        max-width: 180px;
        max-height: 180px;
        margin-bottom: 30vh;
    }
    .kanji {
        top: 15%;
    }
    .home-sei-logo {
        top: 30% !important;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 25%;
        max-width: 195px;
        height: auto;
    }
    .home {
        width: 100%;
        margin-top: 0;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .tag-line1 {
        font-size: 1.1rem;
        margin-bottom: 12px;
        padding: 0 15px;
    }
    .tag-line2 {
        font-size: 1.7rem;
        line-height: 1.3;
        letter-spacing: 0.01em;
        margin-bottom: 0;
        padding: 0 15px;
    }
    
    /* Show mobile version, hide desktop version */
    .mobile-text {
        display: inline;
    }
    .desktop-text {
        display: none;
    }
}

/* Small Mobile Styles (480px and below) */
@media (max-width: 480px) {
    body {
        overflow-y: auto;
        min-height: 100vh;
    }
    
    .center-wrapper {
        padding: 7vh 0 10vh 0;
        min-height: 100vh;
    }
    .logo-container {
        width: 90vw;
        height: 90vw;
        max-width: 150px;
        max-height: 150px;
        margin-bottom: 8vh;
    }
    .home {
        width: 100%;
        margin-top: 0;
        padding: 0 25px;
        box-sizing: border-box;
    }
    .home-sei-logo {
        top: 55% !important;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 45%;
        max-width: 120px;
        height: auto;
    }
    .tag-line1 {
        font-size: 0.9rem;
        font-weight: 400;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    .tag-line2 {
        font-size: 1.5rem;
        font-weight: 300;
        line-height: 1.2em;
        padding: 0 20px;
    }
}

/* Extra Small Mobile Styles (430px and below) */
@media (max-width: 430px) {
    body {
        overflow-y: auto;
        min-height: 100vh;
    }
    
    .center-wrapper {
        min-height: 100vh;
        padding: 7vh 0 10vh 0;
    }
    .logo-container {
        width: 90vw;
        height: 90vw;
        max-width: 250px;
        max-height: 250px;
        margin-bottom: 8vh;
    }
    .home {
        width: 100%;
        margin-top: 0;
        padding: 0 30px;
        box-sizing: border-box;
    }
    .home-sei-logo {
        top: 55% !important;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 45%;
        max-width: 110px;
        height: auto;
    }
    .tag-line1 {
        font-size: 0.9rem;
        font-weight: 400;
        margin-bottom: 2.5vh;
        padding: 0 25px;
    }
    .tag-line2 {
        font-size: 1.5rem;
        font-weight: 300;
        line-height: 1.2em;
        padding: 0 25px;
        padding-bottom: env(safe-area-inset-bottom, 2px);
    }
}

/* Very Small Mobile Styles (360px and below) */
@media (max-width: 360px) {
    body {
        overflow-y: auto;
        min-height: 100vh;
    }
    
    .center-wrapper {
        padding: 5.5vh 0 30vh 0;
        min-height: 100vh;
    }
    .logo-container {
        width: 90vw;
        height: 90vw;
        max-width: 180px;
        max-height: 180px;
        margin-bottom: 22vh;
    }
    .home {
        width: 100%;
        margin-top: 0;
        padding: 0 30px;
        box-sizing: border-box;
    }
    .home-sei-logo {
        top: 65% !important;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 55%;
        max-width: 240px;
        height: auto;
    }
    .tag-line1 {
        font-size: 0.85rem;
        font-weight: 300;
        margin-bottom: 60px;
        padding: 0 4px;
    }
    .tag-line2 {
        font-size: 1.5rem;
        font-weight: 300;
        line-height: 1.2em;
        padding: 0 20px;
    }
}

/* Landscape Mobile Styles */
@media (max-width: 767px) and (orientation: landscape) {
    .center-wrapper {
        padding: 8vh 0 6vh 0;
    }
    .logo-container {
        width: 40vw;
        height: 40vw;
        max-width: 200px;
        max-height: 200px;
        margin-bottom: 15vh;
    }
    .home-sei-logo {
        width: 35%;
        max-width: 70px;
    }
    .tag-line1 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    .tag-line2 {
        font-size: 1.4rem;
        line-height: 1.2;
    }
}