@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* Modern Bento Grid and Menu CSS */
#title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #A5B4FC, #818CF8, #C084FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#description {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: #94A3B8;
    margin-bottom: 24px;
}
.main-menu {
    display: flex;
    gap: 32px;
    margin-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    align-items: center;
    position: relative;
    z-index: 100;
}
.menu-item, .dropdown-trigger {
    font-family: 'Outfit', sans-serif;
    color: #94A3B8 !important;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 6px 0;
    position: relative;
    display: inline-block;
}
.menu-item:hover, .menu-dropdown:hover .dropdown-trigger {
    color: #F8FAFC !important;
}
.menu-item::after, .dropdown-trigger::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #818CF8, #C084FC);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
.menu-item:hover::after, .menu-dropdown:hover .dropdown-trigger::after {
    transform: scaleX(1);
    transform-origin: left;
}
.menu-dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background-color: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px 0;
    margin-top: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.menu-dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.dropdown-content a {
    color: #94A3B8 !important;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: normal;
}
.dropdown-content a:hover {
    background-color: rgba(129, 140, 248, 0.15);
    color: #F8FAFC !important;
    padding-left: 20px;
}

/* Bento Box Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px 0;
}
@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 240px;
    }
    .bento-card.bento-featured {
        grid-column: span 2;
        grid-row: span 2;
    }
    .bento-card.bento-tall {
        grid-row: span 2;
    }
    .bento-card.bento-wide {
        grid-column: span 2;
    }
}

.bento-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #1E293B;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 24px;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.bento-card:hover {
    transform: translateY(-6px);
    border-color: rgba(129, 140, 248, 0.5);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.25);
}
.bento-img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}
.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover .bento-img {
    transform: scale(1.06);
    opacity: 0.75;
}
.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.1) 100%);
    z-index: 2;
}
.bento-content {
    position: relative;
    z-index: 3;
}
.bento-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.bento-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    background: rgba(129, 140, 248, 0.2);
    border: 1px solid rgba(129, 140, 248, 0.3);
    color: #C7D2FE;
    border-radius: 9999px;
}
.bento-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #F8FAFC !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.bento-featured .bento-title {
    font-size: 1.7rem;
}
.bento-date {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: #94A3B8;
}

/* Post Hero Banner */
.post-hero-container {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.post-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Other layouts */
a.ablack {
    color: #F8FAFC !important;
    transition: color 0.3s ease;
}
a.ablack:hover {
    color: #818CF8 !important;
}
li {
    margin-bottom: 8px;
    color: #CBD5E1;
}
ul, ol {
    margin-left: 24px;
    margin-right: 24px;
}
#all_posts {
    margin-top: 32px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}
#all_posts a {
    color: #818CF8 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}
#all_posts a:hover {
    color: #C084FC !important;
}
.subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    margin: 12px 0;
    color: #94A3B8;
}
.content p {
    margin: 16px 0;
    line-height: 1.6;
    color: #E2E8F0;
}
h1 {
    margin-bottom: 12px !important;
}
h3 {
    font-family: 'Outfit', sans-serif;
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 1.8rem;
    font-weight: 600;
    color: #F8FAFC;
}
h4 {
    font-family: 'Outfit', sans-serif;
    margin-left: 0;
    margin-right: 0;
    color: #F8FAFC;
}
img {
    max-width: 100%;
    border-radius: 12px;
}
#twitter {
    line-height: 20px;
    vertical-align: top;
    text-align: right;
    font-style: italic;
    color: #94A3B8;
    margin-top: 24px;
    font-size: 14px;
}
