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

:root {
    --primary-color: #ff6b9d;
    --secondary-color: #c44569;
    --bg-color: #0f0f0f;
    --card-bg: #1a1a1a;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-color: #ffd93d;
    --success-color: #6bcf7f;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 107, 157, 0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, #1a1a1a 0%, var(--bg-color) 100%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.version-badge {
    display: inline-block;
    background: var(--success-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-secondary {
    background: var(--card-bg);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 107, 157, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Releases */
.releases {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.release-item {
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: rgba(255, 107, 157, 0.05);
    border-radius: 8px;
}

.release-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.release-version {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.release-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.release-content {
    color: var(--text-color);
}

.release-content h4 {
    color: var(--accent-color);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.release-content ul {
    list-style: none;
    padding-left: 0;
}

.release-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.release-content li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.release-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.release-content a:hover {
    text-decoration: underline;
}

/* Markdown Content Styling */
.markdown-body {
    background: transparent !important;
    color: var(--text-color) !important;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4 {
    color: var(--accent-color) !important;
    border-bottom: none !important;
}

.markdown-body a {
    color: var(--primary-color) !important;
}

.markdown-body ul {
    list-style: none !important;
    padding-left: 0 !important;
}

.markdown-body li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.markdown-body li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: var(--card-bg);
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive */
/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}

/* Tablets */
@media (max-width: 968px) {
    nav {
        padding: 0 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem 1rem;
        font-size: 1.1rem;
        border-radius: 8px;
        transition: background 0.3s;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        opacity: 1;
    }

    .hero {
        padding: 4rem 1.5rem;
        margin-top: 70px;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
        min-height: 56px;
        font-size: 1.1rem;
    }

    .releases-container {
        padding: 0 1.5rem;
    }

    .release-item {
        padding: 1.5rem;
    }

    .release-header h3 {
        font-size: 1.3rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mobile Phones and Small Tablets */
@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    /* Features Section - Single Column for Small Screens */
    .features {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2.2rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    section {
        padding: 3rem 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .release-header h3 {
        font-size: 1.1rem;
    }

    .release-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    footer {
        padding: 2rem 1rem;
    }
}