* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 50px 20px 0;
    text-align: center;
    background: rgb(255, 255, 255);
    color: #444444;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1 {
    color: #db8a3eea;
}

h2 {
    color: #db8a3eea;
}

a {
    display: inline-block;
    margin: 10px;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

#loading {
    margin: 20px 0;
}

.spinner {
    border: 4px solid #333;
    border-top: 4px solid #db8a3eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.feature-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 60px 0;
    text-align: left;
}

.feature-section img {
    max-width: 250px;
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-text h3 {
    margin-top: 0;
    color: #db8a3eea;
}

.feature-section.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 600px) {
    .feature-section, .feature-section.reverse {
        flex-direction: column;
        text-align: center;
    }
}

footer {
    margin-top: auto;
    padding: 40px 20px 20px;
    background: #2a2a2a;
    color: #ffffff;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    margin: 5px;
}

.footer-links a:hover {
    color: #db8a3eea;
    opacity: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-links a {
    color: #ffffff;
    font-size: 24px;
    margin: 0;
}

.social-links a:hover {
    color: #db8a3eea;
    opacity: 1;
}

.copyright {
    margin-top: 20px;
    font-size: 14px;
    color: #999;
}

.main-content {
    flex: 1;
    width: 100%;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto 20px;
    display: block;
}
