body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    scroll-behavior: smooth;
}

header {
    text-align: center;
    padding: 0px 0;
    background-color: #eb1c24;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: clamp(150px, 50vw, 300px);
    height: auto;
    max-width: 100%;
}


.terminal-text {
    font-family: 'Press Start 2P', 'Courier New', monospace;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #4a90e2;
    display: inline-block;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end 0s;
    animation-fill-mode: forwards;
}


@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}


@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #4a90e2; }
}


.welcome-section {
    text-align: center;
    padding: 50px 10px;
    background-color: #000;
}

.welcome-section h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.welcome-text {
    font-size: 1.2rem;
    font-family: 'Arial', sans-serif;
    color: #fff;
    animation: slideUp 1s ease-in-out;
}


.dancing-shadow {
    position: relative;
    display: inline-block;
    animation: dance 3s infinite alternate ease-in-out;
}

@keyframes dance {
    0% { text-shadow: 2px 2px 0 #4a90e2, -2px -2px 0 #ff6f61; }
    25% { text-shadow: -2px 2px 0 #ff6f61, 2px -2px 0 #4a90e2; }
    50% { text-shadow: 2px -2px 0 #4a90e2, -2px 2px 0 #ff6f61; }
    75% { text-shadow: -2px -2px 0 #ff6f61, 2px 2px 0 #4a90e2; }
    100% { text-shadow: 2px 2px 0 #4a90e2, -2px -2px 0 #ff6f61; }
}


.games-section {
    padding: 30px 10px;
    text-align: center;
}

.games-section h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}

.games-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.game-card {
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    max-width: 200px;
    text-align: center;
    animation: slideUp 1s ease-in-out;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card h3 {
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
}

.game-card p {
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
}

.game-card:hover,
.game-card:focus {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.game-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
}


.contact-section {
    padding: 30px 10px;
    text-align: center;
}

.contact-section h2 {
    font-size: 1.5rem;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}

.email {
    font-size: 1.5rem;
    color: #fff;
    animation: slideUp 1s ease-in-out;
    font-family: 'Arial', sans-serif;
}

.email a {
    color: #4a90e2;
    text-decoration: none;
}

.email a:hover,
.email a:focus {
    text-decoration: underline;
}


.news-section {
    padding: 30px 10px;
    text-align: center;
    background-color: #000;
}

.news-section h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.news-card {
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 10px;
    text-align: left;
    animation: slideUp 1s ease-in-out;
}

.news-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}

.news-date {
    font-size: 1.1rem;
    color: #4a90e2;
    margin-bottom: 10px;
}

.news-card p {
    font-size: 1.1rem;
    line-height: 1.5;
}


footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
    padding: 0px 10px;
    border-top: 2px solid #eb1c24;
    position: relative;
}

.footer-text {
    font-family: 'Press Start 2P', 'Courier New', monospace;
    font-size: 0.8rem;
    color: #fff;
    margin: 0;
    text-align: center;
    flex: 0;
}

.bmc-container {
    flex-shrink: 0;
    transform: scale(0.65);
    transform-origin: left center;
}


@media (min-width: 769px) {
    .footer-text {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}


@media (max-width: 768px) {
    .footer-text {
        text-align: left
        position: static;
        transform: none;
        font-size: 0.7rem;
        flex: none;
    }

    .bmc-container {
        transform: scale(0.55);
		transform-origin: left center;
		margin-left: 2%;
    }
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


.game-page {
    text-align: center;
    padding: 50px 10px;
    background-color: #000;
}

.game-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.game-icon {
    border-radius: 25px;
    margin-bottom: 20px;
    animation: slideUp 1s ease-in-out;
}

.game-header h1 {
    font-family: 'Press Start 2P', 'Courier New', monospace;
    margin: 0;
}

.game-description {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #fff;
    animation: slideUp 1s ease-in-out;
}

.store-buttons {
    margin-top: 30px;
}

.store-buttons h2 {
    font-family: 'Press Start 2P', 'Courier New', monospace;
    margin-bottom: 20px;
}

.buttons-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-button {
    display: inline-block;
	transform: scale(1.55);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-button:hover,
.store-button:focus {
    transform: scale(1.75);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}


@media (max-width: 768px) {
    .terminal-text {
        white-space: normal;
        animation: slideUp 1s ease-in-out;
        border-right: none;
    }

    .games-grid {
        gap: 10px;
    }

    .game-card {
        padding: 10px;
    }

    .games-section h2,
    .contact-section h2 {
        font-size: 1.5rem;
    }

    .email {
        font-size: 1.5rem;
    }

    .news-section h2 {
        font-size: 1.5rem;
    }

    .news-card {
        padding: 10px;
    }

    .news-card h3 {
        font-size: 1rem;
    }

    .news-date {
        font-size: 0.9rem;
    }

    .news-card p {
        font-size: 0.9rem;
    }

    .store-button img {
        width: 120px;
        height: auto;
    }
}