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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow: hidden;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

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

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Background shapes */
.bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(60px);
    opacity: 0.6;
    animation: morph 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ffe66d, #ff6b6b);
    bottom: 15%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    top: 30%;
    right: 25%;
    animation-delay: -15s;
}

.shape-5 {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    bottom: 30%;
    right: 5%;
    animation-delay: -7s;
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        transform: translate(20px, -30px) rotate(90deg);
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: translate(-15px, 20px) rotate(180deg);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
        transform: translate(10px, 15px) rotate(270deg);
    }
}

/* Floating orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #ff6b9d, #c44569);
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.orb-2 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, #4facfe, #00f2fe);
    top: 50%;
    right: 20%;
    animation-delay: -2s;
}

.orb-3 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, #f093fb, #f5576c);
    bottom: 25%;
    left: 30%;
    animation-delay: -4s;
}

.orb-4 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, #4facfe, #00f2fe);
    top: 70%;
    right: 10%;
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 30px) scale(0.9);
    }
}

/* Geometric shapes */
.geometric {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(255, 255, 255, 0.2);
    top: 15%;
    right: 15%;
    animation: rotate 12s linear infinite;
    border-radius: 10px;
}

.square {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 25px;
    bottom: 20%;
    left: 10%;
    animation: rotate 15s linear infinite reverse;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.circle-large {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05));
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.hexagon {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    bottom: 35%;
    right: 30%;
    animation: rotate 20s linear infinite;
    backdrop-filter: blur(10px);
}

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

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

/* Gradient mesh */
.gradient-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(at 20% 30%, rgba(120, 119, 198, 0.3) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(255, 107, 107, 0.3) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(78, 205, 196, 0.3) 0px, transparent 50%);
    animation: meshMove 25s ease infinite;
    pointer-events: none;
}

@keyframes meshMove {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(50px, -30px);
    }
}

/* Particle canvas */
#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Centered text container */
.text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    pointer-events: none;
}

.text-wrapper {
    position: relative;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

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

.main-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 25%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.85) 75%, rgba(255, 255, 255, 0.95) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 5s ease infinite;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    position: relative;
}

.subtitle-line {
    display: block;
    font-size: 0.4em;
    font-weight: 300;
    margin-top: 0.3em;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0.8) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 6s ease infinite;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.9;
}

@keyframes gradientText {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}


/* Text decorations */
.text-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: rotate 20s linear infinite;
}

.decoration-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    border-style: dashed;
    animation-duration: 25s;
}

.decoration-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: -100px;
    border-style: dotted;
    animation-duration: 15s;
    animation-direction: reverse;
}

.decoration-line {
    position: absolute;
    width: 80%;
    height: 2px;
    top: 50%;
    left: 10%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0.2) 80%,
        transparent 100%);
    animation: lineGlow 4s ease-in-out infinite;
    transform: translateY(-50%);
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(-50%) scaleX(1);
    }
    50% {
        opacity: 0.6;
        transform: translateY(-50%) scaleX(1.05);
    }
}

/* Add backdrop blur effect behind text */
.text-wrapper::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -50px;
    right: -50px;
    bottom: -30px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50px;
    backdrop-filter: blur(15px);
    z-index: -1;
    animation: backdropPulse 6s ease-in-out infinite;
}

@keyframes backdropPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shape {
        width: 200px !important;
        height: 200px !important;
    }

    .orb {
        width: 120px !important;
        height: 120px !important;
    }

    .triangle {
        border-left: 50px solid transparent;
        border-right: 50px solid transparent;
        border-bottom: 90px solid rgba(255, 255, 255, 0.2);
    }

    .square {
        width: 80px;
        height: 80px;
    }

    .circle-large {
        width: 100px;
        height: 100px;
    }

    .hexagon {
        width: 70px;
        height: 70px;
    }

    .main-title {
        font-size: clamp(2rem, 10vw, 4rem);
    }

    .decoration-1 {
        width: 200px;
        height: 200px;
        top: -100px;
        left: -100px;
    }

    .decoration-2 {
        width: 150px;
        height: 150px;
        bottom: -75px;
        right: -75px;
    }
}

