@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #111827;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1100px;
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 24px 32px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.15);
}

/* Header */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

h1 {
    font-size: 2.6rem;
    line-height: 1.1;
    background: linear-gradient(90deg, #f97316, #ec4899);
    -webkit-background-clip: text;
    color: transparent;
}

.subtitle {
    color: #6b7280;
    font-size: 0.95rem;
}

.version-switch {
    flex-shrink: 0;
}

.version-switch .btn {
    text-align: center;
}

.small {
    font-size: 0.8em;
    opacity: 0.85;
}

/* Common card style */

.card {
    background: #f9fafb;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
}

.card h2 {
    margin-bottom: 8px;
    font-size: 1.45rem;
    color: #111827;
}

.card p {
    color: #4b5563;
    font-size: 0.98rem;
}

/* Projects */

.projects {
    margin-bottom: 24px;
}

.projects h2 {
    font-size: 1.45rem;
    margin-bottom: 12px;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.project-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 16px 18px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #111827;
}

.project-card p {
    font-size: 0.95rem;
    color: #4b5563;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    background: linear-gradient(90deg, #f97316, #ec4899);
    color: #ffffff;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.4);
    opacity: 0.95;
}

.btn-ghost {
    background: #f9fafb;
    color: #111827;
    border: 1px solid #e5e7eb;
    box-shadow: none;
}

.btn-ghost:hover {
    background: #e5e7eb;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.btn-accent {
    background: linear-gradient(120deg, #f97316, #ec4899);
}

/* Donate */

.donate h2 {
    margin-bottom: 6px;
}

.donate-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 4px;
}

.copy-success {
    margin-top: 6px;
    font-size: 0.85rem;
    color: #059669;
    display: none;
}

/* Contacts */

.contacts {
    margin-top: 10px;
}

.contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
}

.contact-item {
    flex: 1 1 160px;
    min-width: 150px;
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.contact-item i {
    font-size: 1.4rem;
    color: #6b7280;
    margin-bottom: 6px;
}

.contact-item p {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #4b5563;
}

/* VERIDIAN screenshots */

.shot-img {
    width: 100%;
    border-radius: 12px;
    margin-top: 10px;
    display: block;
    object-fit: cover;
}

/* Responsive */

@media (max-width: 900px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .version-switch {
        align-self: stretch;
    }

    .version-switch .btn {
        width: 100%;
    }

    .project-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body {
        padding: 12px;
    }

    .container {
        padding: 18px 14px 24px;
        border-radius: 18px;
    }

    h1 {
        font-size: 2.1rem;
    }

    .card {
        padding: 14px;
    }

    .contact-list {
        flex-direction: column;
    }
}