:root {
    --primary: #ff4d4d;
    --secondary: #ffcc00;
    --accent: #33cc33;
    --text: #2d3436;
    --bg: #fdfdfd;
    --white: rgba(255, 255, 255, 0.95);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 500px;
    width: 100%;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

header {
    margin-bottom: 30px;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--secondary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

h1 span {
    display: inline-block;
    animation: shake 0.5s ease infinite alternate;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.8;
}

.card-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    border: 2px solid #eee;
    transition: all 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.1);
}

.emoji {
    font-size: 2rem;
    margin-bottom: 10px;
}

.phrase {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.meaning {
    font-size: 0.9rem;
    color: #636e72;
    font-style: italic;
}

.action-area {
    margin-top: 20px;
}

#share-btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 15px;
    background: #25D366;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

#share-btn:hover {
    background: #128C7E;
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

footer {
    margin-top: 30px;
    font-size: 0.8rem;
    opacity: 0.5;
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(15deg) scale(1.2);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }

    h1 {
        font-size: 2rem;
    }
}