.wplt-container {
    padding: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    position: relative;
}

/* Standalone mode - full viewport height for virtual pages */
.wplt-standalone-page .wplt-container {
    min-height: 100vh;
}

.wplt-inner {
    max-width: 580px;
    width: 100%;
    text-align: center;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 60px 20px 40px;
}

/* Top Icons */
.wplt-top-left,
.wplt-top-right {
    position: absolute;
    top: 15px;
    z-index: 100;
}

.wplt-top-left {
    left: 15px;
}

.wplt-top-right {
    right: 15px;
    display: flex;
    gap: 10px;
}

.wplt-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: inherit;
    font-size: 18px;
    text-decoration: none;
    position: relative;
}

.wplt-icon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.wplt-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
}

/* Avatar */
.wplt-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
}

.wplt-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Profile */
.wplt-profile-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
    color: inherit;
}

.wplt-profile-bio {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 32px;
    opacity: 0.95;
    color: inherit;
}

/* Links */
.wplt-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wplt-link-wrapper {
    position: relative;
}

.wplt-link {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 60px 16px 24px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wplt-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.wplt-link-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.wplt-link-content {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wplt-link-title {
    font-weight: 600;
    font-size: 16px;
    display: block;
}

.wplt-link-description {
    font-size: 13px;
    opacity: 0.7;
    font-weight: 400;
    display: block;
}

.wplt-link-menu-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    flex-shrink: 0;
    z-index: 10;
}

.wplt-link-menu-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    transform: translateY(-50%) scale(1.1);
}

/* Share Menu */
.wplt-share-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wplt-fade-in 0.3s ease;
}

.wplt-share-menu-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: wplt-slide-up 0.3s ease;
}

.wplt-share-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 32px;
    height: 32px;
    line-height: 1;
}

.wplt-share-close:hover {
    color: #333;
}

.wplt-share-menu-content h3 {
    margin: 0 0 20px;
    color: #333;
}

.wplt-share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.wplt-share-btn,
.wplt-page-share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: #f5f5f5;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-size: 13px;
}

.wplt-share-btn:hover,
.wplt-page-share-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.wplt-share-btn i,
.wplt-page-share-btn i {
    font-size: 24px;
}

/* Social Icons */
.wplt-social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.wplt-social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wplt-social-icon:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Footer */
.wplt-footer {
    margin-top: 40px;
}

.wplt-footer-btn {
    display: inline-block;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    text-decoration: none;
    border-radius: 24px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.wplt-footer-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* QR Code */
.wplt-qr-code {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.wplt-qr-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.wplt-qr-image {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 8px;
}

/* Notifications Dropdown */
.wplt-notifications-dropdown {
    position: absolute;
    top: 60px;
    right: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    animation: wplt-slide-down 0.3s ease;
}

.wplt-notifications-header {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.wplt-notifications-header h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.wplt-notifications-list {
    padding: 12px;
}

.wplt-no-notifications {
    text-align: center;
    color: #999;
    padding: 20px;
    margin: 0;
    font-size: 14px;
}

.wplt-no-links {
    color: inherit;
    opacity: 0.8;
    font-size: 16px;
}

/* Button Styles */
.wplt-container[data-button-style="rounded"] .wplt-link {
    border-radius: 12px;
}

.wplt-container[data-button-style="square"] .wplt-link {
    border-radius: 0;
}

.wplt-container[data-button-style="pill"] .wplt-link {
    border-radius: 50px;
}

/* Themes */
.wplt-container[data-theme="gradient-blue"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.wplt-container[data-theme="gradient-blue"] .wplt-inner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.wplt-container[data-theme="gradient-purple"] {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #1a1a1a;
}

.wplt-container[data-theme="gradient-purple"] .wplt-inner {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.wplt-container[data-theme="gradient-purple"] .wplt-link {
    background: rgba(255, 255, 255, 0.9);
}

.wplt-container[data-theme="gradient-pink"] {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #1a1a1a;
}

.wplt-container[data-theme="gradient-pink"] .wplt-inner {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.wplt-container[data-theme="gradient-pink"] .wplt-link {
    background: rgba(255, 255, 255, 0.9);
}

.wplt-container[data-theme="gradient-green"] {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    color: #1a1a1a;
}

.wplt-container[data-theme="gradient-green"] .wplt-inner {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.wplt-container[data-theme="gradient-green"] .wplt-link {
    background: rgba(255, 255, 255, 0.9);
}

.wplt-container[data-theme="dark"] {
    background: #1a1a1a;
    color: #ffffff;
}

.wplt-container[data-theme="dark"] .wplt-inner {
    background: #1a1a1a;
}

.wplt-container[data-theme="dark"] .wplt-link {
    background: #2a2a2a;
    color: #ffffff;
    border-color: #3a3a3a;
}

.wplt-container[data-theme="dark"] .wplt-link:hover {
    background: #353535;
    border-color: #4a4a4a;
}

.wplt-container[data-theme="light"] {
    background: #f5f5f5;
    color: #1a1a1a;
}

.wplt-container[data-theme="light"] .wplt-inner {
    background: #f5f5f5;
}

.wplt-container[data-theme="light"] .wplt-link {
    background: #ffffff;
    color: #1a1a1a;
    border-color: #e0e0e0;
}

.wplt-container[data-theme="light"] .wplt-link:hover {
    background: #fafafa;
    border-color: #d0d0d0;
}

.wplt-container[data-theme="light"] .wplt-avatar img {
    border-color: rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .wplt-container {
        padding: 30px 16px;
    }

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

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

    .wplt-profile-bio {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .wplt-link {
        padding: 14px 54px 14px 20px;
        font-size: 15px;
    }

    .wplt-links {
        gap: 12px;
    }

    .wplt-link-menu-btn {
        right: 10px;
    }

    .wplt-qr-code {
        bottom: 10px;
        right: 10px;
        padding: 12px;
    }

    .wplt-qr-image {
        width: 100px;
        height: 100px;
    }

    .wplt-share-buttons {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .wplt-notifications-dropdown {
        right: 10px;
        width: calc(100vw - 20px);
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .wplt-avatar {
        width: 90px;
        height: 90px;
    }

    .wplt-profile-name {
        font-size: 22px;
    }

    .wplt-link {
        padding: 12px 48px 12px 18px;
        font-size: 14px;
    }

    .wplt-link-menu-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
        right: 8px;
    }

    .wplt-qr-code {
        display: none;
    }
}

/* Animations */
@keyframes wplt-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes wplt-slide-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wplt-slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wplt-avatar,
.wplt-profile-name,
.wplt-profile-bio {
    animation: wplt-fade-in 0.6s ease forwards;
}

.wplt-link-wrapper {
    animation: wplt-fade-in 0.6s ease forwards;
}

.wplt-link-wrapper:nth-child(1) { animation-delay: 0.1s; }
.wplt-link-wrapper:nth-child(2) { animation-delay: 0.2s; }
.wplt-link-wrapper:nth-child(3) { animation-delay: 0.3s; }
.wplt-link-wrapper:nth-child(4) { animation-delay: 0.4s; }
.wplt-link-wrapper:nth-child(5) { animation-delay: 0.5s; }
.wplt-link-wrapper:nth-child(6) { animation-delay: 0.6s; }
.wplt-link-wrapper:nth-child(7) { animation-delay: 0.7s; }
.wplt-link-wrapper:nth-child(8) { animation-delay: 0.8s; }
.wplt-link-wrapper:nth-child(9) { animation-delay: 0.9s; }
.wplt-link-wrapper:nth-child(10) { animation-delay: 1s; }

.wplt-social-icons,
.wplt-footer {
    animation: wplt-fade-in 0.8s ease forwards;
    animation-delay: 1.1s;
}
