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

body {
    font-family: 'Space Grotesk', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#doodleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.container {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

.content {
    position: relative;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.doodle-accent {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: transparent;
    border: 2.5px solid #000;
    border-radius: 50%;
    opacity: 0.7;
    animation: floatDoodle 4s ease-in-out infinite;
}

.doodle-accent::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 25px;
    height: 25px;
    background: #000;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.doodle-accent::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    border: 2.5px solid #000;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite 0.5s;
}

h1 {
    color: #000;
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: lowercase;
    font-family: 'Poppins', sans-serif;
    word-spacing: 0.1em;
}

.subtitle {
    color: #000;
    font-size: clamp(1.2rem, 4vw, 2.2rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0.5;
    margin-top: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.decorative-line {
    width: 140px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
    margin: 2.5rem auto 0;
    border-radius: 2px;
    position: relative;
    animation: expandLine 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.decorative-line::before {
    content: '';
    position: absolute;
    top: -9px;
    left: -12px;
    width: 22px;
    height: 22px;
    border: 2.5px solid #000;
    border-radius: 50%;
    background: #fff;
    animation: rotate 6s linear infinite;
}

.decorative-line::after {
    content: '';
    position: absolute;
    top: -9px;
    right: -12px;
    width: 22px;
    height: 22px;
    background: #000;
    transform: rotate(45deg);
    animation: rotate 6s linear infinite reverse;
}

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

@keyframes floatDoodle {
    0%, 100% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateX(-50%) translateY(-15px) rotate(8deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.8);
        opacity: 0.6;
    }
}

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

@keyframes expandLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 140px;
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
    }
    
    .doodle-accent {
        width: 70px;
        height: 70px;
        top: -45px;
    }
    
    .doodle-accent::before {
        width: 18px;
        height: 18px;
        top: 12px;
        left: 12px;
    }
    
    .doodle-accent::after {
        width: 22px;
        height: 22px;
        bottom: 15px;
        right: 15px;
    }
    
    h1 {
        font-size: clamp(1.8rem, 10vw, 3rem);
        margin-bottom: 0.8rem;
    }
    
    .subtitle {
        font-size: clamp(1rem, 6vw, 1.8rem);
        margin-top: 1rem;
    }
    
    .decorative-line {
        width: 100px;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 1rem 0.8rem;
    }
    
    .doodle-accent {
        width: 50px;
        height: 50px;
        top: -35px;
        border-width: 2px;
    }
    
    .doodle-accent::before {
        width: 14px;
        height: 14px;
        top: 8px;
        left: 8px;
    }
    
    .doodle-accent::after {
        width: 16px;
        height: 16px;
        bottom: 10px;
        right: 10px;
        border-width: 2px;
    }
    
    h1 {
        font-size: 1.75rem;
        letter-spacing: -0.02em;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-top: 0.8rem;
    }
    
    .decorative-line {
        width: 80px;
        height: 2.5px;
        margin-top: 1.5rem;
    }
    
    .decorative-line::before,
    .decorative-line::after {
        width: 16px;
        height: 16px;
        top: -7px;
    }
    
    .decorative-line::before {
        left: -8px;
        border-width: 2px;
    }
    
    .decorative-line::after {
        right: -8px;
    }
}

.pronounce-button {
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pronounce-button .icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.pronounce-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #333;
}

.pronounce-button:hover .icon {
    transform: scale(1.2);
}

.pronounce-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .pronounce-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .pronounce-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        margin-top: 1.2rem;
    }
}
