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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a0000 0%, #330000 25%, #1a0000 50%, #4d0000 75%, #1a0000 100%);
    background-size: 400% 400%;
    animation: evilGradient 15s ease infinite;
    color: #fff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

@keyframes evilGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.flames-top, .flames-bottom {
    position: fixed;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 69, 0, 0.3), transparent);
    pointer-events: none;
    z-index: 1;
}

.flames-top {
    top: 0;
    animation: flicker 2s infinite;
}

.flames-bottom {
    bottom: 0;
    transform: rotate(180deg);
    animation: flicker 2.5s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

header {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #ff4500;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.5);
}

.glitch {
    font-size: 4em;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    color: #ff4500;
    text-shadow: 
        0 0 10px #ff4500,
        0 0 20px #ff4500,
        0 0 30px #ff4500,
        0 0 40px #ff0000;
    animation: glow 2s ease-in-out infinite;
    margin-bottom: 10px;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px #ff4500, 0 0 20px #ff4500, 0 0 30px #ff4500; }
    50% { text-shadow: 0 0 20px #ff4500, 0 0 30px #ff4500, 0 0 40px #ff4500, 0 0 50px #ff0000; }
}

.subtitle {
    font-size: 1.3em;
    color: #ffaa00;
    text-shadow: 0 0 10px rgba(255, 170, 0, 0.8);
}

.content {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6600;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 0 40px rgba(255, 69, 0, 0.3);
}

.profile-section {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.bruno-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.bruno-image {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 4px solid #ff4500;
    box-shadow: 
        0 0 30px rgba(255, 69, 0, 0.6),
        0 0 60px rgba(255, 69, 0, 0.4),
        inset 0 0 20px rgba(255, 69, 0, 0.2);
    animation: float 3s ease-in-out infinite;
    transition: transform 0.3s;
}

.bruno-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 0 40px rgba(255, 69, 0, 0.8),
        0 0 80px rgba(255, 69, 0, 0.6),
        inset 0 0 30px rgba(255, 69, 0, 0.3);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes glowPulse {
    0%, 100% { 
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

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

.horns {
    font-size: 3em;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #ff4500;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.8);
}

.about p {
    font-size: 1.2em;
    line-height: 1.8;
    text-align: center;
    color: #ffccaa;
}

.deeds-list {
    list-style: none;
    padding: 0;
}

.deeds-list li {
    background: rgba(255, 69, 0, 0.1);
    border-left: 4px solid #ff4500;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.deeds-list li:hover {
    background: rgba(255, 69, 0, 0.2);
    transform: translateX(10px);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.4);
}

.deed-icon {
    font-size: 2em;
    margin-right: 15px;
}

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

.power-card {
    background: rgba(255, 69, 0, 0.1);
    border: 2px solid #ff6600;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.power-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.5);
    background: rgba(255, 69, 0, 0.2);
}

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

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

.power-card p {
    color: #ffccaa;
    font-size: 0.9em;
}

.stats {
    margin-top: 40px;
}

.stat {
    margin-bottom: 25px;
}

.stat-label {
    color: #ffaa00;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.stat-bar {
    background: rgba(0, 0, 0, 0.5);
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #ff6600;
    position: relative;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4500, #ff6600, #ff8800);
    border-radius: 15px;
    transition: width 1s ease;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.stat-value {
    color: #fff;
    font-weight: bold;
    margin-top: 5px;
    text-align: right;
}

/* Pet Universe Section Styles */
.foe-section {
    background: rgba(52, 152, 219, 0.1);
    border: 3px solid #3498db;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.foe-section h2 {
    color: #3498db;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.8);
}

.foe-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.foe-box > p {
    color: #ffccaa;
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.6;
}

.pet-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.foe-link {
    display: inline-block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.beans-style {
    background: linear-gradient(145deg, #95a5a6, #7f8c8d);
    border: 2px solid #636e72;
}

.beans-style:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(149, 165, 166, 0.6);
    background: linear-gradient(145deg, #7f8c8d, #636e72);
}

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

.lucy-ekko-style:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.6);
    background: linear-gradient(145deg, #ff9a56, #ff6348);
}

.warning {
    background: rgba(255, 69, 0, 0.2);
    border: 3px solid #ff4500;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    animation: warningPulse 2s infinite;
}

@keyframes warningPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 69, 0, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 69, 0, 0.8); }
}

.warning-text {
    color: #ffccaa;
    font-size: 1.1em;
    line-height: 1.6;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #ff4500;
    border-radius: 15px;
    color: #ffaa00;
}

footer p {
    margin: 10px 0;
}

.small {
    font-size: 0.9em;
    color: #ff8866;
}

/* Responsive Design */
@media (max-width: 768px) {
    .glitch {
        font-size: 2.5em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .bruno-image {
        max-width: 280px;
    }
    
    .content {
        padding: 20px;
    }
    
    .powers-grid {
        grid-template-columns: 1fr;
    }
    
    .pet-links-grid {
        grid-template-columns: 1fr;
    }
    
    h2 {
        font-size: 1.5em;
    }
}