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

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0d1117;
    color: #dddddd;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.2rem;
}

.container {
    text-align: center;
}

h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 2rem;
    padding-bottom: 4rem;
}

.joystick {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    color: #b0b8c0;
    margin-top: 0.8rem;
}

section {
    margin-top: 6rem;
    text-align: center;
}

section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #b0b8c0;
    margin-bottom: 0.8rem;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.social-links a {
    color: #cccccc;
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #ffffff;
}

.social-screenshot {
    max-width: 50%;
    margin-top: 1rem;
    border-radius: 8px;
}

.game-description {
    font-size: 0.85rem;
    color: #8b949e;
    margin-bottom: 1rem;
    max-width: 600px;
}

.game-section iframe {
    border-radius: 8px;
    max-width: 100%;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #484f58;
    background: #161b22;
    border-top: 1px solid #21262d;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 0.8rem;
}

footer a {
    color: #586069;
    text-decoration: none;
}

footer a:hover {
    color: #8b949e;
}

.footer-icon {
    display: inline-block;
    vertical-align: middle;
}

.scroll-arrow {
    position: fixed;
    bottom: 3.2rem;
    right: 1.5rem;
    font-size: 4rem;
    color: #484f58;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
    animation: bounce 1.5s ease-in-out infinite;
    z-index: 10;
}

.scroll-arrow.visible {
    opacity: 1;
}

@media (max-width: 600px) {
    footer {
        font-size: 0.7rem;
        padding: 0.8rem;
    }

    .scroll-arrow {
        bottom: 5rem;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

