/* InstantFriend Common Sanctuary Styles */
body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    margin: 0; 
    background: #020617; 
    color: #f1f5f9; 
    text-align: center; 
    line-height: 1.6;
}

.hero { 
    min-height: 80vh; 
    padding: 100px 24px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    max-width: 1200px;
    margin: 0 auto;
}

h1 { 
    font-size: 4.5rem; 
    text-transform: uppercase; 
    font-style: italic; 
    margin: 20px 0; 
    font-weight: 900;
    line-height: 1.1;
}

.status { 
    color: #10b981; 
    font-weight: 900; 
    margin-bottom: 24px; 
    text-transform: uppercase; 
    letter-spacing: 0.15em; 
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.cta { 
    background: #fff; 
    color: #000; 
    padding: 24px 60px; 
    border-radius: 20px; 
    font-weight: 900; 
    text-decoration: none; 
    display: inline-block; 
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px -10px rgba(255,255,255,0.3);
}

.cta:hover { 
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px -15px rgba(255,255,255,0.4);
    background: #f8fafc;
}

footer { 
    margin-top: 0; 
    padding: 100px 24px; 
    background: rgba(0,0,0,0.5); 
    border-top: 1px solid rgba(255,255,255,0.05); 
    backdrop-filter: blur(20px);
}

.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); 
    gap: 12px; 
    max-width: 1200px; 
    margin: 60px auto; 
    text-align: left; 
}

.grid a { 
    color: #94a3b8; 
    text-decoration: none; 
    font-size: 0.85rem; 
    font-weight: 600; 
    padding: 18px; 
    background: rgba(255,255,255,0.02); 
    border-radius: 16px; 
    border: 1px solid rgba(255,255,255,0.03); 
    display: block; 
    transition: all 0.2s ease;
}

.grid a:hover { 
    background: rgba(255,255,255,0.05); 
    color: #fff; 
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    .cta { padding: 20px 40px; width: 100%; box-sizing: border-box; }
}

/* UNIVERSAL SAFETY BAR (Breadcrumbs) */
.safety-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.global-status {
    font-size: 0.7rem;
    color: #10b981;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot-green {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

.safety-bar a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.safety-bar a:hover { color: #fff; }

/* AUTHORITY CONTENT STYLES */
.authority-content {
    padding: 80px 0;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.authority-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    color: #fff;
}

.authority-content p {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 0.5) 0%, rgba(2, 6, 23, 1) 100%);
    z-index: -1;
}

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

/* VISUAL PORTAL (Discovery Cards) */
.portal-section {
    padding: 100px 24px;
    background: #000;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 40px auto;
}

.portal-card {
    position: relative;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.1);
}

.portal-card:hover {
    transform: scale(1.02);
    border-color: #3b82f6;
}

.portal-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.portal-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.main-nav {
    padding: 24px 0;
    margin-bottom: 40px;
}

.main-nav .logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav .logo img {
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
