/* Import Gilroy Font Family */
@font-face {
    font-family: 'Gilroy';
    src: url('../../fonts/Gilroy-Light.woff2') format('woff2'),
         url('../../fonts/Gilroy-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../../fonts/Gilroy-Medium.woff2') format('woff2'),
         url('../../fonts/Gilroy-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../../fonts/Gilroy-SemiBold.woff2') format('woff2'),
         url('../../fonts/Gilroy-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Main Release Note Container */
.rm-Changelog {
    min-height: 100vh;
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #f8fafb 0%, #e9ecef 100%);
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
}

.rm-Container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.rm-ContainerNarrow {
    max-width: 800px;
}

/* Header Styles */
.changelog-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Badge Styles */
.Badge_component__6gZef {
    position: relative;
    display: inline-flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
    max-width: fit-content;
    padding: 12px 24px;
    color: #16181d;
    font-weight: 500;
    font-size: 14px;
    font-style: normal;
    line-height: 22px;
    background: linear-gradient(135deg, #e4edfe 0%, #d6e7ff 100%);
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

.Badge_component__6gZef:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
}

/* Title Styles */
.Title_component__WX4GB {
    position: relative;
    display: block;
    max-width: 100%;
    margin: 32px auto 16px;
    color: #16181d;
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 1.1;
    text-align: center;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.Title_component__subtitle__2fk_h {
    position: relative;
    display: block;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #555;
    font-family: 'Gilroy', sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
    opacity: 0.8;
}

/* Changelog Post Styles */
.ChangelogPost3IWNOaGQe_H1 {
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 32px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.ChangelogPost3IWNOaGQe_H1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ChangelogPost3IWNOaGQe_H1:hover::before {
    transform: scaleX(1);
}

.ChangelogPost3IWNOaGQe_H1:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(102, 126, 234, 0.2);
}

/* Post Title Styles */
.ChangelogPost_title1wfGHpCMrYb1 {
    margin: 0 0 16px 0;
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2;
}

.ChangelogPost_title1wfGHpCMrYb1 a {
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.ChangelogPost_title1wfGHpCMrYb1 a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ChangelogPost_title1wfGHpCMrYb1 a:hover {
    color: #667eea;
    transform: translateX(4px);
}

.ChangelogPost_title1wfGHpCMrYb1 a:hover::after {
    width: 100%;
}

/* Date Line Styles */
.DateLine {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #666;
}

.DateLine i {
    font-size: 16px;
    color: #667eea;
}

.icon-clock::before {
    content: "🕒";
    font-style: normal;
}

/* Content Text Styles */
.rm-Markdown {
    font-family: 'Gilroy', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.rm-Markdown p {
    margin: 0;
    line-height: 1.7;
    text-align: justify;
}

/* Show More Link */
.show-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.show-more:hover {
    color: #764ba2;
    text-decoration: underline;
    text-decoration-color: #667eea;
}

/* Pagination Styles */
.ChangelogList_pagination3R5YTitfIL8D {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.rm-Pagination {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.PaginationControls-meta1gGHPN0gqjND {
    font-family: 'Gilroy', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #666;
    letter-spacing: 0.5px;
}

.PaginationControls-link254uPEbaP92i {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.PaginationControls-link254uPEbaP92i:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

.PaginationControls-iconZbaZ3tgyhNmI::before {
    content: '→';
    font-size: 16px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.PaginationControls-link254uPEbaP92i:hover .PaginationControls-iconZbaZ3tgyhNmI::before {
    transform: translateX(4px);
}

/* Media Queries */

/* Mobile: 320px - 392px */
@media (max-width: 392px) {
    .rm-Changelog {
        padding: 40px 0 60px;
    }
    
    .rm-Container {
        padding: 0 16px;
    }
    
    .changelog-header {
        margin-bottom: 40px;
    }
    
    .Badge_component__6gZef {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .Title_component__WX4GB {
        font-size: 28px;
        line-height: 1.2;
        text-align: left;
        margin: 24px auto 12px;
    }
    
    .Title_component__subtitle__2fk_h {
        font-size: 16px;
        line-height: 1.5;
        text-align: left;
        margin-bottom: 32px;
    }
    
    .Title_component__WX4GB br,
    .Title_component__subtitle__2fk_h br {
        display: none;
    }
    
    .ChangelogPost3IWNOaGQe_H1 {
        padding: 20px;
        margin-bottom: 24px;
        border-radius: 12px;
    }
    
    .ChangelogPost_title1wfGHpCMrYb1 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .DateLine {
        font-size: 12px;
        margin-bottom: 16px;
    }
    
    .rm-Markdown {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .ChangelogList_pagination3R5YTitfIL8D {
        margin-top: 40px;
    }
    
    .rm-Pagination {
        gap: 16px;
        padding: 16px;
        border-radius: 12px;
    }
    
    .PaginationControls-meta1gGHPN0gqjND {
        font-size: 12px;
    }
    
    .PaginationControls-link254uPEbaP92i {
        padding: 10px 16px;
        font-size: 12px;
    }
}

/* Mobile: 393px - 430px */
@media (min-width: 393px) and (max-width: 430px) {
    .rm-Changelog {
        padding: 45px 0 65px;
    }
    
    .Title_component__WX4GB {
        font-size: 32px;
        text-align: left;
    }
    
    .Title_component__subtitle__2fk_h {
        font-size: 17px;
        text-align: left;
    }
    
    .Title_component_leftAlignInMobile__IqXxh,
    .Title_component__subtitle_leftAlignInMobile__Uqb2D {
        text-align: left;
    }
    
    .ChangelogPost3IWNOaGQe_H1 {
        padding: 24px;
    }
    
    .ChangelogPost_title1wfGHpCMrYb1 {
        font-size: 26px;
    }
    
    .rm-Markdown {
        font-size: 15px;
    }
}

/* Mobile: 431px - 767px */
@media (min-width: 431px) and (max-width: 767px) {
    .rm-Changelog {
        padding: 50px 0 70px;
    }
    
    .Title_component__WX4GB {
        font-size: 36px;
    }
    
    .Title_component__subtitle__2fk_h {
        font-size: 18px;
    }
    
    .ChangelogPost3IWNOaGQe_H1 {
        padding: 28px;
    }
    
    .ChangelogPost_title1wfGHpCMrYb1 {
        font-size: 28px;
    }
}

/* Tablets: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .rm-Changelog {
        padding: 55px 0 75px;
    }
    
    .Title_component__WX4GB {
        font-size: 42px;
    }
    
    .Title_component__subtitle__2fk_h {
        font-size: 19px;
    }
    
    .ChangelogPost3IWNOaGQe_H1 {
        padding: 30px;
    }
    
    .ChangelogPost_title1wfGHpCMrYb1 {
        font-size: 30px;
    }
    
    .rm-Markdown {
        font-size: 16px;
    }
}

/* Desktop: 1024px - 1440px */
@media (min-width: 1024px) and (max-width: 1440px) {
    .rm-Changelog {
        padding: 60px 0 80px;
    }
    
    .Title_component__WX4GB {
        font-size: 46px;
    }
    
    .Title_component__subtitle__2fk_h {
        font-size: 20px;
    }
    
    .ChangelogPost3IWNOaGQe_H1 {
        padding: 32px;
    }
    
    .ChangelogPost_title1wfGHpCMrYb1 {
        font-size: 32px;
    }
}

/* Desktop: 1440px and above */
@media (min-width: 1441px) {
    .rm-Changelog {
        padding: 70px 0 90px;
    }
    
    .Title_component__WX4GB {
        font-size: 52px;
    }
    
    .Title_component__subtitle__2fk_h {
        font-size: 20px;
        line-height: 1.5;
    }
    
    .ChangelogPost3IWNOaGQe_H1 {
        padding: 40px;
        margin-bottom: 36px;
    }
    
    .ChangelogPost_title1wfGHpCMrYb1 {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .DateLine {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .rm-Markdown {
        font-size: 17px;
        line-height: 1.8;
    }
    
    .ChangelogList_pagination3R5YTitfIL8D {
        margin-top: 80px;
    }
    
    .rm-Pagination {
        gap: 32px;
        padding: 24px 32px;
    }
    
    .PaginationControls-meta1gGHPN0gqjND {
        font-size: 15px;
    }
    
    .PaginationControls-link254uPEbaP92i {
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* Light Theme (Default) - Already defined above */

/* Dark Theme Support */
body.dark .rm-Changelog {
    background: linear-gradient(135deg, #1a1d23 0%, #2c3e50 100%);
}

body.dark .ChangelogPost3IWNOaGQe_H1 {
    background: #2d3748;
    border-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

body.dark .ChangelogPost_title1wfGHpCMrYb1 a {
    color: #e2e8f0;
}

body.dark .ChangelogPost_title1wfGHpCMrYb1 a:hover {
    color: #8b85ff;
}

body.dark .DateLine {
    color: #a0aec0;
}

body.dark .DateLine i {
    color: #8b85ff;
}

body.dark .rm-Markdown {
    color: #cbd5e0;
}

body.dark .Title_component__WX4GB {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark .Title_component__subtitle__2fk_h {
    color: #a0aec0;
}

body.dark .Badge_component__6gZef {
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    color: #e5e7eb;
    border-color: rgba(139, 133, 255, 0.3);
    box-shadow: 0 4px 12px rgba(139, 133, 255, 0.15);
}

body.dark .Badge_component__6gZef:hover {
    box-shadow: 0 8px 20px rgba(139, 133, 255, 0.25);
}

body.dark .rm-Pagination {
    background: #2d3748;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark .PaginationControls-meta1gGHPN0gqjND {
    color: #a0aec0;
}

body.dark .PaginationControls-link254uPEbaP92i {
    background: linear-gradient(135deg, #8b85ff 0%, #7a73ff 100%);
    box-shadow: 0 4px 16px rgba(139, 133, 255, 0.3);
}

body.dark .PaginationControls-link254uPEbaP92i:hover {
    box-shadow: 0 8px 24px rgba(139, 133, 255, 0.4);
}

body.dark .show-more {
    color: #8b85ff;
}

body.dark .show-more:hover {
    color: #a69cff;
    text-decoration-color: #8b85ff;
}

/* Enhanced Animation and Interaction */
@media (min-width: 768px) {
    .ChangelogPost3IWNOaGQe_H1 {
        cursor: pointer;
    }
    
    .ChangelogPost3IWNOaGQe_H1:hover .ChangelogPost_title1wfGHpCMrYb1 a {
        transform: translateX(8px);
    }
    
    .ChangelogPost3IWNOaGQe_H1:hover .show-more {
        color: #764ba2;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .ChangelogPost3IWNOaGQe_H1,
    .ChangelogPost_title1wfGHpCMrYb1 a,
    .show-more,
    .PaginationControls-link254uPEbaP92i,
    .Badge_component__6gZef {
        transition: none;
    }
    
    .ChangelogPost3IWNOaGQe_H1:hover {
        transform: none;
    }
    
    .ChangelogPost_title1wfGHpCMrYb1 a:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .ChangelogPost3IWNOaGQe_H1 {
        border-width: 2px;
        border-color: #000;
    }
    
    .ChangelogPost_title1wfGHpCMrYb1 a {
        color: #000;
    }
    
    .show-more {
        color: #0066cc;
        text-decoration: underline;
    }
    
    .PaginationControls-link254uPEbaP92i {
        background: #0066cc;
        border: 2px solid #000;
    }
}