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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #004d4d 0%, #008080 50%, #00a3a3 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Particules flottantes */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 250, 217, 0.3);
    border-radius: 50%;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Header animé */
header {
    background: linear-gradient(135deg, #fffad9 0%, #fff5b3 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideDown 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

header h1 {
    color: #008080;
    font-size: 2.5em;
    position: relative;
    z-index: 1;
}

.subtitle {
    color: #006666;
    margin-top: 10px;
    font-size: 1.1em;
    position: relative;
    z-index: 1;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    animation: slideUp 0.8s ease-out 0.2s both;
}

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

.nav-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #fffad9, #fff5b3);
    color: #008080;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    outline: none;
}

.nav-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.nav-btn:focus,
.nav-btn:active {
    outline: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.nav-btn.active {
    background: linear-gradient(135deg, #008080, #00a3a3);
    color: #fffad9;
}

/* Sections */
.section {
    background: rgba(255, 250, 217, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 250, 217, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out both;
    transition: all 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border-color: rgba(255, 250, 217, 0.6);
}

.section:nth-child(1) { animation-delay: 0.3s; }
.section:nth-child(2) { animation-delay: 0.4s; }
.section:nth-child(3) { animation-delay: 0.5s; }
.section:nth-child(4) { animation-delay: 0.6s; }

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

.section h2 {
    color: #fffad9;
    font-size: 1.8em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section h2 i {
    font-size: 1.2em;
    animation: pulse 2s infinite;
}

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

.section p {
    color: #fffad9;
    line-height: 1.8;
    font-size: 1.1em;
}

/* Passions avec icônes */
.passions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.passion-card {
    background: linear-gradient(135deg, rgba(255,250,217,0.2), rgba(255,250,217,0.1));
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.passion-card:hover {
    transform: scale(1.05) rotate(2deg);
    background: linear-gradient(135deg, rgba(255,250,217,0.3), rgba(255,250,217,0.2));
}

.passion-card i {
    font-size: 2.5em;
    color: #fffad9;
    margin-bottom: 15px;
    display: block;
}

.passion-card span {
    color: #fffad9;
    font-weight: bold;
    font-size: 1.1em;
}

.passion-link {
    margin-top: 15px;
    padding: 8px 16px;
    background: rgba(255, 250, 217, 0.2);
    color: #fffad9;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85em;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 250, 217, 0.3);
    outline: none;
}

.passion-link:hover {
    background: rgba(255, 250, 217, 0.4);
    transform: scale(1.05);
}

.passion-link:focus,
.passion-link:active {
    outline: none;
    box-shadow: none;
}

/* Liens sociaux */
.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #fffad9, #fff5b3);
    color: #008080;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    outline: none;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.social-btn:focus,
.social-btn:active {
    outline: none;
}

.social-btn.linkedin:hover { 
    background: linear-gradient(135deg, #0077b5, #00a0dc); 
    color: white; 
}

.social-btn.facebook:hover { 
    background: linear-gradient(135deg, #1877f2, #42a5f5); 
    color: white; 
}

.social-btn.youtube:hover { 
    background: linear-gradient(135deg, #ff0000, #ff5252); 
    color: white; 
}

/* Footer */
footer {
    background: linear-gradient(135deg, #006666, #008080);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    color: #fffad9;
    margin-top: 30px;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #fffad9;
    text-decoration: none;
    transition: all 0.3s;
}

footer a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Status badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 200, 83, 0.2);
    border: 1px solid #00c853;
    padding: 8px 16px;
    border-radius: 50px;
    color: #00c853;
    font-size: 0.9em;
    margin-top: 15px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00c853;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Page selector */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Section Contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255,250,217,0.2), rgba(255,250,217,0.1));
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, rgba(255,250,217,0.3), rgba(255,250,217,0.2));
}

.contact-item i {
    font-size: 1.5em;
    color: #fffad9;
    width: 40px;
    text-align: center;
}

.contact-item span {
    color: #fffad9;
    font-size: 1.1em;
}

/* Bouton retour */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(255, 250, 217, 0.2);
    color: #fffad9;
    text-decoration: none;
    border-radius: 50px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 250, 217, 0.3);
    outline: none;
}

.back-btn:hover {
    background: rgba(255, 250, 217, 0.3);
    transform: translateX(-5px);
}

.back-btn:focus,
.back-btn:active {
    outline: none;
    box-shadow: none;
}

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

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-placeholder {
    width: 100%;
    height: 200px;
    background: rgba(255, 250, 217, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fffad9;
    border: 2px dashed rgba(255, 250, 217, 0.3);
    border-radius: 15px;
}

.gallery-placeholder i {
    font-size: 3em;
    opacity: 0.5;
}

/* Liste passion */
.passion-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.passion-list li {
    padding: 15px 20px;
    background: rgba(255, 250, 217, 0.1);
    margin-bottom: 10px;
    border-radius: 10px;
    color: #fffad9;
    transition: all 0.3s ease;
    border-left: 4px solid #fffad9;
}

.passion-list li:hover {
    background: rgba(255, 250, 217, 0.2);
    transform: translateX(10px);
}

/* Hint texte */
.hint {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 200, 0, 0.1);
    border-radius: 10px;
    font-size: 0.9em;
    border-left: 4px solid #ffc800;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255,250,217,0.2), rgba(255,250,217,0.1));
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255,250,217,0.3), rgba(255,250,217,0.2));
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: #fffad9;
}

.stat-label {
    color: rgba(255, 250, 217, 0.8);
    font-size: 0.9em;
    margin-top: 5px;
}

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

.game-card {
    background: linear-gradient(135deg, rgba(255,250,217,0.2), rgba(255,250,217,0.1));
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: linear-gradient(135deg, rgba(255,250,217,0.3), rgba(255,250,217,0.2));
}

.game-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.game-card h3 {
    color: #fffad9;
    margin-bottom: 10px;
}

.game-card p {
    font-size: 0.9em;
    margin: 5px 0;
    opacity: 0.8;
}

/* Social buttons gaming */
.social-btn.steam:hover { background: linear-gradient(135deg, #1b2838, #2a475e); color: white; }
.social-btn.discord:hover { background: linear-gradient(135deg, #5865F2, #7289da); color: white; }
.social-btn.twitch:hover { background: linear-gradient(135deg, #9146FF, #a970ff); color: white; }

/* Setup PC */
.setup-card {
    background: linear-gradient(135deg, rgba(255,250,217,0.15), rgba(255,250,217,0.05));
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 250, 217, 0.2);
}

.setup-card h3 {
    color: #fffad9;
    margin-bottom: 15px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.setup-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.setup-list li {
    padding: 12px 15px;
    background: rgba(255, 250, 217, 0.1);
    border-radius: 8px;
    color: #fffad9;
    transition: all 0.3s ease;
}

.setup-list li:hover {
    background: rgba(255, 250, 217, 0.2);
    transform: translateX(5px);
}

.setup-list li strong {
    color: #ffc800;
}

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

.setup-item {
    background: linear-gradient(135deg, rgba(255,250,217,0.2), rgba(255,250,217,0.1));
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.setup-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255,250,217,0.3), rgba(255,250,217,0.2));
}

.setup-item i {
    font-size: 2em;
    color: #fffad9;
    margin-bottom: 10px;
    display: block;
}

.setup-item span {
    color: #fffad9;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.setup-item p {
    font-size: 0.85em;
    opacity: 0.8;
    margin: 0;
}

/* Manhwa grid */
.manhwa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.manhwa-card {
    background: linear-gradient(135deg, rgba(255,250,217,0.2), rgba(255,250,217,0.1));
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    gap: 15px;
}

.manhwa-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255,250,217,0.3), rgba(255,250,217,0.2));
}

.manhwa-cover {
    width: 100px;
    min-height: 140px;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: #fffad9;
    overflow: hidden;
    flex-shrink: 0;
}

.manhwa-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manhwa-info {
    padding: 15px 15px 15px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.manhwa-info h3 {
    color: #fffad9;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.manhwa-info .genre {
    font-size: 0.85em;
    opacity: 0.8;
    margin-bottom: 5px;
}

.manhwa-info .rating {
    font-size: 0.9em;
}

.manhwa-info .rating i {
    color: #ffc800;
}

/* Responsive */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.8em;
    }
    
    nav {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
}