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

body {
    background:
        /* Пиксельная сетка (как Minecraft) */
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,0.015) 1px, transparent 1px),

        /* Мягкие зеленые зоны (как трава) */
        radial-gradient(circle at 20% 30%, rgba(126,231,135,0.08), transparent 40%),

        /* Синие зоны (как небо/магия) */
        radial-gradient(circle at 80% 20%, rgba(88,166,255,0.06), transparent 35%),

        /* Основной фон */
        linear-gradient(180deg, #070b12 0%, #0b1018 100%);

    background-size: 40px 40px, 40px 40px, auto, auto, auto;
    color: #f2f2f2;
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: #7ee787;
    text-decoration: none;
}

a:hover {
    opacity: 0.85;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */

.site-header {
    background: linear-gradient(90deg, #151924, #1c2230);
    border-bottom: 1px solid #2b3244;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: #7ee787;
}

.subtitle {
    color: #9aa4b2;
    font-size: 13px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.nav > a {
    color: #fff;
    font-weight: 600;
}

/* MAIN */

.main-content {
    min-height: calc(100vh - 140px);
}

/* HERO */

.hero {
    background: none;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10,12,18,0.75);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 44px;
    margin-bottom: 16px;
}

.hero p {
    font-size: 18px;
    color: #b7c0cd;
    margin-bottom: 24px;
}

/* BUTTONS */

.btn {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #7ee787, #4cd964);
    color: #0f1117;
    box-shadow: 0 8px 20px rgba(126,231,135,0.25);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid #2f394d;
}

.btn:hover {
    transform: translateY(-2px);
}

/* GRID */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 25px 0 50px;
}

/* CARD */

.card {
    background: linear-gradient(145deg, #171b25, #131722);
    border: 1px solid #2a3142;
    border-radius: 18px;
    padding: 22px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.35),
        inset 0 0 0 1px rgba(255,255,255,0.02);
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(126,231,135,0.12), transparent 40%);
    opacity: 0;
    transition: 0.3s;
}

.card:hover::after {
    opacity: 1;
}

.card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: #3a455c;
}

/* STATUS */

.server-status {
    margin-top: 14px;
    font-weight: 700;
}

.status-online {
    color: #7ee787;
    text-shadow: 0 0 8px rgba(126,231,135,0.5);
}

.status-offline {
    color: #ff7b72;
}

/* SECTION */

.section-title {
    font-size: 30px;
    margin-bottom: 20px;
}

/* PANEL */

.panel {
    background: #171b25;
    border: 1px solid #2a3142;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 25px;
}

/* FORM */

.form-group {
    margin-bottom: 14px;
}

.input {
    width: 100%;
    padding: 12px 14px;
    background: #0f1117;
    border: 1px solid #2a3142;
    border-radius: 12px;
    color: #fff;
}

/* TABLE */

.table-wrap {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid #2a3142;
}

/* FOOTER */

.site-footer {
    border-top: 1px solid #2b3244;
    padding: 20px 0;
    color: #9aa4b2;
    background: #121620;
    margin-top: 30px;
}

/* USER MENU */

.user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.user-button {
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    color: #7ee787;
    padding: 6px 10px;
    border-radius: 8px;
    line-height: 1.2;
}

.user-button:hover {
    background: rgba(255,255,255,0.05);
}

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 190px;
    background: #171b25;
    border: 1px solid #2a3142;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    overflow: hidden;
    z-index: 9999;
}

.dropdown.show {
    display: block;
}

.dropdown a {
    display: block;
    padding: 12px 14px;
    color: #fff;
    white-space: nowrap;
}

.dropdown a:hover {
    background: #202838;
    opacity: 1;
}

/* MOBILE */

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }

    .header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        width: 100%;
    }
}

/* КНОПКА ИГРАТЬ */

.play-btn {
    background: linear-gradient(135deg, #7ee787, #4cd964);
    color: #0f1117;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 8px 20px rgba(126,231,135,0.18);
}

.play-btn:hover {
    transform: translateY(-1px);
    opacity: 1;
}

/* USER MENU */

.user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.user-button {
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    color: #7ee787;
    padding: 8px 12px;
    border-radius: 10px;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease;
}

.user-button:hover {
    background: rgba(255,255,255,0.05);
}

/* ОБЩИЙ DROPDOWN */

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    padding: 8px;
    background: rgba(23, 27, 37, 0.98);
    border: 1px solid #2a3142;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.38);
    backdrop-filter: blur(10px);
    z-index: 9999;
    transform: translateY(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown a {
    display: block;
    padding: 12px 14px;
    color: #fff;
    white-space: nowrap;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.dropdown a:hover {
    background: #202838;
    color: #7ee787;
    opacity: 1;
    transform: translateX(2px);
}

/* можно слегка выделить гостевое меню */
.dropdown-guest a:first-child {
    border: 1px solid rgba(126,231,135,0.12);
}

.dropdown-guest a:last-child {
    border: 1px solid rgba(88,166,255,0.10);
    margin-top: 4px;
}

/* BUY RESULT PAGE */

.purchase-result-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 32px;
}

.purchase-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 800;
}

.success-icon {
    background: rgba(126, 231, 135, 0.12);
    color: #7ee787;
    border: 1px solid rgba(126, 231, 135, 0.25);
}

.error-icon {
    background: rgba(255, 123, 114, 0.12);
    color: #ff7b72;
    border: 1px solid rgba(255, 123, 114, 0.25);
}

.purchase-message {
    font-size: 18px;
    margin-bottom: 24px;
}

.success-text {
    color: #cfe9d3;
}

.error-text {
    color: #ffd0cc;
}

.purchase-info {
    margin: 0 auto 28px;
    max-width: 480px;
    text-align: left;
    background: #10151e;
    border: 1px solid #2a3142;
    border-radius: 16px;
    overflow: hidden;
}

.purchase-info-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border-bottom: 1px solid #222a38;
}

.purchase-info-row:last-child {
    border-bottom: 0;
}

.purchase-info-row span {
    color: #9aa4b2;
}

.purchase-info-row strong {
    color: #fff;
    text-align: right;
}

.purchase-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.status-pending {
    color: #f7c948;
}

.currency {
    color: #7ee787;
    font-weight: 700;
    margin-left: 4px;
}

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

.shop-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-menu {
    position: relative;
}

.filter-button {
    background: #171b25;
    border: 1px solid #2a3142;
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    min-width: 210px;
    text-align: left;
    transition: 0.2s ease;
}

.filter-button:hover {
    border-color: #3a455c;
    background: #1b2230;
}

.filter-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 210px;
    background: #171b25;
    border: 1px solid #2a3142;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    overflow: hidden;
    z-index: 9999;
}

.filter-dropdown.show {
    display: block;
}

.filter-dropdown a {
    display: block;
    padding: 12px 14px;
    color: #fff;
    font-weight: 600;
}

.filter-dropdown a:hover {
    background: #202838;
    opacity: 1;
    color: #7ee787;
}

.shop-meta-line {
    display: flex;
    gap: 8px;
    margin: 10px 0 6px;
    font-size: 14px;
}

.shop-meta-label {
    color: #9aa4b2;
}

.shop-meta-value {
    color: #fff;
    font-weight: 700;
}

.buy-form {
    margin-top: 14px;
}

.buy-btn {
    width: 100%;
}

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

    .shop-filters {
        width: 100%;
    }

    .filter-menu {
        width: 100%;
    }

    .filter-button,
    .filter-dropdown {
        width: 100%;
        min-width: 100%;
    }
}

/* SHOP TOP SELECTORS */

.shop-hero {
    padding: 46px 0 22px;
    background:
        radial-gradient(circle at left bottom, rgba(122, 35, 255, 0.20), transparent 35%),
        radial-gradient(circle at center bottom, rgba(96, 32, 194, 0.22), transparent 32%),
        #080b12;
}

.shop-selectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.shop-selector-block {
    min-width: 0;
}

.shop-selector-title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.big-filter-menu {
    position: relative;
    max-width: 460px;
}

.big-filter-button {
    width: 100%;
    background: rgba(4, 7, 14, 0.95);
    border: 2px solid #6d39ff;
    color: #ffffff;
    padding: 16px 18px;
    border-radius: 22px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow:
        0 0 0 1px rgba(77, 235, 255, 0.08),
        0 0 18px rgba(109, 57, 255, 0.15);
    transition: 0.2s ease;
}

.big-filter-button:hover {
    border-color: #8a63ff;
    box-shadow:
        0 0 0 1px rgba(77, 235, 255, 0.10),
        0 0 24px rgba(109, 57, 255, 0.22);
}

.big-filter-arrow {
    color: #8d63ff;
    font-size: 18px;
    line-height: 1;
    margin-left: 12px;
}

.big-filter-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: 100%;
    max-width: 180px;
    max-height: 400px;
    overflow-y: auto;
    background: rgba(2, 4, 10, 0.98);
    border: 1px solid rgba(129, 95, 255, 0.55);
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.45);
    z-index: 9999;
}

.big-filter-dropdown.show {
    display: block;
}

.big-filter-dropdown a {
    display: block;
    padding: 14px 16px;
    color: #ffffff;
    font-weight: 600;
    transition: 0.18s ease;
}

.big-filter-dropdown a:hover {
    background: rgba(109, 57, 255, 0.16);
    color: #8dffb5;
    opacity: 1;
}

.shop-selected-line {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.shop-chip {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(109, 57, 255, 0.14);
    border: 1px solid rgba(109, 57, 255, 0.35);
    color: #e7defd;
    font-weight: 700;
    font-size: 13px;
}

.shop-empty-state {
    text-align: center;
    padding: 32px;
}

.shop-meta-line {
    display: flex;
    gap: 8px;
    margin: 10px 0 6px;
    font-size: 14px;
}

.shop-meta-label {
    color: #9aa4b2;
}

.shop-meta-value {
    color: #fff;
    font-weight: 700;
}

.buy-form {
    margin-top: 14px;
}

.buy-btn {
    width: 100%;
}

@media (max-width: 900px) {
    .shop-selectors {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .shop-selector-title {
        font-size: 28px;
    }

    .big-filter-menu {
        max-width: 100%;
    }

    .big-filter-dropdown {
        max-width: 100%;
        width: 100%;
    }
}
/* SHOP PAGE SELECTORS — DELIRIUMCRAFT STYLE */

.shop-page-top {
    padding: 34px 0 18px;
    background:
        radial-gradient(circle at left top, rgba(126, 231, 135, 0.08), transparent 28%),
        radial-gradient(circle at right top, rgba(88, 166, 255, 0.06), transparent 26%),
        linear-gradient(180deg, #0d1320 0%, #0a0f19 100%);
    border-bottom: 1px solid #1d2636;
}

.shop-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: start;
}

.shop-top-box {
    min-width: 0;
}

.shop-top-title {
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.shop-select-wrap {
    position: relative;
    max-width: 420px;
}

.shop-select-btn {
    width: 100%;
    background: #111827;
    border: 1px solid #2a3142;
    color: #ffffff;
    padding: 15px 18px;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.shop-select-btn:hover {
    border-color: #3a455c;
    background: #151c29;
}

.shop-select-btn:focus {
    outline: none;
    border-color: rgba(126, 231, 135, 0.45);
    box-shadow: 0 0 0 3px rgba(126, 231, 135, 0.08);
}

.shop-select-arrow {
    color: #7ee787;
    font-size: 18px;
    margin-left: 12px;
    line-height: 1;
}

.shop-select-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    max-width: 420px;
    max-height: 300px;
    overflow-y: auto;
    background: #171b25;
    border: 1px solid #2a3142;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    z-index: 9999;
    padding: 6px;
}

.shop-select-menu.show {
    display: block;
}

.shop-select-menu a {
    display: block;
    padding: 12px 14px;
    color: #ffffff;
    font-weight: 600;
    border-radius: 10px;
    transition: 0.18s ease;
}

.shop-select-menu a:hover {
    background: #202838;
    color: #7ee787;
    opacity: 1;
}

.shop-empty-block {
    text-align: center;
    padding: 34px;
}

.shop-meta-line {
    display: flex;
    gap: 8px;
    margin: 10px 0 6px;
    font-size: 14px;
}

.shop-meta-label {
    color: #9aa4b2;
}

.shop-meta-value {
    color: #fff;
    font-weight: 700;
}

.buy-form {
    margin-top: 14px;
}

.buy-btn {
    width: 100%;
}

@media (max-width: 900px) {
    .shop-top-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .shop-top-title {
        font-size: 26px;
    }

    .shop-select-wrap,
    .shop-select-menu {
        max-width: 100%;
    }
}

.product-desc {
    color: #b7c0cd;
    font-size: 14px;
    margin-bottom: 10px;
}

/* ИКОНКА i */
.info-icon {
    display: inline-block;
    margin-left: 6px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    background: rgba(126, 231, 135, 0.15);
    color: #7ee787;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
}

/* TOOLTIP */
.tooltip {
    display: none;
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #171b25;
    border: 1px solid #2a3142;
    padding: 10px 12px;
    border-radius: 10px;
    width: max-content;
    max-width: 220px;
    font-size: 13px;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    z-index: 9999;
    text-align: left;
}

/* стрелочка */
.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #171b25;
}

/* показ при наведении */
.info-icon:hover .tooltip {
    display: block;
}

/* SHOP CARD FINAL LAYOUT */

.shop-card {
    display: flex;
    flex-direction: column;
    min-height: 340px;
    padding: 18px;
}

/* Название */
.shop-item-title {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
}

/* Доп. возможности — ПРЯМО НАД ЦЕНОЙ */
.product-desc-center {
    text-align: center;
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
}

/* Цена */
.product-price-center {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.product-price-center .currency {
    font-size: 24px;
    vertical-align: middle;
}

/* Форма */
.buy-form {
    margin: 0;
}

/* Кнопка */
.buy-btn {
    width: 100%;
    margin: 0;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 50%;
    background: rgba(126, 231, 135, 0.15);
    color: #7ee787;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}

.tooltip {
    display: none;
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #171b25;
    border: 1px solid #2a3142;
    padding: 10px 12px;
    border-radius: 10px;
    width: max-content;
    max-width: 240px;
    font-size: 13px;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    z-index: 9999;
    text-align: left;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #171b25;
}

.info-icon:hover .tooltip {
    display: block;
}

/* Блок всего контента кроме названия */
.card-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* AUTH PAGE */

.auth-page {
    padding: 50px 0 70px;
    background:
        radial-gradient(circle at left top, rgba(126, 231, 135, 0.06), transparent 28%),
        radial-gradient(circle at right top, rgba(88, 166, 255, 0.05), transparent 24%);
}

.auth-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: stretch;
}

.auth-left,
.auth-right {
    min-width: 0;
}

.auth-left {
    background: linear-gradient(180deg, rgba(23, 27, 37, 0.9), rgba(14, 18, 28, 0.92));
    border: 1px solid #2a3142;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.22);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(126, 231, 135, 0.08);
    border: 1px solid rgba(126, 231, 135, 0.18);
    color: #7ee787;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.auth-title {
    font-size: 42px;
    line-height: 1.05;
    margin-bottom: 16px;
    color: #fff;
}

.auth-subtitle {
    color: #b7c0cd;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 520px;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-feature {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid #232b3a;
    color: #dce3ec;
    font-weight: 600;
}

.auth-panel {
    height: 100%;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 22px;
}

.auth-alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-weight: 600;
}

.auth-alert-error {
    background: rgba(255, 123, 114, 0.08);
    border: 1px solid rgba(255, 123, 114, 0.22);
    color: #ffb6b0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-label {
    display: block;
    margin-bottom: 8px;
    color: #cfd6df;
    font-size: 14px;
    font-weight: 700;
}

.auth-input {
    height: 54px;
    font-size: 16px;
    background: #0f141d;
    border: 1px solid #2a3142;
    color: #fff;
}

.auth-input:focus {
    outline: none;
    border-color: rgba(126, 231, 135, 0.45);
    box-shadow: 0 0 0 3px rgba(126, 231, 135, 0.08);
}

.auth-submit {
    width: 100%;
    height: 54px;
    margin-top: 8px;
    font-size: 16px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0;
    color: #7f8a99;
    font-size: 14px;
    font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #2a3142;
}

.auth-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-register-text {
    color: #b7c0cd;
    font-size: 14px;
}

.auth-register-btn {
    width: 100%;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 950px) {
    .auth-box {
        grid-template-columns: 1fr;
    }

    .auth-title {
        font-size: 34px;
    }

    .auth-left,
    .auth-panel {
        padding: 24px;
    }
}

/* DOWNLOAD STATUS PAGE */

.download-status-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 34px;
}

.download-status-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 800;
}

.download-status-text {
    font-size: 18px;
    color: #c8d1dc;
    margin-bottom: 24px;
}

.download-status-info {
    margin: 0 auto 28px;
    max-width: 560px;
    text-align: left;
    background: #10151e;
    border: 1px solid #2a3142;
    border-radius: 16px;
    overflow: hidden;
}

.download-status-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border-bottom: 1px solid #222a38;
}

.download-status-row:last-child {
    border-bottom: 0;
}

.download-status-row span {
    color: #9aa4b2;
}

.download-status-row strong {
    color: #fff;
    text-align: right;
    word-break: break-word;
}

.download-status-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-grid-single {
    grid-template-columns: 1fr;
}

.hero-content-centered {
    max-width: 760px;
}

/* TOPUP PAGE */

.topup-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 30px;
}

.topup-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(126, 231, 135, 0.08);
    border: 1px solid rgba(126, 231, 135, 0.18);
    color: #7ee787;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.topup-subtitle {
    color: #b7c0cd;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 620px;
}

.topup-user-info {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.topup-user-card {
    min-width: 220px;
    background: #171b25;
    border: 1px solid #2a3142;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.topup-user-label {
    display: block;
    color: #9aa4b2;
    font-size: 13px;
    margin-bottom: 8px;
}

.topup-user-card strong {
    color: #fff;
    font-size: 20px;
}

.topup-panel {
    border-radius: 24px;
    padding: 28px;
}

.topup-panel-title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
}

.topup-panel-subtitle {
    color: #b7c0cd;
    margin-bottom: 20px;
    line-height: 1.5;
}

.topup-quick-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.topup-quick-btn {
    background: #121926;
    border: 1px solid #2a3142;
    color: #fff;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.18s ease;
}

.topup-quick-btn:hover {
    border-color: #3a455c;
    background: #182131;
}

.topup-quick-btn.active {
    background: rgba(126, 231, 135, 0.10);
    border-color: rgba(126, 231, 135, 0.28);
    color: #7ee787;
}

.topup-label {
    display: block;
    margin-bottom: 8px;
    color: #cfd6df;
    font-size: 14px;
    font-weight: 700;
}

.topup-input-wrap {
    position: relative;
}

.topup-input {
    height: 56px;
    font-size: 18px;
    padding-right: 56px;
}

.topup-input-currency {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7ee787;
    font-weight: 800;
    font-size: 18px;
}

.topup-note {
    margin: 16px 0 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid #232b3a;
    color: #b7c0cd;
    line-height: 1.5;
}

.topup-submit {
    width: 100%;
    height: 56px;
    font-size: 16px;
}

.topup-info-panel {
    border-radius: 24px;
    padding: 28px;
}

.topup-steps-grid {
    padding-bottom: 0;
}

.topup-step-card {
    min-height: 150px;
}

.topup-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 14, 0.72);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
}

.topup-modal.show {
    display: flex;
}

.topup-modal-card {
    width: 100%;
    max-width: 460px;
    background: #171b25;
    border: 1px solid #2a3142;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.topup-modal-icon {
    font-size: 42px;
    margin-bottom: 14px;
}

.topup-modal-card h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #fff;
}

.topup-modal-card p {
    color: #c8d1dc;
    line-height: 1.6;
    margin-bottom: 20px;
}

@media (max-width: 950px) {
    .topup-hero {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .topup-quick-list {
        grid-template-columns: 1fr;
    }

    .topup-user-card {
        width: 100%;
    }
}

/* USER HEAD */

.user-button-with-head {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.user-head {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    image-rendering: pixelated;
    border: 1px solid rgba(126, 231, 135, 0.22);
}

/* CART */

.cart-link {
    position: relative;
    color: #fff;
    font-weight: 600;
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: #7ee787;
    color: #0f1117;
    font-size: 11px;
    font-weight: 800;
    margin-left: 6px;
}

.shop-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ANIMATIONS */

.card,
.panel,
.auth-panel,
.topup-panel,
.topup-user-card {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.card:hover,
.panel:hover {
    transform: translateY(-4px);
}

/* 3D CARD EFFECT */

.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}

/* BACKGROUND EFFECT */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 20%, rgba(126, 231, 135, 0.04), transparent 20%),
        radial-gradient(circle at 85% 10%, rgba(88, 166, 255, 0.04), transparent 18%),
        radial-gradient(circle at 50% 80%, rgba(126, 231, 135, 0.03), transparent 22%);
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

/* SHOP PRODUCT GRID FIX */

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.shop-product-card {
    display: flex;
    flex-direction: column;
    min-height: 340px;
    padding: 18px;
    border-radius: 18px;
    background: #171b25;
    border: 1px solid #2a3142;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.shop-item-title {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
}

.card-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-desc-center {
    text-align: center;
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    color: #b7c0cd;
}

.product-price-center {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.product-price-center .currency {
    font-size: 24px;
    vertical-align: middle;
}

.shop-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.buy-form {
    margin: 0;
    width: 100%;
}

.buy-btn {
    width: 100%;
    margin: 0;
    height: 44px;
}

.shop-card-actions .btn-secondary {
    background: #202838;
    color: #fff;
    border: 1px solid #2f394d;
}

.shop-card-actions .btn-secondary:hover {
    transform: translateY(-1px);
}

@media (max-width: 700px) {
    .shop-products-grid {
        grid-template-columns: 1fr;
    }
}

/* FLASH TOAST */

.flash-toast {
    position: fixed;
    top: 90px;
    right: 24px;
    min-width: 260px;
    max-width: 360px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(23, 27, 37, 0.98);
    border: 1px solid rgba(126, 231, 135, 0.28);
    color: #d8f5dc;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(0,0,0,0.28);
    z-index: 99999;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.flash-toast-error {
    border-color: rgba(255,123,114,0.28);
    color: #ffd0cc;
}

.flash-toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 700px) {
    .flash-toast {
        right: 14px;
        left: 14px;
        max-width: none;
        min-width: 0;
    }
}

.cart-count {
    background: #22c55e;
    color: #000;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 5px;
}

.cart-count {
    background: #22c55e;
    color: #000;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 5px;
}

body::before {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(34,197,94,0.08), transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(59,130,246,0.08), transparent 40%);
    z-index: -1;
}

.product-card {
    transform-style: preserve-3d;
    transition: 0.3s;
}

.product-card:hover {
    transform: rotateX(5deg) rotateY(-5deg) scale(1.03);
}

/* CART PAGE */

.cart-panel {
    padding: 22px;
}

.cart-table-wrap {
    overflow-x: auto;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.cart-table th,
.cart-table td {
    padding: 18px 14px;
    border-bottom: 1px solid #2a3142;
    vertical-align: middle;
}

.cart-table th {
    color: #e6edf5;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
}

.cart-table td {
    text-align: center;
}

.cart-col-name {
    text-align: left;
    width: 28%;
}

.cart-col-qty {
    width: 26%;
}

.cart-col-price {
    width: 16%;
}

.cart-col-sum {
    width: 16%;
}

.cart-col-actions {
    width: 14%;
}

.cart-product-name {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

.cart-price-value {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.cart-qty-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cart-qty-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #2f394d;
    background: #202838;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
}

.cart-qty-btn:hover {
    border-color: #3a455c;
}

.cart-qty-input {
    width: 64px;
    height: 34px;
    text-align: center;
    background: #0f141d;
    border: 1px solid #2a3142;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
}

.cart-qty-save {
    height: 34px;
    padding: 0 12px;
    border: 1px solid #2f394d;
    background: #202838;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
}

.cart-qty-save:hover {
    border-color: #3a455c;
}

.cart-remove-btn {
    min-width: 110px;
}

.cart-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding-top: 20px;
    flex-wrap: wrap;
}

.cart-total-block {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.cart-total-label {
    color: #fff;
}

.cart-total-value {
    color: #fff;
}

.cart-bottom-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .cart-table {
        min-width: 760px;
    }

    .cart-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-bottom-actions {
        width: 100%;
    }
}

/* УБИРАЕМ СТРЕЛКИ У INPUT TYPE=NUMBER */

/* Chrome, Safari, Edge */
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.cart-qty-input {
    -moz-appearance: textfield;
}

/* CHECKOUT SUCCESS */

.checkout-success-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 34px;
}

.checkout-success-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 800;
    background: rgba(126, 231, 135, 0.12);
    color: #7ee787;
    border: 1px solid rgba(126, 231, 135, 0.25);
}

.checkout-success-text {
    font-size: 18px;
    color: #c8d1dc;
    margin-bottom: 24px;
}

.checkout-success-info {
    margin: 0 auto 28px;
    max-width: 520px;
    text-align: left;
    background: #10151e;
    border: 1px solid #2a3142;
    border-radius: 16px;
    overflow: hidden;
}

.checkout-success-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border-bottom: 1px solid #222a38;
}

.checkout-success-row:last-child {
    border-bottom: 0;
}

.checkout-success-row span {
    color: #9aa4b2;
}

.checkout-success-row strong {
    color: #fff;
    text-align: right;
}

.checkout-success-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-checkout {
    background: linear-gradient(180deg, #6be675, #4fd463) !important;
    color: #0b0f16 !important;
    border: 1px solid rgba(126, 231, 135, 0.35) !important;
    box-shadow: 0 4px 12px rgba(80, 200, 120, 0.2);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(80, 200, 120, 0.3);
}

/* УБИРАЕМ СТРЕЛКИ У ПОЛЯ ПОПОЛНЕНИЯ */

/* Chrome, Edge, Safari */
.balance-input::-webkit-outer-spin-button,
.balance-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.balance-input {
    -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}
.balance-input {
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    padding: 0 14px;
}
.payment-methods {
    margin-top: 16px;
}

.payment-label {
    font-size: 13px;
    color: #8b96a8;
    display: block;
    margin-bottom: 8px;
}

.payment-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pay-item {
    padding: 6px 12px;
    background: #10151e;
    border: 1px solid #2a3142;
    border-radius: 10px;
    font-size: 13px;
    color: #c8d1dc;
}
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-overlay.show {
    display: flex;
}

.modal-box {
    background: #0f141d;
    border: 1px solid #2a3142;
    border-radius: 16px;
    padding: 24px;
    width: 320px;
    text-align: center;
}

.modal-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    justify-content: center;
}
.status-success {
    color: #7ee787;
}

.status-pending {
    color: #f2cc60;
}

.status-failed {
    color: #ff6b6b;
}

/* HERO ADVANCED */

.hero-advanced {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(126,231,135,0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(88,166,255,0.15), transparent 40%),
        linear-gradient(180deg, #0a0f19, #080b12);
    z-index: 0;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, #7ee787);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: #b7c0cd;
    margin: 20px 0 30px;
}

.big-btn {
    font-size: 18px;
    padding: 16px 28px;
    border-radius: 16px;
}

.hero-stats {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid #2a3142;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 600;
    color: #cfe9d3;
}

.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.hidden.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HOME PAGE UPGRADE ===== */

body {
    background:
        radial-gradient(circle at top left, rgba(126,231,135,0.05), transparent 26%),
        radial-gradient(circle at top right, rgba(88,166,255,0.06), transparent 24%),
        linear-gradient(180deg, #090d14 0%, #0b1018 100%);
}

/* HEADER */

.site-header {
    background: rgba(14, 18, 28, 0.82);
    border-bottom: 1px solid rgba(57, 68, 89, 0.7);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
}

.header-glow {
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126,231,135,0.45), transparent);
    pointer-events: none;
}

.header-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.logo-wrap {
    display: inline-block;
    text-decoration: none;
}

.logo {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #9cffb0 0%, #58d5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: #8f99aa;
    font-size: 13px;
    margin-top: 2px;
}

.nav-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
}

.nav-main > a {
    position: relative;
    color: #f3f6fb;
    font-weight: 700;
    font-size: 15px;
    padding: 8px 0;
}

.nav-main > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7ee787, #58a6ff);
    transition: width 0.22s ease;
}

.nav-main > a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid #2a3142;
    color: #fff;
    font-weight: 700;
}

.cart-link:hover {
    background: rgba(255,255,255,0.07);
    opacity: 1;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7ee787, #4cd964);
    color: #08110b;
    font-size: 12px;
    font-weight: 900;
}

.user-button-with-head {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 6px 12px;
    border: 1px solid #2a3142;
    background: rgba(255,255,255,0.03);
}

.user-head {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    image-rendering: pixelated;
    flex-shrink: 0;
}

/* HERO */

.hero-advanced {
    position: relative;
    padding: 92px 0 70px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(126,231,135,0.16), transparent 32%),
        radial-gradient(circle at 80% 25%, rgba(88,166,255,0.14), transparent 28%),
        radial-gradient(circle at 50% 100%, rgba(126,231,135,0.08), transparent 30%);
    z-index: 0;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent);
    opacity: 0.3;
    pointer-events: none;
}

.hero-grid-single {
    grid-template-columns: 1fr;
}

.hero-content-centered {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin-bottom: 22px;
    border-radius: 999px;
    border: 1px solid rgba(126,231,135,0.18);
    background: rgba(126,231,135,0.07);
    color: #c9f7d0;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.hero-title {
    font-size: 58px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #d7ffe0 45%, #7ee787 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    max-width: 720px;
    margin: 0 auto 28px;
    font-size: 19px;
    line-height: 1.65;
    color: #b7c0cd;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.big-btn {
    min-width: 240px;
    padding: 17px 30px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 900;
}

.pulse-btn {
    position: relative;
}

.pulse-btn::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 22px;
    background: radial-gradient(circle, rgba(126,231,135,0.24), transparent 65%);
    z-index: -1;
    animation: heroPulse 2.2s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% {
        opacity: 0.45;
        transform: scale(0.96);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.04);
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid #273041;
    color: #dce6f4;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* SECTIONS */

.home-section {
    padding-top: 22px;
    padding-bottom: 14px;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.section-title {
    margin: 0;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(126,231,135,0.28), rgba(88,166,255,0.02));
}

/* FEATURE CARDS */

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
    min-height: 210px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(126,231,135,0.16), rgba(88,166,255,0.12));
    border: 1px solid rgba(126,231,135,0.16);
    font-size: 24px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* STEP CARDS */

.start-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 6px 0 56px;
}

.step-card {
    position: relative;
    min-height: 220px;
    padding-top: 66px;
}

.step-number {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: #0c1210;
    background: linear-gradient(135deg, #7ee787, #58a6ff);
    box-shadow: 0 8px 20px rgba(126,231,135,0.18);
}

.step-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
}

.step-card p {
    font-size: 15px;
    line-height: 1.65;
}

/* CARD TUNING */

.card {
    background: linear-gradient(145deg, rgba(23,27,37,0.96), rgba(17,21,30,0.96));
    border: 1px solid #273042;
    border-radius: 20px;
    padding: 24px;
    box-shadow:
        0 14px 40px rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.02);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    border-color: #39506b;
    box-shadow:
        0 18px 50px rgba(0,0,0,0.34),
        0 0 0 1px rgba(126,231,135,0.04);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .header-row {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .nav-main {
        justify-content: flex-start;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .feature-grid,
    .start-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hero-advanced {
        padding: 72px 0 54px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .section-title {
        font-size: 28px;
    }

    .big-btn {
        min-width: 100%;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-line {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .logo {
        font-size: 24px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-badge {
        font-size: 13px;
        padding: 9px 14px;
    }

    .hero-stat {
        width: 100%;
        justify-content: center;
    }

    .step-card,
    .feature-card {
        min-height: unset;
    }
}

/* REVEAL */

.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-up.show {
    opacity: 1;
    transform: translateY(0);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(126,231,135,0.04) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(126,231,135,0.04) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(126,231,135,0.04) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(126,231,135,0.04) 75%);
    background-size: 60px 60px;
    opacity: 0.3;
    pointer-events: none;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(126,231,135,0.06), transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(88,166,255,0.05), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.buy-form,
.buy-btn {
    position: relative;
    z-index: 5;
}

.shop-product-card {
    transform: none !important;
}

.shop-product-card:hover {
    transform: none !important;
}

.shop-card-actions {
    pointer-events: auto;
}

.buy-btn {
    cursor: pointer;
    pointer-events: auto;
}

.step-card {
    position: relative;
    min-height: 190px;
    padding: 78px 22px 22px;
}

.step-number {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
}

.step-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.25;
}

.step-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* MONITORING UI */

.monitoring-hero {
    padding: 42px 0 18px;
    background:
        radial-gradient(circle at left top, rgba(126, 231, 135, 0.08), transparent 28%),
        radial-gradient(circle at right top, rgba(88, 166, 255, 0.07), transparent 26%),
        linear-gradient(180deg, #0b111a 0%, #0a0f19 100%);
    border-bottom: 1px solid #1c2636;
}

.monitoring-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.monitoring-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(126, 231, 135, 0.08);
    border: 1px solid rgba(126, 231, 135, 0.18);
    color: #7ee787;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.4px;
    margin-bottom: 14px;
}

.monitoring-title {
    margin-bottom: 10px;
}

.monitoring-subtitle {
    color: #aeb8c7;
    font-size: 16px;
    line-height: 1.6;
    max-width: 760px;
}

.monitoring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 22px;
}

.monitor-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid #273042;
    background:
        linear-gradient(145deg, rgba(23,27,37,0.96), rgba(17,21,30,0.96));
    box-shadow:
        0 14px 40px rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.02);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.monitor-card:hover {
    transform: translateY(-6px);
    border-color: #39506b;
    box-shadow:
        0 20px 50px rgba(0,0,0,0.34),
        0 0 0 1px rgba(126,231,135,0.04);
}

.monitor-card-online {
    border-color: rgba(126, 231, 135, 0.22);
}

.monitor-card-offline {
    border-color: rgba(255, 123, 114, 0.18);
}

.monitor-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.monitor-server-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.monitor-server-icon-wrap {
    flex-shrink: 0;
}

.monitor-server-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    image-rendering: pixelated;
    border: 1px solid rgba(126, 231, 135, 0.18);
    background: rgba(255,255,255,0.03);
}

.monitor-server-icon-fallback {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: linear-gradient(135deg, rgba(126,231,135,0.12), rgba(88,166,255,0.10));
    border: 1px solid #2a3142;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.monitor-server-head {
    min-width: 0;
}

.monitor-version {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid #2a3142;
    color: #cdd7e5;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
}

.monitor-server-name {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
}

.monitor-server-address {
    color: #8e9aad;
    font-size: 14px;
    word-break: break-word;
}

.monitor-status-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    border: 1px solid transparent;
}

.monitor-status-pill.is-online {
    color: #7ee787;
    background: rgba(126, 231, 135, 0.08);
    border-color: rgba(126, 231, 135, 0.20);
}

.monitor-status-pill.is-offline {
    color: #ff8d86;
    background: rgba(255, 123, 114, 0.08);
    border-color: rgba(255, 123, 114, 0.18);
}

.monitor-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
}

.monitor-motd {
    min-height: 52px;
    margin-bottom: 18px;
    color: #d7deea;
    line-height: 1.6;
    font-size: 15px;
}

.monitor-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.monitor-stat-box {
    border-radius: 18px;
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid #252f3f;
}

.monitor-stat-label {
    display: block;
    color: #92a0b2;
    font-size: 13px;
    margin-bottom: 6px;
}

.monitor-stat-value {
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.2;
}

.monitor-error-box {
    margin-top: 4px;
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(255, 123, 114, 0.06);
    border: 1px solid rgba(255, 123, 114, 0.14);
}

.monitor-error-title {
    color: #ff8d86;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.monitor-error-text {
    color: #ffd0cc;
    font-size: 14px;
    line-height: 1.5;
}

.monitor-error-code {
    opacity: 0.9;
}

.monitor-card-glow {
    position: absolute;
    inset: auto -80px -80px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.22;
    filter: blur(30px);
}

.monitor-card-online .monitor-card-glow {
    background: rgba(126, 231, 135, 0.20);
}

.monitor-card-offline .monitor-card-glow {
    background: rgba(255, 123, 114, 0.16);
}

@media (max-width: 900px) {
    .monitoring-grid {
        grid-template-columns: 1fr;
    }

    .monitor-card-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .monitor-status-pill {
        min-height: 34px;
    }
}

@media (max-width: 640px) {
    .monitor-card {
        padding: 20px;
        border-radius: 20px;
    }

    .monitor-server-main {
        align-items: flex-start;
    }

    .monitor-server-icon,
    .monitor-server-icon-fallback {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .monitor-server-name {
        font-size: 21px;
    }

    .monitor-stats {
        grid-template-columns: 1fr;
    }
}

/* MONITORING UI */

.monitoring-hero {
    padding: 42px 0 18px;
    background:
        radial-gradient(circle at left top, rgba(126, 231, 135, 0.08), transparent 28%),
        radial-gradient(circle at right top, rgba(88, 166, 255, 0.07), transparent 26%),
        linear-gradient(180deg, #0b111a 0%, #0a0f19 100%);
    border-bottom: 1px solid #1c2636;
}

.monitoring-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.monitoring-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.monitoring-refresh-btn {
    min-width: 140px;
}

.monitoring-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(126, 231, 135, 0.08);
    border: 1px solid rgba(126, 231, 135, 0.18);
    color: #7ee787;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.4px;
    margin-bottom: 14px;
}

.monitoring-title {
    margin-bottom: 10px;
}

.monitoring-subtitle {
    color: #aeb8c7;
    font-size: 16px;
    line-height: 1.6;
    max-width: 760px;
}

.monitoring-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.monitoring-summary-card {
    border-radius: 20px;
    padding: 18px 20px;
    background: linear-gradient(145deg, rgba(23,27,37,0.96), rgba(17,21,30,0.96));
    border: 1px solid #273042;
    box-shadow: 0 14px 40px rgba(0,0,0,0.20);
}

.monitoring-summary-label {
    display: block;
    color: #92a0b2;
    font-size: 13px;
    margin-bottom: 8px;
}

.monitoring-summary-value {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
}

.monitoring-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid #252f3f;
}

.monitoring-toolbar-text {
    color: #bcc7d6;
    font-size: 14px;
    line-height: 1.5;
}

.monitoring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 22px;
}

.monitor-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid #273042;
    background: linear-gradient(145deg, rgba(23,27,37,0.96), rgba(17,21,30,0.96));
    box-shadow:
        0 14px 40px rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.02);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.monitor-card:hover {
    transform: translateY(-6px);
    border-color: #39506b;
    box-shadow:
        0 20px 50px rgba(0,0,0,0.34),
        0 0 0 1px rgba(126,231,135,0.04);
}

.monitor-card-online {
    border-color: rgba(126, 231, 135, 0.22);
}

.monitor-card-offline {
    border-color: rgba(255, 123, 114, 0.18);
}

.monitor-card-loading {
    opacity: 0.88;
}

.monitor-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.monitor-server-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.monitor-server-icon-wrap {
    flex-shrink: 0;
}

.monitor-server-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    image-rendering: pixelated;
    border: 1px solid rgba(126, 231, 135, 0.18);
    background: rgba(255,255,255,0.03);
}

.monitor-server-icon-fallback {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: linear-gradient(135deg, rgba(126,231,135,0.12), rgba(88,166,255,0.10));
    border: 1px solid #2a3142;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.monitor-server-head {
    min-width: 0;
}

.monitor-version {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid #2a3142;
    color: #cdd7e5;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
}

.monitor-server-name {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
}

.monitor-server-address {
    color: #8e9aad;
    font-size: 14px;
    word-break: break-word;
}

.monitor-status-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    border: 1px solid transparent;
}

.monitor-status-pill.is-online {
    color: #7ee787;
    background: rgba(126, 231, 135, 0.08);
    border-color: rgba(126, 231, 135, 0.20);
}

.monitor-status-pill.is-offline {
    color: #ff8d86;
    background: rgba(255, 123, 114, 0.08);
    border-color: rgba(255, 123, 114, 0.18);
}

.monitor-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
}

.monitor-motd {
    min-height: 52px;
    margin-bottom: 18px;
    color: #d7deea;
    line-height: 1.6;
    font-size: 15px;
}

.monitor-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.monitor-stat-box {
    border-radius: 18px;
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid #252f3f;
}

.monitor-stat-label {
    display: block;
    color: #92a0b2;
    font-size: 13px;
    margin-bottom: 6px;
}

.monitor-stat-value {
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.2;
}

.monitor-error-box {
    margin-top: 4px;
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(255, 123, 114, 0.06);
    border: 1px solid rgba(255, 123, 114, 0.14);
}

.monitor-error-title {
    color: #ff8d86;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.monitor-error-text {
    color: #ffd0cc;
    font-size: 14px;
    line-height: 1.5;
}

.monitor-error-code {
    opacity: 0.9;
}

.monitor-card-glow {
    position: absolute;
    inset: auto -80px -80px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.22;
    filter: blur(30px);
}

.monitor-card-online .monitor-card-glow {
    background: rgba(126, 231, 135, 0.20);
}

.monitor-card-offline .monitor-card-glow {
    background: rgba(255, 123, 114, 0.16);
}

@media (max-width: 1100px) {
    .monitoring-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .monitoring-grid {
        grid-template-columns: 1fr;
    }

    .monitor-card-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .monitor-status-pill {
        min-height: 34px;
    }

    .monitoring-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .monitoring-summary-grid {
        grid-template-columns: 1fr;
    }

    .monitor-card {
        padding: 20px;
        border-radius: 20px;
    }

    .monitor-server-main {
        align-items: flex-start;
    }

    .monitor-server-icon,
    .monitor-server-icon-fallback {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .monitor-server-name {
        font-size: 21px;
    }

    .monitor-stats {
        grid-template-columns: 1fr;
    }
}

/* MONITORING FINAL POLISH */

.monitoring-toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.monitoring-next-refresh {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid #2a3142;
    color: #c6d1de;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.monitoring-grid-fade {
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.monitoring-grid-fade.is-updating {
    opacity: 0.72;
    transform: translateY(2px);
}

.monitor-card-animated {
    animation: monitorCardIn 0.28s ease;
}

@keyframes monitorCardIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.monitor-error-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    font-size: 14px;
}

.ping-good {
    color: #7ee787 !important;
    text-shadow: 0 0 10px rgba(126, 231, 135, 0.18);
}

.ping-medium {
    color: #f2cc60 !important;
    text-shadow: 0 0 10px rgba(242, 204, 96, 0.14);
}

.ping-bad {
    color: #ff8d86 !important;
    text-shadow: 0 0 10px rgba(255, 141, 134, 0.14);
}

.ping-offline {
    color: #8e9aad !important;
}

.monitor-card-online .monitor-status-dot {
    animation: statusPulseOnline 1.8s ease-in-out infinite;
}

@keyframes statusPulseOnline {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.18);
        opacity: 0.72;
    }
}

.monitor-status-pill.is-online {
    box-shadow: inset 0 0 0 1px rgba(126, 231, 135, 0.05);
}

.monitor-status-pill.is-offline {
    box-shadow: inset 0 0 0 1px rgba(255, 123, 114, 0.04);
}

.monitoring-summary-card {
    position: relative;
    overflow: hidden;
}

.monitoring-summary-card::after {
    content: "";
    position: absolute;
    inset: auto -30px -30px auto;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(126,231,135,0.10), transparent 68%);
    pointer-events: none;
}

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

    .monitoring-toolbar-right {
        width: 100%;
    }

    .monitoring-next-refresh {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}