@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Quicksand', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f5f0ff 0%, #ffe6f0 50%, #e0f3ff 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "✨";
    position: absolute;
    font-size: 30px;
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

body::after {
    content: "🌸";
    position: absolute;
    font-size: 40px;
    bottom: 10%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 60px 60px 80px 80px;
    padding: 50px 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

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

h1 {
    font-size: 3em;
    background: linear-gradient(135deg, #ff6b9d, #c44569, #6c5ce7);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    animation: gradientShift 3s ease infinite;
    position: relative;
    display: inline-block;
}

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

h1::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b9d, #6c5ce7);
    margin: 15px auto 0;
    border-radius: 2px;
    animation: widthGrow 1s ease-out;
}

@keyframes widthGrow {
    from { width: 0; }
    to { width: 80px; }
}

.subtitle {
    color: #a0a0c0;
    font-size: 0.9em;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

ul {
    list-style: none;
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

li {
    margin: 0;
}

a {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #6c5ce7;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.2em;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.2);
    border: none;
    position: relative;
    overflow: hidden;
}

a::before {
    content: "📚";
    font-size: 1.3em;
    transition: transform 0.3s ease;
}

a:first-child::before {
    content: "📘";
}

a:last-child::before {
    content: "📗";
}

a:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, #6c5ce7, #ff6b9d);
    color: white;
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.3);
}

a:hover::before {
    transform: translateY(-3px) rotate(5deg);
}

a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

a:hover::after {
    width: 300px;
    height: 300px;
}

.star {
    position: absolute;
    color: #ffd700;
    font-size: 12px;
    animation: twinkle 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

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

@media (max-width: 768px) {
    .container {
        padding: 35px 30px;
        border-radius: 40px 40px 60px 60px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    a {
        padding: 12px 24px;
        font-size: 1em;
    }
    
    body::before {
        font-size: 20px;
    }
    
    body::after {
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px 20px;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    a {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    ul {
        flex-direction: column;
        gap: 15px;
    }
}