/* Core Layout Reset */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0a0f1d; /* Deep premium dark blue */
    color: #e2e8f0;
    line-height: 1.6;
}

/* Header & Logo Integration */
header {
    background-color: #111827;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #1e293b;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.studio-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid #0085ff;
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5rem;
}

nav ul li a {
    color: #94a3b8;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: transform 0.2s, background-color 0.2s, color 0.2s;
}

nav ul li a:hover {
    transform: translateY(-2px);
    background-color: #c8ff00; /* Keeping your signature pop color */
    color: #0f172a;
}

/* Section Styling */
section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    background-color: #111827; /* Dark cards instead of blinding white */
    border-radius: 12px;
    border: 1px solid #1e293b;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

section h2 {
    margin-top: 0;
    font-size: 2rem;
    color: #fff;
    border-bottom: 2px solid #1e293b;
    padding-bottom: 0.5rem;
}

/* Social Media Section */
.social-media {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-button {
    display: inline-block;
    background-color: #1e293b;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #334155;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.social-button.bsky:hover {
    background-color: #0085ff; /* Bluesky Brand Blue */
    border-color: #0085ff;
}

.social-button.fb:hover {
    background-color: #3b5998;
    border-color: #3b5998;
}

.social-button.itch:hover {
    background-color: #ff000f;
    border-color: #ff000f;
}

/* Games Grid & Showcases */
.game-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.game-card {
    background-color: #1e293b;
    border: 1px solid #334155;
    padding: 2rem;
    border-radius: 8px;
    box-sizing: border-box;
}

.central-feature {
    background: linear-gradient(135deg, #1e293b 0%, #3b0712 100%); /* Subtle volcanic dark gradient for Lava Doors */
    border: 1px solid #7f1d1d;
    text-align: center;
}

.central-feature h3 {
    font-size: 2.2rem;
    color: #f97316; /* Volcanic orange */
    margin: 0 0 0.5rem 0;
}

.game-tagline {
    font-style: italic;
    color: #cbd5e1;
    font-size: 1.1rem;
}

/* Responsive Responsive iFrames */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #334155;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Cleaned Up Downloads Section */
.download-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1e293b;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #334155;
    transition: background-color 0.2s, transform 0.2s;
}

.download-card:hover {
    background-color: #273549;
    transform: translateX(4px);
}

.primary-download {
    background-color: #271216;
    border: 1px solid #991b1b;
}

.primary-download:hover {
    background-color: #3b141a;
}

.primary-download .game-title {
    color: #f97316;
    font-weight: bold;
}

.game-title {
    color: #fff;
    font-size: 1.1rem;
}

.download-btn {
    background-color: #0085ff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.primary-download .download-btn {
    background-color: #ea580c;
}

/* Footer styling */
footer {
    background-color: #111827;
    color: #64748b;
    text-align: center;
    padding: 1.5rem;
    border-top: 2px solid #1e293b;
    margin-top: 4rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    .download-card {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}