:root {
    /* Accents principaux (HyRealm-like) */
    --color-blue-deep:   #241236; /* devient violet profond */
    --color-blue-medium: #331a4a; /* violet moyen */
    --color-blue-light:  #5a2f7a; /* violet/indigo */
    --color-blue-bright: #8b5cf6; /* violet lumineux (accent) */


    --radius-sm: 5px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 999px;


    /* Accent cristal (cyan/bleu clair) */
    --color-cyan:        #59d4ff;
    --color-cyan-soft:   #b9f1ff;
    --color-cyan-dark:   #1aa6cf;

    /* Or / doré (bordures, highlights) */
    /* --color-gold:        #d6b25e;
    --color-gold-bright: #ffd37a;
    --color-gold-dark:   #a8832f; */

    /* Violet mystique (bordures, highlights) */
    --color-gold:        #8b5cf6; /* violet principal */
    --color-gold-bright: #a78bfa; /* violet lumineux */
    --color-gold-dark:   #5b21b6; /* violet profond */


    /* Végétation (mousse/feuillage du logo) */
    --color-green-forest: #2f7a55;
    --color-green-light:  #49b07b;
    --color-green-dark:   #1f5038;

    /* Terre / pierre (roche du logo) */
    --color-earth-brown:  #7a5a3a;
    --color-earth-dark:   #5a4027;

    --color-stone:        #5f6573;
    --color-stone-dark:   #3d4250;

    /* Couleurs de texte */
    --color-text:           #f1eef8;
    --color-text-secondary: #cfc9dd;
    --color-text-muted:     #9a93aa;

    /* Couleurs de fond (noir bleuté/violet très sombre) */
    --bg-primary:   #0b0a12;
    --bg-secondary: #121126;
    --bg-card:      #171632;
    --bg-card-hover:#1f1e40;

    /* Polices */
    /* --font-title: 'Cinzel', serif; */
    --font-title: 'Caudex', serif;
    /* --font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; */
    --font-decorative: 'MedievalSharp', cursive;
    --font-body: 'Roboto', sans-serif;

    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    background-image: 
    radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.22) 0%, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(89, 212, 255, 0.16) 0%, transparent 55%);
        /* radial-gradient(circle at 20% 50%, rgba(26, 58, 92, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 124, 89, 0.2) 0%, transparent 50%); */
    background-attachment: fixed;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 26, 36, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: all var(--transition-normal);
    border-bottom: 2px solid rgba(136, 55, 212, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    background: rgba(15, 26, 36, 0.95);
    border-bottom-color: rgba(136, 55, 212, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo-img {
    height: 100%;
    width: auto;
    max-height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: all var(--transition-normal);
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { 
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 10px rgba(136, 55, 212, 0.5));
    }
    50% { 
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(136, 55, 212, 0.5));
    }
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 25px rgba(136, 55, 212, 0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
    font-family: var(--font-title);
}

.nav-boutique {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
    font-family: var(--font-title);
}

.nav-boutique:hover {
    color: var(--color-gold);
}

.nav-boutique:hover::after {
    width: 100%;
}

.nav-boutique::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-bright));
    transition: width var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-bright));
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-gold);
    transition: all var(--transition-normal);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px var(--spacing-md) var(--spacing-xl);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('../cdn.hytale.com/5e7a961e5e334000189a2a7b_2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: floatParticle linear infinite;
    opacity: 0.6;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, rgba(15, 26, 36, 0.5) 0%, rgba(15, 26, 36, 0.7) 50%, rgba(15, 26, 36, 0.9) 100%),
        radial-gradient(circle at 50% 50%, rgba(26, 58, 92, 0.3) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-logo-container {
    margin-bottom: var(--spacing-lg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    max-width: 600px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(136, 55, 212, 0.5));
    animation: logoPulse 3s ease-in-out infinite;
    transition: all var(--transition-normal);
}

@keyframes logoPulse {
    0%, 100% { 
        filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(136, 55, 212, 0.5));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 50px rgba(136, 55, 212, 0.5));
        transform: scale(1.02);
    }
}

.hero-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 40px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 60px rgba(136, 55, 212, 0.5));
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    letter-spacing: -1px;
    font-family: var(--font-title);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(74, 124, 89, 0.3);
    border: 2px solid var(--color-green-light);
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-green-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulseGlow 2s ease-in-out infinite;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--color-green-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-green-light);
    animation: pulse 2s ease-in-out infinite;
}

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

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(74, 124, 89, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(74, 124, 89, 0.8);
    }
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ip-section {
    /* background: rgba(26, 58, 92, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-gold);
    border-radius: 5px; */
    overflow: hidden;
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) auto;
    max-width: 600px;
    text-align: center;
    /* box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(136, 55, 212, 0.5); */
}

.hero-ip-label {
    color: var(--color-text-secondary);
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.hero-ip-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin: var(--spacing-sm) 0;
    position: relative;
}

.hero-server-ip {
    display: none;
    background: var(--bg-primary);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    box-shadow: 
        inset 0 0 15px rgba(136, 55, 212, 0.5),
        0 4px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.btn-copy-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--color-green-light) 0%, var(--color-green-forest) 100%);
    /* background: rgba(74, 124, 89, 0.3); */
    color: var(--bg-primary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: all var(--transition-normal);
    font-size: 1rem;
    min-width: 20px;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.btn-copy-hero:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.3);
}

.copy-feedback-hero {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-bright) 100%);
    color: var(--bg-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
    z-index: 9999;
}

.copy-feedback-hero.show {
    opacity: 1;
    top: 20%;
    z-index: 9999;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    display: inline-block;
    font-family: var(--font-title);
    position: relative;
    overflow: hidden;
}

.btn-primary-large {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-bright) 100%);
    color: var(--bg-primary);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 
        0 4px 15px rgba(136, 55, 212, 0.5),
        inset 0 1px 0 rgba(136, 55, 212, 0.5);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(136, 55, 212, 0.5),
        inset 0 1px 0 rgba(136, 55, 212, 0.5);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(136, 55, 212, 0.5), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-secondary-large {
    background: rgba(26, 58, 92, 0.6);
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.btn-secondary-large:hover {
    background: rgba(26, 58, 92, 0.8);
    border-color: var(--color-gold-bright);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(136, 55, 212, 0.5);
}

.btn-icon {
    margin-right: 0.5rem;
}

.hero-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-leaf {
    position: absolute;
    font-size: 2rem;
    opacity: 0.4;
    animation: floatLeaf 15s ease-in-out infinite;
}

.leaf-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.leaf-2 {
    top: 60%;
    left: 80%;
    animation-delay: 3s;
}

.leaf-3 {
    top: 80%;
    left: 20%;
    animation-delay: 6s;
}

.leaf-4 {
    top: 40%;
    left: 70%;
    animation-delay: 9s;
}

@keyframes floatLeaf {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) translateX(20px) rotate(90deg);
    }
    50% {
        transform: translateY(-60px) translateX(-10px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) translateX(-20px) rotate(270deg);
    }
}

/* ============================================
   Description Section
   ============================================ */
.description {
    background: var(--bg-primary);
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--spacing-md);
}

.description-text {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    padding: 0 var(--spacing-lg);
    max-width: 100%;
    text-align: center;
}

.description-text:last-child {
    margin-bottom: 0;
}

.adventure {
    background: var(--bg-secondary);
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.adventure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(26, 58, 92, 0.1) 2px, rgba(26, 58, 92, 0.1) 4px);
    opacity: 0.3;
    pointer-events: none;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-align: center;
    font-family: var(--font-title);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.adventure-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.adventure-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    padding: var(--spacing-lg);
    border-radius: 5px;
    border: 2px solid rgba(136, 55, 212, 0.5);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-align: center;
}

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

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

.adventure-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(136, 55, 212, 0.5);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.adventure-card h3 {
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-title);
}

.adventure-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.join {
    background: var(--bg-primary);
    padding: var(--spacing-2xl) 0;
}

.join-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.join-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    padding: var(--spacing-lg);
    border-radius: 5px;
    border: 2px solid rgba(136, 55, 212, 0.5);
    transition: all var(--transition-normal);
    position: relative;
}

.join-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(136, 55, 212, 0.5);
}

.join-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.join-card h3 {
    color: var(--color-gold);
    margin-bottom: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-title);
}

.join-card p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
    line-height: 1.6;
}

.ip-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin: var(--spacing-sm) 0;
    position: relative;
}

.server-ip {
    background: var(--bg-primary);
    padding: 0.9rem 1.5rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    font-weight: 600;
    box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.1);
}

.btn-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.2rem;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-bright) 100%);
    color: var(--bg-primary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-normal);
    font-size: 1rem;
    min-width: 60px;
    box-shadow: 0 4px 10px rgba(136, 55, 212, 0.5);
}

.btn-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(136, 55, 212, 0.5);
}

.copy-feedback {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-bright) 100%);
    color: var(--bg-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(136, 55, 212, 0.5);
}

.copy-feedback.show {
    opacity: 1;
    top: -60px;
}

.btn-discord {
    background: #5865F2;
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    display: inline-block;
    font-family: var(--font-title);
    box-shadow: 0 4px 10px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
}

.btn-discord-hero {
    background: linear-gradient(135deg, #5865F2 0%, #7983F5 100%);
    color: #ffffff;
    box-shadow:
        0 4px 18px rgba(88, 101, 242, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-discord-hero:hover {
    background: linear-gradient(135deg, #4752C4 0%, #6670E6 100%);
    box-shadow:
        0 8px 26px rgba(88, 101, 242, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.nav-discord-btn {
    margin-left: var(--spacing-md);
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: #5865F2;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-title);
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.5);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.nav-discord-btn:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.7);
}

@media (max-width: 768px) {
    .nav-discord-btn {
        display: none;
    }
}

.vote {
    background: var(--bg-secondary);
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.vote-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--spacing-sm);
    width: 100%;
}

.vote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    padding: 0 var(--spacing-sm);
}

@media (max-width: 1024px) {
    .vote-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .vote-grid {
        grid-template-columns: 1fr;
    }
}

.vote-frequency {
    color: var(--color-gold);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    font-style: italic;
}

.vote-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    padding: var(--spacing-xl);
    border-radius: 15px;
    border: 3px solid var(--color-gold);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(136, 55, 212, 0.5),
        inset 0 0 30px rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
    max-width: 100%;
}

.vote-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.vote-icon{
  width: 100px;
  height: 100px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.vote-icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 0 10px rgba(136, 55, 212, 0.6))
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.join-icon{
  width: 100px;
  height: 100px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.join-icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 0 10px rgba(136, 55, 212, 0.6))
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}


.vote-card h3 {
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-title);
    position: relative;
    z-index: 1;
    text-align: center;
}

.vote-card p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 var(--spacing-sm);
    max-width: 100%;
}

.btn-vote-large {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-bright) 100%);
    color: var(--bg-primary);
    padding: 1.3rem 3rem;
    font-size: 1.2rem;
    box-shadow: 
        0 6px 20px rgba(136, 55, 212, 0.5),
        inset 0 1px 0 rgba(136, 55, 212, 0.5);
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    border-radius: 8px;
    font-family: var(--font-title);
    font-weight: 600;
    transition: all var(--transition-normal);
    margin: 0 auto;
    text-align: center;
}

.btn-vote-large:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(136, 55, 212, 0.5),
        inset 0 1px 0 rgba(136, 55, 212, 0.5);
}


.shop {
    background: var(--bg-primary);
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.shop-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.shop-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    padding: var(--spacing-xl);
    border-radius: 15px;
    border: 3px solid var(--color-gold);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(136, 55, 212, 0.5),
        inset 0 0 30px rgba(212, 175, 55, 0.1);
    margin-top: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.shop-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.shop-icon {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    position: relative;
    z-index: 1;
}

.shop-card h3 {
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-title);
    position: relative;
    z-index: 1;
}

.shop-card p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.btn-shop-large {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-bright) 100%);
    color: var(--bg-primary);
    padding: 1.3rem 3rem;
    font-size: 1.2rem;
    box-shadow: 
        0 6px 20px rgba(136, 55, 212, 0.5),
        inset 0 1px 0 rgba(136, 55, 212, 0.5);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-shop-large:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(136, 55, 212, 0.5),
        inset 0 1px 0 rgba(136, 55, 212, 0.5);
}

.footer {
    background: var(--bg-primary);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 2px solid rgba(136, 55, 212, 0.5);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    height: 50px;
}

.footer-logo-img {
    height: 100%;
    width: auto;
    max-height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 10px rgba(136, 55, 212, 0.5));
    transition: all var(--transition-normal);
}

.footer-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 20px rgba(136, 55, 212, 0.5));
}

.footer-section p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section h4 {
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    font-family: var(--font-title);
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--color-text-muted);
    font-size: 0.85rem;
}


.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 1024px) {
    .adventure-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-background {
        background-attachment: scroll;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 26, 36, 0.98);
        width: 100%;
        text-align: center;
        transition: left var(--transition-normal);
        padding: var(--spacing-md) 0;
        border-top: 2px solid rgba(136, 55, 212, 0.5);
        gap: var(--spacing-md);
        backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .logo-img {
        max-height: 50px;
    }
    
    .hero-logo-img {
        max-width: 400px;
    }
    
    .hero {
        padding: 100px var(--spacing-sm) var(--spacing-lg);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .adventure-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .join-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-card,
    .vote-card {
        padding: var(--spacing-lg);
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 var(--spacing-sm);
    }
    
    .description-text {
        font-size: 1rem;
        padding: 0 var(--spacing-sm);
    }
    
    .vote-icon {
        font-size: 4rem;
    }
    
    .vote-card h3 {
        font-size: 1.5rem;
    }
    
    .vote-card p {
        font-size: 1rem;
    }
    
    .ip-container {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .server-ip {
        width: 100%;
        text-align: center;
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
    }
    
    .btn-copy {
        width: 100%;
        padding: 0.8rem;
    }
    
    .shop-card h3 {
        font-size: 1.5rem;
    }
    
    .shop-card p {
        font-size: 1rem;
    }
    
    .shop-icon {
        font-size: 4rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .description,
    .adventure,
    .join,
    .vote,
    .shop {
        padding: var(--spacing-lg) 0;
    }
    
    .hero-logo-img {
        max-width: 300px;
    }
    
    .adventure-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .adventure-card {
        padding: var(--spacing-md);
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .adventure-card h3 {
        font-size: 1.2rem;
    }
    
    .adventure-card p {
        font-size: 0.9rem;
    }
    
    .join-card {
        padding: var(--spacing-md);
    }
    
    .join-icon {
        font-size: 2.5rem;
    }
    
    .join-card h3 {
        font-size: 1.2rem;
    }
    
    .join-card p {
        font-size: 0.9rem;
    }
    
    .shop-card,
    .vote-card {
        padding: var(--spacing-md);
    }
    
    .shop-icon,
    .vote-icon {
        font-size: 3rem;
    }
    
    .shop-card h3,
    .vote-card h3 {
        font-size: 1.3rem;
    }
    
    .shop-card p,
    .vote-card p {
        font-size: 0.95rem;
    }
    
    .btn-shop-large,
    .btn-vote-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        padding: 0 var(--spacing-sm);
    }
    
    .hero-ip-section {
        padding: var(--spacing-md);
        margin: var(--spacing-md) var(--spacing-sm);
    }
    
    .hero-server-ip {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .btn-copy-hero {
        padding: 0.8rem 1.2rem;
        min-width: 60px;
    }
    
    .hero-status-badge {
        margin-top: 10px;
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
}
