/* Pokédex Complet - Styles additionnels */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Russo+One&display=swap');

/* Left Panel */
.pokedex-left {
    flex: 1.2;
    padding: 20px;
    border-right: 3px solid #8b0000;
    display: flex;
    flex-direction: column;
}

/* Top Lights */
.top-lights {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.main-light {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #87ceeb, #4682b4);
    border: 3px solid white;
    box-shadow: 
        0 0 15px rgba(135, 206, 235, 0.8),
        inset 0 -3px 8px rgba(0,0,0,0.3);
    animation: pulse 2s ease-in-out infinite;
}

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

.small-lights {
    display: flex;
    gap: 6px;
}

.small-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #333;
    animation: blink 3s infinite;
}

.small-light.red { 
    background: radial-gradient(circle at 30% 30%, #ff6b6b, #ff0000);
    animation-delay: 0s;
}
.small-light.yellow { 
    background: radial-gradient(circle at 30% 30%, #ffd93d, #ffa500);
    animation-delay: 1s;
}
.small-light.green { 
    background: radial-gradient(circle at 30% 30%, #6bcf7f, #00ff00);
    animation-delay: 2s;
}

/* Main Screen */
.main-screen {
    flex: 1;
    background: #1a1a2e;
    border: 6px solid #333;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 
        inset 0 0 15px rgba(0,0,0,0.5),
        0 0 8px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.main-screen::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.03), transparent);
    animation: scanline 6s linear infinite;
}

@keyframes scanline {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px;
    background: linear-gradient(90deg, rgba(0,255,136,0.2), rgba(255,235,59,0.2));
    border-radius: 4px;
    border: 1px solid #00ff88;
}

.doge-number {
    color: #00ff88;
    font-size: 1.2em;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 8px #00ff88;
}

.doge-name {
    color: #ffeb3b;
    font-size: 1.4em;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    text-shadow: 0 0 12px #ffeb3b;
    letter-spacing: 1px;
}

.doge-display {
    background: radial-gradient(ellipse at center, rgba(0,255,136,0.1), transparent);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    position: relative;
}

.doge-sprite {
    font-size: 60px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255,235,59,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.doge-sprite img {
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(76, 175, 80, 0.6));
}

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

.doge-types {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 12px;
}

.type-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.doge-description {
    background: rgba(0,0,0,0.3);
    border: 1px solid #00ff88;
    border-radius: 4px;
    padding: 8px;
    color: #a0f0c0;
    font-size: 0.8em;
    line-height: 1.3;
    font-family: 'Russo One', sans-serif;
    max-height: 80px;
    overflow-y: auto;
}

/* Right Panel */
.pokedex-right {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, #b91c3c, #8b0000);
    border-radius: 0 25px 25px 0;
}

.stats-panel {
    background: #1a1a2e;
    border: 4px solid #333;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.5);
}

.stats-title {
    color: #00ff88;
    font-size: 1em;
    margin-bottom: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #00ff88;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 4px;
    background: rgba(0,255,136,0.1);
    border-radius: 4px;
}

.stat-label {
    color: #ffeb3b;
    font-size: 0.8em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-value {
    color: #00ff88;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    font-size: 0.9em;
}

.stat-bar {
    flex: 1;
    height: 8px;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    margin: 0 8px;
    overflow: hidden;
    position: relative;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #ffeb3b);
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0,255,136,0.5);
    transition: width 0.5s ease;
    animation: shimmer 2s infinite;
}

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

/* Contract & Social Panel */
.evolution-panel {
    background: #1a1a2e;
    border: 4px solid #333;
    border-radius: 8px;
    padding: 12px;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.5);
    flex: 1;
    margin-bottom: 15px;
}

.evolution-title {
    color: #ffeb3b;
    font-size: 0.9em;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contract-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contract-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    background: rgba(0,255,136,0.1);
    border-radius: 4px;
    border: 1px solid rgba(0,255,136,0.2);
}

.contract-label {
    color: #ffeb3b;
    font-size: 0.7em;
    font-weight: bold;
}

.contract-value {
    color: #00ff88;
    font-family: 'Orbitron', monospace;
    font-size: 0.6em;
    background: rgba(0,0,0,0.3);
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid #00ff88;
}

.twitter-link {
    color: #1da1f2;
    font-size: 0.7em;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(29, 161, 242, 0.1);
    border: 1px solid rgba(29, 161, 242, 0.3);
}

.twitter-link:hover {
    background: rgba(29, 161, 242, 0.2);
    color: #fff;
    transform: scale(1.05);
}

/* Control Buttons */
.control-panel {
    display: flex;
    gap: 6px;
    margin-top: -10px;
}

.control-btn {
    flex: 1;
    padding: 6px;
    background: linear-gradient(135deg, #333, #555);
    border: 2px solid #666;
    border-radius: 6px;
    color: #00ff88;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    font-size: 0.6em;
}

.control-btn:hover {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0,255,136,0.4);
}

.control-btn:active {
    transform: translateY(0);
}

/* Navigation */
.nav-buttons {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.nav-btn {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #444, #222);
    border: 2px solid #666;
    border-radius: 50%;
    color: #00ff88;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
    transform: scale(1.1);
}

/* Info Panel */
.info-panel {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #1da1f2;
}

.social-link {
    color: #1da1f2;
    font-size: 0.8em;
    font-family: 'Orbitron', monospace;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.social-link:hover {
    color: #fff;
    text-shadow: 0 0 8px #1da1f2;
}

/* Special Effects */
.shiny {
    animation: shiny 2s infinite;
}

@keyframes shiny {
    0%, 100% { filter: hue-rotate(0deg) brightness(1) drop-shadow(0 0 15px rgba(255,235,59,0.6)); }
    50% { filter: hue-rotate(180deg) brightness(1.3) drop-shadow(0 0 25px rgba(255,20,147,0.8)); }
}

/* Responsive */
@media (max-width: 768px) {
    .pokedex-complete {
        flex-direction: column;
        height: auto;
        width: 95%;
        max-width: 500px;
    }
    
    .pokedex-left {
        border-right: none;
        border-bottom: 3px solid #8b0000;
    }
    
    .pokedex-right {
        border-radius: 0 0 25px 25px;
    }
    
    .doge-sprite {
        font-size: 50px;
    }
    
    .search-bar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-container {
        order: 1;
    }
    
    .pokedex-complete {
        order: 2;
    }
}

@media (max-width: 1200px) {
    .search-bar {
        flex-direction: column;
        gap: 2rem;
    }
    
    .pokedex-complete {
        width: 700px;
        height: 420px;
    }
}

/* Animation d'apparition du message WOW */
@keyframes fadeOut {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -80%) scale(1.5); }
}