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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Minimal Background Effect */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #00d4ff, #ff00d4);
    animation: subtleFloat 8s ease-in-out infinite;
    filter: blur(1px);
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 20%;
    animation-delay: 3s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 25%;
    left: 70%;
    animation-delay: 6s;
}

.shape-4 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 40%;
    animation-delay: 1.5s;
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.05;
    }
    50% {
        transform: translate(-10px, -15px) scale(1.1);
        opacity: 0.15;
    }
}

/* Content */
.content {
    text-align: center;
    z-index: 10;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tumtam-text {
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 800;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2),
        3px 3px 0 rgba(0, 0, 0, 0.1),
        6px 6px 0 rgba(0, 0, 0, 0.05);
    letter-spacing: 0.1em;
    display: flex;
    gap: 0.05em;
    margin: 0;
    position: relative;
    text-rendering: optimizeLegibility;
}

.letter {
    display: inline-block;
    position: relative;
    animation: letterFloat 4s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: letterFloat 4s ease-in-out infinite, colorShift 3s ease-in-out infinite;
}

.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.1s; }
.letter:nth-child(3) { animation-delay: 0.2s; }
.letter:nth-child(4) { animation-delay: 0.3s; }
.letter:nth-child(5) { animation-delay: 0.4s; }
.letter:nth-child(6) { animation-delay: 0.5s; }

@keyframes letterFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.02);
    }
}

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



/* Cursor Follower */
.cursor-follower {
    position: fixed;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(3px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    mix-blend-mode: difference;
    display: none; /* Hide on mobile */
}

@media (min-width: 769px) {
    .cursor-follower {
        display: block;
    }
}

/* Hover Effects */
.tumtam-text:hover .letter {
    animation-duration: 1s;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    body {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        overflow-x: hidden;
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
    
    .container {
        width: 100vw;
        height: 100vh;
        height: -webkit-fill-available;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
    }
    
    .content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .tumtam-text {
        font-size: clamp(3rem, 14vw, 8rem);
        letter-spacing: 0.08em;
        gap: 0.02em;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
    }
    
    .letter {
        flex-shrink: 0;
    }
    
    .floating-shape {
        opacity: 0.03;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .tumtam-text {
        font-size: clamp(2.5rem, 16vw, 6rem);
        letter-spacing: 0.05em;
        gap: 0.01em;
    }
}

@media (max-width: 320px) {
    .tumtam-text {
        font-size: clamp(2rem, 18vw, 4.5rem);
        letter-spacing: 0.02em;
        gap: 0.005em;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .container {
        height: -webkit-fill-available;
    }
}

/* Hover Effects */
.letter:hover {
    transform: scale(1.15) translateY(-12px) !important;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.4);
}
