/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Cinzel:wght@400;600&display=swap');

/* CSS Variables */
:root {
    --primary-color: #8B0000;
    --secondary-color: #4B0082;
    --accent-color: #DC143C;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --glow-color: #ff6b6b;
    --gold: #FFD700;
    --silver: #C0C0C0;
    --purple: #9932CC;
    --red: #DC143C;
    --pink: #FF69B4;
}

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

body {
    font-family: 'Crimson Text', serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #0d0d1a 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Fog Overlay */
.fog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(123, 104, 238, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(75, 0, 130, 0.05) 0%, transparent 50%);
    animation: fogMove 20s ease-in-out infinite alternate;
}

@keyframes fogMove {
    0% { transform: translateX(-10px) translateY(-10px); }
    100% { transform: translateX(10px) translateY(10px); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo-img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px var(--glow-color));
    transition: all 0.3s ease;
}

.nav-logo .logo-img:hover {
    filter: drop-shadow(0 0 15px var(--glow-color)) brightness(1.1);
    transform: scale(1.05);
}

.nav-logo .logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--glow-color);
    text-shadow: 0 0 10px var(--glow-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--glow-color);
    text-shadow: 0 0 5px var(--glow-color);
}

.nav-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
}

.nav-btn:hover,
.nav-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.5);
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--glow-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%);
}

.moon {
    position: absolute;
    top: 10%;
    right: 15%;
    width: 150px;
    height: 150px;
    background: linear-gradient(145deg, #f5f5f5, #e0e0e0);
    border-radius: 50%;
    box-shadow: 
        0 0 50px rgba(245, 245, 245, 0.3),
        inset -10px -10px 20px rgba(0, 0, 0, 0.1);
    animation: moonGlow 4s ease-in-out infinite alternate;
}

@keyframes moonGlow {
    0% { box-shadow: 0 0 50px rgba(245, 245, 245, 0.3), inset -10px -10px 20px rgba(0, 0, 0, 0.1); }
    100% { box-shadow: 0 0 80px rgba(245, 245, 245, 0.5), inset -10px -10px 20px rgba(0, 0, 0, 0.1); }
}

.bats {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bat {
    position: absolute;
    font-size: 2rem;
    animation: fly 15s linear infinite;
    opacity: 0.7;
}

.bat-1 {
    top: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.bat-2 {
    top: 40%;
    animation-delay: -3s;
    animation-duration: 18s;
}

.bat-3 {
    top: 60%;
    animation-delay: -6s;
    animation-duration: 15s;
}

.bat-4 {
    top: 30%;
    animation-delay: -9s;
    animation-duration: 20s;
    font-size: 1.5rem;
}

.bat-5 {
    top: 70%;
    animation-delay: -12s;
    animation-duration: 14s;
    font-size: 1.8rem;
}

.bat-6 {
    top: 15%;
    animation-delay: -15s;
    animation-duration: 16s;
    font-size: 1.2rem;
}

.bat-7 {
    top: 45%;
    animation-delay: -18s;
    animation-duration: 22s;
    font-size: 2.2rem;
}

@keyframes fly {
    0% {
        transform: translateX(-100px) translateY(0px);
    }
    25% {
        transform: translateX(25vw) translateY(-50px);
    }
    50% {
        transform: translateX(50vw) translateY(20px);
    }
    75% {
        transform: translateX(75vw) translateY(-30px);
    }
    100% {
        transform: translateX(100vw) translateY(10px);
    }
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo-img {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 0 20px var(--glow-color));
    animation: logoFloat 3s ease-in-out infinite alternate;
}

@keyframes logoFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--glow-color), var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--glow-color);
    animation: titleFlicker 3s ease-in-out infinite alternate;
}

@keyframes titleFlicker {
    0% { text-shadow: 0 0 30px var(--glow-color); }
    50% { text-shadow: 0 0 50px var(--glow-color), 0 0 70px var(--primary-color); }
    100% { text-shadow: 0 0 30px var(--glow-color); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    animation: typewriter 4s steps(40, end) 1s both;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

/* Graveyard Elements */
.graveyard {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.grave {
    position: absolute;
    font-size: 3rem;
    opacity: 0.8;
    animation: graveGlow 4s ease-in-out infinite alternate;
}

.grave-1 {
    bottom: 20%;
    left: 15%;
    animation-delay: 0s;
}

.grave-2 {
    bottom: 15%;
    right: 25%;
    animation-delay: -2s;
}

.grave-3 {
    bottom: 25%;
    left: 70%;
    animation-delay: -4s;
}

@keyframes graveGlow {
    0% { text-shadow: 0 0 10px rgba(139, 0, 0, 0.5); }
    100% { text-shadow: 0 0 20px rgba(139, 0, 0, 0.8), 0 0 30px rgba(75, 0, 130, 0.4); }
}

/* Rising Shadows */
.shadows {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.shadow {
    position: absolute;
    width: 60px;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
    animation: shadowRise 6s ease-in-out infinite;
    opacity: 0;
}

.shadow-1 {
    bottom: -200px;
    left: 20%;
    animation-delay: 0s;
}

.shadow-2 {
    bottom: -200px;
    right: 30%;
    animation-delay: -2s;
}

.shadow-3 {
    bottom: -200px;
    left: 60%;
    animation-delay: -4s;
}

@keyframes shadowRise {
    0% { 
        opacity: 0;
        transform: translateY(0px) scaleY(0.1);
    }
    50% { 
        opacity: 1;
        transform: translateY(-100px) scaleY(1);
    }
    100% { 
        opacity: 0;
        transform: translateY(-200px) scaleY(0.1);
    }
}

/* Dead Body Rising */
.dead-body {
    position: absolute;
    bottom: 10%;
    left: 45%;
    font-size: 4rem;
    z-index: 6;
    animation: deadRise 8s ease-in-out infinite;
    opacity: 0;
}

@keyframes deadRise {
    0% { 
        opacity: 0;
        transform: translateY(100px) rotate(0deg);
    }
    25% { 
        opacity: 0.7;
        transform: translateY(20px) rotate(-5deg);
    }
    50% { 
        opacity: 1;
        transform: translateY(0px) rotate(5deg);
    }
    75% { 
        opacity: 0.7;
        transform: translateY(10px) rotate(-2deg);
    }
    100% { 
        opacity: 0;
        transform: translateY(100px) rotate(0deg);
    }
}

/* Mist Effects */
.mist-effects {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.mist {
    position: absolute;
    width: 300px;
    height: 100px;
    background: radial-gradient(ellipse, rgba(139, 0, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: mistFloat 10s ease-in-out infinite;
}

.mist-1 {
    bottom: 10%;
    left: 10%;
    animation-delay: 0s;
}

.mist-2 {
    bottom: 15%;
    right: 20%;
    animation-delay: -3s;
}

.mist-3 {
    bottom: 5%;
    left: 60%;
    animation-delay: -6s;
}

@keyframes mistFloat {
    0% { 
        opacity: 0.3;
        transform: translateX(-20px) scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: translateX(20px) scale(1.2);
    }
    100% { 
        opacity: 0.3;
        transform: translateX(-20px) scale(1);
    }
}

/* Mystic Premiere Badge */
.mystic-premiere {
    margin-top: 30px;
}

.premiere-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.8), rgba(75, 0, 130, 0.8));
    border: 2px solid var(--glow-color);
    border-radius: 30px;
    padding: 15px 25px;
    gap: 10px;
    animation: premierePulse 3s ease-in-out infinite;
}

.premiere-icon {
    font-size: 1.5rem;
    animation: iconSpin 4s linear infinite;
}

.premiere-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--glow-color);
}

@keyframes premierePulse {
    0% { 
        box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.8), 0 0 30px rgba(139, 0, 0, 0.4);
        transform: scale(1.05);
    }
    100% { 
        box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
        transform: scale(1);
    }
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animated-text {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 2px;
}

/* Activity Section */
.activity-section {
    padding: 100px 0;
    background: rgba(26, 26, 26, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    font-family: 'Cinzel', serif;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.activity-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(16, 16, 16, 0.8));
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.1), rgba(75, 0, 130, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.3);
}

.activity-card:hover::before {
    opacity: 1;
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.pulse {
    animation: pulse 2s ease-in-out infinite alternate;
}

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

.activity-counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--glow-color);
    margin-bottom: 10px;
    text-shadow: 0 0 15px var(--glow-color);
}

.activity-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Enhanced member counter */
.activity-counter[data-count="10000"]::after {
    content: "+ 🔥";
    font-size: 0.8em;
    margin-left: 5px;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

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

.about-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.discord-invite {
    margin-top: 40px;
}

.invite-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* Glow Text */
.glow-text {
    text-shadow: 0 0 20px var(--glow-color);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 20px var(--glow-color); }
    100% { text-shadow: 0 0 30px var(--glow-color), 0 0 40px var(--primary-color); }
}

/* Buttons */
.glow-btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.glow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.5);
}

.glow-btn:hover::before {
    left: 100%;
}

.discord-btn {
    font-family: 'Courier New', monospace;
    background: linear-gradient(45deg, #5865F2, #7289DA);
}

/* Council Page Styles */
.council-hero {
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
}

.council-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.15) 0%, transparent 70%);
    animation: heroGlow 4s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    100% { transform: translateX(-50%) scale(1.3); opacity: 0.8; }
}

.page-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

.council-section {
    padding: 60px 0;
}

.council-tier {
    margin-bottom: 80px;
    position: relative;
}

.council-tier::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.3), transparent);
}

.council-tier:last-child::after {
    display: none;
}

.tier-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    font-family: 'Cinzel', serif;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { text-shadow: 0 0 20px currentColor; }
    50% { text-shadow: 0 0 40px currentColor, 0 0 60px currentColor; }
}

.tier-title[data-tier="owner"] { color: var(--gold); text-shadow: 0 0 30px var(--gold); }
.tier-title[data-tier="co-owner"] { color: var(--silver); text-shadow: 0 0 30px var(--silver); }
.tier-title[data-tier="king"] { color: var(--purple); text-shadow: 0 0 30px var(--purple); }
.tier-title[data-tier="leader"] { color: var(--red); text-shadow: 0 0 30px var(--red); }
.tier-title[data-tier="manager"] { color: #4169E1; text-shadow: 0 0 30px #4169E1; }
.tier-title[data-tier="empress"] { color: var(--pink); text-shadow: 0 0 30px var(--pink); }
.tier-title[data-tier="enchantress"] { color: #DA70D6; text-shadow: 0 0 30px #DA70D6; }
.tier-title[data-tier="chief-of-staff"] { color: #FF8C00; text-shadow: 0 0 30px #FF8C00; }
.tier-title[data-tier="moderator"] { color: #32CD32; text-shadow: 0 0 30px #32CD32; }

.council-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    justify-items: center;
}

.council-grid-kings {
    max-width: 700px;
    margin: 0 auto;
}

.council-tier[data-tier="enchantress"] .council-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    justify-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.council-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(16, 16, 16, 0.9));
    border: 3px solid transparent;
    border-radius: 20px;
    padding: 35px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.council-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    opacity: 0;
    transition: all 0.6s ease;
    transform: rotate(45deg);
}

.council-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(139, 0, 0, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.council-card[data-role="owner"] { border-color: var(--gold); box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2); }
.council-card[data-role="co-owner"] { border-color: var(--silver); box-shadow: 0 10px 30px rgba(192, 192, 192, 0.2); }
.council-card[data-role="king"] { border-color: var(--purple); box-shadow: 0 10px 30px rgba(153, 50, 204, 0.2); }
.council-card[data-role="leader"] { border-color: var(--red); box-shadow: 0 10px 30px rgba(220, 20, 60, 0.2); }
.council-card[data-role="manager"] { border-color: #4169E1; box-shadow: 0 10px 30px rgba(65, 105, 225, 0.2); }
.council-card[data-role="empress"] { border-color: var(--pink); box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2); }
.council-card[data-role="enchantress"] { border-color: #DA70D6; box-shadow: 0 10px 30px rgba(218, 112, 214, 0.2); }
.council-card[data-role="chief-of-staff"] { border-color: #FF8C00; box-shadow: 0 10px 30px rgba(255, 140, 0, 0.2); }
.council-card[data-role="moderator"] { border-color: #32CD32; box-shadow: 0 10px 30px rgba(50, 205, 50, 0.2); }

.council-card:hover {
    transform: translateY(-15px) scale(1.05);
}

.council-card[data-role="owner"]:hover { box-shadow: 0 25px 50px rgba(255, 215, 0, 0.4); }
.council-card[data-role="co-owner"]:hover { box-shadow: 0 25px 50px rgba(192, 192, 192, 0.4); }
.council-card[data-role="king"]:hover { box-shadow: 0 25px 50px rgba(153, 50, 204, 0.4); }
.council-card[data-role="leader"]:hover { box-shadow: 0 25px 50px rgba(220, 20, 60, 0.4); }
.council-card[data-role="manager"]:hover { box-shadow: 0 25px 50px rgba(65, 105, 225, 0.4); }
.council-card[data-role="empress"]:hover { box-shadow: 0 25px 50px rgba(255, 105, 180, 0.4); }
.council-card[data-role="enchantress"]:hover { box-shadow: 0 25px 50px rgba(218, 112, 214, 0.4); }
.council-card[data-role="chief-of-staff"]:hover { box-shadow: 0 25px 50px rgba(255, 140, 0, 0.4); }
.council-card[data-role="moderator"]:hover { box-shadow: 0 25px 50px rgba(50, 205, 50, 0.4); }

.council-card:hover::before {
    opacity: 1;
    left: 100%;
}

.council-card:hover::after {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

.member-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.council-card:hover .member-name {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
}

.role-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.council-card:hover .role-badge {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.role-badge.owner { background: linear-gradient(45deg, var(--gold), #B8860B); color: #000; }
.role-badge.co-owner { background: linear-gradient(45deg, var(--silver), #A9A9A9); color: #000; }
.role-badge.king { background: linear-gradient(45deg, var(--purple), #8A2BE2); color: #fff; }
.role-badge.leader { background: linear-gradient(45deg, var(--red), #B22222); color: #fff; }
.role-badge.manager { background: linear-gradient(45deg, #4169E1, #0000FF); color: #fff; }
.role-badge.empress { background: linear-gradient(45deg, var(--pink), #FF1493); color: #fff; }
.role-badge.enchantress { background: linear-gradient(45deg, #DA70D6, #BA55D3); color: #fff; }
.role-badge.chief-of-staff { background: linear-gradient(45deg, #FF8C00, #FF6347); color: #fff; }
.role-badge.moderator { background: linear-gradient(45deg, #32CD32, #228B22); color: #fff; }

.member-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: memberGlow 5s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes memberGlow {
    0% { 
        opacity: 0.4; 
        transform: translate(-50%, -50%) scale(1) rotate(0deg); 
    }
    100% { 
        opacity: 0.8; 
        transform: translate(-50%, -50%) scale(1.4) rotate(360deg); 
    }
}

/* Contact Page Styles */
.contact-hero {
    padding: 120px 0 60px;
    text-align: center;
}

.contact-section {
    padding: 60px 0 100px;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-wrapper {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(16, 16, 16, 0.8));
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 20px;
    padding: 40px;
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(139, 0, 0, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.form-input:focus {
    outline: none;
    border-color: var(--glow-color);
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.input-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.form-input:focus + .input-glow {
    opacity: 0.1;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.success-message {
    text-align: center;
    padding: 40px;
}

.success-content {
    background: linear-gradient(145deg, rgba(0, 100, 0, 0.2), rgba(0, 150, 0, 0.1));
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.success-title {
    font-size: 1.8rem;
    color: #00ff00;
    margin-bottom: 10px;
}

.success-text {
    color: var(--text-secondary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.6), rgba(16, 16, 16, 0.6));
    border: 1px solid rgba(139, 0, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
}

.info-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
}

.info-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* SMP Page Styles */
.smp-hero {
    padding: 120px 0 60px;
    text-align: center;
}

.minecraft-title {
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 0px #000, 0 0 30px var(--glow-color);
}

.server-ip-container {
    margin-top: 40px;
}

.ip-display {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--glow-color);
    border-radius: 50px;
    padding: 15px 25px;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    gap: 15px;
}

.ip-label {
    color: var(--text-secondary);
}

.ip-address {
    color: var(--glow-color);
    font-weight: 700;
}

.copy-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.copy-btn:hover {
    transform: scale(1.05);
}

.copy-btn.copied .copy-text { display: none; }
.copy-btn.copied .copied-text { display: inline; }
.copied-text { display: none; }

.smp-features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(16, 16, 16, 0.8));
    border: 2px solid rgba(139, 0, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card.priority {
    border-color: var(--gold);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--glow-color);
}

.feature-desc {
    color: var(--text-secondary);
}

.kits-section {
    padding: 80px 0;
    background: rgba(26, 26, 26, 0.3);
}

.kits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.kit-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(16, 16, 16, 0.9));
    border: 2px solid rgba(139, 0, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.kit-card:hover {
    transform: translateY(-10px);
    border-color: var(--glow-color);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.2);
}

.kit-header {
    margin-bottom: 20px;
}

.kit-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--glow-color);
    font-family: 'Cinzel', serif;
}

.kit-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.kit-features {
    margin-bottom: 25px;
}

.kit-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

.kit-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.kit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
}

.smp-staff {
    padding: 80px 0;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.staff-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(16, 16, 16, 0.8));
    border: 2px solid var(--gold);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.staff-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
}

.hiring-banner {
    background: linear-gradient(145deg, rgba(139, 0, 0, 0.2), rgba(75, 0, 130, 0.2));
    border: 2px solid var(--glow-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.hiring-title {
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
}

.hiring-desc {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.apply-btn {
    font-size: 1.2rem;
    padding: 15px 35px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 30px 0;
        height: calc(100vh - 70px);
        gap: 40px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .activity-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .council-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .kits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .staff-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .moon {
        width: 100px;
        height: 100px;
        top: 15%;
        right: 10%;
    }
    
    .ip-display {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }
}