/* Blog Page Styles */

.blog-post {
    padding-top: 60px;
}

.blog-hero {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 40px;
}

.blog-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../textless banner.png') no-repeat center center;
    background-size: cover;
}

.blog-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(15,15,26,0.5) 0%, 
        rgba(15,15,26,0.8) 70%,
        rgba(15,15,26,1) 100%);
}

.blog-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.blog-category {
    background: var(--accent-cyan);
    color: var(--primary-darker);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.blog-date {
    color: var(--text-gray);
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
}

.blog-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-white);
}

/* Blog Content */
.blog-content-section {
    background: var(--primary-dark);
    padding: 60px 40px;
}

.blog-container {
    max-width: 900px;
    margin: 0 auto;
}

.blog-video {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 2px solid rgba(0, 212, 255, 0.2);
}

.blog-video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}

.blog-text {
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255,255,255,0.05);
}

.blog-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-white);
}

.blog-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.blog-text p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 2;
    margin-bottom: 15px;
}

.blog-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-text li {
    color: var(--text-light);
    font-size: 14px;
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.blog-text li:last-child {
    border-bottom: none;
}

.blog-text li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

.blog-cta {
    text-align: center;
    padding: 40px 0;
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    margin-top: 40px;
    border: 1px solid rgba(255,255,255,0.05);
}

.blog-cta p {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 20px;
}

/* Video Embed */
.video-embed {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 2px solid rgba(0, 212, 255, 0.2);
}

.video-embed iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}

/* Description Section */
.blog-description {
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255,255,255,0.05);
}

.blog-description h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-white);
}

.description-content p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 2;
    margin-bottom: 15px;
}

.description-content a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.description-content a:hover {
    opacity: 0.8;
}

/* Transcription Section */
.blog-transcription {
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255,255,255,0.05);
}

.blog-transcription h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-white);
}

.transcription-content {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 20px;
}

.transcription-content::-webkit-scrollbar {
    width: 6px;
}

.transcription-content::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
}

.transcription-content::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 3px;
}

.transcription-content p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 2;
    margin-bottom: 15px;
}

/* Guide Section (AI-generated content) */
.blog-guide {
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255,255,255,0.05);
}

.blog-guide h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 30px;
    color: var(--text-white);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.blog-guide h2:first-child {
    margin-top: 0;
}

.blog-guide h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.blog-guide p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 15px;
}

.blog-guide strong {
    color: var(--accent-cyan);
    font-weight: 600;
}

.blog-guide ul,
.blog-guide ol {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.blog-guide li {
    color: var(--text-light);
    font-size: 14px;
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    line-height: 1.7;
}

.blog-guide li:last-child {
    border-bottom: none;
}

.blog-guide ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

.blog-guide ol {
    counter-reset: guide-counter;
}

.blog-guide ol li::before {
    counter-increment: guide-counter;
    content: counter(guide-counter) ".";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* Wiki Link Section */
.wiki-link-section {
    margin-bottom: 40px;
}

.wiki-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wiki-link:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.wiki-icon {
    font-size: 24px;
}

.wiki-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 1px;
}

.wiki-arrow {
    font-size: 20px;
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
}

.wiki-link:hover .wiki-arrow {
    transform: translateX(5px);
}

/* Wiki Link Inline (button after introduction) */
.wiki-link-inline {
    margin: 25px 0;
}

.wiki-link-inline .wiki-link {
    display: inline-flex;
    padding: 12px 20px;
    font-size: 14px;
}

/* Wiki Item Links (inline links to wiki pages) */
.wiki-item-link {
    color: var(--accent-cyan);
    text-decoration: none;
    border-bottom: 1px dotted rgba(0, 212, 255, 0.4);
    transition: all 0.2s ease;
}

.wiki-item-link:hover {
    color: #fff;
    border-bottom-color: var(--accent-cyan);
    border-bottom-style: solid;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero {
        min-height: 30vh;
        padding: 40px 20px;
    }

    .blog-content-section {
        padding: 40px 20px;
    }

    .blog-text {
        padding: 30px 20px;
    }
}
