/* General body styling */
body {
    margin: 0;
    padding: 0;
    font-family: 'Quadrat Grotesk New W03 Regular', sans-serif;
    background-color: #1e1e1e;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Flash-style background animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('src/gif.gif');
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.7; /* Dim the background */
    z-index: -1;
}

/* Header styles */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border-bottom: 2px solid #333;
}

.header-buttons {
    display: flex;
    gap: 20px;
}

.header-button {
    background: linear-gradient(145deg, #303030, #1a1a1a);
    color: #fff;
    border: 1px solid #4d4d4d;
    border-radius: 5px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.header-button:hover {
    background: #555555;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);
}

/* Main content styles */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.logo {
    width: 250px;
    margin-bottom: 20px;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.5));
}

.download-button {
    display: inline-block;
    background-color: #ffcc00;
    color: #000;
    padding: 20px 50px;
    font-size: 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
}

.download-button:hover {
    background-color: #ffd700;
    transform: translateY(-5px);
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.7);
}

/* Game News Section */
.news-section {
    padding: 50px 20px;
    background-color: rgba(0, 0, 0, 0.8);
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    text-align: center;
}

.news-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #ffcc00;
}

.news-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-item {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s;
}

.news-item:hover {
    transform: translateY(-10px);
}

.news-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ffcc00;
}

.news-item p {
    font-size: 16px;
}

/* Footer Styles */
.footer {
    background: #222;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 2px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.footer-links a {
    color: #ffcc00;
    margin-right: 10px;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-media {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .news-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-bottom: 10px;
    }
}