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

body {
    background-color: #fffcf8;
    height: 100vh;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fffcf8;
}

.logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 2s ease-out;
}

.logo-img {
    max-width: 500px;
    max-height: 400px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    animation: floatAnimation 3s ease-in-out infinite, pulseGlow 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.2)) brightness(1.1);
}

.navigation {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 24px;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 3s forwards;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.nav-button {
    background: rgba(255, 255, 255, 0.95);
    color: #5b4f3f;
    border: 2px solid rgba(91, 79, 63, 0.1);
    width: 56px;
    height: 56px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.nav-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(91, 79, 63, 0.2);
}

.nav-button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-button svg {
    width: 20px;
    height: 20px;
    color: #5b4f3f;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-width: 2.5;
}

.nav-button:hover svg {
    transform: scale(1.05);
    color: #4a3f2f;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(91, 79, 63, 0.05), rgba(109, 95, 79, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-button:hover::before {
    opacity: 1;
}

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

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

@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    }
    50% {
        filter: drop-shadow(0 15px 40px rgba(255, 100, 100, 0.2));
    }
}

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

@keyframes letterFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Landscape Mode - Desktop-like Layout */
@media (max-width: 1024px) and (orientation: landscape) {
    .container {
        padding: 0 !important;
        height: 100vh !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .logo-img {
        max-width: 500px !important;
        max-height: 400px !important;
    }
    
    .user-info {
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        font-size: 14px !important;
        padding: 8px 16px !important;
    }
    
    .logout-btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    .container {
        padding: 20px;
        min-height: 100vh;
        justify-content: center;
        align-items: center;
    }
    
    .logo-img {
        max-width: 350px;
        max-height: 280px;
    }
    
    .user-info {
        position: fixed !important;
        top: 10px !important;
        right: 10px !important;
        font-size: 12px;
        padding: 6px 12px;
        z-index: 1000;
    }
    
    .logout-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .logo-img {
        max-width: 280px;
        max-height: 220px;
    }
    
    .user-info {
        position: fixed !important;
        top: 5px !important;
        right: 5px !important;
        font-size: 11px;
        padding: 4px 8px;
    }
}

/* User Info Styles */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 252, 248, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #cdbba0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #5b4f3f;
    z-index: 1000;
}

.logout-btn {
    background: linear-gradient(135deg, #ea4439, #ff6b6b);
    color: white;
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234, 68, 57, 0.3);
}