/* Google Fonts: Outfit (headings), Inter (body) */
:root {
    --bg-base: #08080a;           /* Richer charcoal */
    --bg-surface: #111115;
    --bg-surface-elevated: #1a1a20;
    
    --text-primary: #fcfcfc;      /* Slightly softer white */
    --text-secondary: #94a3b8;    /* Slate blue-grey */
    
    /* Glowing accents for the "Black Light" */
    --accent: #c084fc;            /* Vibrant Lavender from Logo */
    --accent-glow: rgba(192, 132, 252, 0.4);
    --accent-hover: #d8b4fe;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.5, 0, 0, 1);
    --transition-spring: 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

body.light-mode {
    --bg-base: #fafafa;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f0f0f0;
    
    --text-primary: #111111;
    --text-secondary: #555555;
    
    --accent: #6d28d9;
    --accent-glow: rgba(109, 40, 217, 0.2);
}

body.light-mode {
    background-image: 
        radial-gradient(circle at 50% -20%, rgba(192, 132, 252, 0.05), transparent),
        radial-gradient(circle at 0% 0%, rgba(192, 132, 252, 0.02), transparent);
}

body.light-mode .hero h2 {
    background: linear-gradient(135deg, #111 0%, #666 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

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

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.025em;    /* Tight Editorial Look */
    line-height: 1.1;
}

body {
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(circle at 50% -20%, rgba(124, 58, 237, 0.08), transparent),
        radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.03), transparent);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;             /* Better readability */
    overflow-x: hidden;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

input, textarea {
    font-family: inherit;
    background: var(--bg-surface-elevated);
    border: 1px solid #333;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    width: 100%;
    transition: var(--transition-fast);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* ================== NAVBAR ================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 500;             /* Lighter base weight */
    letter-spacing: -1.5px;
    cursor: pointer;
    text-transform: lowercase;
}

.brand-accent {
    color: var(--accent);
}

.logo .dot {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
    font-weight: 800;             /* Extra bold for the brand mark */
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-btn {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

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

.nav-btn.highlight {
    background: var(--text-primary);
    color: var(--bg-base);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-btn.highlight:hover {
    box-shadow: 0 0 25px rgba(255,255,255,0.2);
    transform: translateY(-3px);
    background: var(--accent);
    color: white;
}

/* ================== VIEWS ================== */
.app-container {
    max-width: 1200px;
    margin: 6rem auto 3rem;
    padding: 0 2rem;
    min-height: 80vh;
}

.view {
    display: none;
    animation: fadeIn var(--transition-smooth);
}

.view.active {
    display: block;
}

/* ================== HOME (Hero + Grid) ================== */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.featured-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--accent-glow);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 4.5rem;            /* Larger for impact */
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.3));
}

.hero-desc-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.blog-grid.list-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.blog-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 3rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    align-items: center;
}

.blog-card:hover {
    transform: translateX(10px);
}

body.light-mode .blog-card {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.card-img {
    width: 320px;
    height: 200px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.card-content {
    flex-grow: 1;
    padding: 0;
}

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

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.card-excerpt {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination Styles */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
}

.page-btn {
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-fast);
    cursor: pointer;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.page-info {
    font-weight: 600;
    color: var(--text-secondary);
}

/* ================== ARTICLE VIEW ================== */
.back-btn {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    display: inline-block;
    transition: transform var(--transition-fast);
}
.back-btn:hover {
    color: var(--text-primary);
    transform: translateX(-5px);
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 2rem;
    text-align: center;
}

.article-category {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#article-title {
    font-size: 3rem;
    margin: 1rem 0;
    line-height: 1.2;
}

.article-meta {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.article-cover {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    background: #333;
    background-size: cover;
    background-position: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.article-content {
    font-size: 1.15rem;
    color: #dbdbdb;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition-fast);
}

.article-content a:hover {
    color: var(--accent-hover);
}

.article-content h1,
.article-content h2,
.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* Interaction Bar: Likes, Views, Toggles */
.interaction-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4rem 0 2rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.like-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
    border: 1px solid rgba(255,255,255,0.05);
}
.action-btn:hover {
    background: #333;
    transform: scale(1.1);
}

.action-btn.active-like {
    background: var(--success);
    color: #fff;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}
.action-btn.active-dislike {
    background: var(--error);
    color: #fff;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.stats-container {
    display: flex;
    gap: 1rem;
    font-weight: 600;
    min-width: 60px;
    justify-content: center;
}
.stats {
    transition: opacity var(--transition-fast);
}
.stats.hidden {
    opacity: 0;
    pointer-events: none;
}
.likes-count { color: var(--success); }
.dislikes-count { color: var(--error); }

.toggle-visibility-btn {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
}

.share-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    font-weight: 600;
}
.share-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* Comments */
.comments-section {
    margin-top: 3rem;
}

.comments-section h3 {
    margin-bottom: 2rem;
}

#comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.submit-btn {
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    align-self: flex-start;
    transition: var(--transition-fast);
}

.submit-btn:hover {
    background: var(--accent-hover);
}

.box-glow:hover {
    box-shadow: 0 0 20px var(--accent-glow);
}

.w-full { width: 100%; align-self: stretch; }

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment {
    background: var(--bg-surface);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.05);
    animation: slideIn 0.3s ease-out;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-author { font-weight: 700; }
.comment-date { color: var(--text-secondary); font-size: 0.85rem; }

/* ================== ADMIN / LOGIN VIEWS ================== */
.admin-layout {
    display: flex;
    justify-content: center;
    align-items: center; /* Center vertically for login */
    min-height: calc(100vh - 8rem);
}

.admin-panel {
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.admin-panel.wide {
    max-width: 1200px;
}

/* Dashboard Sidebar Layout */
.dashboard-container {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.dashboard-sidebar {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-btn {
    width: 100%;
    text-align: left;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    font-weight: 500;
}

.sidebar-btn:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}

.sidebar-btn.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 20px var(--accent-glow);
}

.dashboard-main {
    flex-grow: 1;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Analytics Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg-surface-elevated);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-card h4 {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat-card .value {
    font-size: 2.25rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

/* Management Tables */
.admin-table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-table th, .admin-table td {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-table th {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
}

.status-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent);
}

.delete-action {
    color: #ef4444;
    cursor: pointer;
    font-weight: 600;
    background: transparent;
}
.delete-action:hover { text-decoration: underline; }

.admin-panel h2 {
    margin-bottom: 1rem;
    text-align: center;
}
.admin-panel p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

#login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.logout-btn {
    color: var(--error);
    font-weight: 600;
}
.logout-btn:hover { text-decoration: underline; }

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

/* ================== MODAL & TOAST ================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-surface-elevated);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 1px solid var(--accent);
    box-shadow: 0 0 50px var(--accent-glow);
}

.close-modal {
    position: absolute;
    top: 1rem; right: 1rem;
    font-size: 2rem;
    color: var(--text-secondary);
}
.close-modal:hover { color: white; }

.modal-content h2 { margin-bottom: 1rem; }
.modal-content p { margin-bottom: 2rem; color: var(--text-secondary); }

#subscribe-form {
    display: flex;
    gap: 1rem;
}

/* Social Login Buttons */
.social-login-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-btn img {
    width: 24px;
    height: 24px;
}

.google-btn {
    background: #fff;
    color: #333;
}
.google-btn:hover {
    background: #f1f1f1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
}

.facebook-btn {
    background: #1877f2;
    color: white;
}
.facebook-btn:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24,119,242,0.2);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-secondary);
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.divider span {
    padding: 0 1rem;
}

#email-login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    background: var(--bg-surface-elevated);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    animation: slideInRight 0.3s forwards, fadeOut 0.3s 2.7s forwards;
}

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

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

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

.animate-up {
    animation: slideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-scale {
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.delay-1 { animation-delay: 0.1s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    #subscribe-form { flex-direction: column; }
    .hero h2 { font-size: 2.5rem; }
    #article-title { font-size: 2rem; }
    
    .app-container { padding: 0 1rem; }
    .nav-container { padding: 1rem; }
    
    .blog-card {
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .card-img {
        width: 100%;
        height: 220px;
        border-radius: var(--radius-sm);
    }
    
    .logo { font-size: 1.3rem; }
}

/* ================== DETAILED FOOTER ================== */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid rgba(255,255,255,0.03);
    padding: 6rem 2rem 2rem;       /* More air */
    margin-top: 8rem;
}

body.light-mode .site-footer {
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-column p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.brand-col .logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

.contact-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.contact-link:hover {
    filter: brightness(1.2);
}

.contact-link:hover::after {
    width: 100%;
}


.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-subscribe {
    display: flex;
    gap: 0.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

body.light-mode .footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ================== THEME TOGGLE & GLASSMORPHISM ================== */
.theme-toggle .icon {
    font-size: 1.25rem;
}

.navbar.scrolled {
    background: rgba(var(--bg-base-rgb), 0.7);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* In light mode, override forms/cards slightly for better contrast */
body.light-mode input, body.light-mode textarea, body.light-mode .blog-card, body.light-mode .comment {
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

/* ================== SCROLL REVEAL & 3D TILT ================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.tilt-effect {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* ================== SKELETON LOADERS ================== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-surface-elevated) 25%, rgba(255,255,255,0.05) 50%, var(--bg-surface-elevated) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.card-skeleton {
    height: 350px;
    width: 100%;
    margin-bottom: 2rem;
}
