/* assets/css/styles.css */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    background: url('/assets/img/hellscape-bg.webp') no-repeat center center/cover;
    background-color: #1a0000; /* Dark red fallback */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.void-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.ember-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.overlay {
    text-align: center;
    color: #fff;
    z-index: 2;
    position: relative;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.8); /* Fiery orange glow */
	height: 95%;
}

h1 {
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px #ff4500, 0 0 30px #ff0000, 0 0 45px #000;
    margin: 0;
    animation: glow 2s infinite alternate;
}

.tagline {
    font-family: 'IM Fell English', serif;
    font-size: 1.8rem;
    text-shadow: 0 0 10px #ff4500;
    margin: 10px 0;
}

/* Pentagram and Flames */
.pentagram {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 30px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 90,90 10,90 80,30 20,30" fill="none" stroke="#ff4500" stroke-width="3"/></svg>') no-repeat center;
    animation: rotate 15s infinite linear;
}

.flame {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    animation: rise 2.5s infinite; /* Removed flicker for smoother animation */
}

.flame[data-faction="Necrotech"] { background: radial-gradient(circle, #00ff00 20%, transparent 70%); top: -15px; left: 50%; transform: translateX(-50%); }
.flame[data-faction="Abyssal"] { background: radial-gradient(circle, #ff0000 20%, transparent 70%); bottom: -15px; right: 10%; }
.flame[data-faction="Draconic"] { background: radial-gradient(circle, #ff4500 20%, transparent 70%); bottom: -15px; left: 10%; }
.flame[data-faction="Eldritch"] { background: radial-gradient(circle, #8a2be2 20%, transparent 70%); top: 40%; right: -15px; }
.flame[data-faction="AlienVoid"] { background: radial-gradient(circle, #00ffff 20%, transparent 70%); top: 40%; left: -15px; }

/* Feature Teaser */
.feature-teaser {
    margin: 20px 0;
    font-family: 'IM Fell English', serif;
    font-size: 1.2rem;
    color: #ff9999;
    text-shadow: 0 0 5px #ff4500;
}

.feature {
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
}

.feature:hover {
    color: #fff;
    text-shadow: 0 0 15px #ff4500;
}

.feature::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.feature:hover::after {
    visibility: visible;
    opacity: 1;
}

/* Holographic Card Preview */
.card-preview {
    margin: 20px 0;
}

.holo-card {
    width: 150px;
    height: 200px;
    margin: 0 auto;
    background: linear-gradient(45deg, #ff4500, #ff0000);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.8);
    position: relative;
    overflow: hidden;
    animation: holo-shift 3s infinite linear;
}

.holo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,20 Q80,80 50,80 Q20,80 50,20 Z" fill="none" stroke="#fff" stroke-width="2"/></svg>') center;
    opacity: 0.3;
}

.card-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'IM Fell English', serif;
    font-size: 1rem;
    color: #fff;
    text-shadow: 0 0 5px #000;
}

/* Coming Soon and Chat Teaser */
.coming-soon {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    text-shadow: 0 0 10px #ff4500;
    margin: 20px 0;
}

.chat-teaser {
    margin: 20px 0;
}

.void-whisper {
    font-family: 'IM Fell English', serif;
    font-size: 1.2rem;
    color: #ff9999;
    text-shadow: 0 0 5px #ff4500;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 5px;
    animation: pulse 4s infinite;
}

/* Social Hub Button */
.social-hub-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff4500;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    text-shadow: 0 0 5px #000;
    box-shadow: 0 0 10px #ff4500;
    transition: background 0.3s, box-shadow 0.3s;
}

.social-hub-btn:hover {
    background: #ff0000;
    box-shadow: 0 0 15px #ff4500;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rise {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

@keyframes glow {
    0% { text-shadow: 0 0 15px #ff4500, 0 0 30px #ff0000, 0 0 45px #000; }
    100% { text-shadow: 0 0 20px #ff4500, 0 0 40px #ff0000, 0 0 60px #000; }
}

@keyframes holo-shift {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 200%; }
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}