

:root {
    --bg-dark: #0d1520;
    --bg-card: #141e2b;
    --bg-card-hover: #1a2838;
    --border-color: #2a3a4a;
    --border-glow: #4a7090;
    --text-primary: #ffffff;
    --text-secondary: #8899aa;
    --text-muted: #5a6a7a;
    --accent-cyan: #4ac3e0;
    --accent-gold: #d4a020;
    --accent-green: #4a9f4a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================================================
   NAVIGATION
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 20px;
    transition: background 0.3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(13, 21, 32, 0.95);
    border: 1px solid var(--border-color);
    padding: 0 24px;
    height: 60px;
    position: relative;
}

/* Corner brackets for navbar */
.nav-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: var(--border-glow);
    border-style: solid;
}
.nav-corner-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.nav-corner-tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.nav-corner-bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.nav-corner-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

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

.logo-text {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 20px;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0;
}

.nav-links li a {
    padding: 8px 20px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--text-primary);
}

.nav-separator {
    color: var(--border-color);
    font-size: 12px;
    user-select: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero-bg.png') center center / cover no-repeat;
    background-size: cover;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 21, 32, 0.75) 0%,
        rgba(13, 21, 32, 0.6) 30%,
        rgba(13, 21, 32, 0.75) 70%,
        rgba(13, 21, 32, 1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    margin-top: 60px;
}

.server-info {
    text-align: center;
}

.info-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.info-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s;
}

.server-ip .info-value:hover {
    color: var(--accent-cyan);
}

.discord-link {
    text-decoration: none;
}

.discord-link:hover {
    color: #5865F2;
}

.online-count {
    font-size: 18px;
    font-weight: 700;
}

.online-text {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}

.hero-logo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

/* ================================================
   CARD CORNERS (used throughout)
   ================================================ */
.hero-character {
    position: absolute;
    bottom: 0;
    left: 5%;
    z-index: 3;
}

.hero-character img {
    height: 400px;
    width: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

/* ================================================
   CARD CORNERS (used throughout)
   ================================================ */
.card-corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--border-glow);
    border-style: solid;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.card-corner-tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.card-corner-tr { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.card-corner-bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.card-corner-br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* ================================================
   WHAT IS AETHERIA SECTION
   ================================================ */
.about-section {
    padding: 100px 20px;
    background: var(--bg-dark);
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 32px;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.btn-learn-more {
    display: inline-block;
    margin-top: 16px;
    padding: 14px 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-learn-more:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.about-media {
    position: relative;
}

.trailer-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s;
}

.trailer-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.trailer-card img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
}

.trailer-card:hover img {
    transform: scale(1.02);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.play-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
    margin-left: 4px;
}

.trailer-card:hover .play-btn {
    background: rgba(0, 0, 0, 0.7);
    border-color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.trailer-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.trailer-label svg {
    width: 14px;
    height: 14px;
    fill: white;
}

.trailer-label span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-text h2 {
        font-size: 32px;
    }
    
    .about-text {
        text-align: center;
    }
}

/* ================================================
   UTILITY CLASSES
   ================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ================================================
   LATEST POSTS
   ================================================ */
.latest-posts {
    padding: 60px 20px;
    background: var(--bg-dark);
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.post-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s;
}

.post-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
}

.post-card:hover .card-corner {
    opacity: 1;
}

.post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 24px;
}

.post-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.post-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.post-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.post-card:hover .post-link {
    color: var(--text-primary);
}

.post-link span {
    transition: transform 0.3s;
}

.post-card:hover .post-link span {
    transform: translateX(4px);
}

.post-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.post-date {
    color: var(--text-muted);
    font-size: 13px;
}

.post-author {
    color: var(--text-muted);
    font-size: 12px;
}

.posts-more {
    text-align: center;
    margin-top: 40px;
}

.btn-see-more {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-see-more:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}
.rule {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 16px;
}

/* ================================================
   VOTE SECTION
   ================================================ */
.vote-section {
    padding: 60px 20px;
}

.vote-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.vote-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vote-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.vote-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: auto; /* THIS pushes the button down */
}

.vote-card .btn-vote {
    align-self: flex-start;
    margin-top: 24px;
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    border-radius: 3px;
}

.vote-card .btn-vote:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive for mobile: stack the grid to 1 column */
@media (max-width: 700px) {
    .vote-grid {
        grid-template-columns: 1fr;
    }
}
/* ================================================
   STORE / RANKS
   ================================================ */
.store-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a1018 100%);
    position: relative;
}

.store-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-glow) 50%, transparent 100%);
}

.section-divider {
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    margin: 16px auto 20px;
}

.ranks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.rank-card {
    position: relative;
    background: linear-gradient(180deg, rgba(20, 30, 43, 0.9) 0%, rgba(13, 21, 32, 0.95) 100%);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
}

.rank-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
}

.rank-card.featured {
    border-color: var(--accent-cyan);
    transform: scale(1.02);
}

.rank-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.featured-tag {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--accent-cyan);
    color: var(--bg-dark);
    text-align: center;
    padding: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.rank-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
}

.rank-card[data-tier="gold"] .rank-glow {
    background: radial-gradient(circle, #ffd700 0%, transparent 70%);
}

.rank-card[data-tier="diamond"] .rank-glow {
    background: radial-gradient(circle, #4ac3e0 0%, transparent 70%);
}

.rank-card[data-tier="ruby"] .rank-glow {
    background: radial-gradient(circle, #ff6b6b 0%, transparent 70%);
}

.rank-badge {
    padding: 40px 20px 20px;
    text-align: center;
}

.rank-card.featured .rank-badge {
    padding-top: 60px;
}

.rank-badge span {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
}

.rank-card[data-tier="gold"] .rank-badge span {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.rank-card[data-tier="diamond"] .rank-badge span {
    color: #4ac3e0;
    text-shadow: 0 0 20px rgba(74, 195, 224, 0.4);
}

.rank-card[data-tier="ruby"] .rank-badge span {
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
}

.rank-content {
    padding: 0 24px 24px;
}

.rank-content h3 {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.rank-features {
    list-style: none;
    margin-bottom: 24px;
}

.rank-features li {
    position: relative;
    padding: 10px 0 10px 24px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.rank-features li:last-child {
    border-bottom: none;
}

.rank-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

.rank-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.rank-price {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 24px;
    color: var(--text-primary);
}

.rank-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.rank-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.rank-card.featured .rank-btn {
    background: transparent;
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.rank-card.featured .rank-btn:hover {
    background: rgba(74, 195, 224, 0.15);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    position: relative;
    background: var(--bg-dark);
    padding-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    justify-content: space-between;
}

.footer-brand h3 {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 24px;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-brand .disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--border-glow);
}

.footer-social a svg {
    width: 24px;
    height: 24px;
}

.footer-support p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.support-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-bottom a {
    color: var(--accent-cyan);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .server-info {
        order: 1;
    }
    
    .hero-logo {
        order: 0;
    }
    
    .discord-info {
        order: 2;
    }
    
    .ranks-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .logo {
        padding: 8px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 76px;
        left: 50%;
        transform: translateX(-50%) translateY(-100%);
        max-width: 1200px;
        width: calc(100% - 40px);
        background: rgba(13, 21, 32, 0.98);
        border: 1px solid var(--border-color);
        border-top: none;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .nav-links::before,
    .nav-links::after {
        content: '';
        position: absolute;
        width: 12px;
        height: 12px;
        border-color: var(--border-glow);
        border-style: solid;
    }
    
    .nav-links::before {
        bottom: -1px;
        left: -1px;
        border-width: 0 0 2px 2px;
    }
    
    .nav-links::after {
        bottom: -1px;
        right: -1px;
        border-width: 0 2px 2px 0;
    }
    
    .nav-links.mobile-active {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        display: block;
        padding: 12px 20px;
    }
    
    .nav-separator {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-title {
        letter-spacing: 6px;
    }
    
    .hero-content {
        padding: 0 20px;
        margin-top: 100px;
    }
}

/* ================================================
   COPY NOTIFICATION
   ================================================ */
.copy-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--accent-cyan);
    padding: 12px 24px;
    border-radius: 4px;
    color: var(--text-primary);
    font-weight: 600;
    z-index: 9999;
    transition: transform 0.3s ease;
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ================================================
   NEWS PAGES
   ================================================ */
.navbar-solid {
    background: var(--bg-dark);
}

.navbar-solid .nav-container {
    background: rgba(13, 21, 32, 0.98);
}

/* Page Header */
.page-header {
    position: relative;
    padding: 160px 20px 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a1018 100%);
    border-bottom: 1px solid var(--border-color);
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/news-1.png') center/cover;
    opacity: 0.15;
}

.page-header h1 {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 48px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Blog Page List */
.blog-page {
    padding: 60px 20px;
    background: var(--bg-dark);
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.blog-post-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s;
}

.blog-post-item:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.post-thumbnail {
    height: 200px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-details {
    padding: 24px 24px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-details h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 12px;
    transition: color 0.3s;
}

.blog-post-item:hover .post-details h3 {
    color: var(--accent-cyan);
}

.post-details p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.post-info {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Blog Post Article Page */
.blog-post-header {
    position: relative;
    padding: 200px 20px 80px;
    text-align: center;
}

.blog-post-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.blog-post-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.blog-post-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(13, 21, 32, 0.5) 0%, var(--bg-dark) 100%);
}

.blog-post-header .container {
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-block;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--text-primary);
}

.blog-post-header h1 {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 42px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Blog Post Content */
.blog-post-content {
    padding: 60px 20px;
    background: var(--bg-dark);
}

.post-body {
    max-width: 800px;
    margin: 0 auto;
}

.post-body .lead {
    font-size: 20px;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.post-body h2 {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 26px;
    font-weight: 400;
    color: var(--text-primary);
    margin: 40px 0 20px;
}

.post-body h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin: 32px 0 16px;
}

.post-body p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.post-body ul,
.post-body ol {
    color: var(--text-secondary);
    margin: 16px 0 24px 24px;
    font-size: 16px;
    line-height: 1.8;
}

.post-body li {
    margin-bottom: 12px;
}

.post-body strong {
    color: var(--text-primary);
}

.post-body .signature {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    font-style: italic;
    color: var(--text-muted);
}

/* More Posts Section */
.more-posts {
    padding: 60px 20px;
    background: #0a1018;
    border-top: 1px solid var(--border-color);
}

.more-posts h3 {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 28px;
    font-weight: 400;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 40px;
}

.more-posts .posts-grid {
    max-width: 500px;
    margin: 0 auto;
}

/* Blog Page Responsive */
@media (max-width: 768px) {
    .blog-post-item {
        grid-template-columns: 1fr;
    }
    
    .post-thumbnail {
        height: 180px;
    }
    
    .post-details {
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .blog-post-header h1 {
        font-size: 28px;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 8px;
    }
}
