* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", "Khmer OS Battambang", sans-serif;
}

body {
    background: linear-gradient(120deg, #fff6d5, #fbe6b3);
    min-height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.content {
    max-width: 900px;
    padding: 40px;
}

.hero {
    width: 100%;
    max-width: 800px;
    animation: float 4s ease-in-out infinite;
}

/* Text */
h1 {
    margin-top: 30px;
    color: #9c6b1c;
    font-size: 2.2rem;
}

p {
    margin-top: 15px;
    font-size: 1.2rem;
    color: #5a4a2f;
}

.sub {
    font-style: italic;
}

/* Loader */
.loader {
    margin: 30px auto;
    width: 50px;
    height: 50px;
    border: 6px solid #e6cfa1;
    border-top: 6px solid #b8841a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Footer */
footer {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #7a6a4f;
}

/* Animations */
@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 1.2s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typing effect */
.typing {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #b8841a;
    width: 0;
    animation: typing 4s steps(40, end) forwards,
               blink 0.7s infinite;
}

@keyframes typing {
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 1.6rem;
    }
    p {
        font-size: 1rem;
    }
}
