:root {
    --bg-color: #00d066;
    --text-color: #fff;
    --button-bg: rgba(0, 0, 0, 0.08);
    --button-hover: rgba(0, 0, 0, 0.12);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    direction: rtl;
    overflow-x: hidden;
    background: linear-gradient(135deg, #00d472 0%, #019c42 100%);
    background-attachment: fixed;
}
#tiktok{
  
}
.container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    position: relative;
}

.top-menu {
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.menu-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    font-size: 24px;
    position: relative;
}

.popup-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.2s ease;
}

.popup-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.popup-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 16px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
}

.menu-section {
    padding: 8px;
}

.menu-section-title {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    padding: 0 8px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.menu-item:hover {
    background: rgba(0, 208, 102, 0.1);
    color: #00d066;
}

.menu-item svg {
    width: 20px;
    height: 20px;
}

.menu-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 8px;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 16px);
    margin: 8px;
    padding: 12px;
    border: none;
    background: #00d066;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-button:hover {
    background: #00b859;
}

.subscription-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.subscription-popup.active {
    opacity: 1;
    pointer-events: all;
}

.subscription-content {
    background: white;
    padding: 32px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.subscription-popup.active .subscription-content {
    transform: translateY(0);
}

/* Tablet Styles (768px and below) */
@media screen and (max-width: 768px) {
    .container {
        padding: 30px 16px;
    }

    .profile-image {
        width: 96px;
        height: 96px;
    }

    .profile-name {
        font-size: 24px;
        
    }

    .profile-description {
        font-size: 14px;
        padding: 0 20px;
    }

    .link-item {
        padding: 14px;
    }

    .link-item img {
        width: 28px;
        height: 28px;
    }

    .popup-menu {
        min-width: 200px;
    }

    .subscription-content {
        width: 85%;
        padding: 24px;
    }
}

/* Mobile Styles (480px and below) */
@media screen and (max-width: 480px) {
    .container {
        padding: 20px 12px;
    }

    .top-menu {
        padding: 0 8px;
    }

    .profile-image {
        width: 80px;
        height: 80px;
    }

    .profile-name {
        font-size: 20px;
        margin: 12px 0 8px;
    }

    .profile-description {
        font-size: 13px;
        padding: 0 12px;
        margin-bottom: 20px;
    }

    .link-item {
        padding: 12px;
        margin-bottom: 12px;
    }

    .link-item img {
        width: 24px;
        height: 24px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

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

    .popup-menu {
        min-width: 180px;
        right: -8px;
    }

    .menu-item {
        padding: 10px;
        gap: 8px;
    }

    .subscription-content {
        width: 90%;
        padding: 20px;
    }

    .subscription-title {
        font-size: 18px;
    }

    .subscription-description {
        font-size: 13px;
    }

    .subscription-input,
    .subscription-button {
        padding: 10px;
        font-size: 14px;
    }

    .subscription-terms {
        font-size: 11px;
    }

    .footer {
        font-size: 12px;
        margin-top: 30px;
    }
}

.subscription-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #666;
}

.subscription-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

.subscription-title {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.subscription-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
}

.subscription-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 16px;
    box-sizing: border-box;
}

.subscription-button {
    width: 100%;
    padding: 12px;
    background: #00d066;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.subscription-button:hover {
    background: #00b859;
}

.subscription-terms {
    font-size: 12px;
    color: #666;
    margin-top: 16px;
    line-height: 1.4;
}

.menu-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.profile {
    text-align: center;
    margin-bottom: 32px;
    padding-top: 64px;
}

.profile-image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin-bottom: 16px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.75);
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.profile-description {
    color: white;
    font-size: 16px;
    margin-bottom: 24px;
    padding: 0 24px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-item {
    background-color: var(--button-bg);
    padding: 9px 0px;
    border-radius: 100px;
    text-decoration: none;
    /* border-color: white; */
    color: var(--text-color);
    border: 1px solid white;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
    display: flex
;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 56px;
}

.link-item::after {
    content: '⋮';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    opacity: 0.7;
    color: #fff;
}

.link-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    left: 12px;
}


.link-item:hover {
    background-color: var(--button-hover);
    transform: translateY(-1px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    margin-bottom: 32px;
}

.footer {
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 14px;
    position: fixed;
    bottom: 0;
}

.social-icon {
    color: var(--text-color);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.social-icon:hover {
    opacity: 1;
}

@media (max-width: 680px) {
    .container {
        padding: 16px;
    }
    
    .profile-image {
        width: 80px;
        height: 80px;
    }
    
    .profile-description {
        padding: 0 16px;
    }
}

