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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.browser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.browser-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.browser-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15),
        0 16px 28px rgba(0, 0, 0, 0.15);
}

.browser-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.browser-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.browser-title {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex: 1;
}

.browser-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.last-updated {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: #666;
    background: #f0f0f0;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    width: fit-content;
    font-weight: 500;
}

.browser-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.version-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.version-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.version-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.release-date {
    font-size: 0.9rem;
    color: #666;
}

.release-date span {
    font-weight: 600;
}

.release-notes-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s ease;
    margin-top: auto;
}

.release-notes-link:hover {
    background: #5568d3;
}

.external-icon {
    flex-shrink: 0;
}

.api-section {
    max-width: 600px;
    margin: 4rem auto 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.1);
}

.api-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.api-section p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.api-endpoint {
    background: #1e1e1e;
    color: #eaeaea;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    font-size: 0.875rem;
    overflow-x: auto;
    line-height: 1.6;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.api-endpoint code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #9cdcfe;
    background: none;
    padding: 0;
}

.api-endpoint .method {
    color: #4ec9b0;
    font-weight: 600;
}

.api-endpoint .url {
    color: #ce9178;
}

.api-endpoint .url:hover {
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding: 1.5rem 1rem;
    }

    header h1 {
        font-size: 2rem;
    }

    .browser-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .browser-card {
        padding: 1.5rem;
    }

    .version-number {
        font-size: 2rem;
    }
}