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

body {
    font-family: 'Noto Sans', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.emotion-button {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 20px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Individual emotion button styles */
.emotion-button.like {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    transform: rotate(-2deg);
}

.emotion-button.beautiful {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    border: 2px solid #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.emotion-button.educational {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
    border-radius: 10px;
}

.emotion-button.healing {
    background: linear-gradient(135deg, #81C784, #66BB6A);
    color: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(129, 199, 132, 0.4);
}

.emotion-button.moving {
    background: linear-gradient(135deg, #E91E63, #C2185B);
    color: white;
    animation: heartbeat 2s infinite;
}

.emotion-button.funny {
    background: linear-gradient(135deg, #FFEB3B, #FDD835);
    color: #333;
    transform: rotate(1deg);
    border: 3px dashed #FFC107;
}

.emotion-button.empathy {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border-radius: 15px;
}

.emotion-button.encouraging {
    background: linear-gradient(135deg, #FF5722, #E64A19);
    color: white;
    border: 3px solid #FF5722;
    font-weight: bold;
}

.emotion-button.accurate {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    color: white;
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    border-radius: 0;
}

.emotion-button.hot {
    background: linear-gradient(135deg, #FF4500, #FF6347);
    color: white;
    animation: flicker 1.5s infinite alternate;
}

.emotion-button.perfect {
    background: linear-gradient(135deg, #32CD32, #228B22);
    color: white;
    border: 3px solid #FFD700;
    border-radius: 50%;
}

.emotion-button.grateful {
    background: linear-gradient(135deg, #9C27B0, #673AB7);
    color: white;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(156, 39, 176, 0.5);
}

.emotion-button.loving {
    background: linear-gradient(135deg, #F44336, #E91E63);
    color: white;
    border-radius: 50px;
    animation: pulse-love 2s infinite;
}

.emotion-button.shining {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    animation: shine 2s infinite;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.emotion-button.reference {
    background: linear-gradient(135deg, #607D8B, #546E7A);
    color: white;
    border-radius: 5px;
    border-left: 5px solid #2196F3;
}

.emotion-button.happy {
    background: linear-gradient(135deg, #FF6F00, #FF8F00);
    color: white;
    animation: bounce 1s infinite;
}

.emotion-button.interesting {
    background: linear-gradient(135deg, #03A9F4, #0288D1);
    color: white;
    transform: skew(-5deg);
    border-radius: 10px;
}

.emotion-button.warm {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.4);
}

.emotion-button.powerful {
    background: linear-gradient(135deg, #FFEB3B, #FFC107);
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.emotion-button.hopeful {
    background: linear-gradient(135deg, #4CAF50, #8BC34A, #FFEB3B);
    color: white;
    border-radius: 25px;
}

/* Hover effects */
.emotion-button:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.emotion-button.like:hover {
    transform: translateY(-8px) scale(1.05) rotate(0deg);
}

.emotion-button.funny:hover {
    transform: translateY(-8px) scale(1.05) rotate(-1deg);
}

.emotion-button.accurate:hover {
    transform: translateY(-8px) scale(1.05);
}

.emotion-button.interesting:hover {
    transform: translateY(-8px) scale(1.05) skew(0deg);
}

/* Animations */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes flicker {
    0% { box-shadow: 0 0 20px rgba(255, 69, 0, 0.8); }
    100% { box-shadow: 0 0 30px rgba(255, 99, 71, 1); }
}

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

@keyframes shine {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.6); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.emotion-button:active {
    transform: translateY(-2px) scale(0.95);
}

.emotion-button .emoji {
    font-size: 2rem;
    line-height: 1;
}

.emotion-button .label {
    font-weight: 600;
    color: #333;
}

.emotion-button .count {
    display: none;
}

.emotion-button.clicked {
    animation: pulse 0.6s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(255,255,255,0.8);
    }
    100% {
        transform: scale(1);
    }
}

.stats {
    display: none;
}

.stats h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255,255,255,0.5);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.8);
}

.stat-item .emoji {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.stat-item .count {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.stat-item .label {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .buttons-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .emotion-button {
        padding: 15px;
        font-size: 1rem;
        min-height: 80px;
    }
    
    .emotion-button .emoji {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
}