
body {
    background-image: url(../images/mainbg.png) !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 100vh;
}


.hero-section {
    padding: 100px 0 80px;
    text-align: center;
    color: white;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: -1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255,255,255,0.3);
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 300;
}


.version-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.latest-version,
.total-versions {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 35px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 180px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.latest-version::before,
.total-versions::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.latest-version:hover::before,
.total-versions:hover::before {
    left: 100%;
}

.latest-version:hover,
.total-versions:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
}

.version-label {
    font-size: 0.85rem;
    color: #b0b0b0;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.version-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}


.changelogs-section {
    padding: 60px 0 100px;
    position: relative;
}

.changelogs-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}


.search-container {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-box:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.search-icon {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-left: 20px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.search-box:focus-within .search-icon {
    color: #ffffff;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 15px 0;
    outline: none;
    font-weight: 300;
}

.search-input::placeholder {
    color: #b0b0b0;
    font-weight: 300;
}

.clear-search-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #b0b0b0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.clear-search-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.1);
}

.clear-search-btn i {
    font-size: 0.9rem;
}

.search-stats {
    text-align: center;
    margin-top: 15px;
    color: #b0b0b0;
    font-size: 0.9rem;
    font-weight: 300;
}

.search-stats span {
    color: #ffffff;
    font-weight: 600;
}

/* Search Highlight Effect */
.changelog-item.search-highlight {
    animation: searchPulse 0.6s ease-out;
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.1);
}

@keyframes searchPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.1);
    }
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    font-size: 1.1rem;
    color: #e0e0e0;
    font-weight: 300;
}

/* Changelog Items */
.changelog-item {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.changelog-item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(-45deg, #2D2D2D, #2d2d2d00, #2d2d2d00, #2D2D2D);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    box-sizing: border-box;
}

.changelog-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.6s ease;
}

.changelog-item:hover::after {
    left: 100%;
}

.changelog-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.changelog-item.latest {
    border: 2px solid rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(255, 215, 0, 0.15) 100%);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.changelog-item.latest::before {
    background: linear-gradient(-45deg, #FFD700, #2d2d2d00, #2d2d2d00, #FFD700);
}

/* Changelog Header */
.changelog-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.changelog-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, transparent);
}

.version-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.version-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
    letter-spacing: -0.5px;
}

.version-date {
    font-size: 1rem;
    color: #b0b0b0;
    font-style: italic;
    font-weight: 300;
}

.latest-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000000;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.version-summary p {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
}

/* Changelog Changes */
.changelog-changes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.change-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 16px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.change-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.4s ease;
}

.change-item:hover::before {
    left: 100%;
}

.change-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.change-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.change-item:hover .change-icon {
    transform: scale(1.1);
}

.change-icon i {
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.change-content {
    flex: 1;
    min-width: 0;
}

.change-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    padding: 4px 12px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.change-description {
    color: #d0d0d0;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

/* Change Type Colors */
.change-added {
    border-left-color: #4CAF50;
}

.change-added .change-icon {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3) 0%, rgba(76, 175, 80, 0.1) 100%);
}

.change-added .change-type {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.4) 0%, rgba(76, 175, 80, 0.2) 100%);
    color: #4CAF50;
}

.change-fixed {
    border-left-color: #2196F3;
}

.change-fixed .change-icon {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.3) 0%, rgba(33, 150, 243, 0.1) 100%);
}

.change-fixed .change-type {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.4) 0%, rgba(33, 150, 243, 0.2) 100%);
    color: #2196F3;
}

.change-improved {
    border-left-color: #FF9800;
}

.change-improved .change-icon {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.3) 0%, rgba(255, 152, 0, 0.1) 100%);
}

.change-improved .change-type {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.4) 0%, rgba(255, 152, 0, 0.2) 100%);
    color: #FF9800;
}

.change-security {
    border-left-color: #F44336;
}

.change-security .change-icon {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.3) 0%, rgba(244, 67, 54, 0.1) 100%);
}

.change-security .change-type {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.4) 0%, rgba(244, 67, 54, 0.2) 100%);
    color: #F44336;
}

.change-removed {
    border-left-color: #9C27B0;
}

.change-removed .change-icon {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.3) 0%, rgba(156, 39, 176, 0.1) 100%);
}

.change-removed .change-type {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.4) 0%, rgba(156, 39, 176, 0.2) 100%);
    color: #9C27B0;
}

.change-changed {
    border-left-color: #00BCD4;
}

.change-changed .change-icon {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.3) 0%, rgba(0, 188, 212, 0.1) 100%);
}

.change-changed .change-type {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.4) 0%, rgba(0, 188, 212, 0.2) 100%);
    color: #00BCD4;
}

.change-deprecated {
    border-left-color: #FF5722;
}

.change-deprecated .change-icon {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.3) 0%, rgba(255, 87, 34, 0.1) 100%);
}

.change-deprecated .change-type {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.4) 0%, rgba(255, 87, 34, 0.2) 100%);
    color: #FF5722;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 80px 20px;
    color: white;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.error-icon {
    font-size: 4rem;
    color: #F44336;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(244, 67, 54, 0.5);
}

.error-message h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 600;
}

.error-message p {
    color: #d0d0d0;
    margin-bottom: 35px;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
}

.retry-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.retry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(33, 150, 243, 0.4);
    background: linear-gradient(135deg, #1976D2, #1565C0);
}

.retry-btn i {
    font-size: 1rem;
}

/* No Changelogs */
.no-changelogs {
    text-align: center;
    padding: 80px 20px;
    color: #d0d0d0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-changelogs p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .version-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .latest-version,
    .total-versions {
        min-width: 150px;
        padding: 20px 25px;
    }
    
    .version-number {
        font-size: 1.5rem;
    }
    
    .changelog-item {
        padding: 25px;
        margin-bottom: 25px;
    }
    
    .version-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .version-title {
        font-size: 1.8rem;
    }
    
    .change-item {
        padding: 15px;
        gap: 15px;
    }
    
    .change-icon {
        width: 40px;
        height: 40px;
    }
    
    .change-icon i {
        font-size: 1.1rem;
    }
    
    .changelog-changes {
        gap: 15px;
    }
    
    /* Search responsive */
    .search-box {
        padding: 3px;
    }
    
    .search-input {
        font-size: 0.95rem;
        padding: 12px 0;
    }
    
    .search-icon {
        font-size: 1rem;
        margin-left: 15px;
        margin-right: 12px;
    }
    
    .clear-search-btn {
        width: 32px;
        height: 32px;
        margin-right: 8px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .changelog-item {
        padding: 20px;
    }
    
    .version-title {
        font-size: 1.5rem;
    }
    
    .change-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .change-icon {
        align-self: flex-start;
    }
    
    .version-info {
        gap: 10px;
    }
    
    .latest-version,
    .total-versions {
        padding: 15px 20px;
        min-width: 120px;
    }
} 

