/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Simple Dotted Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #000000;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Simple elegant dot pattern like xevion.dev */
.floating-shapes::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.4) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.3) 1px, transparent 1px),
        radial-gradient(circle at 40% 70%, rgba(255,255,255,0.35) 1px, transparent 1px),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.25) 1px, transparent 1px),
        radial-gradient(circle at 10% 60%, rgba(255,255,255,0.3) 1px, transparent 1px),
        radial-gradient(circle at 90% 50%, rgba(255,255,255,0.4) 1px, transparent 1px),
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.2) 1px, transparent 1px),
        radial-gradient(circle at 60% 40%, rgba(255,255,255,0.35) 1px, transparent 1px),
        radial-gradient(circle at 50% 90%, rgba(255,255,255,0.3) 1px, transparent 1px),
        radial-gradient(circle at 15% 85%, rgba(255,255,255,0.25) 1px, transparent 1px);
    background-size: 
        150px 150px, 200px 200px, 180px 180px, 160px 160px, 170px 170px,
        190px 190px, 140px 140px, 210px 210px, 175px 175px, 165px 165px;
    animation: slowPulse 8s ease-in-out infinite;
}

/* Simple individual dots that pulse gently like xevion.dev */
/* Cool Individual Stars Background */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 1px;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: starFloat 4s ease-in-out infinite;
}

.star::before {
    content: '';
    position: absolute;
    top: -0.5px;
    left: -0.5px;
    width: 2px;
    height: 2px;
    background: inherit;
    border-radius: 50%;
    opacity: 0;
    animation: var(--before-animation, starPulse 3s ease-in-out infinite);
}


.shape-32 { width: 1px; height: 1px; top: 85%; left: 62%; background: rgba(255,255,255,0.33); animation: floatDotSlow 20s ease-in-out infinite; animation-delay: -2.1s; }
.shape-33 { width: 1px; height: 1px; top: 22%; left: 88%; background: rgba(255,255,255,0.30); animation: floatDotFast 8s ease-in-out infinite; animation-delay: -7.9s; }
.shape-34 { width: 2px; height: 2px; top: 66%; left: 32%; background: rgba(138,43,226,0.40); animation: floatDot 18s ease-in-out infinite; animation-delay: -4.7s; }
.shape-35 { width: 1px; height: 1px; top: 37%; left: 96%; background: rgba(255,255,255,0.25); animation: floatDotSlow 16s ease-in-out infinite; animation-delay: -8.5s; }
.shape-36 { width: 1px; height: 1px; top: 52%; left: 4%; background: rgba(255,255,255,0.37); animation: floatDotFast 11s ease-in-out infinite; animation-delay: -1.6s; }
.shape-37 { width: 2px; height: 2px; top: 79%; left: 79%; background: rgba(138,43,226,0.44); animation: floatDot 17s ease-in-out infinite; animation-delay: -5.8s; }
.shape-38 { width: 1px; height: 1px; top: 14%; left: 65%; background: rgba(255,255,255,0.29); animation: floatDotSlow 19s ease-in-out infinite; animation-delay: -3.1s; }

.shape-39 { width: 1px; height: 1px; top: 46%; left: 21%; background: rgba(255,255,255,0.32); animation: floatDotFast 9s ease-in-out infinite; animation-delay: -6.4s; }
.shape-40 { width: 2px; height: 2px; top: 71%; left: 48%; background: rgba(138,43,226,0.39); animation: floatDot 14s ease-in-out infinite; animation-delay: -2.3s; }
.shape-41 { width: 1px; height: 1px; top: 93%; left: 83%; background: rgba(255,255,255,0.34); animation: floatDotSlow 21s ease-in-out infinite; animation-delay: -7.7s; }
.shape-42 { width: 1px; height: 1px; top: 25%; left: 6%; background: rgba(255,255,255,0.28); animation: floatDotFast 10s ease-in-out infinite; animation-delay: -4.2s; }
.shape-43 { width: 2px; height: 2px; top: 59%; left: 74%; background: rgba(138,43,226,0.37); animation: floatDot 16s ease-in-out infinite; animation-delay: -8.1s; }
.shape-44 { width: 1px; height: 1px; top: 18%; left: 94%; background: rgba(255,255,255,0.31); animation: floatDotSlow 18s ease-in-out infinite; animation-delay: -1.4s; }
.shape-45 { width: 1px; height: 1px; top: 87%; left: 13%; background: rgba(255,255,255,0.26); animation: floatDotFast 12s ease-in-out infinite; animation-delay: -5.9s; }
.shape-46 { width: 2px; height: 2px; top: 31%; left: 57%; background: rgba(138,43,226,0.42); animation: floatDot 15s ease-in-out infinite; animation-delay: -3.6s; }
.shape-47 { width: 1px; height: 1px; top: 76%; left: 26%; background: rgba(255,255,255,0.35); animation: floatDotSlow 17s ease-in-out infinite; animation-delay: -7.2s; }

.shape-48 { width: 1px; height: 1px; top: 3%; left: 31%; background: rgba(255,255,255,0.30); animation: floatDotFast 11s ease-in-out infinite; animation-delay: -2.7s; }
.shape-49 { width: 2px; height: 2px; top: 54%; left: 98%; background: rgba(138,43,226,0.38); animation: floatDot 19s ease-in-out infinite; animation-delay: -6.3s; }
.shape-50 { width: 1px; height: 1px; top: 97%; left: 69%; background: rgba(255,255,255,0.33); animation: floatDotSlow 20s ease-in-out infinite; animation-delay: -4.8s; }

/* Simple pulsing animation like xevion.dev */
@keyframes starPulse {
    0%, 70%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    35% {
        opacity: 1;
        transform: scale(2);
    }
}

@keyframes starFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(1px, -1px);
    }
    50% {
        transform: translate(-1px, 1px);
    }
    75% {
        transform: translate(1px, 1px);
    }
}

@keyframes slowPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Main Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

/* Glitch Effect for Main Title */
.glitch-container {
    position: relative;
    margin-bottom: 2rem;
}

.main-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    color: #ffffff;
    position: relative;
    display: inline-block;
    letter-spacing: 0.1em;
}

/* Subtitle */
.subtitle {
    font-size: 1.5rem;
    color: #8a2be2;
    margin-top: 1rem;
    position: relative;
}

.typing-text {
    border-right: 2px solid #8a2be2;
    animation: typing 4s steps(40) infinite;
}

.cursor {
    animation: blink 1s infinite;
    color: #8a2be2;
}

@keyframes typing {
    0%, 50% { border-right-color: #8a2be2; }
    51%, 100% { border-right-color: transparent; }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Avatar */
.avatar-container {
    position: relative;
    margin: 2rem 0;
}

.avatar {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(138, 43, 226, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.pulse-ring {
    display: none;
}

/* Social Media Buttons */
.social-section {
    width: 100%;
    max-width: 600px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-btn {
    text-decoration: none;
    position: relative;
    display: block;
    height: 60px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-text {
    z-index: 2;
    position: relative;
}

.hover-effect {
    display: none;
}

/* Simple hover effect */
.social-btn:hover .btn-inner {
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.3);
    transform: translateY(-2px);
}

.social-btn:active .btn-inner {
    transform: translateY(0px);
}

/* Interactive Elements - Hidden for simplicity */
.interactive-elements {
    display: none;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 1s ease-in-out 3s forwards;
}

.loader {
    text-align: center;
}

.galaxy-animation {
    position: relative;
    width: 150px;
    height: 150px;
}

.galaxy-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px #ffffff, 0 0 40px #ffffff;
    animation: galaxyExpand 2s ease-out forwards;
}

.galaxy-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: ringExpand 2s ease-out forwards;
}

.ring-1 {
    width: 40px;
    height: 40px;
    animation-delay: 0.3s;
}

.ring-2 {
    width: 80px;
    height: 80px;
    animation-delay: 0.6s;
}

.ring-3 {
    width: 120px;
    height: 120px;
    animation-delay: 0.9s;
}

.loading-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 1.5s ease-out forwards;
}

.particle:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 1.2s;
}

.particle:nth-child(2) {
    top: 70%;
    left: 70%;
    animation-delay: 1.4s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 80%;
    animation-delay: 1.6s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-delay: 1.8s;
}

.particle:nth-child(5) {
    top: 10%;
    left: 60%;
    animation-delay: 2.0s;
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

@keyframes galaxyExpand {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px #ffffff, 0 0 40px #ffffff;
    }
    50% {
        transform: translate(-50%, -50%) scale(3);
        box-shadow: 0 0 40px #ffffff, 0 0 80px #ffffff, 0 0 120px rgba(255,255,255,0.5);
    }
    100% {
        transform: translate(-50%, -50%) scale(5);
        opacity: 0;
    }
}

@keyframes ringExpand {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0) translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .interactive-elements {
        position: static;
        transform: none;
        margin-top: 3rem;
        text-align: center;
    }
    
    .main-title {
        font-size: clamp(3rem, 12vw, 6rem);
    }
    
    .avatar-inner {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
    
    .pulse-ring {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .social-btn {
        height: 70px;
    }
    
    .btn-inner {
        font-size: 1.1rem;
    }
    
    .terminal {
        min-width: 300px;
        padding: 15px;
    }
}

/* Hide particle canvas */
#particles {
    display: none;
}

/* Hide matrix canvas */
#matrix {
    display: none;
}

/* Scroll Effects */
body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: #0a0a0a;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ffffff, #8a2be2);
    border-radius: 5px;
}

body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #8a2be2, #9370db);
}