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

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

:root {
    --primary-gradient-1: #1a1a2e;
    --primary-gradient-2: #16213e;
    --primary-gradient-3: #0f3460;
    --accent-color: #e94560;
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--primary-gradient-1) 0%, var(--primary-gradient-2) 50%, var(--primary-gradient-3) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    position: relative;
}

/* Animated gradient background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating particles effect */
body::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,%3Csvg width="40" height="40" xmlns="http://www.w3.org/2000/svg"%3E%3Cg%3E%3Ccircle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/%3E%3C/g%3E%3C/svg%3E');
    animation: float 20s linear infinite;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.container {
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 1;
}

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

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    line-height: 1.2;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 3px 3px 6px rgba(0,0,0,0.3); }
    to { text-shadow: 3px 3px 20px rgba(255,255,255,0.3), 3px 3px 6px rgba(0,0,0,0.3); }
}

.message {
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.main-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.highlight {
    color: #64b5f6;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

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

.sub-text {
    font-size: 1.2rem;
    opacity: 0.85;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.quote-box {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 3rem auto;
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    max-width: 700px;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.8s ease-out 0.5s both;
}

.quote-box::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    opacity: 0.1;
    font-family: 'Playfair Display', serif;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#quote-text {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

#quote-author {
    font-size: 1.1rem;
    opacity: 0.7;
    font-style: italic;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

#quote-author::before {
    content: '— ';
}

button {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    animation: buttonEntrance 0.8s ease-out 0.8s both;
}

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

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

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

button:hover::before {
    width: 300px;
    height: 300px;
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(233, 69, 96, 0.3);
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .quote-box {
        padding: 2rem;
        margin: 2rem auto;
    }
    
    button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .main-text {
        font-size: 1.3rem;
    }
    
    .sub-text {
        font-size: 1rem;
    }
    
    .quote-box {
        padding: 1.5rem;
    }
    
    #quote-text {
        font-size: 1.1rem;
    }
} 