* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a12;
    --panel: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --accent: #6366f1;
    --accent2: #8b5cf6;
    --accent3: #06b6d4;
    --text: #fff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --gradient: linear-gradient(135deg, #3b82f6 0%, #6366f1 40%, #8b5cf6 70%, #a855f7 100%);
    --container: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
                radial-gradient(ellipse 60% 40% at 80% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse 50% 30% at 20% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 16px;
    transition: opacity 0.5s ease;
}

.nav-bar.scrolled .nav-compact {
    background: rgba(10, 10, 18, 0.92);
    border-color: var(--border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-compact {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 20px;
    border-radius: 24px;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.nav-compact-grid {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 12px;
}

.nav-logo-center {
    justify-self: center;
}

.nav-ghost {
    width: 44px;
    height: 44px;
}

.logo-main {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: var(--text);
}

.logo-main:hover {
    color: var(--text);
}

.logo-main .text-accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text);
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 99;
}

.nav-overlay-open {
    opacity: 1;
    visibility: visible;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    padding: 80px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    border-radius: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(22px);
}

.nav-overlay-open .nav-menu {
    transform: translateX(0);
}

.nav-menu-item {
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-menu-item:hover,
.nav-menu-item.active {
    background: rgba(168, 85, 247, 0.2);
    color: #e9d5ff;
}

.nav-menu-item.nav-menu-item--primary.active {
    border-color: rgba(168, 85, 247, 0.4);
}

.nav-menu-out:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.35s ease, box-shadow 0.35s ease;
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background: rgba(10, 10, 18, 0.95);
    border-bottom-color: var(--border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    text-decoration: none;
    color: var(--text);
}

.brand-main {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.nav-item:hover {
    color: var(--text);
    background: var(--panel);
}

.nav-item.active {
    color: var(--text);
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.35);
}

.nav-admin {
    color: var(--accent2);
}

.nav-out:hover {
    color: #f87171;
    background: rgba(239, 68, 68, 0.1);
}

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text);
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s ease;
}

.nav-mobile {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: rgba(15, 15, 25, 0.98);
    border-left: 1px solid var(--border);
    padding: 80px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
}

.nav-overlay.open .nav-mobile {
    transform: translateX(0);
}

.nav-mobile-item {
    padding: 14px 18px;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.nav-mobile-item:hover,
.nav-mobile-item.active {
    background: rgba(99, 102, 241, 0.15);
}

.site-content {
    padding-top: 100px;
    min-height: 100vh;
    opacity: 0;
    transition: opacity 0.6s ease 0.2s;
}

body.has-nav-bar .site-content {
    padding-top: 100px;
}

.site-content.visible {
    opacity: 1;
}

.animate-in {
    animation: fadeUp 0.7s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 32px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    margin-top: 10px;
}

.btn-outline:hover {
    background: var(--panel);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-orb {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.25;
    animation: orbFloat 8s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-24px) scale(1.05); }
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.product-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.main-product {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.prod-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 10, 18, 0.95) 0%, rgba(10, 10, 18, 0.6) 45%, transparent 70%);
    z-index: 1;
}

.prod-info {
    position: relative;
    z-index: 2;
    padding: 48px 56px;
    max-width: 560px;
}

.prod-name {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 12px;
}

.prod-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.prod-price {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.btn-order {
    padding: 16px 40px;
    font-size: 0.95rem;
}

.prod-bg-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    overflow: hidden;
}

.prod-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.thumbs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.thumb {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
    text-align: left;
}

.thumb:hover,
.thumb.active {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.06);
}

.thumb h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.thumb span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.thumb.active span {
    color: var(--accent);
    font-weight: 600;
}

.thumb-img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.thumb.active .thumb-img {
    border-color: var(--accent);
}

.empty-products {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.main-footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.footer-logo {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    opacity: 0.15;
    text-align: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: rgba(18, 18, 28, 0.98);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    animation: modalIn 0.35s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text);
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.auth-tab:hover {
    color: var(--text);
}

.auth-tab.active {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--text);
}

.auth-panel {
    display: none;
}

.auth-panel.active {
    display: block;
}

.auth-confirm-hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.auth-msg {
    margin-top: 16px;
    color: #f87171;
    font-size: 0.9rem;
    min-height: 1.4em;
}

.auth-page {
    padding-top: 100px;
    padding-bottom: 60px;
}

.auth-container {
    max-width: 440px;
    margin: 0 auto;
}

.auth-page-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 32px;
    text-align: center;
}

.auth-card {
    padding: 32px;
}

.auth-back {
    margin-top: 24px;
    text-align: center;
}

.auth-back a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.auth-back a:hover {
    color: var(--text);
}

.downloads-page {
    padding-top: 100px;
    padding-bottom: 60px;
}

.downloads-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1rem;
}

.downloads-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.download-item:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.download-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.download-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.download-name {
    font-weight: 700;
    font-size: 1.05rem;
}

.download-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.download-arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.download-item:hover .download-arrow {
    transform: translateX(4px);
    color: var(--accent);
}

.empty-downloads {
    color: var(--text-muted);
    font-size: 1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

textarea.form-input {
    resize: vertical;
    min-height: 80px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.checkbox-label input {
    accent-color: var(--accent);
}

.receipt-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.receipt-list {
    margin-bottom: 16px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.receipt-total {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    padding: 14px 24px;
    background: rgba(30, 30, 45, 0.95);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 3000;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.glass-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
}

.card-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 24px;
    padding-left: 14px;
    border-left: 4px solid transparent;
    border-image: var(--gradient) 1;
}

.cabinet-page {
    padding-top: 100px;
    padding-bottom: 40px;
}

.page-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 40px;
}

.cabinet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.cabinet-card {
    padding: 28px;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.profile-value {
    font-size: 0.95rem;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.order-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.order-total {
    font-weight: 700;
}

.order-status {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 8px;
    margin-left: auto;
}

.order-status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.order-status-paid {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.empty-orders {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.admin-page {
    padding-top: 100px;
    padding-bottom: 40px;
}

.admin-header .brand-main {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}

.admin-tab {
    padding: 12px 24px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.admin-tab:hover {
    color: var(--text);
}

.admin-tab.active {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--text);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.products-admin-list {
    margin-top: 24px;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.data-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.btn-small {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-right: 8px;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-small:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.1);
}

.btn-danger:hover {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-desc {
        max-width: 100%;
    }
    .hero-visual {
        order: -1;
    }
    .hero-orb {
        width: 240px;
        height: 240px;
    }
    .main-product {
        min-height: auto;
        flex-direction: column;
    }
    .prod-info {
        padding: 32px 24px;
        max-width: 100%;
        z-index: 3;
    }
    .prod-bg-container {
        position: relative;
        width: 100%;
        height: 220px;
    }
    .prod-gradient {
        display: none;
    }
    .nav-list {
        display: none;
    }
    .nav-burger {
        display: flex;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }
    .section {
        padding: 48px 0;
    }
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 32px;
    }
    .thumbs-grid {
        grid-template-columns: 1fr;
    }
    .modal-box {
        padding: 24px 20px;
    }
    .cabinet-grid {
        grid-template-columns: 1fr;
    }
    .data-table th,
    .data-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.1s !important;
    }
}

/* ===== TELEGRAM STYLES ===== */
.tg-icon { font-size: 2.5rem; text-align: center; margin-bottom: 12px; }
.tg-link-step { text-align: center; padding: 8px 0; }
.tg-link-title { font-family: Unbounded, sans-serif; font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; }
.tg-link-desc { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 18px; }
.tg-link-hint { color: var(--text-muted); font-size: 0.8rem; margin: 12px 0; }
.tg-confirm-header { text-align: center; margin-bottom: 16px; }
.code-input { font-size: 1.6rem !important; letter-spacing: 0.4em; text-align: center; font-weight: 700; }
.tg-status { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; font-size: 0.95rem; }
.tg-status--ok  { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.25); color: #86efac; }
.tg-status--no  { background: rgba(251,191,36,0.10); border: 1px solid rgba(251,191,36,0.25); color: #fde68a; }
.tg-status-icon { font-size: 1.1rem; }
.tg-linked-hint { color: var(--text-muted); font-size: 0.85rem; margin: 0 0 14px; }
.tg-steps { margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.tg-step { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: var(--text-muted); }
.tg-step-num { min-width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg,#3b82f6,#8b5cf6); color: #fff; font-weight: 700; font-size: 0.75rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.btn-danger { background: linear-gradient(135deg,#ef4444,#dc2626); color:#fff; border:none; }
.btn-danger:hover { opacity: 0.85; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.tg-modal-body { padding: 8px 0 0; }
.modal-title { font-family: Unbounded, sans-serif; font-size: 1.1rem; font-weight: 700; margin: 0 0 16px; }

