/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'RedzoneMediumReg', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: white;
    background-color: #333;
}

/* Header and Navigation */
header {
    background: #333;
    color: white;
    padding: 1rem 0 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-logo {
    height: 100px;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.email-link {
    color: #53bc3a;
    text-decoration: none;
    font-weight: 500;
}

/* Content Sections */
.content-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #53bc3a;
}

.content-section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: #444;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}

.service-card h3 {
    color: #53bc3a;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Contact Section */
#contact a {
    color: #53bc3a;
    text-decoration: none;
    font-weight: 500;
}

#contact a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #53bc3a;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: #45a030;
}

/* Page Headers */
.page-header {
    background: url('../images/PixelBanner.png') center/cover, #53bc3a;
    color: white;
    padding: 120px 2rem 60px;
    text-align: center;
    margin-top: 60px;
    position: relative;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* News Articles */
.news-article {
    background: #444;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.news-article h2 {
    color: #53bc3a;
    margin-bottom: 0.5rem;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-preview {
    background: #444;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* Games Grid */
.games-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.game-card-large {
    background: #444;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.game-placeholder {
    background: linear-gradient(135deg, #53bc3a 0%, #45a030 100%);
    height: 200px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 4rem;
}

.game-genre {
    color: #53bc3a;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.game-card .btn {
    margin-top: 1rem;
}

/* Contact Page */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
    margin-top: 2rem;
}

.contact-info, .contact-form {
    background: #444;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    text-align: center;
}

.contact-info h2, .contact-form h2 {
    color: #53bc3a;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.contact-form .email-link {
    display: inline-block;
    color: #53bc3a;
    text-decoration: none;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    transition: opacity 0.3s;
}

.contact-form .email-link:hover {
    opacity: 0.8;
}

.contact-form p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 1.5rem;
    color: #ccc;
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: white;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #555;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background: #222;
    color: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #53bc3a;
}

.success-message {
    background: #53bc3a;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    text-align: center;
}

.success-message p {
    margin: 0;
    font-weight: 500;
}

.form-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    background: #53bc3a;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.social-btn:hover {
    background: #45a030;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: #53bc3a;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s;
    font-weight: 500;
}

.social-link:hover {
    background: #45a030;
    transform: translateY(-2px);
}

/* Dev Log Styles */
.back-link {
    display: inline-block;
    color: #53bc3a;
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    transition: opacity 0.3s;
}

.back-link:hover {
    opacity: 0.7;
}

.devlog-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.devlog-card {
    background: #444;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.devlog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}

.devlog-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: #555;
}

.devlog-card-content {
    padding: 2rem;
}

.devlog-card h3 {
    color: #53bc3a;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.devlog-date {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.devlog-excerpt {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.devlog-post {
    background: #444;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    line-height: 1.8;
    margin-top: 2rem;
}

.devlog-post h3 {
    color: #53bc3a;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.devlog-post h3:first-child {
    margin-top: 0;
}

.devlog-post p {
    margin-bottom: 1.5rem;
}

.devlog-post ul {
    margin: 1rem 0 1.5rem 2rem;
}

.devlog-post li {
    margin-bottom: 0.5rem;
}

.devlog-post img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: block;
}

.devlog-post iframe {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.devlog-post pre {
    background: #222;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border-left: 4px solid #53bc3a;
}

.devlog-post code {
    color: #53bc3a;
    font-family: 'Courier New', monospace;
}

.devlog-post em {
    color: #aaa;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-content h2, .page-header h1 {
        font-size: 2rem;
    }

    .hero-content p, .page-header p {
        font-size: 1.2rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
    }
}
