* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: hidden;
    background: #0a0a0a;
}

/* Dark purple gradient background */
.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, #1a0b2e, #3b1e54, #6b2d8f);
    overflow: hidden;
}

/* Film grain texture */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' /%3E%3C/svg%3E");
}

/* Logo */
.logo {
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.logo-text {
    font-size: 6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #c084fc 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    letter-spacing: 0.1em;
    animation: gradientShift 4s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(192, 132, 252, 0.6));
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3), transparent);
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.7;
    }
}

/* Content */
.content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 40px;
    overflow: hidden;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #fff 0%, #e9d5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(100px);
    animation: slideUp 1s ease-out forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hammer animation */
.hammer-container {
    position: relative;
    height: 100px;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

.hammer {
    font-size: 4rem;
    display: inline-block;
    transform-origin: bottom right;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
    animation: hammer 1.5s ease-in-out infinite;
}

@keyframes hammer {

    0%,
    100% {
        transform: rotate(-20deg);
    }

    50% {
        transform: rotate(20deg);
    }
}

.sparks {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.spark {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    box-shadow: 0 0 10px #fbbf24;
    opacity: 0;
    animation: sparkFly 1.5s ease-out infinite;
}

.spark:nth-child(1) {
    animation-delay: 0.75s;
    left: -20px;
}

.spark:nth-child(2) {
    animation-delay: 0.8s;
    left: 0px;
}

.spark:nth-child(3) {
    animation-delay: 0.85s;
    left: 20px;
}

@keyframes sparkFly {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-50px) scale(0.3);
    }
}

.subtitle {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #fff 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Progress bar */
.progress-container {
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.progress-bar {
    position: relative;
    width: 400px;
    height: 8px;
    background: rgba(168, 85, 247, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 15px;
    box-shadow: inset 0 0 10px rgba(168, 85, 247, 0.3);
}

.progress-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #a855f7, #c084fc, #a855f7, #7c3aed);
    background-size: 200% 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.8);
    animation: loading 2s ease-in-out infinite, shimmer 3s linear infinite;
}

@keyframes loading {
    0% {
        width: 0%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

.progress-text {
    color: rgba(192, 132, 252, 0.9);
    font-size: 1rem;
}

/* Social links */
.socials {
    display: flex;
    gap: 30px;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.15);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 50%;
    color: #c084fc;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.6);
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .logo-text {
        font-size: 3.5rem;
    }

    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
        padding: 0 20px;
    }

    .hammer {
        font-size: 3rem;
    }

    .progress-bar {
        width: 300px;
    }
}