/* ==========================================================================
   NetCheck — современный glass / aurora UI
   ========================================================================== */

:root {
    /* Базовая палитра */
    --bg-0:        #07080d;
    --bg-1:        #0c0f18;
    --surface:     rgba(20, 24, 38, 0.72);
    --surface-2:   rgba(28, 33, 51, 0.55);
    --surface-3:   rgba(36, 42, 64, 0.45);
    --border:      rgba(255, 255, 255, 0.08);
    --border-soft: rgba(255, 255, 255, 0.05);
    --border-hi:   rgba(255, 255, 255, 0.18);

    /* Текст */
    --text:        #eef1f8;
    --text-muted:  #9aa3b8;
    --text-dim:    #5a637a;

    /* Акценты */
    --accent:      #7c5cff;       /* фиолетовый */
    --accent-2:    #4cb8ff;       /* голубой */
    --accent-3:    #ff5cba;       /* розовый */
    --accent-soft: rgba(124, 92, 255, 0.16);

    /* Семантические */
    --success:     #34d399;
    --success-bg:  rgba(52, 211, 153, 0.12);
    --warning:     #fbbf24;
    --warning-bg:  rgba(251, 191, 36, 0.12);
    --danger:      #fb7185;
    --danger-bg:   rgba(251, 113, 133, 0.12);

    /* Геометрия */
    --radius-lg:   20px;
    --radius:      14px;
    --radius-sm:   10px;

    --shadow-lg:   0 24px 60px -20px rgba(0, 0, 0, 0.6),
                   0 8px 24px -8px rgba(0, 0, 0, 0.4);
    --shadow:      0 12px 32px -12px rgba(0, 0, 0, 0.5);
    --glow:        0 0 0 1px rgba(124, 92, 255, 0.4),
                   0 0 32px rgba(124, 92, 255, 0.25);

    --container-w: 1180px;
    --gradient-primary: linear-gradient(135deg, #7c5cff 0%, #4cb8ff 100%);
    --gradient-accent:  linear-gradient(135deg, #ff5cba 0%, #7c5cff 50%, #4cb8ff 100%);
}

/* ==========================================================================
   Reset & базовая типографика
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg-0);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Aurora-фон через ::before — крупные размытые градиентные blob'ы */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(800px 600px at 12% 8%,  rgba(124, 92, 255, 0.28), transparent 60%),
        radial-gradient(700px 500px at 92% 18%, rgba(76, 184, 255, 0.22), transparent 60%),
        radial-gradient(900px 600px at 50% 100%, rgba(255, 92, 186, 0.18), transparent 60%),
        linear-gradient(180deg, var(--bg-0), var(--bg-1));
    pointer-events: none;
}

/* Лёгкая «зернистость» поверх — снимает банды у градиента */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: var(--accent-2); text-decoration: none; transition: color 0.2s; }
a:hover { color: #8fd1ff; }

code, pre, .mono {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

code {
    background: var(--surface-3);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.88em;
    color: var(--accent-2);
    border: 1px solid var(--border-soft);
}

::selection { background: var(--accent-soft); color: var(--text); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.15); background-clip: padding-box; }

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Topbar
   ========================================================================== */

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 8, 13, 0.6);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid var(--border-soft);
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
.brand__icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--gradient-primary);
    font-size: 1.1rem;
    box-shadow: 0 6px 20px -4px rgba(124, 92, 255, 0.5);
}
.topbar__nav { display: flex; gap: 28px; }
.topbar__nav a {
    color: var(--text-muted);
    font-size: 0.93rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}
.topbar__nav a:hover { color: var(--text); }
.topbar__nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -22px;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s;
    border-radius: 2px;
}
.topbar__nav a:hover::after { transform: scaleX(1); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    padding: 96px 0 72px;
    text-align: center;
    position: relative;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.83rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.hero__badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

.hero__title {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.05;
    letter-spacing: -0.035em;
}
.hero__title-accent {
    background: var(--gradient-accent);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 8s ease infinite;
}
@keyframes gradient-shift {
    0%, 100% { background-position: 0% center; }
    50%      { background-position: 100% center; }
}

.hero__subtitle {
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 44px;
    font-size: 1.1rem;
    line-height: 1.6;
}
.hero__subtitle b { color: var(--text); font-weight: 600; }

/* ==========================================================================
   Форма проверки
   ========================================================================== */

.check-form { max-width: 720px; margin: 0 auto; }

.check-form__field {
    display: flex;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.check-form__field:hover {
    border-color: var(--border-hi);
}
.check-form__field:focus-within {
    border-color: rgba(124, 92, 255, 0.5);
    box-shadow: var(--glow), var(--shadow-lg);
}

.check-form__input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--text);
    padding: 14px 16px;
    font-size: 1.02rem;
    font-family: inherit;
    min-width: 0;
}
.check-form__input::placeholder { color: var(--text-dim); }

.check-form__btn {
    appearance: none;
    border: 0;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0 28px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.1s, box-shadow 0.2s, filter 0.2s;
    min-width: 144px;
    justify-content: center;
    height: 48px;
    box-shadow: 0 8px 24px -8px rgba(124, 92, 255, 0.6);
    position: relative;
    overflow: hidden;
}
.check-form__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.2s;
}
.check-form__btn:hover::before { opacity: 1; }
.check-form__btn:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -8px rgba(124, 92, 255, 0.7); }
.check-form__btn:active { transform: translateY(0); }
.check-form__btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.check-form__btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
.check-form__btn[data-loading="true"] .check-form__btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.check-form__hint {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 16px;
    text-align: center;
}
.check-form__hint code {
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.check-form__hint code:hover { background: var(--accent-soft); color: var(--text); }

.check-form__error {
    background: var(--danger-bg);
    border: 1px solid rgba(251, 113, 133, 0.3);
    color: #fecdd3;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    font-size: 0.93rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   Results
   ========================================================================== */

.results {
    padding: 32px 24px 64px;
    animation: fade-in-up 0.5s ease;
}
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.results__header { margin-bottom: 28px; }
.results__title {
    font-size: 1.7rem;
    margin: 0 0 8px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.results__title #results-host {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    word-break: break-all;
}
.results__meta { color: var(--text-muted); font-size: 0.93rem; }
.results__meta a { color: var(--text-muted); border-bottom: 1px dashed var(--text-dim); }
.results__meta a:hover { color: var(--text); border-bottom-color: var(--text-muted); }

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hi), transparent);
}
.card__header { margin-bottom: 22px; }
.card__title {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.card__subtitle { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
    .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Locations
   ========================================================================== */

.locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.location {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 18px;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.location::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: transparent;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    transition: background 0.3s;
    pointer-events: none;
}
.location:hover { transform: translateY(-2px); }
.location[data-state="ok"]   { background: linear-gradient(135deg, rgba(52, 211, 153, 0.07), var(--surface-2)); }
.location[data-state="ok"]::before   { background: linear-gradient(135deg, rgba(52, 211, 153, 0.4), transparent 60%); }
.location[data-state="fail"] { background: linear-gradient(135deg, rgba(251, 113, 133, 0.07), var(--surface-2)); }
.location[data-state="fail"]::before { background: linear-gradient(135deg, rgba(251, 113, 133, 0.4), transparent 60%); }

.location__flag {
    font-size: 2rem;
    line-height: 1;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--surface-3);
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    flex-shrink: 0;
}
.location__body { flex: 1; min-width: 0; }
.location__country {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.97rem;
    letter-spacing: -0.005em;
}
.location__details {
    color: var(--text-muted);
    font-size: 0.84rem;
    margin-top: 10px;
    line-height: 1.6;
    word-break: break-all;
    padding-top: 10px;
    border-top: 1px dashed var(--border-soft);
}
.location__details b { color: var(--text); font-weight: 500; }

/* ==========================================================================
   Status pills
   ========================================================================== */

.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.83rem;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: -0.005em;
}
.status::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}
.status--ok      { background: var(--success-bg); color: var(--success); }
.status--fail    { background: var(--danger-bg);  color: var(--danger);  }
.status--warning { background: var(--warning-bg); color: var(--warning); }
.status--pending {
    background: rgba(124, 92, 255, 0.12);
    color: #b5a4ff;
}
.status--pending::before {
    animation: status-pulse 1.4s ease-in-out infinite;
    box-shadow: 0 0 0 0 currentColor;
}
@keyframes status-pulse {
    0%, 100% { opacity: 1;   transform: scale(1);   }
    50%      { opacity: 0.4; transform: scale(1.3); }
}

/* ==========================================================================
   IPs
   ========================================================================== */

.ips { display: flex; flex-direction: column; gap: 12px; }
.ip {
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 16px 18px;
    transition: border-color 0.2s, transform 0.2s;
}
.ip:hover {
    border-color: var(--border-hi);
    transform: translateX(2px);
}
.ip__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.ip__addr {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 1.02rem;
    color: var(--accent-2);
    font-weight: 600;
    word-break: break-all;
    letter-spacing: -0.01em;
}
.ip__version {
    font-size: 0.7rem;
    background: var(--surface-3);
    color: var(--text-muted);
    padding: 2px 9px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-left: 8px;
}
.ip__provider {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(76, 184, 255, 0.12));
    color: #c4b5fd;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid rgba(124, 92, 255, 0.25);
}
.ip__provider::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.ip__meta {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 5px 16px;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px dashed var(--border-soft);
}
.ip__meta dt { color: var(--text-dim); font-weight: 500; }
.ip__meta dd { margin: 0; color: var(--text); word-break: break-word; }

/* ==========================================================================
   WHOIS
   ========================================================================== */

.whois {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 8px 18px;
    font-size: 0.93rem;
}
.whois dt {
    color: var(--text-dim);
    font-weight: 500;
    padding-top: 1px;
}
.whois dd {
    margin: 0;
    color: var(--text);
    word-break: break-word;
}
.whois dd ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.whois dd ul li {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.85rem;
    color: var(--accent-2);
    background: var(--surface-3);
    padding: 3px 9px;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
    border: 1px solid var(--border-soft);
}
.whois__raw {
    margin-top: 18px;
    border-top: 1px solid var(--border-soft);
    padding-top: 16px;
}
.whois__raw summary {
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.9rem;
    user-select: none;
    transition: color 0.2s;
    font-weight: 500;
}
.whois__raw summary:hover { color: var(--text); }
.whois__raw pre {
    background: var(--bg-0);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
    overflow: auto;
    max-height: 380px;
    margin-top: 12px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.55;
}

/* Placeholder & error blocks */
.placeholder {
    color: var(--text-dim);
    font-size: 0.92rem;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.placeholder::before {
    content: '';
    width: 14px; height: 14px;
    border: 2px solid var(--text-dim);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.error-block {
    background: var(--danger-bg);
    border: 1px solid rgba(251, 113, 133, 0.25);
    color: #fecdd3;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.error-block::before {
    content: '!';
    flex-shrink: 0;
    width: 18px; height: 18px;
    background: rgba(251, 113, 133, 0.25);
    color: var(--danger);
    border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 0.78rem;
}

/* ==========================================================================
   Info sections
   ========================================================================== */

.info { padding: 80px 24px; }
.info__title {
    font-size: 2rem;
    margin: 0 0 12px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.025em;
}
.info__subtitle {
    color: var(--text-muted);
    text-align: center;
    margin: 0 auto 40px;
    max-width: 560px;
    font-size: 1rem;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: left;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
}
.info-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hi), transparent);
}
.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hi);
}
.info-card__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-soft), rgba(76, 184, 255, 0.1));
    border: 1px solid var(--border-hi);
    font-size: 1.6rem;
    margin-bottom: 18px;
}
.info-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.info-card p { margin: 0; color: var(--text-muted); font-size: 0.93rem; line-height: 1.6; }

.about {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    color: var(--text-muted);
    line-height: 1.75;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}
.about::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0.6;
}
.about p { margin: 0 0 14px; }
.about p:last-child { margin: 0; }
.about b { color: var(--text); font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    border-top: 1px solid var(--border-soft);
    padding: 32px 0;
    margin-top: 40px;
    color: var(--text-dim);
    font-size: 0.88rem;
    background: rgba(7, 8, 13, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.footer__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--text); }

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 720px) {
    .hero { padding: 56px 0 40px; }
    .hero__subtitle { font-size: 1rem; }
    .check-form__field { flex-direction: column; padding: 10px; }
    .check-form__btn { width: 100%; padding: 14px; height: auto; }
    .topbar__nav { display: none; }
    .results { padding: 16px 16px 40px; }
    .results__title { font-size: 1.35rem; }
    .info { padding: 56px 16px; }
    .info__title { font-size: 1.6rem; }
    .card, .info-card, .about { padding: 22px; }
    .about { padding: 22px; }
}

@media (max-width: 420px) {
    .container { padding: 0 16px; }
    .location { padding: 14px; }
    .location__flag { width: 40px; height: 40px; font-size: 1.6rem; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
