/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fbfbfb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}

.header-top-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

/* Logo Styles */
.header-logo .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.flag-icon {
    width: 112px;
    height: 34px;
    object-fit: cover;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #365b3e;
    letter-spacing: 1px;
}

/* Navigation Styles */
.header-menu .menu-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.header-menu .menu-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
    position: relative;
}

.header-menu .menu-list a:hover {
    color: #365b3e;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 12px;
    margin-left: 8px;
    color: #9daf9f;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #365b3e;
}

/* Header Right Buttons */
.header-right-btns {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icon-btn {
    background: none;
    border: 1px solid #e5e5e5;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background-color: #365b3e;
    color: white;
    border-color: #365b3e;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
}

/* Search Form */
.header-bottom {
    background-color: #f8f9fa;
    display: none;
}

.header-bottom.show {
    display: block;
}

.search-form-wrapper {
    padding: 20px 0;
}

.search-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    outline: none;
}

.search-input:focus {
    border-color: #365b3e;
}

.search-submit {
    background-color: #365b3e;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background-color: #2d4a33;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background-color: white;
    border-top: 1px solid #e5e5e5;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.mobile-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-menu-list {
    list-style: none;
    padding: 20px 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-list a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.mobile-menu-list a:hover {
    background-color: #f8f9fa;
    color: #365b3e;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin-left: 8px;
    color: #666;
    font-weight: 500;
}

.breadcrumb-item a {
    color: #365b3e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #2d4a33;
    text-decoration: underline;
}

.breadcrumb-item.active span {
    color: #666;
    font-weight: 500;
}

/* Main Content */
.main-content {
    padding: 0;
}

/* Introduction Section */
.intro-section {
    padding: 60px 0 40px 0;
    background: white;
}

.intro-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.intro-content h1 {
    font-size: 2.5rem;
    color: #365b3e;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.intro-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    text-align: justify;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #365b3e;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Games Section */
.games-section {
    padding: 40px 0 60px 0;
    background: white;
}

/* Games List */
.games-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.game-item {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.game-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.game-rank {
    font-size: 1.5rem;
    font-weight: 700;
    color: #365b3e;
    margin-right: 20px;
    min-width: 30px;
}

.game-main-info {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 20px;
}

.game-icon-wrapper {
    min-width: 80px;
}

.game-list-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.game-details {
    flex: 1;
}

.game-title-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.game-title-rating h3 {
    font-size: 1.4rem;
    color: #365b3e;
    margin: 0;
    font-weight: 600;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-score {
    font-size: 1.2rem;
    font-weight: 700;
    color: #365b3e;
}

.game-rating .stars {
    font-size: 1rem;
}

.game-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.game-features li {
    font-size: 0.9rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.game-features li:contains("✓") {
    color: #27ae60;
}

.game-features li:contains("✗") {
    color: #e74c3c;
}

.game-bonus-action {
    text-align: center;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.bonus-info {
    text-align: center;
}

.bonus-text {
    font-size: 0.8rem;
    color: #83ec39;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: #83ec39;
    margin: 5px 0;
}

.bonus-condition {
    font-size: 0.9rem;
    color: #666;
}

.download-btn-list {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-btn-list:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.read-review {
    color: #365b3e;
    text-decoration: underline;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.read-review:hover {
    color: #27ae60;
}

/* App Grid - Keep for other sections */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.app-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #365b3e, #4a7c59);
    transition: left 0.5s ease;
}

.app-card:hover::before {
    left: 0;
}

/* App Logo Styles */
.app-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.app-card:hover .app-icon {
    transform: scale(1.1) rotate(10deg);
}

.app-icon.gold {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.4);
}

.app-icon.blue {
    background: linear-gradient(135deg, #3498db, #2980b9);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.app-icon.show {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.app-icon.lucky {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.app-card h3 {
    font-size: 1.5rem;
    color: #365b3e;
    margin-bottom: 15px;
    font-weight: 600;
}

.app-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.app-rating {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.stars {
    font-size: 1rem;
}

.rating-text {
    font-size: 0.9rem;
    color: #365b3e;
    font-weight: 600;
}

.btn-primary {
    display: inline-block;
    background-color: #365b3e;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2d4a33;
}

/* The 5 Best Teen Patti Games Section */
.best-games-section {
    padding: 80px 0;
    background: white;
}

.best-games-content {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.best-game-detailed {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.best-game-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #365b3e, #4a7c59, #27ae60);
    transition: left 0.5s ease;
}

.best-game-detailed:hover::before {
    left: 0;
}

.best-game-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(54, 91, 62, 0.15);
    border-color: #365b3e;
}

.game-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 25px;
    gap: 30px;
}

.game-rank-badge {
    background: linear-gradient(135deg, #365b3e, #4a7c59);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(54, 91, 62, 0.3);
    flex-shrink: 0;
}

.game-basic-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.game-detailed-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.best-game-detailed:hover .game-detailed-icon {
    transform: scale(1.05) rotate(3deg);
}

.game-title-info h3 {
    font-size: 2rem;
    color: #365b3e;
    margin-bottom: 10px;
    font-weight: 700;
}

.game-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
}

.game-rating {
    color: #365b3e;
    font-weight: 600;
}

.game-downloads {
    color: #666;
    font-weight: 500;
}

.game-bonus-highlight {
    text-align: center;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    min-width: 140px;
}

.bonus-amount {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.bonus-text {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-description {
    margin-bottom: 30px;
}

.game-description p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.game-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e7e1;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(54, 91, 62, 0.1);
    border-color: #365b3e;
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.1rem;
    color: #365b3e;
    margin-bottom: 5px;
    font-weight: 600;
}

.highlight-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.game-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #365b3e, #4a7c59);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(54, 91, 62, 0.3);
}

.game-detail-btn:hover {
    background: linear-gradient(135deg, #2d4a33, #3d6347);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(54, 91, 62, 0.4);
}

/* Responsive Design for Best Games */
@media (max-width: 1024px) {
    .game-header {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .game-basic-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .game-meta {
        justify-content: center;
    }

    .game-highlights {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .best-game-detailed {
        padding: 25px;
    }

    .game-detailed-icon {
        width: 80px;
        height: 80px;
    }

    .game-title-info h3 {
        font-size: 1.5rem;
    }

    .bonus-amount {
        font-size: 1.2rem;
    }

    .highlight-item {
        padding: 15px;
    }

    .highlight-icon {
        font-size: 1.5rem;
    }

    .game-detail-btn {
        width: 100%;
        justify-content: center;
        padding: 18px 25px;
        font-size: 1.1rem;
    }
}

/* All the Most Popular 3 Patti Games Section */
.all-games-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f0 100%);
}

.all-games-content {
    margin-bottom: 40px;
}

.games-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.games-intro-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.games-intro-img:hover {
    transform: scale(1.05);
}

.intro-text h3 {
    font-size: 1.8rem;
    color: #365b3e;
    margin-bottom: 20px;
    font-weight: 600;
}

.intro-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.games-highlights {
    list-style: none;
    padding: 0;
}

.games-highlights li {
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popular-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.popular-game-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.popular-game-item:hover {
    transform: translateY(-5px);
    border-color: #365b3e;
    box-shadow: 0 10px 25px rgba(54, 91, 62, 0.2);
}

.game-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.game-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-game-item:hover .game-thumb {
    transform: scale(1.1);
}

.popular-game-item h4 {
    font-size: 1.2rem;
    color: #365b3e;
    margin: 20px 20px 10px 20px;
    font-weight: 600;
}

.popular-game-item p {
    color: #666;
    margin: 0 20px 20px 20px;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Responsive Design for All Games Section */
@media (max-width: 1024px) {
    .games-intro {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .games-intro-img {
        height: 300px;
        max-width: 500px;
        margin: 0 auto;
    }

    .popular-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .all-games-section {
        padding: 60px 0;
    }

    .games-intro {
        margin-bottom: 40px;
    }

    .intro-text h3 {
        font-size: 1.5rem;
    }

    .games-intro-img {
        height: 250px;
    }

    .popular-games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .popular-game-item h4 {
        font-size: 1.1rem;
        margin: 15px 15px 8px 15px;
    }

    .popular-game-item p {
        margin: 0 15px 15px 15px;
        font-size: 0.85rem;
    }

    .game-thumbnail {
        height: 180px;
    }
}

/* Legal Section */
.legal-section {
    padding: 80px 0;
    background: white;
}

.legal-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.legal-article h3 {
    font-size: 1.8rem;
    color: #365b3e;
    margin-bottom: 20px;
    font-weight: 600;
}

.legal-article > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1rem;
}

.legal-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.legal-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: linear-gradient(135deg, #f8fffe, #e8f5f0);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e7e1;
    transition: all 0.3s ease;
}

.legal-point:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(54, 91, 62, 0.15);
    border-color: #365b3e;
}

.point-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.point-content h4 {
    font-size: 1.1rem;
    color: #365b3e;
    margin-bottom: 8px;
    font-weight: 600;
}

.point-content p {
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

.disclaimer {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
}

.disclaimer h4 {
    color: #856404;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.disclaimer p {
    color: #856404;
    line-height: 1.6;
    margin-bottom: 10px;
}

.disclaimer p:last-child {
    margin-bottom: 0;
    font-weight: 600;
}

.legal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.info-box:hover {
    border-color: #365b3e;
    box-shadow: 0 8px 25px rgba(54, 91, 62, 0.15);
}

.info-box h4 {
    font-size: 1.2rem;
    color: #365b3e;
    margin-bottom: 15px;
    font-weight: 600;
}

.cert-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.cert-img:hover {
    transform: scale(1.05);
}

.info-box p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

.responsibility-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.responsibility-list li {
    color: #333;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
}

.responsibility-list li:before {
    content: "✓";
    color: #365b3e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.responsibility-list li:last-child {
    border-bottom: none;
}

/* Responsive Design for Legal Section */
@media (max-width: 1024px) {
    .legal-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .legal-points {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .legal-section {
        padding: 60px 0;
    }

    .legal-article h3 {
        font-size: 1.5rem;
    }

    .legal-point {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .disclaimer {
        padding: 20px;
    }

    .disclaimer h4 {
        font-size: 1.1rem;
    }

    .info-box {
        padding: 20px;
    }

    .cert-img {
        height: 100px;
    }
}

/* Payment Methods Section */
.payment-methods-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f0 100%);
}

.payment-content {
    max-width: 1000px;
    margin: 40px auto 0;
    text-align: center;
}



.payment-info {
    text-align: left;
}

.payment-info h3 {
    font-size: 1.8rem;
    color: #365b3e;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.payment-info > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1rem;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
    max-width: 800px;
    margin: 30px auto;
}

.payment-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e7e1;
    transition: all 0.3s ease;
}

.payment-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(54, 91, 62, 0.15);
    border-color: #365b3e;
}

.method-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #365b3e, #4a7c59);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(54, 91, 62, 0.3);
}

.method-info h4 {
    font-size: 1rem;
    color: #365b3e;
    margin-bottom: 5px;
    font-weight: 600;
}

.method-info p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.payment-features {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #365b3e;
}

.payment-features h4 {
    color: #365b3e;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.security-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-features li {
    color: #333;
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-features li:before {
    content: "";
    width: 16px;
    height: 16px;
    background: #27ae60;
    border-radius: 50%;
    flex-shrink: 0;
}

.payment-limits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(135deg, #365b3e, #4a7c59);
    padding: 20px;
    border-radius: 12px;
    color: white;
}

.limit-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.limit-label {
    color: rgba(255, 255, 255, 0.9);
}

.limit-value {
    font-weight: 600;
    color: #fff;
}

/* Responsive Design for Payment Methods */
@media (max-width: 1024px) {
    .payment-content {
        margin: 30px auto 0;
        padding: 0 20px;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .payment-methods-section {
        padding: 60px 0;
    }



    .payment-info h3 {
        font-size: 1.5rem;
    }

    .payment-method {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .method-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        margin: 0 auto;
    }

    .payment-features {
        padding: 20px;
    }

    .payment-limits {
        padding: 15px;
    }

    .limit-info {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-content {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #365b3e;
    box-shadow: 0 5px 20px rgba(54, 91, 62, 0.1);
}

.faq-item.active {
    border-color: #365b3e;
    box-shadow: 0 5px 20px rgba(54, 91, 62, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    background: linear-gradient(135deg, #f8fffe, #ffffff);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #e8f5f0, #f8fffe);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #365b3e;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #365b3e;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(54, 91, 62, 0.2);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: #365b3e;
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
    padding-top: 10px;
}

/* Responsive Design for FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-content {
        margin-top: 30px;
    }

    .faq-question {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
        max-height: 300px;
    }

    .faq-toggle {
        width: 25px;
        height: 25px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 15px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 15px 15px 15px;
    }
}

/* Footer */

.site-footer {
    background-color: #365b3e;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Evaluation Criteria Section */
.evaluation-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f0 100%);
}

.evaluation-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.evaluation-main {
    flex: 1;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.criteria-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5f0;
    transition: all 0.3s ease;
}

.criteria-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(54, 91, 62, 0.15);
    border-color: #365b3e;
}

.criteria-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.criteria-item h3 {
    font-size: 1.4rem;
    color: #365b3e;
    margin-bottom: 15px;
    font-weight: 600;
}

.criteria-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.criteria-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.criteria-checklist li {
    color: #333;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.criteria-checklist li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #27ae60;
    border-radius: 50%;
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.evaluation-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.evaluation-summary {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #365b3e;
}

.evaluation-summary h3 {
    font-size: 1.3rem;
    color: #365b3e;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.scoring-breakdown {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(135deg, #f8fffe, #e8f5f0);
    border-radius: 8px;
    border: 1px solid #e0e7e1;
}

.score-category {
    font-weight: 500;
    color: #333;
}

.score-weight {
    font-weight: 700;
    color: #365b3e;
    background: white;
    padding: 4px 12px;
    border-radius: 15px;
    border: 1px solid #365b3e;
    font-size: 0.9rem;
}

.methodology-note {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #365b3e;
}

.methodology-note h4 {
    font-size: 1.1rem;
    color: #365b3e;
    margin-bottom: 15px;
    font-weight: 600;
}

.methodology-note p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.methodology-note p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #365b3e;
}

/* Games List Responsive */
@media (max-width: 1024px) {
    .game-item {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .game-main-info {
        flex-direction: column;
        gap: 15px;
    }

    .game-title-rating {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .game-features {
        grid-template-columns: 1fr;
        text-align: left;
        max-width: 300px;
        margin: 0 auto;
    }

    .game-bonus-action {
        min-width: auto;
        width: 100%;
    }

    .evaluation-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .criteria-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .game-list-icon {
        width: 60px;
        height: 60px;
    }

    .game-rank {
        font-size: 1.2rem;
        margin-right: 15px;
        min-width: 25px;
    }

    .game-item {
        padding: 15px;
    }

    .criteria-item {
        padding: 20px;
    }

    .criteria-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .criteria-item h3 {
        font-size: 1.2rem;
    }

    .evaluation-summary {
        padding: 20px;
    }

    .methodology-note {
        padding: 20px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .app-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .header-top-flex {
        padding: 10px 0;
    }

    .logo-text {
        font-size: 20px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 18px;
    }

    .app-card {
        padding: 20px;
    }

    .app-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .hero-section {
        padding: 0 10px;
    }
}

/* Animation for mobile menu toggle */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Breadcrumb Navigation */
.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #365b3e;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* App Detail Page */
.app-detail-hero {
    margin-bottom: 40px;
}

.app-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.app-detail-info h1 {
    font-size: 2.5rem;
    color: #365b3e;
    margin-bottom: 20px;
    font-weight: 700;
}

.app-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    font-size: 1.1rem;
    color: #365b3e;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Download Card */
.download-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 100px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.download-card:hover {
    box-shadow: 0 15px 40px rgba(54, 91, 62, 0.2);
    border-color: #365b3e;
}

/* App Logo in Download Card */
.app-logo-download {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.app-logo-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.app-logo-icon:hover {
    transform: scale(1.05);
}

.app-title-info {
    flex: 1;
    text-align: left;
}

.app-title-info h3 {
    font-size: 1.4rem;
    color: #365b3e;
    margin-bottom: 5px;
    font-weight: 700;
}

.app-developer {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

/* Download Stats */
.download-stats {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, #f8fffe, #e8f5f0);
    border-radius: 10px;
    border: 1px solid #e0e7e1;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #365b3e;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-info {
    text-align: left;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.app-info p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.download-btn {
    width: 100%;
    background: linear-gradient(135deg, #365b3e, #4a7c59);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.download-btn:hover {
    background: linear-gradient(135deg, #2d4a33, #3d6347);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(54, 91, 62, 0.3);
}

.download-note {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}

/* App Details Section */
.app-details-section {
    margin: 60px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.details-main h2 {
    font-size: 2rem;
    color: #365b3e;
    margin-bottom: 20px;
}

.details-main h3 {
    font-size: 1.3rem;
    color: #365b3e;
    margin: 30px 0 15px 0;
}

.details-main p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.feature-list {
    color: #666;
    padding-left: 20px;
}

.feature-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.steps-list {
    color: #666;
    padding-left: 20px;
}

.steps-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Info Cards */
.info-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.2rem;
    color: #365b3e;
    margin-bottom: 15px;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.info-card li:last-child {
    border-bottom: none;
}

/* Related Apps */
.related-apps {
    margin: 60px 0;
}

.related-apps h2 {
    font-size: 2rem;
    color: #365b3e;
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.related-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card h4 {
    font-size: 1.3rem;
    color: #365b3e;
    margin-bottom: 15px;
}

.related-card p {
    color: #666;
    margin-bottom: 20px;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #365b3e;
    border: 2px solid #365b3e;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #365b3e;
    color: white;
}

/* Rewards Highlight Section */
.rewards-highlight {
    background: linear-gradient(135deg, #f8fffe, #e8f5f0);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border: 2px solid #365b3e;
}

.rewards-highlight h3 {
    text-align: center;
    color: #365b3e;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.reward-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.reward-card {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(54, 91, 62, 0.15);
    border: 1px solid #e0e7e1;
    transition: transform 0.3s ease;
}

.reward-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(54, 91, 62, 0.25);
}

.reward-card h4 {
    color: #365b3e;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.reward-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #c4444c;
    margin: 10px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.reward-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Activity Section */
.activity-section {
    margin: 25px 0;
}

.activity-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #365b3e;
}

.activity-item h4 {
    color: #365b3e;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.activity-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Enhanced Feature List */
.feature-list li strong {
    color: #365b3e;
    font-weight: 600;
}

/* Game Modes Grid */
.game-modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.game-mode-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.game-mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #365b3e, #4a7c59, #365b3e);
    transition: left 0.5s ease;
}

.game-mode-card:hover::before {
    left: 0;
}

.game-mode-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(54, 91, 62, 0.2);
    border-color: #365b3e;
}

.game-logo {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.logo-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.game-mode-card:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
}

.logo-icon.classic {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.logo-icon.variation {
    background: linear-gradient(135deg, #4834d4, #686de0);
}

.logo-icon.tournament {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.logo-icon.private {
    background: linear-gradient(135deg, #00a8ff, #0097e6);
}

.logo-icon.quick {
    background: linear-gradient(135deg, #7bed9f, #2ed573);
}

.logo-icon.practice {
    background: linear-gradient(135deg, #a55eea, #8e44ad);
}

/* Game Icon Images */
.game-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.game-mode-card:hover .game-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(54, 91, 62, 0.3);
}

.game-mode-card h4 {
    color: #365b3e;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.game-mode-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.game-features {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(135deg, #365b3e, #4a7c59);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(54, 91, 62, 0.3);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(54, 91, 62, 0.4);
}

/* Feature Screenshots Section */
.feature-screenshots {
    margin: 40px 0;
}

.feature-with-screenshot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #f8fffe, #ffffff);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5f0;
}

.feature-with-screenshot.reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-with-screenshot.reverse .feature-content {
    order: 2;
}

.feature-with-screenshot.reverse .screenshot-container {
    order: 1;
}

.feature-content h4 {
    color: #365b3e;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-content p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.screenshot-container {
    position: relative;
    text-align: center;
}

.game-screenshot {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 3px solid #365b3e;
}

.game-screenshot:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(54, 91, 62, 0.3);
}

/* Mobile Phone Frame Effect */
.screenshot-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: linear-gradient(45deg, #365b3e, #4a7c59);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.1;
}

.additional-features {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 5px solid #365b3e;
}

.additional-features h4 {
    color: #365b3e;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* Responsive Design for Screenshots */
@media (max-width: 1024px) {
    .feature-with-screenshot {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 35px;
        padding: 25px;
    }

    .feature-with-screenshot.reverse .feature-content,
    .feature-with-screenshot.reverse .screenshot-container {
        order: unset;
    }

    .game-screenshot {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .feature-screenshots {
        margin: 30px 0;
    }

    .feature-with-screenshot {
        padding: 20px;
        margin-bottom: 30px;
    }

    .feature-content h4 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .feature-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .game-screenshot {
        max-width: 100%;
        border-radius: 10px;
        border-width: 2px;
    }

    .screenshot-container::before {
        top: -5px;
        width: calc(100% + 10px);
        height: calc(100% + 10px);
        border-radius: 15px;
    }

    .additional-features {
        padding: 20px;
        margin-top: 30px;
    }
}

/* Responsive Design for Detail Pages */
@media (max-width: 768px) {
    .app-detail-content {
        grid-template-columns: 1fr;
        gap: 30px;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
    }

    .app-detail-sidebar {
        order: -1; /* 让下载卡片在移动端显示在第一位 */
        width: 100%;
        max-width: none;
    }

    .app-detail-info {
        order: 1;
        width: 100%;
        max-width: none;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .app-detail-info h1 {
        font-size: 2rem;
    }

    .app-features {
        grid-template-columns: 1fr;
    }

    .download-card {
        position: static;
        padding: 30px 20px;
        margin: 0 0 30px 0;
        border: 3px solid #365b3e;
        background: linear-gradient(135deg, #f8fffe, #ffffff);
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
        min-width: auto;
        flex: none;
    }

    .download-btn {
        font-size: 1.2rem;
        padding: 18px 25px;
        margin: 20px 0 15px 0;
        width: 100%;
    }

    .app-logo-download {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .app-title-info {
        text-align: center;
    }

    .app-logo-icon {
        width: 70px;
        height: 70px;
    }

    .download-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 0;
        border-bottom: 1px solid #e0e7e1;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .reward-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .rewards-highlight {
        padding: 20px;
        margin: 20px 0;
    }

    .reward-amount {
        font-size: 1.5rem;
    }

    .game-modes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
    }

    .game-mode-card {
        padding: 20px;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .game-icon {
        width: 80px;
        height: 80px;
    }

    .game-mode-card h4 {
        font-size: 1.1rem;
    }

    .feature-tag {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}

/* 额外的移动端优化 */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .app-detail-content,
    .app-detail-sidebar,
    .app-detail-info,
    .download-card {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .download-card {
        padding: 25px 15px;
    }
}
