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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

main {
    flex: 1;
    padding: 1rem;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 300px);
}

.page {
    max-width: 1360px;
    width: 100%;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    main {
        padding: 1rem 0.5rem;
        min-height: calc(100vh - 300px);
    }

    .page {
        padding: 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .page {
        padding: 1.5rem;
        font-size: 1rem;
    }
}