/* ============================================
   CREAM WHITE BACKGROUND – CASINO APK THEME
   ============================================ */

/* Global */
.app_view_new {
    background: #fef9e6;  /* Cream white */
    border-radius: 24px;
    padding: 2rem;
    color: #2c2c2c;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Hero Section */
.app_hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0d5b5;
}
.app_hero_left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.app_icon {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    position: relative;
}
.app_icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mod_badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 20px;
    font-weight: bold;
}
.app_title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    color: #2c2c2c;
}
.app_developer {
    font-size: 0.9rem;
    color: #6c5b3b;
}
.app_hero_right {
    background: #fff5e0;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.app_meta_list {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.meta_item {
    font-size: 0.85rem;
    color: #4a3a1a;
}
.app_rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.stars {
    color: #ffb700;
    font-size: 1.2rem;
}
.btn_download_hero {
    display: inline-block;
    background: #ffd700;
    color: #1a1a2e;
    font-weight: bold;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    transition: transform 0.2s;
}
.btn_download_hero:hover {
    transform: scale(1.05);
    background: #e6c200;
}

/* Tabs */
.app_content_tabs {
    margin: 2rem 0;
}
.tabs_header {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid #e0d5b5;
    margin-bottom: 1.5rem;
}
.tab_btn {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #6c5b3b;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 30px 30px 0 0;
}
.tab_btn.active {
    background: #ffd700;
    color: #2c2c2c;
    border-bottom: 3px solid #ffd700;
}
.tab_content {
    display: none;
}
.tab_content.active {
    display: block;
}
.description_wrap {
    font-size: 1rem;
    line-height: 1.7;
    color: #2c2c2c;
}
.spoiler {
    overflow: hidden;
    transition: max-height 0.3s;
}
.spoiler.open {
    max-height: none;
}
.spoiler:not(.open) {
    max-height: 300px;
}
.btn_spoiler {
    background: #f0e6d2;
    border: none;
    color: #a57c2c;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 1rem;
}

/* Download Card */
.download_card {
    background: #fff5e0;
    border-radius: 24px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid #e0d5b5;
}
.download_card_header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.download_links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.download_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 60px;
    text-decoration: none;
    color: #2c2c2c;
    border: 1px solid #e0d5b5;
    transition: background 0.2s;
}
.download_btn:hover {
    background: #fff0d0;
}
.btn_size {
    font-size: 0.8rem;
    color: #a57c2c;
}

/* Related Posts */
.related_posts_section {
    margin: 2rem 0;
}
.related_carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}
.related_item {
    flex: 0 0 120px;
    text-align: center;
    text-decoration: none;
    color: #2c2c2c;
}
.related_item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 16px;
    background: #e0d5b5;
}
.related_name {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Floating Download Button */
.floating-download {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}
.btn-floating {
    background: #ffd700;
    color: #1a1a2e;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.btn-floating:hover {
    transform: translateY(-3px);
    background: #e6c200;
}

/* Info Grid */
.app_info_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.info_card {
    background: #fff5e0;
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #e0d5b5;
}
.info_card.full_width {
    grid-column: 1 / -1;
}
.info_icon {
    font-size: 1.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .app_view_new {
        padding: 1rem;
    }
    .app_hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .app_hero_right {
        width: 100%;
    }
    .app_meta_list {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .floating-download {
        bottom: 1rem;
        right: 1rem;
    }
    .btn-floating {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    .tabs_header {
        flex-wrap: wrap;
    }
    .tab_btn {
        flex: 1;
        text-align: center;
    }
}