body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f6f6f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 0 18px;
    padding-top: 34px;
    box-sizing: border-box;
}

.photo-block {
    position: relative;
    width: 100%;
    margin-top: 18px;
    margin-bottom: 16px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    z-index: 3;
    transition: background 0.2s ease;
}

.arrow:hover {
    background: rgba(255, 255, 255, 0.32);
}

.arrow.left {
    left: 8px;
}

.arrow.right {
    right: 8px;
}

.arrow svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.photo {
    width: 100%;
    height: 370px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #e6e6e6;
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.85);
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 20px 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 55%, rgba(0,0,0,0.9) 100%);
    box-sizing: border-box;
}

.name-text {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-align: center;
    display: block;
    text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

.buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    width: 100%;
}

.btn {
    flex: 1;
    min-height: 58px;
    padding: 16px 12px;
    border: none;
    border-radius: 16px;
    background: #f2f2f2;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px -12px rgba(0,0,0,0.9);
    transition: transform 0.14s ease, box-shadow 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

.btn:active {
    transform: scale(0.98);
}

.btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.btn.whatsapp {
    background: linear-gradient(180deg, #2BDD72 0%, #22BF5E 100%);
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(37, 211, 102, 1);
}

.btn.whatsapp:hover {
    background: linear-gradient(180deg, #25D366 0%, #1EB457 100%);
}

.btn.whatsapp:active {
    background: #1ebe5d;
}

.btn.telegram {
    background: linear-gradient(180deg, #29A2E0 0%, #0682C4 100%);
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(0, 136, 204, 1);
}

.btn.telegram:hover {
    background: linear-gradient(180deg, #1E96D6 0%, #0475B2 100%);
}

.btn.telegram:active {
    background: #0066a3;
}

.btn svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.description {
    width: 100%;
    min-height: 80px;
    background: #fff;
    color: #2b2f36;
    border-radius: 18px;
    padding: 18px 20px;
    font-size: 15px;
    line-height: 1.62;
    margin-bottom: 22px;
    box-sizing: border-box;
    box-shadow: 0 16px 34px -22px rgba(0,0,0,0.95);
}

.is-loading .photo,
.is-loading .description {
    background-image: linear-gradient(90deg, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.11) 37%, rgba(0,0,0,0.05) 63%);
    background-size: 400% 100%;
    animation: skeleton 1.3s ease infinite;
}

.is-loading .name,
.is-loading .arrow,
.is-loading .buttons {
    visibility: hidden;
}

@keyframes skeleton {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .is-loading .photo,
    .is-loading .description {
        animation: none;
    }
    .btn,
    .arrow {
        transition: none;
    }
}

.load-error {
    width: 100%;
    background: #fff;
    color: #b00020;
    border-radius: 16px;
    padding: 16px;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 360px) {
    .photo {
        height: 330px;
    }
    .name-text {
        font-size: 24px;
    }
    .btn {
        font-size: 16px;
        min-height: 54px;
    }
}