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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(-45deg, #0f0f23, #1a1a2e, #16213e, #0f3460);
    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 {
    display: grid;
    place-items: center;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Animated geometric shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatShape 20s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff006e, #8338ec);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.shape:nth-child(2) {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3a86ff, #06ffa5);
    top: 70%;
    right: 15%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.shape:nth-child(3) {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ffbe0b, #fb5607);
    bottom: 20%;
    left: 60%;
    animation-delay: -10s;
    animation-duration: 35s;
}

.shape:nth-child(4) {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8338ec, #ff006e);
    top: 30%;
    right: 30%;
    animation-delay: -15s;
    animation-duration: 28s;
}

.shape:nth-child(5) {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #06ffa5, #3a86ff);
    top: 50%;
    left: 80%;
    animation-delay: -8s;
    animation-duration: 40s;
}

.shape:nth-child(6) {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fb5607, #ffbe0b);
    bottom: 30%;
    left: 20%;
    animation-delay: -12s;
    animation-duration: 32s;
}

/* Triangle shapes */
.shape-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 50px solid rgba(255, 255, 255, 0.1);
    animation: rotateTriangle 15s linear infinite;
}

.shape-triangle:nth-child(7) {
    top: 15%;
    right: 25%;
    border-bottom-color: rgba(255, 0, 110, 0.2);
    animation-duration: 20s;
}

.shape-triangle:nth-child(8) {
    bottom: 25%;
    right: 40%;
    border-bottom-color: rgba(131, 56, 236, 0.2);
    animation-duration: 25s;
    animation-delay: -7s;
}

/* Particle system */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 10s linear infinite;
}

.particle:nth-child(9) { top: 10%; left: 20%; animation-delay: 0s; animation-duration: 15s; }
.particle:nth-child(10) { top: 25%; right: 30%; animation-delay: -2s; animation-duration: 18s; }
.particle:nth-child(11) { bottom: 35%; left: 15%; animation-delay: -4s; animation-duration: 20s; }
.particle:nth-child(12) { top: 60%; left: 70%; animation-delay: -6s; animation-duration: 16s; }
.particle:nth-child(13) { bottom: 15%; right: 25%; animation-delay: -8s; animation-duration: 22s; }
.particle:nth-child(14) { top: 45%; left: 40%; animation-delay: -10s; animation-duration: 19s; }
.particle:nth-child(15) { top: 80%; right: 50%; animation-delay: -12s; animation-duration: 21s; }
.particle:nth-child(16) { bottom: 50%; left: 80%; animation-delay: -14s; animation-duration: 17s; }
.particle:nth-child(17) { top: 5%; left: 60%; animation-delay: -16s; animation-duration: 23s; }
.particle:nth-child(18) { bottom: 10%; left: 45%; animation-delay: -18s; animation-duration: 24s; }

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-30px) translateX(20px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateY(20px) translateX(-15px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translateY(-20px) translateX(10px) rotate(270deg) scale(1.05);
    }
}

@keyframes rotateTriangle {
    0% {
        transform: rotate(0deg) translateY(0px);
    }
    100% {
        transform: rotate(360deg) translateY(-20px);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.hero-text {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 0.9;
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: textShimmer 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

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

.hero-text::before {
    content: 'BIG TIM';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff006e, #8338ec, #3a86ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: colorShift 4s ease-in-out infinite;
}

@keyframes colorShift {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
}

.hero-text:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.hero-text:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-text {
        font-size: clamp(2.5rem, 15vw, 5rem);
        letter-spacing: -0.01em;
    }
}

@media (max-width: 480px) {
    .hero-text {
        font-size: clamp(2rem, 20vw, 4rem);
    }
}

/* Subtle grain texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}
