/* Reset et variables CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #FFD700;
    --secondary-gold: #FFA500;
    --dark-gold: #B8860B;
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --dark-blue: #1e40af;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-light: #f8fafc;
    --text-gray: #cbd5e1;
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --gradient-gold: linear-gradient(135deg, #FFD700, #FFA500, #FF8C00);
    --gradient-blue: linear-gradient(135deg, #1e3a8a, #3b82f6, #60a5fa);
    --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
    --shadow-blue: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* Styles de base */
body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg-darker);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animation de fond */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* Section Hero */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: 
        linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(15, 23, 42, 0.9)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23FFD700" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.hero-content {
    z-index: 2;
    animation: heroFadeIn 2s ease-out;
}

.kamas-icon {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    animation: coinSpin 3s ease-in-out infinite;
    text-shadow: var(--shadow-gold);
}

@keyframes coinSpin {
    0%, 100% { transform: rotateY(0deg) scale(1); }
    50% { transform: rotateY(180deg) scale(1.1); }
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--primary-gold);
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Navigation flottante */
.floating-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 1rem 0.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.floating-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floating-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-blue);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.floating-nav a:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-blue);
}

.floating-nav a[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.9rem;
    border: 1px solid var(--primary-gold);
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Sections */
.section {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Tier List */
.tier-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tier {
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.tier-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 2rem 1rem;
    min-width: 80px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tier-s .tier-label {
    background: linear-gradient(135deg, #FFD700, #FF6B35);
}

.tier-a .tier-label {
    background: linear-gradient(135deg, #C0C0C0, #87CEEB);
}

.tier-b .tier-label {
    background: linear-gradient(135deg, #CD7F32, #DEB887);
}

.tier-content {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.8);
}

/* Cartes de métiers */
.metier-card {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(15, 23, 42, 0.9));
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.metier-card:hover::before {
    left: 100%;
}

.metier-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-gold);
}

.metier-card.premium {
    border: 2px solid var(--primary-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.metier-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-align: center;
}

.metier-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-align: center;
}

.metier-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
}

.stat {
    font-size: 0.9rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.metier-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.metier-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tip {
    background: rgba(59, 130, 246, 0.2);
    color: var(--secondary-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Zones de drop */
.drop-zones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.zone-card {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(15, 23, 42, 0.9));
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.zone-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.zone-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-blue);
    border-color: var(--secondary-blue);
}

.zone-card.featured {
    border: 2px solid var(--primary-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.zone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.zone-header h3 {
    font-family: 'Cinzel', serif;
    color: var(--text-light);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.difficulty {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.difficulty.easy {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.difficulty.medium {
    background: rgba(255, 165, 0, 0.2);
    color: var(--secondary-gold);
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.zone-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.zone-rewards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.reward {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.zone-tip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-purple);
}

.zone-tip i {
    color: var(--accent-purple);
}

.zone-tip span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Astuces avancées */
.astuces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.astuce-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(15, 23, 42, 0.9));
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.astuce-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    animation: rotate 10s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.astuce-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: var(--accent-purple);
}

.astuce-icon {
    font-size: 2.5rem;
    color: var(--accent-purple);
    margin-bottom: 1rem;
    text-align: center;
}

.astuce-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.astuce-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.astuce-example {
    background: rgba(255, 215, 0, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-gold);
}

.astuce-example span {
    color: var(--primary-gold);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Section Dopeuls */
.dopeuls-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.dopeu-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(15, 23, 42, 0.9));
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
    transition: all 0.3s ease;
}

.dopeu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.2);
    border-color: var(--accent-red);
}

.dopeu-header h3 {
    font-family: 'Cinzel', serif;
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dopeu-content ul {
    list-style: none;
    padding: 0;
}

.dopeu-content li {
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dopeu-content li i {
    color: var(--accent-red);
    width: 20px;
}

.dopeu-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.dopeu-tip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-red);
}

.dopeu-tip i {
    color: var(--accent-red);
}

.dopeu-tip span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Conseils finaux */
.final-tips {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(15, 23, 42, 0.9));
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 2px solid rgba(255, 215, 0, 0.2);
    margin-top: 4rem;
}

.tips-container h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pro-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pro-tip {
    background: rgba(30, 58, 138, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.pro-tip:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue);
}

.pro-tip i {
    font-size: 1.5rem;
    color: var(--secondary-blue);
}

.pro-tip span {
    color: var(--text-light);
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--bg-darker);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    margin-top: 4rem;
}

.footer-content p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.footer-content p:last-child {
    color: var(--primary-gold);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .floating-nav {
        right: 1rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .tier {
        flex-direction: column;
    }
    
    .tier-label {
        writing-mode: initial;
        text-orientation: initial;
        padding: 1rem;
        text-align: center;
    }
    
    .tier-content {
        grid-template-columns: 1fr;
    }
    
    .drop-zones,
    .astuces-grid,
    .dopeuls-info {
        grid-template-columns: 1fr;
    }
    
    .pro-tips {
        grid-template-columns: 1fr;
    }
    
    .pro-tip {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .floating-nav {
        display: none;
    }
    
    .metier-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Animations d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.8s ease-out;
}

/* Effets de survol personnalisés */
.metier-card:hover .metier-icon {
    animation: pulse 1s ease-in-out;
}

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

.zone-card:hover .zone-header h3 i {
    animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gold);
}

/* Sélection de texte */
::selection {
    background: rgba(255, 215, 0, 0.3);
    color: var(--text-light);
}