:root {
    --primary-color: #ff2e63;
    --secondary-color: #39ff14;
    --dark-color: #0f0f1a;
    --light-color: #ffffff;
    --accent-color: #08fdd8;
    --text-color: #e0e0e0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --whatsapp-color: #25D366;
    --instagram-color: #E1306C;
    --telegram-color: #0088cc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Changa', sans-serif;
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://i.imgur.com/t2UTjJD.jpeg') no-repeat center center/cover;
    color: var(--light-color);
    text-align: center;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    display: flex;
    gap: 10px;
}

.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: bounce 1.5s infinite ease-in-out;
}

.circle:nth-child(2) {
    animation-delay: 0.2s;
    background: var(--secondary-color);
}

.circle:nth-child(3) {
    animation-delay: 0.4s;
    background: var(--accent-color);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

header {
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 3rem;
    margin: 15px 0;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

header h1 span { 
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.welcome { 
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.typing-text {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin: 10px 0;
    min-height: 40px;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.profile-img {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.profile-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    transition: 0.4s;
    position: relative;
    z-index: 2;
    object-fit: cover;
}

.profile-overlay {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.7; }
}

.profile-img:hover img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px var(--primary-color);
}

#starsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #000000, #0f0f1a);
    z-index: -2;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
}

.social-section {
    margin: 40px auto;
    max-width: 600px;
    padding: 0 20px;
}

.social-section h2 {
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.social-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 25px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.5s ease;
    z-index: 1;
    min-height: 70px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.social-icon {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.social-text {
    transition: all 0.3s ease;
    z-index: 2;
}

.whatsapp-btn {
    border: 1px solid var(--whatsapp-color);
    color: var(--whatsapp-color);
}

.instagram-btn {
    border: 1px solid var(--instagram-color);
    color: var(--instagram-color);
}

.channel-btn {
    border: 1px solid var(--whatsapp-color);
    color: var(--whatsapp-color);
}

.telegram-btn {
    border: 1px solid var(--telegram-color);
    color: var(--telegram-color);
}

.social-bubbles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
    z-index: 0;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%) scale(0);
    animation: bubble-float 4s ease-out infinite;
    z-index: -1;
    filter: blur(0.5px);
}

@keyframes bubble-float {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.7; }
    50% { opacity: 0.4; }
    100% { transform: translate(-50%, -150%) scale(1); opacity: 0; }
}

.whatsapp-btn .bubble { background: rgba(37, 211, 102, 0.25); width: 8px; height: 8px; }
.instagram-btn .bubble { background: rgba(225, 48, 108, 0.25); width: 6px; height: 6px; }
.channel-btn .bubble { background: rgba(37, 211, 102, 0.25); width: 7px; height: 7px; }
.telegram-btn .bubble { background: rgba(0, 136, 204, 0.25); width: 5px; height: 5px; }

.social-btn:hover .bubble { animation: bubble-float-hover 2s ease-out infinite; }

@keyframes bubble-float-hover {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.6; }
    70% { opacity: 0.3; }
    100% { transform: translate(-50%, -180%) scale(1.2); opacity: 0; }
}

@keyframes bubble-click {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(20); opacity: 0; }
}

.whatsapp-btn:hover { color: white; transform: translateY(-5px); box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); }
.instagram-btn:hover { color: white; transform: translateY(-5px); box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4); }
.channel-btn:hover { color: white; transform: translateY(-5px); box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); }
.telegram-btn:hover { color: white; transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 136, 204, 0.4); }

.social-btn:hover .social-icon { transform: rotate(15deg) scale(1.2); }
.social-btn:hover .social-text { letter-spacing: 1px; }

.skills-section {
    margin: 40px auto;
    max-width: 600px;
    padding: 0 20px;
}

.skills-section h2 {
    margin-bottom: 25px;
    color: var(--accent-color);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.skills-container {
    background: rgba(0,0,0,0.6);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.skill {
    margin-bottom: 15px;
}

.skill span {
    display: block;
    margin-bottom: 5px;
    text-align: right;
    font-size: 1rem;
    color: var(--text-color);
}

.skill-bar {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 5px;
    width: 0;
    transition: width 1.5s ease;
}

.pray {
    background: rgba(0,0,0,0.7);
    padding: 25px;
    margin: 30px auto;
    border-radius: 15px;
    max-width: 800px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,46,99,0.3);
}

.pray-content { position: relative; z-index: 1; }

.pray i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

.pray p { font-size: 1.2rem; line-height: 1.8; }
.highlight { color: var(--secondary-color); font-weight: bold; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

footer {
    background: rgba(0,0,0,0.9);
    padding: 20px;
    margin-top: 50px;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover { color: var(--primary-color); }

#musicBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.music-wave {
    width: 3px;
    height: 15px;
    background: white;
    margin: 0 2px;
    border-radius: 3px;
    animation: wave 1.5s infinite ease-in-out;
    transform-origin: bottom;
    opacity: 0;
}

.music-wave:nth-child(2) { animation-delay: 0.3s; }
.music-wave:nth-child(3) { animation-delay: 0.6s; }

@keyframes wave { 0%, 100% { transform: scaleY(0.3); opacity: 0.3; } 50% { transform: scaleY(1); opacity: 1; } }

#musicBtn.playing .music-wave { opacity: 1; }

#musicBtn:hover {
    background: var(--accent-color);
    box-shadow: 0 0 25px var(--accent-color);
    transform: scale(1.1);
}

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

@media (max-width: 768px) {
    header h1 { font-size: 2.2rem; }
    .social-grid { grid-template-columns: 1fr; }
    #musicBtn { width: 50px; height: 50px; font-size: 1.2rem; bottom: 20px; right: 20px; }
}