:root {
    --bg-primary: linear-gradient(135deg,
            #651fff 15%,
            #2979ff 30%,
            #00b8d4 50%,
            #00e676 70%,
            #76ff03 90%);
    --text-primary: #222;
    --text-secondary: #111;
    --text-muted: #666;
    --button-bg: #2979ff;
    --button-hover: #5393ff;
    --button-subtle-text: #000;
    --button-subtle-bg: rgba(255, 255, 255, 0.8);
    --button-subtle-hover: rgba(255, 255, 255, 0.4);
    --container-bg: rgba(255, 255, 255, 0.6);
    --spacing-xs: 0.5rem;
    --spacing-s: 1rem;
    --spacing-m: 1.5rem;
    --spacing-l: 2rem;
    --spacing-xl: 3rem;
    --border-radius: 24px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: linear-gradient(135deg,
                #2c008f 15%,
                #003794 30%,
                #005c6a 50%,
                #00733b 70%,
                #3a8100 90%);
        --text-primary: #e0e0e0;
        --text-secondary: #fff;
        --text-muted: #b0b0b0;
        --button-subtle-text: #fff;
        --button-subtle-bg: rgba(0, 0, 0, 0.8);
        --button-subtle-hover: rgba(0, 0, 0, 0.4);
        --container-bg: rgba(0, 0, 0, 0.6);
    }
}

@font-face {
    font-family: "Comfortaa";
    src: url("fonts/Comfortaa-VariableFont_wght.ttf") format("truetype");
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: var(--spacing-l);
    line-height: 1.6;
    background: var(--bg-primary);
    background-attachment: fixed;
    background-size: fill;
    background-position: center;
    color: var(--text-primary);
    text-align: center;
}

h1,
h2,
h3 {
    color: var(--text-secondary);
    margin: 0;
}

h2 {
    padding-bottom: var(--spacing-m);
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin: var(--spacing-xs) 0;
}

a {
    color: var(--text-secondary);
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1000px;
    margin: 0 auto var(--spacing-l);
    padding: var(--spacing-l);
    background: var(--container-bg);
    border-radius: var(--border-radius);
    text-align: center;
}

.container-logo {
    max-width: 200px;
    margin: 0 auto var(--spacing-l);
    padding: var(--spacing-xs);
    background: var(--container-bg);
    border-radius: var(--border-radius);
    text-align: center;
}

header {
    margin: 0;
    padding: 0;
}

footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

footer p {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0;
    padding: 0;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-s);
}

.button {
    background: var(--button-bg);
    color: white;
    padding: var(--spacing-s) var(--spacing-l);
    border-radius: var(--border-radius);
    text-decoration: none;
}

.button:hover {
    background: var(--button-hover);
    text-decoration: none;
}

.button-subtle {
    background: var(--button-subtle-bg);
    color: var(--button-subtle-text);
    padding: var(--spacing-xs) var(--spacing-m);
    border-radius: var(--border-radius);
    text-decoration: none;
}

.button-subtle:hover {
    background: var(--button-subtle-hover);
    text-decoration: none;
}

.button-store-badge {
    height: 50px;
    width: auto;
    object-fit: contain;
}

table {
    margin: 0 auto;
    border-collapse: collapse;
    width: 100%;
    max-width: 400px;
    border-radius: var(--border-radius);
    border: none;
}

th {
    background: var(--container-bg);
    font-weight: bold;
    padding: var(--spacing-s);
    text-align: center;
    border: none;
}

td {
    padding: var(--spacing-xs);
    text-align: center;
    border: none;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-m);
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    background: var(--container-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: var(--spacing-l);
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
}

.logo {
    border-radius: var(--border-radius);
    display: block;
}