/* ========================================
   YGGDRÄSÏL - MODERN GAMING STYLE
   ======================================== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* Variables */
:root {
    --bg-dark: #0f1419;
    --bg-darker: #0a0e13;
    --card-bg: rgba(20, 25, 35, 0.8);
    --card-hover: rgba(30, 40, 55, 0.9);
    --primary: #00d9b3;
    --primary-dark: #00b894;
    --primary-light: #00ffcc;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --text-muted: #8b99ab;
    --border: rgba(255, 255, 255, 0.1);
    --success: #00ff9f;
    --warning: #ffa500;
    --danger: #ff6b6b;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background */
.void-atmosphere {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(0, 217, 179, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(108, 92, 231, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #0f1419 0%, #0a0e13 100%);
    z-index: -2;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

/* Server Info Bar */
.server-info {
    background: rgba(20, 25, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.server-info-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0 2rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.server-info span {
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Header */
.main-header {
    background: rgba(20, 25, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 42px;
    z-index: 100;
}

.header-ornament {
    display: none;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Guild Emblem */
.guild-emblem {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.emblem-frame {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 217, 179, 0.3);
}

.emblem-frame::before {
    display: none;
}

.emblem-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.guild-name-block {
    text-align: left;
}

.guild-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.guild-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link::before {
    display: none;
}

.nav-link::after {
    display: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(0, 217, 179, 0.1);
}

.btn-apply {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--bg-dark);
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 217, 179, 0.3);
}

.btn-apply:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 179, 0.4);
    color: var(--bg-dark);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(180deg, rgba(15, 20, 25, 0.5), rgba(10, 14, 19, 0.8));
    border-bottom: 1px solid var(--border);
}

.hero-overlay {
    display: none;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(0, 217, 179, 0.3);
}

.btn-primary::before {
    display: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 217, 179, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 2px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
}

.tree-illustration {
    width: 100%;
    height: 500px;
    background: rgba(20, 25, 35, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.tree-svg {
    font-size: 12rem;
    filter: drop-shadow(0 0 30px rgba(0, 217, 179, 0.5));
}

/* Stats Section */
.stats {
    padding: 4rem 2rem;
    background: rgba(20, 25, 35, 0.3);
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 217, 179, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about {
    padding: 6rem 2rem;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.value-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    transition: all 0.2s ease;
}

.value-item:hover {
    background: var(--card-hover);
    transform: translateX(5px);
    border-left-color: var(--accent);
}

.value-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.value-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* Footer */
.main-footer {
    background: rgba(10, 14, 19, 0.95);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 1.5rem;
}

.recruitment-section {
    padding: 6rem 2rem;
    background: rgba(20, 25, 35, 0.3);
}

.recruitment-section .about-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 1024px) {
    .recruitment-section .about-content {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.main-footer {
    background: rgba(10, 14, 19, 0.95);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 1.5rem;
}

.footer-ornament {
    display: none;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-guild h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-guild p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .guild-name {
        font-size: 1.2rem;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .main-nav {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
