/* Dune Legacy Website Styles */

:root {
    --primary: #d4af37;      /* Gold */
    --secondary: #8b4513;    /* Saddle Brown */
    --dark: #1a1a1a;
    --darker: #0d0d0d;
    --light: #f5f5f5;
    --gray: #666;
    --accent: #ff6b35;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--light);
    background: var(--dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.center {
    text-align: center;
}

/* Header */
header {
    background: var(--darker);
    border-bottom: 3px solid var(--primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.logo-text h1 {
    font-size: 1.8em;
    color: var(--primary);
    margin: 0;
}

.logo-text h1 span {
    color: var(--light);
}

.logo-text .tagline {
    color: var(--gray);
    font-size: 0.85em;
    margin: 0;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(135deg, rgba(139, 69, 19, 0.9) 0%, rgba(26, 26, 26, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="sand" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="%231a1a1a"/><rect width="1200" height="600" fill="url(%23sand)"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--primary);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: var(--light);
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    line-height: 1.8;
}

.version-info {
    margin-top: 25px;
    font-size: 0.95em;
    color: var(--primary);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.button.primary {
    background: var(--primary);
    color: var(--darker);
}

.button.primary:hover {
    background: #f0c040;
    transform: translateY(-2px);
}

.button.secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.button.secondary:hover {
    background: var(--primary);
    color: var(--darker);
}

.button-small {
    display: inline-block;
    padding: 8px 15px;
    background: #333;
    color: var(--light);
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.9em;
    margin: 5px;
    transition: background 0.3s;
}

.button-small:hover {
    background: #444;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section.alt {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary);
    text-align: center;
    font-weight: 700;
}

.section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.05em;
    color: rgba(245, 245, 245, 0.9);
    line-height: 1.7;
}

.section p.lead {
    font-size: 1.15em;
    line-height: 1.8;
    color: var(--light);
    font-weight: 300;
}

/* Highlights Grid */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.highlight-card:hover::before {
    opacity: 1;
}

.highlight-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.4);
}

.highlight-card .icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.highlight-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 600;
}

.highlight-card p {
    color: rgba(245, 245, 245, 0.8);
    font-size: 0.95em;
    line-height: 1.6;
}

/* Download Grid */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.download-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.5em;
}

.download-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.download-card .small-text {
    font-size: 0.85em;
    color: rgba(245, 245, 245, 0.6);
    margin: 10px 0 0 0;
}

.release-notes {
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 25px;
    margin-top: 40px;
    text-align: left;
}

.release-notes h3 {
    color: var(--primary);
    font-size: 1.4em;
    margin-bottom: 15px;
    text-align: center;
}

.release-notes ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto 20px;
}

.release-notes li {
    padding: 8px 0;
    color: rgba(245, 245, 245, 0.9);
}

.release-notes p {
    text-align: center;
    margin: 20px 0 0 0;
}

.release-notes a {
    color: var(--primary);
    text-decoration: none;
}

.release-notes a:hover {
    text-decoration: underline;
}

.note {
    background: rgba(255, 107, 53, 0.1);
    border-left: 4px solid var(--accent);
    padding: 15px;
    margin-top: 30px;
    border-radius: 5px;
}

/* Feature Highlight */
.feature-highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(139, 69, 19, 0.1) 100%);
    border: 3px solid var(--primary);
    border-radius: 15px;
    padding: 30px;
    margin: 40px auto;
    max-width: 700px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4); }
}

.feature-highlight h3 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-callout {
    font-size: 1.3em;
    color: var(--light);
    margin: 0;
    line-height: 1.6;
}

.feature-callout strong {
    color: var(--primary);
    font-size: 1.2em;
}

/* Epic Battle Gallery */
.epic-battle-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.epic-battle-gallery .screenshot {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.epic-battle-gallery .screenshot:hover {
    border-color: rgba(212, 175, 55, 0.6);
}

/* Feature List */
.feature-list {
    max-width: 800px;
    margin: 40px auto 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.feature-list li {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    border-left: 3px solid var(--primary);
}

.feature-list li strong {
    color: var(--primary);
}

/* Multiplayer Info */
.multiplayer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.multiplayer-info div {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.multiplayer-info h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Community Links */
.community-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Footer */
footer {
    background: var(--darker);
    border-top: 3px solid var(--primary);
    padding: 40px 0;
    text-align: center;
    color: var(--gray);
}

footer p {
    margin: 10px 0;
}

footer a {
    color: var(--primary);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Screenshot Gallery */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.screenshot {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.screenshot:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.5);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot:hover img {
    transform: scale(1.05);
}

.screenshot p {
    padding: 15px;
    text-align: center;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95em;
    margin: 0;
    background: rgba(212, 175, 55, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    nav {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h2 {
        font-size: 2em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .section h2 {
        font-size: 1.8em;
    }
    
    .highlights,
    .download-grid,
    .feature-list,
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }
    
    .logo-img {
        width: 48px;
        height: 48px;
    }
    
    .logo-text h1 {
        font-size: 1.5em;
    }
}

