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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 50%, #feca57 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Floating food particles */
.food-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.food-particle {
    position: absolute;
    animation: float-up linear forwards;
    opacity: 0.3;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.container {
    background: linear-gradient(145deg, #fff5e6, #ffffff);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    width: 100%;
    text-align: center;
    border: 5px solid #ff6b6b;
    position: relative;
    animation: fade-in 0.8s ease-out;
    margin: 20px auto;
    z-index: 1;
}

@keyframes fade-in {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

header {
    margin-bottom: 30px;
}

.bouncy-title {
    font-size: 3.5em;
    color: #ff6b6b;
    text-shadow: 3px 3px 0 #feca57, 6px 6px 0 #ff9a56;
    margin-bottom: 15px;
    font-weight: 900;
    animation: bounce 2s ease-in-out infinite;
    letter-spacing: 3px;
}

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

.subtitle {
    color: #d63031;
    font-size: 1.4em;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.profile-section {
    position: relative;
    margin: 30px 0;
}

.duo-image-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.duo-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 6px solid #ff9a56;
    transition: transform 0.3s ease;
}

.duo-image:hover {
    transform: scale(1.02);
}

.image-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.3), transparent);
    border-radius: 20px;
    z-index: -1;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.food-emoji {
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 4em;
    animation: float-rotate 3s ease-in-out infinite;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

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

.content {
    margin-top: 30px;
}

section {
    margin: 40px 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    border: 3px solid #feca57;
}

h2 {
    color: #d63031;
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.duo-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.cat-card {
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.cat-card:hover {
    transform: translateY(-5px);
}

.lucy-card {
    background: linear-gradient(145deg, #ff6b6b, #ff9a56);
    border: 3px solid #d63031;
}

.ekko-card {
    background: linear-gradient(145deg, #74b9ff, #a29bfe);
    border: 3px solid #6c5ce7;
}

.cat-card h3 {
    color: white;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cat-description {
    color: white;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.personality-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.food-crimes {
    background: linear-gradient(145deg, #fff9e6, #ffe6cc);
    border: 3px solid #ff9a56;
}

.crimes-list {
    list-style: none;
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.crimes-list li {
    padding: 15px;
    margin: 12px 0;
    background: white;
    border-radius: 10px;
    border-left: 5px solid #ff6b6b;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s ease;
}

.crimes-list li:hover {
    transform: translateX(5px);
}

.crime-icon {
    font-size: 2em;
    flex-shrink: 0;
}

.crimes-list li span:last-child {
    color: #2d3436;
    font-size: 1em;
    line-height: 1.5;
}

.powers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.power-card {
    padding: 20px;
    background: linear-gradient(145deg, #ffeaa7, #fdcb6e);
    border-radius: 15px;
    border: 3px solid #ff9a56;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.power-card:hover {
    transform: translateY(-5px) rotate(2deg);
}

.power-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.power-card h3 {
    color: #d63031;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.power-card p {
    color: #2d3436;
    font-size: 0.95em;
    line-height: 1.4;
}

.stats {
    background: linear-gradient(145deg, #e8f4f8, #dfe6e9);
}

.stats-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.stat-column h3 {
    color: #2d3436;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.stat {
    margin: 15px 0;
    text-align: left;
}

.stat-label {
    color: #2d3436;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1em;
}

.stat-bar {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    height: 25px;
    overflow: hidden;
    border: 2px solid #b2bec3;
    position: relative;
}

.stat-fill {
    height: 100%;
    border-radius: 8px;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.lucy-fill {
    background: linear-gradient(90deg, #ff6b6b, #ff9a56);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.ekko-fill {
    background: linear-gradient(90deg, #74b9ff, #a29bfe);
    box-shadow: 0 0 10px rgba(116, 185, 255, 0.5);
}

.stat-value {
    color: #2d3436;
    font-weight: bold;
    margin-top: 5px;
    font-size: 0.9em;
}

.devon-facts {
    background: linear-gradient(145deg, #f8e6ff, #e8d4f8);
    border: 3px solid #a29bfe;
}

.facts-box ul {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.facts-box li {
    padding: 12px;
    margin: 10px 0;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #a29bfe;
    color: #2d3436;
    font-size: 1em;
}

.friends-section {
    background: linear-gradient(145deg, #e6f7ff, #d4edff);
    border: 3px solid #74b9ff;
}

.friends-box {
    text-align: center;
}

.friends-box > p {
    color: #2d3436;
    font-size: 1.1em;
    margin-bottom: 25px;
    line-height: 1.6;
}

.friends-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.friend-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.beans-link {
    background: linear-gradient(145deg, #dfe6e9, #b2bec3);
    border: 3px solid #636e72;
}

.beans-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(99, 110, 114, 0.4);
}

.bruno-link {
    background: linear-gradient(145deg, #ff7675, #d63031);
    border: 3px solid #d63031;
}

.bruno-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(214, 48, 49, 0.4);
}

.link-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.link-text {
    color: white;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.link-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.universe-quote {
    color: #d63031;
    font-size: 1.2em;
    font-weight: bold;
    font-style: italic;
    margin-top: 20px;
}

.warning {
    background: linear-gradient(145deg, #fff3cd, #ffe8a1);
    border: 3px solid #ff9a56;
}

.warning-text {
    color: #856404;
    font-size: 1.05em;
    line-height: 1.7;
    font-weight: 500;
}

footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 3px solid #feca57;
}

footer p {
    color: #d63031;
    font-size: 1.1em;
    margin: 10px 0;
    font-weight: 600;
}

footer .small {
    color: #636e72;
    font-size: 0.9em;
    font-weight: normal;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 25px;
    }
    
    .bouncy-title {
        font-size: 2.5em;
        text-shadow: 2px 2px 0 #feca57, 4px 4px 0 #ff9a56;
    }
    
    .subtitle {
        font-size: 1.1em;
    }
    
    .duo-intro {
        grid-template-columns: 1fr;
    }
    
    .stats-comparison {
        grid-template-columns: 1fr;
    }
    
    .friends-links {
        grid-template-columns: 1fr;
    }
    
    .powers-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 20px;
    }
    
    h2 {
        font-size: 1.6em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    
    .bouncy-title {
        font-size: 2em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .food-emoji {
        font-size: 3em;
        top: -20px;
        right: -20px;
    }
    
    section {
        padding: 15px;
    }
    
    h2 {
        font-size: 1.4em;
    }
}