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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

.title {
    font-size: 3em;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #FFD93D, #FF6B6B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 10px rgba(255, 217, 61, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.5)); }
}

.subtitle {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.7);
}

.emotion-selector {
    text-align: center;
    margin-bottom: 50px;
}

.emotion-selector h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.emotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.emotion-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.emotion-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.emotion-btn.selected {
    border-color: var(--emotion-color);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(var(--emotion-rgb), 0.5);
}

.emotion-btn .emoji {
    font-size: 2.5em;
}

.emotion-btn .label {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.9);
}

.cocktail-result {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 0.5s ease-in;
}

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

.cocktail-glass {
    position: relative;
    width: 200px;
    height: 300px;
}

.glass-svg {
    width: 100%;
    height: 100%;
}

.bubbles {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 150px;
    pointer-events: none;
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: bubble 3s infinite;
}

@keyframes bubble {
    0% {
        bottom: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        bottom: 150px;
        opacity: 0;
    }
}

.cocktail-info {
    max-width: 500px;
}

.cocktail-name {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #FFD93D;
}

.cocktail-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.recipe-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.recipe-card h4 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #FFD93D;
}

.ingredients-list {
    list-style: none;
    margin-bottom: 25px;
}

.ingredients-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
}

.preparation h5 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #FF6B6B;
}

.steps-list {
    padding-left: 20px;
}

.steps-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.cocktail-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
}

.share-btn, .new-emotion-btn, .mix-btn {
    background: linear-gradient(45deg, #FFD93D, #FF6B6B);
    border: none;
    color: #1a1a2e;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
}

.share-btn:hover, .new-emotion-btn:hover, .mix-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 217, 61, 0.4);
}

.new-emotion-btn {
    background: transparent;
    border: 2px solid #FFD93D;
    color: #FFD93D;
}

.mix-emotions {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.selected-emotions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.selected-emotion-chip {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mix-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .title {
        font-size: 2em;
    }
    
    .cocktail-result {
        flex-direction: column;
    }
    
    .emotion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cocktail-stats {
        flex-direction: column;
        gap: 15px;
    }
}