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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.language-switcher {
    position: fixed;
    top: 1rem;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 5px;
    background: white;
    padding: 6px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    font-size: 0.85rem;
}

.lang-btn:hover {
    background: #667eea;
}

.lang-btn.active {
    background: #667eea;
    box-shadow: 0 0 0 2px rgba(118, 75, 162, 0.3);
}

header {
    background: linear-gradient(135deg, #dadada 0%, #f3f3f3 100%);
    color: #2c3e50;
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

.gpm-logo {
    position: absolute;
    top: 15px;
    left: 20px;
    height: 60px;
    width: auto;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

nav {
    background: #2c3e50;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #667eea;
}

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

section {
    margin: 2rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    margin-top: 1rem;
}

.cta-button:hover {
    background: #2c3e50;
}

.email-link {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

.email-link:hover {
    text-decoration: underline;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.gallery {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    flex: 0 1 45%;
    max-width: 500px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item p {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}


/* Download Page Styles */

.download-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.download-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.download-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.download-table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: bold;
    border: none;
}

.download-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.download-table tbody tr:hover {
    background-color: #f5f5f5;
    transition: background-color 0.3s;
}

.download-table tbody tr:last-child td {
    border-bottom: none;
}

.version-cell {
    font-weight: bold;
    color: #667eea;
    font-size: 1.1rem;
}

.changelog-cell {
    color: #555;
}

.download-btn {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.download-btn:hover {
    background: #764ba2;
}

.download-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.version-info {
    background: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.version-info h3 {
    color: #667eea;
    margin-top: 0;
}

@media (max-width: 768px) {
    .download-table {
        font-size: 0.9rem;
    }
    .download-table th,
    .download-table td {
        padding: 1rem;
    }
    .download-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

.update-images {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.update-screenshot {
    max-width: 45%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .update-screenshot {
        max-width: 100%;
    }
}