:root {
    --color-bg: #0a0a0a;
    --color-bg-alt: #141414;
    --color-surface: #1a1a1a;
    --color-surface-hover: #242424;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);
    --color-text: #ffffff;
    --color-text-secondary: #a1a1aa;
    --color-text-muted: #71717a;
    --color-accent: #ef4444;
    --color-accent-hover: #f87171;
    --color-youtube: #ff0000;
    --color-instagram-start: #f09433;
    --color-instagram-mid1: #e6683c;
    --color-instagram-mid2: #dc2743;
    --color-instagram-mid3: #cc2366;
    --color-instagram-end: #bc1888;
    --color-tiktok: #00f2ea;
    --color-tiktok-accent: #ff0050;
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow-youtube: 0 0 40px rgba(255, 0, 0, 0.25);
    --shadow-glow-instagram: 0 0 40px rgba(225, 48, 108, 0.25);
    --shadow-glow-tiktok: 0 0 40px rgba(255, 0, 80, 0.2);
    --container-max: 480px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #0d0d0f 0%, #121417 100%);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    flex: 1 0 auto;
    min-height: 0;
}

.container--page {
    max-width: 860px;
    padding-top: 64px;
    padding-bottom: 48px;
    justify-content: flex-start;
    gap: 24px;
}

.page-shell {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.back-link {
    align-self: flex-start;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: #ffffff;
}

.page-card {
    background: rgba(15, 18, 23, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
    padding: 28px 24px;
}

.page-card__title {
    margin: 0 0 24px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.page-card__section + .page-card__section {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-card__section h2 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #d4d4d8;
}

.page-card__section p,
.page-card__section li,
.page-card__section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.98rem;
    line-height: 1.7;
}

.page-card__section ul {
    margin: 0;
    padding-left: 1.2rem;
}

.page-card__section a {
    color: #f4f4f5;
    text-decoration: underline;
}

.page-card__meta {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    margin-bottom: 18px;
}

@media (max-width: 600px) {
    .container--page {
        padding-top: 36px;
        padding-bottom: 28px;
    }

    .page-card {
        padding: 22px 18px;
    }
}

.profile {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.7s var(--transition-base) forwards;
}

.avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 2px;
}

.avatar-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), #a855f7, #ec4899);
    padding: 3px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 1;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-surface);
    box-shadow: var(--shadow-lg);
    display: block;
}

.status-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: #22c55e;
    border: 3px solid var(--color-bg);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
}

.name {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
    padding: 10px 18px;
    background: rgba(18, 18, 18, 0.9);
    border: 1px solid #202020;
    border-radius: 16px;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.stat-divider {
    width: 1px;
    height: 24px;
    background: #202020;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 0.68rem;
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    width: 100%;
    align-items: center;
}

.link {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 10px 18px;
    background: #121212;
    border: 1px solid #202020;
    border-radius: 18px;
    text-decoration: none;
    color: var(--color-text);
    transition: background-color 150ms, border-color 150ms;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeInUp 0.5s var(--transition-base) forwards;
    width: 100%;
    max-width: 420px;
}

.link:nth-child(1) {
    animation-delay: 0.2s;
}

.link:nth-child(2) {
    animation-delay: 0.3s;
}

.link:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link:hover {
    border-color: #2e2e2e;
    background: #1b1b1b;
}

.link:focus-visible {
    outline: none;
    border-color: #2e2e2e;
    background: #1b1b1b;
}

.link:active {
    opacity: 0.95;
}

.link-icon {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    z-index: 1;
}

.link-icon svg {
    width: 20px;
    height: 20px;
}

.link--youtube .link-icon {
    color: #ff0000;
}

.link--instagram .link-icon {
    color: #e1306c;
}

.link--namemc .link-icon {
    color: #000000;
}

.link-content {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    z-index: 1;
}

.link-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: var(--spacing-lg) var(--spacing-sm);
        gap: var(--spacing-lg);
    }

    .avatar-wrapper {
        width: 100px;
        height: 100px;
    }

    .avatar {
        width: 100px;
        height: 100px;
    }

    .name {
        font-size: 1.4rem;
    }

    .stats {
        gap: var(--spacing-sm);
        padding: 9px 14px;
        max-width: 300px;
    }

    .stat-divider {
        height: 22px;
    }

    .stat-value {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.64rem;
    }

    .link {
        padding: 9px 14px;
        gap: var(--spacing-sm);
        border-radius: 16px;
    }

    .link-icon {
        width: 28px;
        height: 28px;
    }

    .link-icon svg {
        width: 18px;
        height: 18px;
    }

    .link-title {
        font-size: 0.98rem;
    }
}

@media (max-width: 360px) {
    .stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}

@media (hover: none) {
    .link:hover {
        transform: none;
    }

    .link:active {
        transform: scale(0.97);
        background: var(--color-surface-hover);
    }
}

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

:root {
    --container-max: 1080px;
}

.hero-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(300px, 400px) minmax(450px, 1fr);
    align-items: center;
    gap: 48px;
}

.profile {
    width: 100%;
}

.video-preview {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.02);
    opacity: 1;
    transform: translateY(16px);
    animation: fadeInUp 0.6s var(--transition-base) 0.15s forwards;
}

.video-preview__header {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.015);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.video-preview__live {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a1a1aa;
    font-size: 0.78rem;
    font-weight: 600;
}

.video-preview__dot {
    width: 7px;
    height: 7px;
    background: #ff3040;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 48, 64, 0.45);
}

.video-preview__username {
    color: #52525b;
    font-size: 0.72rem;
    font-weight: 600;
}

.video-preview__link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.video-preview__embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-preview__embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}


.links {
    width: 400px;
    max-width: 100%;
    align-self: start;
    margin-top: -8px;
}

@media (max-width: 850px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .profile {
        width: 100%;
    }

    .video-preview {
        width: 100%;
    }

    .links {
        width: 100%;
        align-self: center;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 24px 12px;
    }

    .hero-wrapper {
        gap: 28px;
    }

    .video-preview {
        border-radius: 14px;
    }

    .video-preview__header {
        height: 38px;
        padding: 0 12px;
    }

    .video-preview__live {
        font-size: 0.72rem;
    }

    .video-preview__username {
        font-size: 0.65rem;
    }
}

.hero-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: 400px 584px;
    gap: 48px;
    align-items: center;
    justify-content: center;
}

.left-column {
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.profile {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stats {
    width: 100%;
    max-width: 360px;
}

.links {
    width: 100%;
    max-width: 400px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-preview {
    width: 584px;
    max-width: 100%;
    align-self: center;
    position: relative;
    overflow: hidden;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.02);
    opacity: 1;
    animation: fadeInUp 0.6s var(--transition-base) 0.15s forwards;
}

@media (max-width: 850px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .left-column {
        width: 100%;
        max-width: 400px;
    }

    .video-preview {
        width: 100%;
        max-width: 584px;
    }

    .links {
        width: 100%;
    }
}

.footer {
    width: 100%;
    margin-top: auto;
    padding: 24px;
}

.footer__inner {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__copyright {
    color: #71717a;
    font-size: 0.78rem;
    font-weight: 500;
}

.footer__links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer__links a {
    color: #71717a;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 150ms ease;
}

.footer__links a:hover {
    color: #ffffff;
}

@media (max-width: 600px) {
    .footer {
        padding: 20px 16px;
    }

    .footer__inner {
        flex-direction: column;
        align-items: center;
        gap: 14px;

        padding-top: 18px;
    }

    .footer__links {
        gap: 18px;
    }
}