* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html {
    scroll-behavior: smooth;
    overscroll-behavior: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    overscroll-behavior: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

body::-webkit-scrollbar {
    display: none;
}

.header-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.header-container {
    position: relative;
    width: 100%;
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, #000 100%);
    pointer-events: none;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 3;
    margin-top: -60px;
    padding-bottom: 60px;
}

.profile-section {
    text-align: center;
    padding: 0 20px;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.2s forwards;
}

.logo-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 4;
}

.logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.1));
}

.bio {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 30px;
    letter-spacing: 0.3px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.links-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.link-item {
    position: relative;
    overflow: hidden;
    display: block;
    padding: 18px 24px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.3px;
    opacity: 0;
    animation: slideUp 0.6s ease-out forwards;
}

.link-item:nth-child(1) { animation-delay: 0.3s; }
.link-item:nth-child(2) { animation-delay: 0.4s; }
.link-item:nth-child(3) { animation-delay: 0.5s; }

.link-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.link-item:active {
    transform: scale(0.97);
}

.shimmer-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 100%
    );
    transform: translateX(-160%);
    pointer-events: none;
}

@keyframes shimmerForward {
    0%   { transform: translateX(-160%); }
    100% { transform: translateX(260%); }
}

@keyframes shimmerBack {
    0%   { transform: translateX(260%); }
    100% { transform: translateX(-160%); }
}

.link-item.shimmer-fwd .shimmer-bar {
    animation: shimmerForward 0.42s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.link-item.shimmer-bk .shimmer-bar {
    animation: shimmerBack 0.42s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.footer {
    text-align: center;
    padding: 40px 20px 20px;
    color: #666;
    font-size: 13px;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.6s forwards;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.backdrop.open {
    opacity: 1;
}

.sheet {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 91;
    padding: 10px 20px 48px;
    border-radius: 28px 28px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    background: rgba(16, 16, 16, 0.92);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    transform: translateY(110%);
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.sheet.open {
    transform: translateY(0);
}

.sheet-handle {
    width: 38px;
    height: 4px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 2px;
    margin: 0 auto 24px;
}

.sheet-eyebrow {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 4px;
}

.sheet-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.sheet-url {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.32);
    word-break: break-all;
    margin-bottom: 20px;
}

.copy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 18px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.copy-row:active {
    background: rgba(255, 255, 255, 0.13);
}

.copy-row.ok {
    border-color: rgba(134, 239, 172, 0.45);
    background: rgba(134, 239, 172, 0.08);
}

.copy-row.ok .copy-label {
    color: rgb(134, 239, 172);
}

.copy-icon-wrap {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.copy-icon-wrap svg {
    position: absolute;
    top: 0;
    left: 0;
    fill: rgba(255, 255, 255, 0.6);
    transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-check {
    opacity: 0;
    transform: scale(0.5) rotate(-20deg);
    fill: rgb(134, 239, 172) !important;
}

.icon-copy {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.copy-row.ok .icon-copy {
    opacity: 0;
    transform: scale(0.5) rotate(20deg);
}

.copy-row.ok .icon-check {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.cancel-btn {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.38);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cancel-btn:active {
    background: rgba(255, 255, 255, 0.09);
}

@media (max-width: 768px) {
    .logo-container {
        width: 100px;
        height: 100px;
    }

    .bio {
        font-size: 15px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

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

    .link-item {
        font-size: 14px;
        padding: 16px 20px;
    }
  }
