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

/* Hide sitemap and related links */
link[rel="sitemap"],
a[href*="sitemap"],
a[href*="robots.txt"] {
    display: none !important;
    visibility: hidden !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Header styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(5deg) scale(1.05);
}

.logo h1 {
    color: #667eea;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}



/* Navigation Menu */
.nav-menu {
    display: block;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

/* Mobile Menu Styles */
.nav-menu.active {
    display: block !important;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu.active .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 20px;
}

.nav-menu.active .nav-link {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 0;
    font-size: 1.1rem;
}

.nav-menu.active .nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
    padding-left: 30px;
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        display: block;
    }
    
    .nav-list {
        display: flex;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        padding: 7px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: block !important;
    }
    
    .nav-menu.active .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
    }
    
    .nav-menu.active .nav-link:active {
        background: rgba(102, 126, 234, 0.2);
        transform: scale(0.98);
    }
}

/* Description section */
.description-section {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.description-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.description-box h1 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.description-box p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: normal;
}

.description-box p:last-child {
    margin-bottom: 0;
}

/* Games list area */
.games-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 50px;
    font-weight: bold;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.game-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.game-image {
    text-align: center;
    margin-bottom: 20px;
}

.game-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.game-logo:hover {
    transform: scale(1.05);
}

.game-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.game-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 6px;
}

.game-description {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
    text-align: justify;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.players, .prize {
    color: #555;
    font-weight: 500;
}

/* View all games and collapse games button styles */
.show-all-card, .collapse-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.show-all-card:hover, .collapse-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.show-all-content, .collapse-content {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.show-all-icon, .collapse-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.show-all-title, .collapse-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.show-all-description, .collapse-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    line-height: 1.4;
}

.show-all-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    display: inline-block;
}

.show-all-count span {
    font-weight: 600;
    font-size: 0.9rem;
}

.show-all-btn, .collapse-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: auto;
    width: 100%;
    max-width: 200px;
    align-self: center;
}

.show-all-btn:hover, .collapse-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.play-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Hamburger menu button will be controlled by media queries */

/* Mobile responsive styles - keep navigation visible */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
        height: auto;
        min-height: 60px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    .logo {
        order: 1;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .nav {
        order: 2;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 0.9rem;
        color: #333;
        text-decoration: none;
        padding: 8px 16px;
        border-radius: 20px;
        background: transparent;
        transition: all 0.3s ease;
        text-align: center;
        white-space: nowrap;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-2px);
        color: #667eea;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .games-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .game-card {
        padding: 20px;
    }
    
    .game-icon {
        font-size: 2.5rem;
    }
    
    .game-logo {
        width: 120px;
        height: 120px;
    }
    
    .game-title {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    
    .game-stats {
        flex-direction: column;
        gap: 3px;
        text-align: center;
        margin-bottom: 12px;
    }
    
    /* Mobile view all games button styles */
    .show-all-card, .collapse-card {
        min-height: 250px;
    }
    
    .show-all-icon, .collapse-icon {
        font-size: 3rem;
    }
    
    .show-all-title, .collapse-title {
        font-size: 1.3rem;
    }
    
    .show-all-description, .collapse-description {
        font-size: 0.9rem;
    }
    
    .show-all-btn, .collapse-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* All Games Apps Banner */
.all-games-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 0;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.all-games-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.all-games-banner:hover::before {
    left: 100%;
}

.all-games-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 15px 30px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    gap: 15px;
    max-width: 300px;
    margin: 0 auto;
}

.all-games-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.banner-text {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    white-space: nowrap;
}

.banner-arrow {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.all-games-link:hover .banner-arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .all-games-banner {
        padding: 15px 0;
        margin-top: 30px;
    }
    
    .all-games-link {
        font-size: 1.3rem;
        padding: 12px 25px;
        max-width: 250px;
    }
    
    .banner-arrow {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .all-games-link {
        font-size: 1.1rem;
        padding: 10px 20px;
        max-width: 200px;
        gap: 10px;
    }
    
    .banner-arrow {
        font-size: 1.3rem;
    }
}

/* Footer styles */
.footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 0 20px;
    margin-top: 50px;
}

.footer-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.age-warning {
    margin-bottom: 20px;
}

.age-warning p {
    font-size: 1.1rem;
    font-weight: normal;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.risk-warning {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.risk-warning p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: #ffffff;
}

.disclaimer {
    margin: 20px 0;
}

.disclaimer p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #b3b3b3;
    margin: 0;
}

.footer-links {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

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

.footer-links a:hover {
    color: #ffc107;
    text-decoration: underline;
}

.copyright {
    border-top: 1px solid #3949ab;
    padding-top: 15px;
    margin-top: 20px;
}

.copyright p {
    font-size: 0.85rem;
    color: #b3b3b3;
    margin: 0;
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-toggle {
        width: 25px;
        height: 25px;
    }
    
    .hamburger-line {
        height: 2px;
    }
    
    .nav-menu.active {
        top: 60px;
    }
    
    .nav-menu.active .nav-list {
        padding: 15px;
    }
    
    .nav-menu.active .nav-link {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .games-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .games-grid {
        padding: 0 10px;
        gap: 15px;
    }
    
    .game-card {
        padding: 15px;
    }
    
    .game-icon {
        font-size: 2rem;
    }
    
    .game-title {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    
    .game-description {
        font-size: 0.9rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .play-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Footer mobile styles */
    .footer {
        padding: 20px 0 15px;
        margin-top: 30px;
    }
    
    .footer-content {
        padding: 0 10px;
    }
    
    .age-warning p {
        font-size: 1rem;
    }
    
    .risk-warning {
        padding: 12px;
        margin: 15px 0;
    }
    
    .risk-warning p {
        font-size: 0.9rem;
    }
    
    .disclaimer p {
        font-size: 0.8rem;
    }
    
    .footer-links {
        gap: 15px;
        margin: 20px 0;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .copyright p {
        font-size: 0.8rem;
    }
}

/* Animation effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature-card,
.bonus-card {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Download page styles */
.download-main {
    padding: 2rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Single app download area */
.single-app-section {
    margin-bottom: 3rem;
}

.app-download-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.app-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-icon img {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
}

.app-info {
    flex: 1;
}

.app-title {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 0 1rem 0;
}

.app-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.stat-item {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    background: #f8f9fa;
    color: #495057;
}

.app-features {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.feature-tag {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    background: #e8f5e8;
    color: #27ae60;
    border-radius: 15px;
    border: 1px solid #c3e6cb;
}

.app-desc {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.app-download-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.android-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.download-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-icon {
    font-size: 1.2rem;
}

/* Default page title */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

/* Recommended games list */
.recommended-games {
    max-width: 1200px;
    margin: 0 auto;
}

.recommended-games .game-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.recommended-games .game-logo img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.section-title {
    color: white;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    max-height: calc(2 * (auto + 1.5rem));
}

.game-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
}

.game-rank {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.game-info {
    flex: 1;
    margin-bottom: 1rem;
}

.game-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.game-stats {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.downloads, .bonus {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-weight: 500;
}

.downloads {
    background: #e8f5e8;
    color: #27ae60;
}

.bonus {
    background: #fff3cd;
    color: #856404;
}

.game-desc {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    text-align: justify;
}

.quick-download-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
    margin-top: auto;
}

.quick-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Feature description styles */
.features-section {
    margin-top: 60px;
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.features-section h2 {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 600;
}

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

.feature-card {
    text-align: center;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
}

/* Download page mobile adaptation */
@media (max-width: 768px) {
    .download-main {
        padding: 1rem 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .app-download-card {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .app-title {
        font-size: 1.5rem;
    }
    
    .app-download-actions {
         justify-content: center;
         width: 100%;
     }
     
     .download-btn {
         width: 80%;
         max-width: 300px;
         justify-content: center;
     }
    
    .games-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        gap: 1rem;
        padding: 0 1rem;
        max-height: none;
    }
    
    .game-card {
        padding: 1rem;
    }
    
    .game-rank {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .features-section {
        margin-top: 40px;
        padding: 30px 15px;
    }
    
    .features-section h2 {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px 10px;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-card h4 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .download-main {
        padding: 20px 0;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .app-download-card {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .app-title {
        font-size: 1.3rem;
    }
    
    .app-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .game-card {
        padding: 0.75rem;
    }
    
    .game-name {
        font-size: 1rem;
    }
    
    .quick-download-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .features-section h2 {
        font-size: 1.6rem;
    }
}











/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #333;
    }
    
    .btn-secondary {
        border-width: 3px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.back-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Page Content Styles for About, Disclaimer, Privacy, Terms pages */
.page-content {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    min-height: calc(100vh - 140px);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-wrapper h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-wrapper h2 {
    color: #34495e;
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    font-weight: 600;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

.content-wrapper h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin: 25px 0 10px 0;
    font-weight: 600;
}

.content-wrapper p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
    font-size: 1rem;
}

.content-wrapper ul {
    margin: 15px 0 15px 20px;
    color: #555;
}

.content-wrapper li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-wrapper strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Responsive design for content pages */
@media (max-width: 768px) {
    .content-wrapper {
        margin: 0 20px;
        padding: 30px 20px;
    }
    
    .content-wrapper h1 {
        font-size: 2rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.3rem;
    }
    
    .page-content {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        margin: 0 10px;
        padding: 25px 15px;
    }
    
    .content-wrapper h1 {
        font-size: 1.8rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.2rem;
    }
}