@charset "UTF-8";

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

a {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    background-color: #121212;
    line-height: 1.6;
    overflow-x: hidden;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../images/background.webp');
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(138, 43, 226, 0.7), rgba(23, 23, 39, 0.9));
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(138, 43, 226, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

.logo i,
.logo img {
    margin-right: 0.5rem;
    color: #ffd700;
}

.logo img {
    border-radius: 5px;
    width: 40px;
    height: 40px;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffd700;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-top: 80px;
}

.intro-section {
    padding: 4rem 0;
    margin: 4rem 0;
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(138, 43, 226, 0.5);
    backdrop-filter: blur(5px);
}

.intro-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-card {
    padding: 20px;
}

.app-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.app-icon {
    margin-right: 20px;
}

.app-icon img {
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    width: 80px;
    height: 80px;
}

.app-info h1 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffd700;
}

.app-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.tag {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.tag.official {
    background-color: #ff6b6b;
    color: white;
}

.tag.no-ads {
    background-color: #4ecdc4;
    color: white;
}

.tag.free {
    background-color: #45b7d1;
    color: white;
}

.app-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #ccc;
}

.app-details {
    margin-bottom: 20px;
    overflow: hidden;
}

.detail-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 15px;
    padding: 0;
}

.detail-item {
    flex: 1;
    min-width: 120px;
    margin-right: 15px;
    margin-bottom: 10px;
}

.detail-item:last-child {
    margin-right: 0;
}

.detail-label {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
}

.app-download-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #ff6b6b;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.app-download-btn:hover {
    background-color: #ee5a52;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4);
}

.intro-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-right h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.intro-right p {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.3);
    line-height: 1.8;
    font-size: 15px;
}

.comics-section {
    padding: 4rem 0;
    margin: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffd700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #8a2be2;
    margin: 1rem auto;
    border-radius: 3px;
}

.comics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.comic-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.3);
    backdrop-filter: blur(5px);
}

.comic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.4);
}

.comic-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.comic-info {
    padding: 1.5rem;
}

.comic-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.comic-description {
    color: #ccc;
    margin-bottom: 1rem;
}

.comic-genre {
    display: inline-block;
    background: rgba(138, 43, 226, 0.3);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.more-versions-section {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    margin: 4rem 0;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.versions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.version-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.3);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.version-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.4);
}

.version-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.version-icon {
    width: 50px;
    height: 50px;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.version-icon:hover {
    transform: scale(1.05);
}

.version-icon img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: contain;
    display: block;
    background-color: rgba(255, 255, 255, 0.1);
}

.version-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: calc(100% - 70px);
}

.version-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 0.5rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.version-title a {
    color: #ffd700;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    transition: color 0.3s ease;
}

.version-title a:hover {
    color: #ffffff;
}

.version-meta {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.version-type {
    background: #45b7d1;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: bold;
}

.version-divider {
    color: #999;
    margin: 0 0.3rem;
}

.version-rating {
    color: #ffd700;
    font-weight: bold;
    font-size: 1rem;
}

.version-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.version-desc {
    color: #ccc;
    font-size: 0.8rem;
    line-height: 1.5;
    padding-top: 1rem;
    border-top: 1px solid rgba(138, 43, 226, 0.3);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.features-section {
    padding: 4rem 0;
    /* background: rgba(0, 0, 0, 0.4); */
    border-radius: 15px;
    margin: 4rem 0;
    /* border: 1px solid rgba(138, 43, 226, 0.3); */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgb(138 43 226 / 32%);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(138, 43, 226, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-description {
    color: #ccc;
}

.screenshots-section {
    padding: 4rem 0;
    margin: 4rem 0;
}

.screenshots-container {
    overflow: hidden;
}

.screenshots-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    gap: 2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(138, 43, 226, 0.5) rgba(0, 0, 0, 0.3);
}

.screenshots-grid::-webkit-scrollbar {
    height: 8px;
}

.screenshots-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.screenshots-grid::-webkit-scrollbar-thumb {
    background: rgba(138, 43, 226, 0.5);
    border-radius: 10px;
}

.screenshots-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(138, 43, 226, 0.7);
}

.screenshot-card {
    flex: 0 0 auto;
    width: 300px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.3);
    backdrop-filter: blur(5px);
}

.screenshot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.4);
}

.screenshot-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.download-section {
    padding: 4rem 0;
    margin: 4rem 0;
    text-align: center;
}

.download-content {
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(138, 43, 226, 0.5);
}

.download-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.download-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.5);
    width: 200px;
    justify-content: center;
}

.download-btn:hover {
    transform: translateY(-3px);
    background: #2a2a2a;
}

.download-btn i {
    font-size: 1.5rem;
    margin-right: 0.8rem;
    color: #ffd700;
}

.btn-text {
    text-align: left;
}

.btn-title {
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-subtitle {
    font-size: 0.8rem;
    color: #999;
}

.footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 0 5px;
    border-top: 1px solid rgba(138, 43, 226, 0.3);
    text-align: left;
    color: #999;
    margin-bottom: 0;
}

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

.friend-links-title {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
}

.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.friend-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.friend-links a:hover {
    color: #ffd700;
}

.footer p {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.page {
    text-align: center;
    margin-top: 2rem;
}

.page a {
    text-decoration: none;
    color: #ffd700;
    margin: 0 0.5rem;
}

.page a:hover {
    color: #fff;
}

.footer-security-image {
    display: block;
    margin: 1rem auto;
    width: 150px;
    height: 50px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        overflow-x: hidden;
    }
    
    .navbar-container {
        padding: 0 1rem;
    }
    
    .intro-section,
    .comics-section,
    .screenshots-section,
    .more-versions-section,
    .features-section,
    .download-section {
        padding: 2rem 0;
        margin: 2rem 0;
    }
    
    .app-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .app-header {
        flex-direction: column;
        align-items: center;
    }
    
    .app-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .app-info {
        width: 100%;
    }
    
    .app-info h1 {
        margin-bottom: 15px;
    }
    
    .app-tags {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .app-stats {
        justify-content: center;
    }
    
    .intro-content {
        padding: 1.5rem;
        overflow-x: hidden;
    }
    
    .app-details {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        width: 100%;
    }
    
    .detail-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        list-style: none;
        margin: 0;
        padding: 0;
        width: max-content;
    }
    
    .detail-item {
        flex: 0 0 auto;
        margin-right: 20px;
        margin-bottom: 0;
    }
    
    .app-details::-webkit-scrollbar {
        display: none;
    }
    
    .app-details {
        scrollbar-width: none;
    }
    
    .detail-list {
        scrollbar-width: none;
    }
    
    .detail-list::-webkit-scrollbar {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .screenshot-card {
        width: 250px;
    }
    
    .screenshot-image {
        height: 400px;
    }
    
    .screenshots-grid {
        gap: 1rem;
    }
    
    .versions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .version-card {
        padding: 1.2rem;
    }
    
    .version-icon {
        width: 60px;
        height: 60px;
    }
    
    .version-title {
        font-size: 16px;
        font-weight: bold;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }
    
    .version-title a {
        color: #ffd700;
        text-decoration: none;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }
    
    .version-info {
        min-width: 0;
    }
    
    .version-header {
        flex-wrap: nowrap;
    }
    
    .version-desc {
        font-size: 0.8rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(138, 43, 226, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .comics-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        gap: 1rem;
    }
    
    .comics-grid::-webkit-scrollbar {
        display: none;
    }
    
    .comic-card {
        flex: 0 0 auto;
        width: 280px;
        margin-right: 0;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 200px;
        justify-content: center;
    }
    
    .footer {
        padding: 10px 0 0px;
    }
    
    .footer-content {
        padding: 0 1rem 2rem;
    }
    
    .footer-security-image {
        width: 120px;
        height: auto;
        margin: 1rem auto 0;
    }
}


