@import url('https://fonts.googleapis.com/css2?family=Slackey&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sansation&display=swap');

html,body{
    width: 100%;
    overflow-x: hidden;
}

body{
    margin: 0;
    background: linear-gradient(225deg, #CED8D4, #CED8D4, #D9E7FD, #B5D1FA, #72788A);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.whole-page{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content{
    flex: 1;
}

header{
    display: flex;
    align-items: center;

    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding: 0 10px;
    box-sizing: border-box;
}

.mmu-logo{
    height: 60px;
    width: auto;
    text-align: left;
    padding-left: 10px;
}

.banner{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0px;
    width: 100%;
    max-width: 100vw;
    height: 500px;
    padding: 10px;
}

.web-logo{
    position: relative;
    display: flex;
    justify-content: left;
    align-items: center;
    height: 500px;
}

.losthub-logo-base{
    position: relative;
    z-index: 1;

    max-height: 440px;
    width: auto;

    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.2));
}

.losthub-logo-top{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;

    max-height: 200px;
    width: auto;

    padding-top: 190px;
    padding-left: 190px;

    animation: logoFloat 4s ease-in-out infinite;

    filter:
        drop-shadow(0 8px 14px rgba(0,0,0,0.22));

    transition: transform 0.3s ease;
}

.losthub-logo-top:hover{
    transform: translateY(-6px) scale(1.05);
}

.losthub-logo-top:active{
    transform: translateY(2px) scale(0.98);
}

@keyframes logoFloat {
    0% {
        transform: translateY(0) scale(1) rotate(-1deg);
    }

    50% {
        transform: translateY(-5px) scale(1.03) rotate(0deg);
    }

    100% {
        transform: translateY(0) scale(1) rotate(-1deg);
    }
}

.slogan{
    padding: 30px 0 10px 10px;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    margin-right: 100px;
    max-width: 100%;
}

.slogan p {
    margin: 40px 0 0 0;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    font-family: 'Slackey';

    color: #6a7184;

    text-shadow:
        0 1px 0 #ffffff,
        0 2px 0 #d6dbe8,
        0 3px 0 #c2c8d8,
        0 6px 10px rgba(0,0,0,0.18); 

    transform: rotate(-2deg) translateY(0);
    transition: all 0.25s ease;
}

.slogan p:hover {
    transform: rotate(0deg) translateY(-3px);

    text-shadow:
        0 1px 0 #ffffff,
        0 2px 0 #d6dbe8,
        0 3px 0 #c2c8d8,
        0 10px 18px rgba(0,0,0,0.28);
}

.slogan p:active {
    transform: translateY(2px);

    text-shadow:
        0 1px 0 #ffffff,
        0 1px 0 #d6dbe8,
        0 2px 0 #c2c8d8,
        0 4px 8px rgba(0,0,0,0.2);
}

.main-nav{
    display: flex;
    gap: 50px;
    padding-top: 20px;
    padding-left: 80px;
}

nav a{
    display: inline-block;
    width: 120px;
    text-align: center;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;

    background: #7e8599;
    color: white;
    font-family: 'Slackey';
    font-size: 14px;

    box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset, 
    0 -2px 4px rgba(0,0,0,0.10) inset,  
    0 4px 0 #6a7184,                 
    0 6px 12px rgba(0,0,0,0.20);

    transform: translateY(0);
    transition: all 0.2s ease;
}

nav a:hover{
    transform: translateY(-3px);

    box-shadow:
        0 1px 0 rgba(255,255,255,0.32) inset,
        0 -2px 5px rgba(0,0,0,0.12) inset,
        0 7px 0 #565c6e,  
        0 12px 20px rgba(0,0,0,0.28); 
}

nav a:active{
    transform: translateY(2px);

    box-shadow:
        0 1px 0 rgba(255,255,255,0.25) inset,
        0 -2px 4px rgba(0,0,0,0.18) inset,
        0 3px 0 #565c6e,
        0 5px 10px rgba(0,0,0,0.25);
}

.action-btn{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 60px;
}

footer{
    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 100px;
    height: 100px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);

    text-align: center;
    font-size: 12px;
    font-weight: bold;
    font-family: 'Sansation';
    line-height: 1.2;
}

/* ===================================== */
/*                Popup                  */
/* ===================================== */
.popup {
    position: absolute;

    top: -10px;
    left: 54%;
    width: 200px;
    padding: 12px 20px;

    border-radius: 12px;
    text-align: center;
    color: #b00020;
    background: rgba(176, 0, 32, 0.08);
    border: 1px solid rgba(176, 0, 32, 0.25);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.082);
    transform: translateX(-50%) translateY(10px);

    font-family: 'Sansation';
    font-size: 13px;

    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}

.popup.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.popup.error {
    color: #b00020;
    background: rgba(176, 0, 32, 0.08);
    border: 1px solid rgba(176, 0, 32, 0.25);
}

.popup.success {
    color: #1b5e20;
    background: rgba(46, 125, 50, 0.10);
    border: 1px solid rgba(46, 125, 50, 0.25);
}