* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000000;
}

body {
    margin: 0;
    min-height: 100vh;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 600px;
    width: 100%;
    perspective: 1000px;
    position: relative;
    z-index: 1;
}

.profile-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: profileCardEntry 1s ease-out;
}
.profile-card-2 {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;

}

@keyframes profileCardEntry {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-card:hover {
    transform: translateZ(30px) rotateX(5deg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
    animation: profileImagePulse 2s infinite;
}

@keyframes profileImagePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.profile-image:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    color: #fff;
    font-size: 2em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    text-align: center;
}

.bio {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    perspective: 1000px;
}

.link-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    animation: linkCardEntry 0.5s ease-out backwards;
}

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

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: translateZ(30px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.link-card i {
    font-size: 1.5em;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.link-card:hover i {
    transform: rotate(360deg) scale(1.2);
}

.link-card span {
    font-size: 1.1em;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
}

.link-card:hover span {
    transform: translateX(5px);
}

/* Enhanced Social Media Icons with Glow Effect */
.fa-instagram { 
    color: #E4405F; 
    text-shadow: 0 0 10px rgba(228, 64, 95, 0.5);
}
.fa-facebook { 
    color: #1877F2; 
    text-shadow: 0 0 10px rgba(24, 119, 242, 0.5);
}
.fa-tiktok { 
    color: #01070a; 
    text-shadow: 0 0 10px rgba(32, 39, 42, 0.5);
}

.fa-youtube {
    color: #FF4500;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}
.fa-whatsapp {
    color: #22d128;
    text-shadow: 0 0 10px rgba(48, 207, 54, 0.5);
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .profile-card {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.5em;
    }
}

/* Loading Screen Enhancement */
.loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.typing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tag-text {
    color: #fff;
    font-size: 1.4em;
    letter-spacing: 3px;
    font-weight: 500;
    text-align: center;
    font-family: 'Courier New', monospace;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    background: linear-gradient(90deg, 
        #ffffff,
        #c0c0c0,
        #e8e8e8,
        #ffffff,
        #a0a0a0,
        #ffffff
    );
    background-size: 400% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: 
        silverShine 4s linear infinite,
        fadeInUp 0.5s forwards;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.tag-text:nth-child(1) { animation-delay: 0.5s; }
.tag-text:nth-child(2) { animation-delay: 1s; }
.tag-text:nth-child(3) { animation-delay: 1.5s; }
.tag-text:nth-child(4) { animation-delay: 2.0s; }
.tag-text:nth-child(5) { animation-delay: 2.5s; }


.tag-text span {
    color: #a0a0a0;
    -webkit-text-fill-color: #e8e8e8;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

@keyframes silverShine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 400% center;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loader {
    border: 4px solid rgba(232, 232, 232, 0.1);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    position: relative;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.loader::before,
.loader::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: rgba(232, 232, 232, 0.2);
}

.loader::before {
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border-top-color: rgba(192, 192, 192, 0.4);
    animation: spin 3s linear infinite;
}

.loader::after {
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border-top-color: rgba(255, 255, 255, 0.6);
    animation: spin 1.5s linear infinite reverse;
}


  .loader {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transition: opacity 0.5s ease; /* fade-out transition */
  }

  .loader.fade-out {
    opacity: 0;
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
} 

.nav-button {
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #ffffff10;
    color: white;
    border: 1px solid white;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    text-align: center;
    align-items: center;
}

.nav-button:hover {
    background-color: #ffffff30;
    transform: scale(1.05);
}

.container-1, .container-2 {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(100px);
}

.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.center {
    text-align: center;
}

.start-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #ffffff22;
    color: white;
    border: 1px solid white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background 0.3s;
}
.start-button:hover {
    background-color: #ffffff44;
}
