/* Modern CSS Custom Properties / Design Tokens */
:root {
    --bg-primary: #080813;
    --bg-secondary: #0e0f22;
    --accent-gold: #e5c158;
    --accent-gold-rgb: 229, 193, 88;
    --accent-violet: #8a2be2;
    --accent-cyan: #00f0ff;
    --text-primary: #ffffff;
    --text-secondary: #a0a5c0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-border-focus: rgba(229, 193, 88, 0.4);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
}

/* Global Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Cosmic Animated Background */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #151632 0%, #080813 80%);
}

.stars, .stars2, .stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-repeat: repeat;
    background-size: 400px 400px;
    opacity: 0.3;
}

.stars {
    background-image: 
        radial-gradient(1px 1px at 25px 35px, #fff, transparent),
        radial-gradient(1.5px 1.5px at 150px 240px, #fff, transparent),
        radial-gradient(1px 1px at 300px 120px, #fff, transparent);
    animation: rotateSpace 120s linear infinite;
}

.stars2 {
    background-image: 
        radial-gradient(1.5px 1.5px at 80px 120px, rgba(229,193,88,0.7), transparent),
        radial-gradient(2px 2px at 270px 330px, #fff, transparent);
    animation: rotateSpace 180s linear infinite reverse;
}

.nebula {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 30% 40%, rgba(138, 43, 226, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 75% 65%, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
    filter: blur(80px);
    animation: floatNebula 30s ease-in-out infinite alternate;
}

@keyframes rotateSpace {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floatNebula {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(2%, 3%); }
}

/* Header & Navigation */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 8, 19, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.logo-text span {
    color: var(--accent-gold);
}

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

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.25rem 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-item:hover {
    color: var(--text-primary);
}

.nav-item:hover::after {
    width: 100%;
}

/* Main Layout Grid & Spacing */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem 1.5rem;
}

.section-container {
    padding: 5rem 0 2rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-gold);
    margin-top: 0.5rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    max-width: 650px;
}

/* Typography Utility */
.text-center { text-align: center; }
.text-center::after { margin: 0.5rem auto 0 auto; }
.flex-column-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.w-full { width: 100%; }

/* Hero & Search Engine */
.hero-section {
    padding: 7rem 0 4rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero-title .highlight {
    color: var(--accent-gold);
    position: relative;
    background: linear-gradient(120deg, var(--accent-gold) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3.5rem;
}

.search-container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(14, 15, 34, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.search-box:focus-within {
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(229, 193, 88, 0.2);
}

.search-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    opacity: 0.7;
}

#search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.1rem;
    font-family: var(--font-body);
    padding: 0.75rem 0;
}

#search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.clear-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.25rem;
    transition: var(--transition-smooth);
}

.clear-btn:hover {
    color: #fff;
}

.popular-tags {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.tag-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.tag-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tag-btn:hover {
    background: rgba(229, 193, 88, 0.1);
    border-color: var(--accent-gold);
    color: #fff;
}

/* Category Filters */
.filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(229, 193, 88, 0.3);
}

/* Interactive Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.glass-card {
    background: rgba(14, 15, 34, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 193, 88, 0.3);
    background: rgba(21, 22, 50, 0.5);
    box-shadow: 0 15px 35px rgba(229, 193, 88, 0.08), 0 5px 15px rgba(0, 0, 0, 0.3);
}

.card-emoji {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.card-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-gold);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.card-snippet {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-link {
    align-self: flex-start;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.card-link span {
    transition: var(--transition-smooth);
}

.glass-card:hover .card-link span {
    transform: translateX(4px);
    color: var(--accent-gold);
}

/* No Results & Notifications */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    color: var(--text-secondary);
}

/* Oracle AI / Two-Column Section */
.dark-card-layout {
    background: linear-gradient(135deg, rgba(14, 15, 34, 0.8) 0%, rgba(5, 6, 15, 0.9) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3.5rem;
    margin: 4rem 0;
}

.grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: center;
}

.oracle-info {
    position: relative;
}

.oracle-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--bg-primary);
    background: var(--accent-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 1.05rem;
}

.oracle-decorations {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
    margin-top: 2rem;
}

.crystal-ball {
    font-size: 5rem;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.pulse-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.3) 0%, transparent 70%);
    animation: ringPulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes ringPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.9; }
}

/* Forms & Textarea Inputs */
.input-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

textarea, input[type="text"], input[type="date"] {
    width: 100%;
    background: rgba(8, 8, 19, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

textarea:focus, input[type="text"]:focus, input[type="date"]:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(229, 193, 88, 0.15);
}

textarea {
    resize: vertical;
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f7d570 100%);
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(229, 193, 88, 0.25);
    margin-top: 1.25rem;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 193, 88, 0.4);
}

/* Oracle Result Box */
.oracle-result-box {
    margin-top: 2rem;
    background: rgba(229, 193, 88, 0.05);
    border: 1px solid rgba(229, 193, 88, 0.15);
    border-radius: 16px;
    padding: 2rem;
    animation: fadeIn 0.4s ease;
}

.oracle-result-box h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Journal Section Layout */
.journal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mood-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.mood-option input {
    display: none;
}

.mood-box {
    display: block;
    text-align: center;
    background: rgba(8, 8, 19, 0.6);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 0.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-secondary);
}

.mood-option input:checked + .mood-box {
    background: rgba(229, 193, 88, 0.15);
    border-color: var(--accent-gold);
    color: #fff;
}

/* Journal Entries List */
.entries-list {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.entries-list::-webkit-scrollbar {
    width: 6px;
}

.entries-list::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 3px;
}

.empty-journal-msg {
    text-align: center;
    color: var(--text-secondary);
    padding: 4rem 1rem;
}

.journal-entry-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    animation: slideIn 0.3s ease;
}

.journal-entry-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.entry-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.entry-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    white-space: pre-line;
}

.delete-entry-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.delete-entry-btn:hover {
    color: #ff4d4d;
}

/* Tarot Card Flipper Mini Game */
.card-flipper-container {
    perspective: 1000px;
    width: 260px;
    height: 380px;
    margin: 3.5rem auto 0 auto;
}

.card-flipper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.card-flipper.flipped {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    border: 2px solid rgba(229, 193, 88, 0.3);
    padding: 1.5rem;
}

.card-front {
    background: linear-gradient(135deg, #161838 0%, #080813 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card-pattern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border: 1px dashed rgba(229, 193, 88, 0.2);
    width: 100%;
    height: 100%;
    border-radius: 12px;
    justify-content: center;
}

.card-mystic-symbol {
    font-size: 3rem;
    color: var(--accent-gold);
    animation: pulseSymbol 2s infinite alternate;
}

.card-pattern p {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-gold);
    text-transform: uppercase;
}

@keyframes pulseSymbol {
    0% { transform: scale(0.9); opacity: 0.6; text-shadow: 0 0 0px rgba(229,193,88,0); }
    100% { transform: scale(1.1); opacity: 1; text-shadow: 0 0 15px rgba(229,193,88,0.6); }
}

.card-back {
    background: linear-gradient(135deg, #0e0f22 0%, #151632 100%);
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card-back-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    height: 100%;
    justify-content: center;
    border: 1px solid rgba(229, 193, 88, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    width: 100%;
}

.card-result-emoji {
    font-size: 3.5rem;
}

.card-back-content h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.35rem;
}

.card-back-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.card-btn-reset {
    margin-top: 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.card-btn-reset:hover {
    border-color: var(--accent-gold);
    color: #fff;
}

/* Modal Popup Window */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 6, 15, 0.8);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--glass-border-focus);
    padding: 2.5rem;
    background: rgba(14, 15, 34, 0.95);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.close-modal-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-modal-btn:hover {
    color: #fff;
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.modal-emoji {
    font-size: 3rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
}

.category-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.modal-divider {
    border: 0;
    height: 1px;
    background: var(--glass-border);
    margin-bottom: 1.5rem;
}

/* Modal Custom Tabs */
.tab-container {
    display: flex;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    color: var(--accent-gold);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
}

.tab-content {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    animation: fadeIn 0.3s ease;
}

.advice-box {
    background: rgba(229, 193, 88, 0.05);
    border-left: 3px solid var(--accent-gold);
    padding: 1.25rem;
    border-radius: 0 8px 8px 0;
}

.advice-box h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.advice-box p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animate-zoom {
    animation: zoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Footer Styles */
.main-footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(5, 6, 15, 0.8);
    padding: 4rem 10% 2.5rem 10%;
    margin-top: 5rem;
}

.footer-seo-text {
    max-width: 800px;
    margin-bottom: 2.5rem;
}

.footer-seo-text h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.footer-seo-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-divider {
    border: 0;
    height: 1px;
    background: var(--glass-border);
    margin-bottom: 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .grid-two-cols {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .oracle-decorations {
        height: 100px;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .journal-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .dark-card-layout {
        padding: 2rem;
    }
    
    .tab-container {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .tab-btn {
        font-size: 0.85rem;
    }
}

/* Pagination Styling */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 4rem auto 2rem auto;
    flex-wrap: wrap;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: fit-content;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    min-width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    user-select: none;
    outline: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pagination-btn:hover {
    border-color: var(--accent-gold);
    color: #fff;
    background: rgba(229, 193, 88, 0.12);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 20px rgba(229, 193, 88, 0.2);
}

.pagination-btn.active {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f3d078 100%);
    color: var(--bg-primary);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(229, 193, 88, 0.4);
    transform: scale(1.12);
}

.pagination-btn.disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0.02);
}

.pagination-dots {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0 0.5rem;
    user-select: none;
}

