@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");
@import url("elephant.css");

:root {
    --primary-color: #23a6d5;
    --accent-color: #e73c7e;
    --text-color: #ffffff;
    --bg-opacity: 0.15;
    --shadow-color: rgba(31, 38, 135, 0.4);
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 1rem;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.container {
    text-align: center;
    padding: clamp(1rem, 5vw, 2rem);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, var(--bg-opacity));
    border-radius: 24px;
    box-shadow: 0 12px 40px 0 var(--shadow-color);
    border: 1px solid rgba(255, 255, 255, 0.18);
    animation: fadeIn 1.2s ease-in;
    max-width: 800px;
    width: 95%;
    margin: 1rem auto;
    transition: transform 0.3s ease;
}

.container:hover {
    transform: translateY(-5px);
}

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

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

.profile-image {
    width: clamp(100px, 30vw, 150px);
    height: clamp(100px, 30vw, 150px);
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    animation:
        borderColor 5s linear infinite,
        pulse 2s ease-in-out infinite;
}

@keyframes borderColor {
    0% {
        border-color: #ee7752;
    }

    25% {
        border-color: #e73c7e;
    }

    50% {
        border-color: #23a6d5;
    }

    75% {
        border-color: #23d5ab;
    }

    100% {
        border-color: #ee7752;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.8s ease-out forwards;
    margin: 1rem 0;
}

p {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    opacity: 0;
    animation: slideIn 0.8s ease-out forwards;
    animation-delay: 0.5s;
    line-height: 1.6;
    max-width: 700px;
    margin: 1rem auto;
    font-weight: 300;
    padding: 0 0.5rem;
}

p a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

p a:hover {
    color: #ffffff;
}

p a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #ffffff;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

p a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 2vw, 15px);
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 12vw, 50px);
    height: clamp(40px, 12vw, 50px);
    border-radius: 50%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-links a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: 0.5s;
    border-radius: 50%;
    z-index: -1;
}

.social-links a:hover {
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.social-links a:hover::before {
    transform: scale(1.5);
}

.social-links i,
.social-links img {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    transition: all 0.3s ease;
}

.twitter {
    background: #000000;
}

.twitter:hover {
    background: #fff;
    color: #000000;
}

.linkedin {
    background: #0077b5;
}

.linkedin:hover {
    background: #fff;
    color: #0077b5;
}

.youtube {
    background: #ff0000;
}

.youtube:hover {
    background: #fff;
    color: #ff0000;
}

.pinkary {
    background: #333333;
}

.pinkary:hover {
    background: #fff;
}

.email {
    background: #ff5722;
}

.email:hover {
    background: #fff;
    color: #ff5722;
}

.github {
    background: #333333;
}

.github:hover {
    background: #fff;
    color: #333333;
}

/* Floating Props Styles */
.props-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.prop {
    position: absolute;
    opacity: 0.4;
    z-index: -1;
}

.prop-circle {
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.prop-square {
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
}

.prop-code {
    font-family: monospace;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.float-1 {
    animation: float1 25s linear infinite;
}

.float-2 {
    animation: float2 18s linear infinite;
}

.float-3 {
    animation: float3 30s linear infinite;
}

.float-4 {
    animation: float4 22s linear infinite;
}

@keyframes float1 {
    0% {
        transform: translate(-10%, -10%) rotate(0deg);
    }

    100% {
        transform: translate(110%, 110%) rotate(360deg);
    }
}

@keyframes float2 {
    0% {
        transform: translate(110%, 10%) rotate(0deg);
    }

    100% {
        transform: translate(-10%, 90%) rotate(-360deg);
    }
}

@keyframes float3 {
    0% {
        transform: translate(50%, -10%) rotate(0deg);
    }

    100% {
        transform: translate(50%, 110%) rotate(180deg);
    }
}

@keyframes float4 {
    0% {
        transform: translate(-10%, 50%) rotate(0deg);
    }

    100% {
        transform: translate(110%, 50%) rotate(-180deg);
    }
}

/* Media Queries for Better Responsiveness */
@media (max-width: 480px) {
    .container {
        width: 100%;
        border-radius: 16px;
        margin: 0.5rem auto;
    }

    .social-links {
        gap: 10px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }

    .social-links a:hover {
        transform: translateY(-5px) rotate(360deg);
    }

    p {
        margin: 0.8rem auto;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .container,
    .profile-image,
    h1,
    p,
    .social-links a,
    .prop,
    .elephant-prop {
        animation: none !important;
        transition: none !important;
    }
}
