:root {
    --bg-color: #050510;
    --text-color: #e0e0e0;
    --gold: #D4AF37;
    --gold-dim: #8a7020;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(212, 175, 55, 0.3);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Star Background */
#stars, #stars2, #stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: transparent;
}

#stars { background-image: radial-gradient(white 1px, transparent 1px); background-size: 50px 50px; opacity: 0.3; }
#stars2 { background-image: radial-gradient(white 1px, transparent 1px); background-size: 100px 100px; opacity: 0.2; }
#stars3 { background-image: radial-gradient(white 2px, transparent 2px); background-size: 150px 150px; opacity: 0.1; }

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(5, 5, 16, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Hero / Oracle Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: relative;
}

.oracle-container {
    cursor: pointer;
    transition: transform 0.5s ease;
}

.oracle-container:hover {
    transform: scale(1.05);
}

.oracle-circle {
    width: 200px;
    height: 200px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    position: relative;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px var(--gold-dim);
    animation: pulse 3s infinite ease-in-out;
}

.symbol-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px dashed var(--gold-dim);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.inner-eye {
    width: 100px;
    height: 100px;
}

.oracle-title {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--gold-dim);
}

.oracle-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 20px;
}

.prompt-text {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 0.9rem;
    opacity: 0.8;
    animation: fade 2s infinite;
}

/* Content Sections */
.content-section {
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--gold-dim);
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Cards & Grids */
.content-grid, .branches-grid, .orders-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card, .branch-card, .order-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .branch-card:hover, .order-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.1);
}

.card h3, .branch-card h3, .order-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Principles List */
.principles-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.principle-item {
    background: var(--glass-bg);
    border-left: 3px solid var(--gold);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.principle-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold-dim);
    font-weight: bold;
    min-width: 50px;
}

.principle-item h4 {
    margin-bottom: 5px;
    color: var(--text-color);
}

/* Freemasonry Text */
.text-block {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-align: justify;
}

.text-block p {
    margin-bottom: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--glass-border);
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px var(--gold-dim); }
    50% { box-shadow: 0 0 40px var(--gold); }
    100% { box-shadow: 0 0 20px var(--gold-dim); }
}

@keyframes fade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .oracle-title { font-size: 2rem; }
    .nav-links { display: none; } /* Simple hide for now, could add hamburger */
    .content-section { padding: 60px 20px; }
}
