/* --- ALASTOR.LIVE MASTER STYLESHEET --- */

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

body {
    background-color: #000;
    color: white;
    font-family: 'Arial Black', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

/* 1. FIXED ATMOSPHERIC GRID */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 242, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

/* 2. NUCLEAR BLOOM BANNER */
.master-header {
    width: 100%;
    padding: 60px 0 20px 0;
    text-align: center;
    position: relative;
    background: #000;
}

.master-header::before {
    content: "";
    position: absolute;
    top: 30%; left: 50%;
    transform: translate(-50%, -50%);
    width: 85%; height: 140px;
    background: linear-gradient(90deg, #00f2ff, #ff0000);
    filter: blur(100px);
    opacity: 0.7;
    z-index: 1;
}

.banner-img {
    width: 90%;
    max-width: 1100px;
    position: relative;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px #00f2ff, 0 0 40px rgba(0, 242, 255, 0.6), 0 0 80px rgba(255, 0, 0, 0.5);
}

/* 3. SUB-NAVIGATION BUTTONS */
.sub-nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

.nav-item {
    text-decoration: none;
    color: #444; /* Image 1 Grey Style */
    font-size: 0.7rem;
    letter-spacing: 3px;
    padding: 12px 26px;
    border: 1px solid #111;
    background: rgba(0, 0, 0, 0.8);
    transition: 0.4s;
    text-transform: uppercase;
    text-align: center;
}

.nav-item:hover {
    color: #fff;
    border-color: #00f2ff;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
    background: rgba(0, 242, 255, 0.05);
}

/* 4. DUAL-ZONE PORTALS */
.nexus {
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 242, 255, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(255, 0, 0, 0.15) 0%, transparent 60%);
}

.nexus-row {
    display: flex;
    gap: 120px;
    align-items: center;
}

.portal-card {
    text-decoration: none;
    text-align: center;
    width: 320px;
}

.portal-box {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-box img {
    max-width: 100%;
    max-height: 100%;
    filter: brightness(0.7) contrast(1.2);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.workshop:hover img { filter: brightness(1.2) drop-shadow(0 0 30px #00f2ff); transform: scale(1.1); }
.gaming:hover img { filter: brightness(1.2) drop-shadow(0 0 30px #ff0000); transform: scale(1.1); }

.portal-tag { margin-top: 20px; font-size: 0.9rem; letter-spacing: 10px; color: #444; transition: 0.3s; }
.portal-desc { margin-top: 8px; font-size: 0.65rem; color: #222; transition: 0.3s; }
.portal-card:hover .portal-tag { color: white; text-shadow: 0 0 10px #fff; }
.portal-card:hover .portal-desc { color: #888; }

/* 5. FEED SECTION (ULTRA-WIDE 1800px) */
.feed-container {
    width: 100%;
    padding: 10px 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 242, 255, 0.05));
}

.feed-label {
    font-size: 0.8rem;
    letter-spacing: 8px;
    color: #00f2ff;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.6);
}

.rss-wrapper {
    width: 98%;
    max-width: 1800px;
    margin: 0 auto;
    height: 300px; 
    border: 1px solid #111;
    background: rgba(0,0,0,0.5);
    overflow: hidden;
}

.rss-iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
}

/* 6. COMMAND DOCK */
.dock {
    background: #000;
    padding: 50px 0;
    border-top: 1px solid #1a1a1a;
    position: relative;
    z-index: 10;
}

.links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.links a {
    text-decoration: none;
    color: #00f2ff;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 8px 15px;
    border: 1px solid #00f2ff44;
    transition: 0.3s;
}

.links a:hover { background: #00f2ff; color: #000; box-shadow: 0 0 20px #00f2ff; }

.music { display: flex; justify-content: center; gap: 60px; }
.track { display: flex; align-items: center; gap: 12px; color: #444; }
.track img { width: 35px; border-radius: 50%; border: 1px solid #222; }
.track span { font-size: 0.65rem; letter-spacing: 1px; }

/* 7. VERTICAL / MOBILE FIX */
@media (max-width: 900px) {
    .master-header { padding: 30px 0; }
    .banner-img { width: 100%; border-left: none; border-right: none; }
    .sub-nav { flex-direction: column; align-items: center; gap: 12px; }
    .nav-item { width: 85%; }
    .nexus-row { flex-direction: column; gap: 60px; }
    .portal-card { width: 80%; }
    .portal-box { height: auto; }
}