:root {
    --orange: #ff9f1a;
    --orange-dark: #f08300;
    --orange-soft: #fff4df;
    --ink: #202338;
    --navy: #1f2232;
    --muted: #6f7488;
    --line: #eceefa;
    --page: #f5f3fc;
    --white: #ffffff;
    --shadow: 0 22px 60px rgba(32, 35, 56, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    background: var(--page);
}

a {
    color: inherit;
    text-decoration: none;
}

.promo-bar {
    color: var(--white);
    background: var(--orange);
}

.promo-inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 58px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 18px;
    font-size: 15px;
}

.promo-inner span,
.promo-inner a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.promo-inner a {
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.12);
}

.promo-inner .order-query {
    border: 2px dashed rgba(255, 255, 255, 0.8);
    background: transparent;
    font-weight: 800;
}

.site-header {
    width: 100%;
    height: 90px;
    padding: 0 max(32px, calc((100% - 1180px) / 2));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--white);
}

.brand,
.header-action,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.brand {
    flex: 0 0 auto;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0;
    color: var(--ink);
}

.brand-text {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
}

.brand-text strong {
    color: #3a3d4d;
}

.brand-text b {
    color: var(--orange);
}

.brand-mark {
    width: 44px;
    height: 44px;
    position: relative;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), #ff9a3c);
    box-shadow: 0 10px 24px rgba(255, 159, 26, 0.28);
}

.brand-mark::after {
    content: "";
    position: absolute;
    right: -5px;
    top: -5px;
    width: 16px;
    height: 16px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--navy);
}

.brand-mark i {
    position: relative;
    z-index: 1;
}

.site-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    gap: 26px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #34394f;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.site-nav i {
    color: #4c536e;
}

.header-action {
    min-height: 52px;
    padding: 0 24px;
    border-radius: 12px;
    color: var(--white);
    font-weight: 800;
    font-size: 15px;
    background: var(--orange);
    box-shadow: 0 14px 28px rgba(255, 159, 26, 0.26);
}

main {
    width: min(1180px, calc(100% - 32px));
    margin: 38px auto 70px;
}

.hero {
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    align-items: center;
    gap: 36px;
    overflow: hidden;
    border-radius: 14px;
    padding: clamp(30px, 5vw, 62px);
    background:
        radial-gradient(circle at 84% 48%, rgba(255, 159, 26, 0.32), transparent 26%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
        repeating-linear-gradient(45deg, rgba(32, 35, 56, 0.03) 0 2px, transparent 2px 16px);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.eyebrow {
    width: fit-content;
    min-height: 42px;
    margin: 0 0 24px;
    display: inline-flex;
    align-items: center;
    border: 2px dashed var(--orange);
    border-radius: 8px;
    padding: 0 16px;
    color: var(--orange-dark);
    background: rgba(255, 159, 26, 0.06);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.hero h1 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(36px, 4.6vw, 56px);
    line-height: 1.12;
    letter-spacing: 0;
}

.hero h1::first-line {
    color: #323854;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 510px;
    margin: 22px 0 28px;
    color: #2d3147;
    font-size: 17px;
    line-height: 1.65;
}

.primary-button {
    min-height: 48px;
    padding: 0 26px;
    border-radius: 10px;
    color: var(--white);
    background: var(--navy);
    font-weight: 900;
    box-shadow: 0 16px 30px rgba(32, 35, 56, 0.2);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover,
.service-card:hover,
.header-action:hover {
    transform: translateY(-3px);
}

.hero-visual {
    min-height: 300px;
    position: relative;
    display: grid;
    place-items: center;
}

.hero-image-wrap {
    align-self: stretch;
    min-height: 390px;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    background: linear-gradient(135deg, #ffb63d, #ff8d16);
    box-shadow: 0 28px 70px rgba(255, 159, 26, 0.26);
}

.hero-banner-image {
    width: 100%;
    height: 100%;
    min-height: 390px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-banner-image[src=""],
.hero-banner-image:not([src]) {
    display: none;
}

.services {
    padding: 54px 0 18px;
    text-align: center;
}

.section-label {
    width: min(360px, 100%);
    min-height: 34px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--orange-dark);
    background: var(--white);
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.services h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.08;
}

.services > p {
    margin: 12px 0 44px;
    color: var(--muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 22px;
}

.service-card {
    --card-accent: var(--orange);
    --card-soft: #fff8eb;
    --card-ring: rgba(255, 159, 26, 0.16);
    aspect-ratio: 1 / 1;
    min-height: 154px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-radius: 14px;
    border: 1px solid rgba(32, 35, 56, 0.08);
    color: var(--card-accent);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
        var(--card-soft);
    box-shadow: 0 14px 32px rgba(32, 35, 56, 0.08);
    font-weight: 900;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: -1;
    border-radius: 12px;
    border: 1px dashed var(--card-ring);
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 220ms ease, transform 220ms ease;
}

.service-card::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -2;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--card-ring);
    filter: blur(6px);
    transform: translate(-50%, -50%) scale(0.45);
    opacity: 0;
    transition: opacity 220ms ease, transform 220ms ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-ring);
    box-shadow:
        0 22px 44px rgba(32, 35, 56, 0.14),
        0 0 0 4px var(--card-ring);
}

.service-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.service-card:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.25);
}

.service-card i {
    font-size: 48px;
    transition: transform 220ms ease;
}

.service-card:hover i {
    transform: scale(1.08);
}

.service-card span {
    color: var(--ink);
}

.instagram { --card-accent: #e72b83; --card-soft: #ffe9f4; --card-ring: rgba(231, 43, 131, 0.18); }
.tiktok { --card-accent: #111111; --card-soft: #f4f2f7; --card-ring: rgba(17, 17, 17, 0.14); }
.twitter { --card-accent: #101010; --card-soft: #e9f6ff; --card-ring: rgba(16, 16, 16, 0.14); }
.youtube { --card-accent: #ff1010; --card-soft: #fff0ef; --card-ring: rgba(255, 16, 16, 0.18); }
.facebook { --card-accent: #1877f2; --card-soft: #e9f5ff; --card-ring: rgba(24, 119, 242, 0.18); }
.discord { --card-accent: #5865f2; --card-soft: #eeeeff; --card-ring: rgba(88, 101, 242, 0.2); }
.google { --card-accent: #ea4335; --card-soft: #fff0ef; --card-ring: rgba(234, 67, 53, 0.18); }
.snapchat { --card-accent: #ffb703; --card-soft: #fffab0; --card-ring: rgba(255, 183, 3, 0.24); }
.linkedin { --card-accent: #0a66c2; --card-soft: #eaf4ff; --card-ring: rgba(10, 102, 194, 0.18); }
.threads { --card-accent: #191919; --card-soft: #f5f5f5; --card-ring: rgba(25, 25, 25, 0.14); }
.twitch { --card-accent: #9146ff; --card-soft: #f3eaff; --card-ring: rgba(145, 70, 255, 0.2); }
.spotify { --card-accent: #1db954; --card-soft: #e7fbe9; --card-ring: rgba(29, 185, 84, 0.18); }
.telegram { --card-accent: #229ed9; --card-soft: #e8f7ff; --card-ring: rgba(34, 158, 217, 0.18); }
.whatsapp { --card-accent: #25d366; --card-soft: #e9fff3; --card-ring: rgba(37, 211, 102, 0.18); }
.kick { --card-accent: #20d319; --card-soft: #edffe8; --card-ring: rgba(32, 211, 25, 0.18); }
.deezer { --card-accent: #8a4dff; --card-soft: #f2ecff; --card-ring: rgba(138, 77, 255, 0.2); }
.custom { --card-accent: #ff9f1a; --card-soft: #fff4df; --card-ring: rgba(255, 159, 26, 0.18); }

.bottom-action {
    margin-top: 34px;
    background: var(--orange);
    box-shadow: 0 16px 32px rgba(255, 159, 26, 0.28);
}

.site-footer {
    position: relative;
    margin-top: 90px;
    padding: 86px max(24px, calc((100% - 1180px) / 2)) 0;
    color: var(--white);
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 159, 26, 0.08), transparent 24%),
        linear-gradient(180deg, #222736 0%, #171c28 100%);
    border-top: 10px solid var(--orange);
}

.footer-stats {
    position: absolute;
    left: 50%;
    top: -58px;
    width: min(560px, calc(100% - 32px));
    min-height: 112px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: center;
    transform: translateX(-50%);
    border-radius: 14px;
    padding: 14px 18px;
    background: var(--orange);
    box-shadow: 0 22px 50px rgba(255, 159, 26, 0.3);
}

.footer-stat {
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
}

.footer-stat i {
    grid-row: 1 / 3;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(255, 255, 255, 0.74);
    border-radius: 10px;
    font-size: 22px;
}

.footer-stat strong {
    font-size: 22px;
    line-height: 1;
}

.footer-stat span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 900;
}

.footer-top {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.footer-brand {
    color: var(--white);
}

.footer-brand .brand-text strong {
    color: rgba(255, 255, 255, 0.78);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--white);
    font-size: 23px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer-socials a:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 159, 26, 0.72);
    background: rgba(255, 159, 26, 0.12);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 20px 0 98px;
}

.footer-column h3 {
    min-height: 46px;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 16px;
}

.footer-column h3 i {
    color: var(--orange);
}

.footer-column ul {
    min-height: 58px;
    margin: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    list-style: none;
    background: rgba(255, 255, 255, 0.04);
}

.footer-column li + li {
    margin-top: 10px;
}

.footer-column a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--white);
    font-size: 14px;
    transition: color 180ms ease, transform 180ms ease;
}

.footer-column a::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--orange);
}

.footer-column a:hover {
    color: var(--orange);
    transform: translateX(4px);
}

.footer-bottom {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
}

.footer-bottom p {
    margin: 0;
}

.payment-badges {
    display: flex;
    align-items: center;
    gap: 16px;
}

.payment-badges span {
    color: #ff3d2e;
    letter-spacing: -0.24em;
}

.payment-badges strong,
.payment-badges b,
.payment-badges em {
    font-style: normal;
    font-weight: 900;
}

.admin-body {
    background: #fff8f2;
}

.admin-login {
    min-height: 100vh;
    width: min(460px, calc(100% - 32px));
    display: grid;
    place-items: center;
    margin: 0 auto;
}

.admin-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 42px rgba(105, 54, 11, 0.08);
}

.login-card {
    width: 100%;
    padding: 34px;
    display: grid;
    gap: 18px;
}

.login-card h1 {
    margin: 0;
    font-size: 32px;
}

.admin-error {
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
    color: #b42318;
    background: #fff0ef;
    font-weight: 800;
}

.admin-header {
    width: min(1220px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.admin-header nav {
    display: flex;
    gap: 10px;
}

.admin-header nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 16px;
    color: var(--orange-dark);
    background: var(--orange-soft);
    font-weight: 900;
}

.admin-shell {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto 60px;
}

.admin-panel {
    display: grid;
    gap: 18px;
}

.admin-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0 6px;
}

.admin-title p {
    margin: 0 0 6px;
    color: var(--orange-dark);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.06em;
}

.admin-title h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
}

.add-form,
.category-row,
.footer-add-form,
.footer-link-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1.1fr 150px auto;
    gap: 12px;
    align-items: end;
    padding: 16px;
}

.settings-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
}

.settings-form .admin-button {
    grid-column: 1 / -1;
    justify-self: end;
}

.category-list {
    display: grid;
    gap: 12px;
}

.category-row {
    grid-template-columns: 72px 1fr 1.55fr 1.1fr 140px auto;
}

.footer-add-form,
.footer-link-row {
    grid-template-columns: 1fr 1fr 1.2fr 1.6fr auto;
}

.admin-card label {
    display: grid;
    gap: 7px;
    text-align: left;
}

.admin-card label span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-card input,
.admin-card select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
    color: var(--ink);
    background: #fffdfb;
    font: inherit;
    font-weight: 700;
}

.admin-card input:focus,
.admin-card select:focus {
    border-color: var(--orange);
    outline: 3px solid rgba(255, 106, 0, 0.14);
}

.admin-button,
.icon-button {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    color: var(--white);
    background: var(--orange);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.admin-button {
    padding: 0 18px;
}

.icon-button {
    width: 44px;
    display: inline-grid;
    place-items: center;
    background: var(--ink);
}

.icon-button.save {
    background: var(--orange);
}

.icon-button.danger {
    background: #d92d20;
}

.icon-button:disabled {
    cursor: not-allowed;
    opacity: 0.38;
}

.row-preview {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 28px;
}

.row-actions {
    display: grid;
    grid-template-columns: repeat(4, 44px);
    gap: 8px;
}

@media (max-width: 820px) {
    .promo-inner {
        grid-template-columns: 1fr;
        justify-items: start;
        padding: 12px 0;
    }

    .site-header {
        height: auto;
        padding: 18px 0;
        gap: 14px;
        width: min(100% - 32px, 1180px);
        flex-wrap: wrap;
        background: transparent;
    }

    .brand {
        font-size: 22px;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 16px;
        padding: 4px 0 2px;
    }

    .site-nav a {
        flex: 0 0 auto;
        font-size: 13px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero-visual {
        min-height: 260px;
    }

    .hero-image-wrap,
    .hero-banner-image {
        min-height: 300px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .service-card {
        min-height: 132px;
    }

    .admin-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .add-form,
    .category-row,
    .footer-add-form,
    .footer-link-row,
    .settings-form {
        grid-template-columns: 1fr;
    }

    .row-actions {
        grid-template-columns: repeat(4, 1fr);
    }

    .icon-button {
        width: 100%;
    }

    .site-footer {
        margin-top: 74px;
        padding-top: 170px;
    }

    .footer-stats {
        grid-template-columns: repeat(2, 1fr);
        top: -84px;
    }

    .footer-top,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        padding-bottom: 52px;
    }
}

@media (max-width: 430px) {
    main,
    .site-header {
        width: min(100% - 20px, 1180px);
    }

    .hero {
        padding: 24px 18px;
    }

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

    .hero-copy > p:not(.eyebrow) {
        font-size: 15px;
    }

    .hero-image-wrap,
    .hero-banner-image {
        min-height: 260px;
    }

    .promo-inner .order-query,
    .promo-inner a {
        width: 100%;
        justify-content: center;
    }

    .header-action {
        min-height: 44px;
        padding: 0 16px;
    }

    .header-action span {
        display: none;
    }
}
