/* Reset và base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f2ed;
    height: 100vh;
    overflow: hidden;
}

/* Container chính */
.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    height: 100vh;
    padding: 20px;
    position: relative;
    text-align: center;
}

/* Content wrapper */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    width: 100%;
    max-width: 600px;
}

/* Logo container */
.logo-container {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out;
}

.logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Main title */
.main-title {
    font-size: 4rem;
    font-weight: 900;
    color: #4a90c2;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(74, 144, 194, 0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Footer */
.footer {
    margin-top: auto;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}

.copyright {
    font-size: 1rem;
    color: #4a90c2;
    font-weight: 500;
    letter-spacing: 0.02em;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Responsive Design - Tablet */
@media screen and (max-width: 1024px) {
    .container {
        padding: 30px 20px 25px;
    }
    
    .logo {
        max-width: 240px;
    }
    
    .logo-container {
        margin-bottom: 50px;
    }
    
    .main-title {
        font-size: 3.5rem;
        letter-spacing: 0.12em;
    }
    
    .copyright {
        font-size: 0.95rem;
    }
}

/* Responsive Design - Mobile Large */
@media screen and (max-width: 768px) {
    .container {
        padding: 15px;
        min-height: 100vh;
    }
    
    .content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .logo-container {
        margin-bottom: 25px;
    }
    
    .main-title {
        font-size: 2.5rem;
        letter-spacing: 0.08em;
        line-height: 1.1;
        margin-bottom: 0;
    }
    
    .copyright {
        font-size: 0.85rem;
    }
    
    .footer {
        margin-bottom: 5px;
    }
}

/* Responsive Design - Mobile Medium */
@media screen and (max-width: 480px) {
    .container {
        padding: 12px;
        min-height: 100vh;
    }
    
    .content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .logo-container {
        margin-bottom: 20px;
    }
    
    .main-title {
        font-size: 2rem;
        letter-spacing: 0.06em;
        line-height: 1.1;
        margin-bottom: 0;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    .footer {
        margin-bottom: 5px;
    }
}

/* Responsive Design - Mobile Small */
@media screen and (max-width: 375px) {
    .container {
        padding: 10px;
        min-height: 100vh;
    }
    
    .content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .logo {
        max-width: 130px;
    }
    
    .logo-container {
        margin-bottom: 18px;
    }
    
    .main-title {
        font-size: 1.7rem;
        letter-spacing: 0.05em;
        line-height: 1.1;
        margin-bottom: 0;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
    
    .footer {
        margin-bottom: 5px;
    }
}

/* Animation cho logo */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Landscape orientation cho mobile */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .container {
        padding: 8px 15px;
        justify-content: space-between;
        min-height: 100vh;
    }
    
    .content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .logo-container {
        margin-bottom: 10px;
    }
    
    .logo {
        max-width: 100px;
    }
    
    .main-title {
        font-size: 1.8rem;
        line-height: 1.1;
        letter-spacing: 0.05em;
        margin-bottom: 0;
    }
    
    .copyright {
        font-size: 0.7rem;
    }
    
    .footer {
        margin-bottom: 3px;
    }
}

/* Media query đặc biệt cho thiết bị có chiều cao nhỏ */
@media screen and (max-height: 700px) {
    .container {
        padding: 10px;
    }
    
    .logo-container {
        margin-bottom: 20px;
    }
    
    .main-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .footer {
        margin-bottom: 5px;
    }
}

@media screen and (max-height: 600px) {
    .container {
        padding: 8px;
    }
    
    .logo-container {
        margin-bottom: 15px;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .main-title {
        font-size: 1.9rem;
        line-height: 1.0;
    }
    
    .footer {
        margin-bottom: 3px;
    }
}