/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

:root {
    --primary-color: #ffffff;
    --secondary-color: #ffffff;
    --bg-dark: #0d1117;
    --bg-light: #161b22;
    --bg-card: #21262d;
    --border-color: #30363d;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --youtube-color: #ff0000;
    --telegram-color: #0088cc;
    --spotify-color: #1db954;
    --discord-color: #5865f2;
    --pinterest-color: #e60023;
    --blogger-color: #ff5722;
    --facebook-color: #1877f2;
    --instagram-color: #e4405f;
    --twitter-color: #000000;
    --tiktok-color: #000000;
    --kick-color: #53fc18;
    --twitch-color: #9146ff;
    --reddit-color: #ff4500;
    --whatsapp-color: #25d366;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: transparent;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 15, 15, 0.5);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 6px;
    border: 3px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) var(--bg-dark);
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at top left, #1a1a2e 0%, #0f0f0f 50%, #16213e 100%);
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 1;
    animation: float 25s ease-in-out infinite;
    will-change: transform;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.5) 0%, rgba(99, 102, 241, 0.2) 40%, transparent 70%);
    top: -300px;
    left: -300px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.45) 0%, rgba(168, 85, 247, 0.2) 40%, transparent 70%);
    bottom: -250px;
    right: -250px;
    animation-delay: -8s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.48) 0%, rgba(59, 130, 246, 0.22) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: -16s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Container */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
}

/* Action Buttons Container */
.action-buttons {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

/* Share Button */
.share-btn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.share-btn:hover::before {
    left: 100%;
}

.share-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.share-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.share-btn:active {
    transform: scale(0.95);
}

/* Subscribe Button */
.subscribe-btn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.subscribe-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.subscribe-btn:hover::before {
    left: 100%;
}

.subscribe-btn i {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscribe-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.subscribe-btn:active {
    transform: scale(0.95);
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #ffffff;
    border-radius: 50%;
    animation: rotate 4s linear infinite;
    z-index: -1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4);
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.3);
}

.profile-tagline {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Links Container */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease backwards;
    transform-style: preserve-3d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.link-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 12px;
}

.platform-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.username {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    opacity: 0.7;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.social-link:active {
    transform: translateY(-4px) scale(0.98);
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
    overflow: visible;
    flex-shrink: 0;
    padding: 2px;
}

.icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.social-link:hover .icon-wrapper img {
    transform: scale(1.08) rotate(3deg);
}

/* Social Link Colors */
.social-link.youtube:hover {
    border-color: var(--youtube-color);
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.4);
}

.social-link.telegram:hover {
    border-color: var(--telegram-color);
    box-shadow: 0 10px 40px rgba(0, 136, 204, 0.4);
}

.social-link.spotify:hover {
    border-color: var(--spotify-color);
    box-shadow: 0 10px 40px rgba(29, 185, 84, 0.4);
}

.social-link.discord:hover {
    border-color: var(--discord-color);
    box-shadow: 0 10px 40px rgba(88, 101, 242, 0.4);
}

.social-link.pinterest:hover {
    border-color: var(--pinterest-color);
    box-shadow: 0 10px 40px rgba(230, 0, 35, 0.4);
}

.social-link.blogger:hover {
    border-color: var(--blogger-color);
    box-shadow: 0 10px 40px rgba(255, 87, 34, 0.4);
}

.social-link.facebook:hover {
    border-color: var(--facebook-color);
    box-shadow: 0 10px 40px rgba(24, 119, 242, 0.4);
}

.social-link.instagram:hover {
    border-color: var(--instagram-color);
    box-shadow: 0 10px 40px rgba(228, 64, 95, 0.4);
}

.social-link.twitter:hover {
    border-color: #ffffff;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.4);
}

.social-link.tiktok:hover {
    border-color: #69c9d0;
    box-shadow: 0 10px 40px rgba(105, 201, 208, 0.4);
}

.social-link.kick:hover {
    border-color: var(--kick-color);
    box-shadow: 0 10px 40px rgba(83, 252, 24, 0.4);
}

.social-link.twitch:hover {
    border-color: var(--twitch-color);
    box-shadow: 0 10px 40px rgba(145, 70, 255, 0.4);
}

.social-link.reddit:hover {
    border-color: var(--reddit-color);
    box-shadow: 0 10px 40px rgba(255, 69, 0, 0.4);
}

.social-link.whatsapp:hover {
    border-color: var(--whatsapp-color);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

.footer p {
    margin: 5px 0;
}

.footer-credit {
    color: var(--text-muted);
    font-size: 13px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 16px 70px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 18px;
    color: #ffffff;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 400;
    line-height: 1;
    padding: 0;
    text-align: center;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.close-modal:active {
    transform: rotate(90deg) scale(0.9);
}

/* Subscribe Modal */
.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 25px rgba(255, 255, 255, 0.3);
}

.modal-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-header h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.highlight {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.subscribe-form {
    display: flex;
    gap: 12px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.subscribe-form input:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1), 0 0 15px rgba(255, 255, 255, 0.2);
}

.subscribe-form button {
    padding: 12px 24px;
    background: #ffffff;
    border: none;
    border-radius: 8px;
    color: var(--bg-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.subscribe-form button:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.3);
}

.subscribe-form button:active {
    transform: translateY(0);
}

/* Share Modal */
.share-modal h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 22px;
}

.qr-code {
    text-align: center;
    margin-bottom: 30px;
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.qr-image {
    width: 180px;
    height: 180px;
    border-radius: 16px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.share-option:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
}

.share-option i:first-child {
    font-size: 20px;
    width: 32px;
}

.share-option span {
    flex: 1;
}

.share-option i:last-child {
    font-size: 14px;
    color: var(--text-secondary);
}

.copy-link {
    display: flex;
    gap: 12px;
}

.copy-link input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
}

.copy-link button {
    padding: 14px 28px;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    color: var(--bg-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.copy-link button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5), 0 0 35px rgba(255, 255, 255, 0.3);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 18px 36px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 255, 255, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    z-index: 2000;
    transition: bottom 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toast.active {
    bottom: 40px;
}

.toast i {
    color: #ffffff;
    font-size: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    flex-shrink: 0;
}

.toast span {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Animation Delays for Links */
.social-link:nth-child(1) { animation-delay: 0.1s; }
.social-link:nth-child(2) { animation-delay: 0.15s; }
.social-link:nth-child(3) { animation-delay: 0.2s; }
.social-link:nth-child(4) { animation-delay: 0.25s; }
.social-link:nth-child(5) { animation-delay: 0.3s; }
.social-link:nth-child(6) { animation-delay: 0.35s; }
.social-link:nth-child(7) { animation-delay: 0.4s; }
.social-link:nth-child(8) { animation-delay: 0.45s; }
.social-link:nth-child(9) { animation-delay: 0.5s; }
.social-link:nth-child(10) { animation-delay: 0.55s; }
.social-link:nth-child(11) { animation-delay: 0.6s; }
.social-link:nth-child(12) { animation-delay: 0.65s; }
.social-link:nth-child(13) { animation-delay: 0.7s; }
.social-link:nth-child(14) { animation-delay: 0.75s; }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 30px 16px;
    }

    .action-buttons {
        padding: 0 25px;
    }

    .share-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
        border-radius: 8px;
    }

    .subscribe-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
        border-radius: 8px;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .profile-name {
        font-size: 26px;
    }

    .profile-tagline {
        font-size: 14px;
    }

    .social-link {
        padding: 16px 20px;
        font-size: 15px;
    }

    .platform-name {
        font-size: 15px;
    }

    .username {
        font-size: 13px;
    }

    .social-link i {
        font-size: 20px;
        width: 36px;
        height: 36px;
    }

    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .copy-link {
        flex-direction: column;
    }

    .toast {
        padding: 14px 20px;
        font-size: 13px;
        max-width: 92%;
        border-radius: 40px;
    }

    .toast i {
        font-size: 16px;
    }

    .toast.active {
        bottom: 30px;
    }
}

@media (max-width: 480px) {
    .profile-name {
        font-size: 22px;
    }

    .social-link {
        padding: 14px 16px;
        font-size: 14px;
    }

    .platform-name {
        font-size: 14px;
    }

    .username {
        font-size: 12px;
    }

    .toast {
        padding: 12px 16px;
        font-size: 12px;
        max-width: 94%;
        gap: 8px;
    }

    .toast i {
        font-size: 14px;
    }

    .toast.active {
        bottom: 20px;
    }
}
