/* ========================================
   YGGDRÄSÏL - ELITE GUILD WEBSITE
   Authentic WoW Midnight Aesthetic
   ======================================== */

/* Variables */
:root {
    --midnight-black: #0a0d0f;
    --stone-dark: #0f1415;
    --stone-medium: #1a2124;
    --stone-light: #2d3a3d;
    --guild-green: #00ffcc;
    --guild-teal: #00d9b3;
    --guild-dark-teal: #008f7a;
    --nordic-cyan: #00e6cc;
    --void-black: #050808;
    --silver: #c8d9db;
    --ice-white: #e8f4f5;
    --accent-green: #00ff9f;
}

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

body {
    font-family: 'MedievalSharp', 'Georgia', serif;
    background: var(--midnight-black);
    color: #e8e8e8;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Void Background */
.void-atmosphere {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(0, 255, 204, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(0, 217, 179, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #0a0d0f 0%, #0f1415 50%, #0a0d0f 100%);
    z-index: -2;
    animation: voidShift 30s ease-in-out infinite alternate;
}

@keyframes voidShift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(20deg); }
}

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

/* Server Info Bar */
.server-info {
    background: linear-gradient(180deg, rgba(0, 255, 204, 0.12) 0%, rgba(15, 20, 21, 0.95) 100%);
    border-bottom: 2px solid rgba(0, 255, 204, 0.4);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.server-info-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 0 2rem;
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.server-info span {
    color: var(--guild-green);
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.6);
}

/* Main Header */
.main-header {
    background: linear-gradient(180deg, rgba(15, 20, 21, 0.98) 0%, rgba(26, 33, 36, 0.95) 100%);
    border-bottom: 3px solid var(--guild-green);
    border-top: 1px solid rgba(0, 255, 204, 0.3);
    padding: 2rem 2rem 1.5rem;
    position: relative;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.8),
        inset 0 -2px 20px rgba(0, 255, 204, 0.08);
}

.header-ornament {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        var(--guild-teal) 10px,
        var(--guild-teal) 20px
    );
}

.header-ornament.top { top: 0; }
.header-ornament.bottom { bottom: 0; }

.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: 1.5rem;
}

.emblem-frame {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--stone-dark), var(--stone-medium));
    border: 3px solid var(--guild-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 
        0 0 20px rgba(0, 255, 204, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.emblem-frame::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border: 2px solid rgba(0, 255, 204, 0.3);
    border-radius: 50%;
}

.emblem-icon {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.9));
    animation: emblemGlow 3s ease-in-out infinite;
    border-radius: 50%;
}

@keyframes emblemGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.7)); }
    50% { filter: drop-shadow(0 0 20px rgba(0, 255, 204, 1)); }
}

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

.guild-name {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 2.8rem;
    color: var(--guild-green);
    text-shadow: 
        2px 2px 0 var(--guild-dark-teal),
        0 0 20px rgba(0, 255, 204, 0.7),
        0 0 40px rgba(0, 255, 204, 0.4);
    letter-spacing: 4px;
    margin-bottom: 0.2rem;
}

.guild-tagline {
    font-family: 'Metamorphous', cursive;
    font-size: 1rem;
    color: var(--silver);
    letter-spacing: 2px;
    font-style: italic;
}

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

.nav-link {
    font-family: 'Cinzel Decorative', serif;
    color: #d8d8d8;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.nav-link::before {
    content: '⚔';
    position: absolute;
    left: -10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--guild-green);
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.9);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 1;
    left: -15px;
}

.btn-apply {
    background: linear-gradient(135deg, var(--guild-dark-teal), var(--guild-teal));
    border: 2px solid var(--guild-green);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 217, 179, 0.5);
}

.btn-apply:hover {
    background: linear-gradient(135deg, var(--guild-teal), var(--guild-green));
    box-shadow: 0 6px 20px rgba(0, 255, 204, 0.7);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: 
        linear-gradient(180deg, rgba(10, 13, 15, 0.4), rgba(15, 20, 21, 0.8)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%230f1415" width="100" height="100"/><g fill-opacity="0.05"><polygon fill="%2300ffcc" points="50 0 100 50 50 100 0 50"/></g></svg>');
    background-size: cover;
    border-bottom: 3px solid var(--guild-green);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 15, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
}

.hero-title-block {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.title-ornament {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--guild-green), transparent);
    position: relative;
}

.title-ornament::before {
    content: '◆';
    position: absolute;
    right: -10px;
    top: -10px;
    color: var(--guild-green);
    font-size: 1.5rem;
}

.hero-title {
    font-family: 'Pirata One', cursive;
    font-size: 5rem;
    color: var(--guild-green);
    text-shadow: 
        3px 3px 0 var(--guild-dark-teal),
        0 0 30px rgba(0, 255, 204, 0.9),
        0 0 60px rgba(0, 255, 204, 0.5);
    letter-spacing: 6px;
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { text-shadow: 3px 3px 0 var(--guild-dark-teal), 0 0 30px rgba(0, 255, 204, 0.9); }
    50% { text-shadow: 3px 3px 0 var(--guild-dark-teal), 0 0 50px rgba(0, 255, 159, 1); }
}

.hero-subtitle {
    font-family: 'Metamorphous', cursive;
    font-size: 1.5rem;
    color: var(--silver);
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-stats-quick {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.quick-stat {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(15, 20, 21, 0.8);
    border: 2px solid var(--guild-teal);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.stat-value {
    display: block;
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.5rem;
    color: var(--guild-green);
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.7);
    margin-bottom: 0.5rem;
}

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

/* Section Styling */
.raid-progression,
.raid-schedule,
.recruitment-section {
    padding: 5rem 2rem;
    position: relative;
}

.raid-progression {
    background: linear-gradient(180deg, rgba(26, 26, 36, 0.5), rgba(45, 45, 61, 0.3));
}

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

.section-title {
    font-family: 'Pirata One', cursive;
    font-size: 3rem;
    color: var(--guild-green);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-shadow: 
        2px 2px 0 var(--guild-dark-teal),
        0 0 20px rgba(0, 255, 204, 0.7);
}

.title-decor {
    color: var(--guild-teal);
    font-size: 1.5rem;
}

/* Raid Tier */
.raid-container {
    max-width: 1400px;
    margin: 0 auto;
}

.raid-tier {
    background: linear-gradient(135deg, rgba(15, 20, 21, 0.9), rgba(26, 33, 36, 0.8));
    border: 3px solid var(--guild-teal);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.7),
        inset 0 0 30px rgba(0, 255, 204, 0.05);
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 255, 204, 0.3);
}

.tier-header h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.8rem;
    color: var(--guild-green);
}

.tier-progress {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    color: var(--guild-green);
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.9);
}

.boss-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.boss-card {
    background: rgba(45, 45, 61, 0.6);
    border: 2px solid var(--stone-light);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.boss-card.killed {
    border-color: var(--guild-teal);
    background: linear-gradient(135deg, rgba(0, 143, 122, 0.2), rgba(26, 33, 36, 0.6));
}

.boss-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.3);
}

.boss-status {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.boss-card.killed .boss-status {
    color: var(--guild-green);
}

.boss-name {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.1rem;
    color: #e8e8e8;
    margin-bottom: 0.5rem;
}

.boss-date {
    font-size: 0.8rem;
    color: var(--silver);
    opacity: 0.7;
}

/* Schedule */
.schedule-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.schedule-card {
    background: linear-gradient(135deg, rgba(15, 20, 21, 0.9), rgba(26, 33, 36, 0.7));
    border: 3px solid var(--guild-teal);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-10px);
    border-color: var(--guild-green);
    box-shadow: 0 10px 40px rgba(0, 255, 204, 0.3);
}

.day-header {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.8rem;
    color: var(--guild-green);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.6);
}

.time-slot {
    font-size: 1.3rem;
    color: #e8e8e8;
    margin-bottom: 1rem;
}

.raid-type {
    font-size: 1rem;
    color: var(--silver);
    padding: 0.5rem 1rem;
    background: rgba(0, 143, 122, 0.3);
    border-radius: 5px;
    border: 1px solid var(--guild-dark-teal);
}

/* Recruitment */
.recruitment-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    color: var(--silver);
}

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

.class-card {
    background: linear-gradient(135deg, rgba(26, 26, 36, 0.9), rgba(45, 45, 61, 0.8));
    border: 3px solid var(--stone-light);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.class-card.high-need {
    border-color: var(--guild-green);
    background: linear-gradient(135deg, rgba(0, 217, 179, 0.2), rgba(26, 33, 36, 0.8));
}

.class-card.medium-need {
    border-color: var(--guild-teal);
}

.class-card.low-need {
    border-color: var(--guild-dark-teal);
}

.class-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.class-name {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    color: var(--guild-green);
    margin-bottom: 0.5rem;
}

.class-spec {
    font-size: 0.9rem;
    color: var(--silver);
    margin-bottom: 1rem;
}

.need-status {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
}

.need-status.high {
    background: var(--guild-green);
    color: var(--void-black);
}

.need-status.medium {
    background: var(--guild-teal);
    color: var(--void-black);
}

.need-status.low {
    background: var(--guild-dark-teal);
    color: #fff;
}

.requirements {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(15, 20, 21, 0.8);
    border: 3px solid var(--guild-teal);
    border-radius: 10px;
    padding: 2rem;
}

.requirements h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.8rem;
    color: var(--guild-green);
    margin-bottom: 1.5rem;
    text-align: center;
}

.req-list {
    list-style: none;
    font-size: 1.1rem;
}

.req-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
    color: #e8e8e8;
}

.req-list li:last-child {
    border-bottom: none;
}

/* Apply Section */
.apply-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(0, 143, 122, 0.1), rgba(15, 20, 21, 0.5));
    border-top: 3px solid var(--guild-green);
}

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

.apply-container h2 {
    font-family: 'Pirata One', cursive;
    font-size: 3rem;
    color: var(--guild-green);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0 var(--guild-dark-teal), 0 0 20px rgba(0, 255, 204, 0.7);
}

.apply-container p {
    font-size: 1.3rem;
    color: var(--silver);
    margin-bottom: 3rem;
}

.apply-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.btn-large {
    font-family: 'Cinzel Decorative', serif;
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    border: 3px solid;
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2, #7289DA);
    border-color: #4752C4;
    color: #fff;
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
    background: linear-gradient(135deg, #7289DA, #5865F2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.6);
}

.btn-form {
    background: linear-gradient(135deg, var(--guild-dark-teal), var(--guild-teal));
    border-color: var(--guild-green);
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 217, 179, 0.4);
}

.btn-form:hover {
    background: linear-gradient(135deg, var(--guild-teal), var(--guild-green));
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.6);
}

/* Footer */
.main-footer {
    background: linear-gradient(180deg, rgba(15, 20, 21, 0.5), var(--midnight-black));
    border-top: 3px solid var(--guild-green);
    padding: 3rem 2rem 1rem;
    position: relative;
}

.footer-ornament {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--guild-green),
        var(--guild-green) 20px,
        transparent 20px,
        transparent 40px
    );
}

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

.footer-guild h3 {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 2rem;
    color: var(--guild-green);
    margin-bottom: 0.5rem;
}

.footer-guild p {
    color: var(--silver);
}

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

.footer-links a {
    color: var(--silver);
    text-decoration: none;
    font-family: 'Cinzel Decorative', serif;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--guild-green);
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.7);
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 204, 0.2);
    color: var(--silver);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .boss-grid,
    .class-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .schedule-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-stats-quick {
        flex-direction: column;
        gap: 1rem;
    }
    
    .boss-grid,
    .class-grid {
        grid-template-columns: 1fr;
    }
    
    .guild-name {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .apply-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}
