:root {
    --primary-gold: #ffd700;
    --dark-gold: #ffaa00;
    --deep-space: #0a0a0a;
    --space-dark: #1a1a1a;
    --space-medium: #2a2a2a;
    --text-primary: #e0e0e0;
    --text-secondary: #888;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', system-ui; 
}

body { 
    background: var(--deep-space); 
    color: var(--text-primary); 
    min-height: 100vh; 
}

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

/* ========== NAVIGATION ========== */
.navigation { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1rem 0; 
    margin-bottom: 2rem; 
    border-bottom: 1px solid var(--space-medium); 
}

.nav-brand { 
    font-size: 1.5rem; 
    font-weight: 300; 
    color: var(--primary-gold); 
    text-decoration: none; 
}

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

.nav-link { 
    color: var(--text-secondary); 
    text-decoration: none; 
    font-size: 0.9rem; 
    transition: color 0.3s ease; 
    padding: 8px 16px; 
    border-radius: 6px; 
}

.nav-link:hover, .nav-link.active { 
    color: var(--primary-gold); 
    background: rgba(255, 215, 0, 0.1); 
}

/* ========== BANNER SECTION ========== */
.banner-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.95) 0%, rgba(30, 30, 60, 0.95) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.orientation {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.orientation-statement {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
}

.brand-symbol-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-symbol {
    width: 120px;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
}

/* ========== HEADER ========== */
.header { 
    text-align: center; 
    padding: 40px 20px; 
    margin-bottom: 30px; 
}

.main-title { 
    font-size: 2.5rem; 
    font-weight: 300; 
    color: var(--primary-gold); 
    margin-bottom: 1rem; 
}

.subtitle { 
    font-size: 1.1rem; 
    color: var(--text-secondary); 
    max-width: 600px; 
    margin: 0 auto; 
    line-height: 1.6; 
}

/* ========== PORTAL GRIDS ========== */
.portals-section { 
    margin: 3rem 0; 
}

.portals-grid { 
    display: grid; 
    gap: 20px; 
    margin: 2rem 0; 
}

/* First Row: 2 portals */
.portals-row-1 { 
    grid-template-columns: repeat(2, 1fr); 
}

/* Second Row: 3 portals */
.portals-row-2 { 
    grid-template-columns: repeat(3, 1fr); 
}

/* Third Row: 2 portals */
.portals-row-3 { 
    grid-template-columns: repeat(2, 1fr); 
}

.portal-item {
    background: var(--space-dark);
    border: 1px solid var(--space-medium);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.portal-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
}

.portal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.portal-sun .portal-icon { 
    background: var(--primary-gold); 
    color: var(--deep-space); 
}

.portal-mirror .portal-icon { 
    background: #64c8ff; 
    color: var(--deep-space); 
}

.portal-ripple .portal-icon { 
    background: #4ade80; 
    color: var(--deep-space); 
}

.portal-lettinggo .portal-icon { 
    background: #a855f7; 
    color: var(--deep-space); 
}

.portal-fire .portal-icon { 
    background: #ff6b6b; 
    color: var(--deep-space); 
}

.portal-toneflow .portal-icon { 
    background: #f59e0b; 
    color: var(--deep-space); 
}

.portal-silence .portal-icon { 
    background: #94a3b8; 
    color: var(--deep-space); 
}

.portal-name {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary-gold);
}

.portal-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

/* ========== BUTTONS ========== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: var(--deep-space);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-disabled {
    background: var(--space-medium);
    color: #666;
    cursor: not-allowed;
}

/* ========== CTA & NOTICES ========== */
.cta-section { 
    text-align: center; 
    margin: 3rem 0; 
}

.premium-notice { 
    background: rgba(255, 215, 0, 0.1); 
    border: 1px solid rgba(255, 215, 0, 0.3); 
    border-radius: 8px; 
    padding: 20px; 
    margin: 2rem 0; 
    text-align: center; 
}

.premium-notice h3 { 
    color: var(--primary-gold); 
    margin-bottom: 10px; 
}

/* ========== FOOTER ========== */
.footer { 
    margin-top: 4rem; 
    padding-top: 2rem; 
    border-top: 1px solid var(--space-medium); 
    color: #666; 
    font-size: 0.9rem; 
    text-align: center; 
}

.footer a { 
    color: #888; 
    text-decoration: none; 
    margin: 0 10px; 
}

.footer a:hover { 
    color: var(--primary-gold); 
}

.social-icon {
    color: #888;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-gold);
}

/* ========== WATERMARK ========== */
body::after {
    content: '';
    position: fixed;
    top: 0; 
    right: 0; 
    bottom: 0; 
    left: 0;
    background: url('LightMirrorPortals-com.png') repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 9999;
}

/* ========== MOBILE STYLES ========== */
@media (max-width: 768px) {
    .banner-section {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .brand-symbol {
        width: 100px;
    }
    
    .portals-row-1,
    .portals-row-2,
    .portals-row-3 {
        grid-template-columns: 1fr;
    }
    
    .navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
}