/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global styles */
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Header */
header {
    background-color: #15803d;
    color: #ffffff;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
}

header .logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

header .logo-container img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

header .logo-container span {
    font-size: 14px;
    font-weight: bold;
}

header #menu-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

header #menu-toggle svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
}

header #menu-toggle:hover {
    background-color: #166534;
    border-radius: 4px;
}

header #close-icon {
    display: none;
}

/* Navigation */
nav {
    background-color: #ffffff;
    border-bottom: 2px solid #15803d;
    display: none;
}

nav.active {
    display: block;
}

nav .nav-links {
    display: flex;
    flex-direction: column;
}

nav .nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    color: #15803d;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid #e5e7eb;
}

nav .nav-links a:hover {
    background-color: #f9fafb;
}

nav .nav-links a svg {
    width: 16px;
    height: 16px;
    stroke: #15803d;
}

@media (min-width: 768px) {
    nav {
        display: block;
    }
    nav .nav-links {
        flex-direction: row;
        justify-content: space-around;
    }
    nav .nav-links a {
        border-bottom: none;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hover-scale {
    transition: transform 0.2s ease-in-out;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.sticky-bar {
    transition: opacity 0.3s ease-in-out;
}

/* Hero Section */
.hero-section {
    padding: 16px;
    background-color: #f9fafb;
    text-align: center;
}

.hero-section img {
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
}

.hero-section h1 {
    font-size: 20px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 16px;
    text-align: left;
}

.hero-section a.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 24px;
    background-color: #15803d;
    color: #ffffff;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 16px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.hero-section a.download-btn:hover {
    background-color: #166534;
}

.hero-section a.download-btn:focus {
    background-color: #166534;
    outline: 2px solid #22c55e;
    outline-offset: 2px;
}

.hero-section a.download-btn:active {
    background-color: #14532d;
}

.hero-section a.download-btn svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    stroke: #ffffff;
}

.hero-section .content {
    text-align: left;
    color: #4b5563;
    font-size: 14px;
}

.hero-section .content p {
    margin-bottom: 12px;
}

.hero-section .content strong {
    font-weight: bold;
}

@media (min-width: 640px) {
    .hero-section {
        padding: 32px;
    }
    .hero-section img {
        width: 128px;
        height: 128px;
    }
    .hero-section h1 {
        font-size: 24px;
    }
}

@media (min-width: 768px) {
    .hero-section img {
        width: 192px;
        height: 192px;
    }
    .hero-section h1 {
        font-size: 30px;
    }
}

/* Game List Section */
.game-list-section {

    background-color: #ffffff;
}

.game-list-section h2 {
    font-size: 20px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 16px;
    text-align: center;
}

.game-list-section #gameList {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


/* What is ABC Rummy Section */
.info-section {
    padding: 16px;
    background-color: #ffffff;
}

.info-section h2 {
    font-size: 20px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 16px;
}

.info-section .content {
    color: #4b5563;
    font-size: 14px;
    margin-bottom: 16px;
}

.info-section .content p {
    margin-bottom: 16px;
}

.info-section a.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 24px;
    background-color: #15803d;
    color: #ffffff;
    font-weight: 600;
    border-radius: 6px;
    margin-top: 24px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.info-section a.download-btn:hover {
    background-color: #166534;
}

.info-section a.download-btn:focus {
    background-color: #166534;
    outline: 2px solid #22c55e;
    outline-offset: 2px;
}

.info-section a.download-btn:active {
    background-color: #14532d;
}

.info-section a.download-btn svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    stroke: #ffffff;
}

@media (min-width: 640px) {
    .info-section {
        padding: 32px;
    }
    .info-section h2 {
        font-size: 24px;
    }
}

/* Features Section */
.features-section {
    padding: 16px;
    background-color: #f9fafb;
}

.features-section h2 {
    font-size: 20px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 16px;
}

.features-section p {
    color: #4b5563;
    font-size: 14px;
    margin-bottom: 24px;
}

.features-section .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.features-section .feature-card {
    background-color: #ffffff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.features-section .feature-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.features-section .feature-card svg {
    width: 24px;
    height: 24px;
    stroke: #15803d;
    margin-bottom: 12px;
}

.features-section .feature-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.features-section .feature-card p {
    font-size: 12px;
    color: #4b5563;
}

@media (min-width: 640px) {
    .features-section {
        padding: 32px;
    }
    .features-section h2 {
        font-size: 24px;
    }
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-section .feature-card h3 {
        font-size: 16px;
    }
    .features-section .feature-card p {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .features-section .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tournaments Section */
.tournaments-section {
    padding: 80px 16px;
    background-color: #ffffff;
}

.tournaments-section .container {
    max-width: 1280px;
}

.tournaments-section h2 {
    font-size: 24px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 16px;
    text-align: center;
}

.tournaments-section p {
    font-size: 18px;
    color: #4b5563;
    max-width: 768px;
    margin: 0 auto 48px;
    text-align: center;
}

.tournaments-section .tournaments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.tournaments-section .tournament-card {
    padding: 32px;
    border-radius: 12px;
    color: #ffffff;
    text-align: left;
}

.tournaments-section .tournament-card.yellow-orange {
    background: linear-gradient(to bottom right, #f59e0b, #f97316);
}

.tournaments-section .tournament-card.purple-pink {
    background: linear-gradient(to bottom right, #8b5cf6, #ec4899);
}

.tournaments-section .tournament-card.green-teal {
    background: linear-gradient(to bottom right, #22c55e, #14b8a6);
}

.tournaments-section .tournament-card h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
}

.tournaments-section .tournament-card .prize {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 8px;
}

.tournaments-section .tournament-card p {
    font-size: 16px;
    margin-bottom: 24px;
    color: #ffffff;
}

.tournaments-section .tournament-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.tournaments-section .tournament-card ul li {
    font-size: 14px;
    margin-bottom: 8px;
}

.tournaments-section .tournament-card button {
    background-color: #000000;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.tournaments-section .tournament-card button:hover {
    background-color: #1f2937;
}

@media (min-width: 768px) {
    .tournaments-section h2 {
        font-size: 30px;
    }
    .tournaments-section .tournaments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 16px;
    background-color: #ffffff;
}

.testimonials-section h2 {
    font-size: 20px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 8px;
    text-align: center;
}

.testimonials-section p {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 32px;
    text-align: center;
}

.testimonials-section .testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.testimonials-section .testimonial-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.testimonials-section .testimonial-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.testimonials-section .testimonial-card .header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.testimonials-section .testimonial-card img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin-right: 16px;
    object-fit: cover;
}

.testimonials-section .testimonial-card .info {
    flex: 1;
}

.testimonials-section .testimonial-card .info .name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.testimonials-section .testimonial-card .info .amount {
    font-size: 14px;
    color: #000000;
}

.testimonials-section .testimonial-card .rating {
    background-color: #15803d;
    color: #ffff00;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.testimonials-section .testimonial-card p {
    font-size: 14px;
    color: #4b5563;
    font-style: italic;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .testimonials-section {
        padding: 32px;
    }
    .testimonials-section h2 {
        font-size: 24px;
    }
    .testimonials-section .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-section .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* FAQ Section */
.faq-section {
    padding: 16px;
    background-color: #f9fafb;
}

.faq-section h2 {
    font-size: 20px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 16px;
}

.faq-section p {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 24px;
}

.faq-section .faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.faq-section .faq-toggle {
    width: 100%;
    padding: 16px;
    background-color: #f9fafb;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-section .faq-toggle:hover {
    background-color: #f3f4f6;
}

.faq-section .faq-toggle span {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.faq-section .faq-toggle svg {
    width: 20px;
    height: 20px;
    stroke: #15803d;
}

.faq-section .faq-toggle .chevron-up {
    display: none;
}

.faq-section .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.faq-section .faq-answer.active {
    max-height: 200px;
    padding: 16px;
}

.faq-section .faq-answer p {
    font-size: 14px;
    color: #4b5563;
}

@media (min-width: 640px) {
    .faq-section {
        padding: 32px;
    }
    .faq-section h2 {
        font-size: 24px;
    }
    .faq-section .faq-toggle span {
        font-size: 16px;
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 16px;
    background: linear-gradient(to right, #2563eb, #7c3aed);
    color: #ffffff;
    text-align: center;
}

.cta-section .container {
    max-width: 1024px;
}

.cta-section h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.cta-section .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-section .cta-buttons button {
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-section .cta-buttons button:first-child {
    background-color: #ffffff;
    color: #2563eb;
}

.cta-section .cta-buttons button:first-child:hover {
    background-color: #f3f4f6;
}

.cta-section .cta-buttons button:last-child {
    background: none;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.cta-section .cta-buttons button:last-child:hover {
    background-color: #ffffff;
    color: #2563eb;
}

@media (min-width: 640px) {
    .cta-section .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    .cta-section h2 {
        font-size: 30px;
    }
}

/* Sticky Bottom Bar */
#sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 12px;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
}

#sticky-bar.active {
    opacity: 1;
    pointer-events: auto;
}

#sticky-bar .content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#sticky-bar .app-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

#sticky-bar img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

#sticky-bar h3 {
    font-size: 14px;
    font-weight: bold;
    color: #1f2937;
}

#sticky-bar p {
    font-size: 12px;
    color: #4b5563;
}

#sticky-bar a.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background-color: #15803d;
    color: #ffffff;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

#sticky-bar a.download-btn:hover {
    background-color: #166534;
}

#sticky-bar a.download-btn svg {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    stroke: #ffffff;
}

/* Footer */
footer {
    background-color: #111827;
    color: #ffffff;
    padding: 48px 16px;
}

footer .container {
    max-width: 800px;
    margin: 0 auto;
}

footer .footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

footer h3 {
    font-size: 20px;
    font-weight: bold;
    color: #4ade80;
    margin-bottom: 16px;
}

footer p {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 16px;
}

footer .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

footer .social-links a {
    color: #9ca3af;
    font-size: 18px;
    padding: 8px;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer .social-links a:hover {
    color: #4ade80;
}

footer h4 {
    font-size: 18px;
    font-weight: 600;
    color: #4ade80;
    margin-bottom: 16px;
}

footer .quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

footer .quick-links ul {
    list-style: none;
}

footer .quick-links ul li {
    margin-bottom: 8px;
}

footer .quick-links ul li a {
    color: #9ca3af;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer .quick-links ul li a:hover {
    color: #4ade80;
}

footer .footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 32px;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #9ca3af;
}

footer .footer-bottom .links {
    display: flex;
    gap: 16px;
}

footer .footer-bottom .links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer .footer-bottom .links a:hover {
    color: #4ade80;
}

@media (min-width: 768px) {
    footer .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    footer .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}










/* Game List Section - Updated Styles */
.game-list-section {
    background-color: #ffffff;
}

.game-list-section h2 {
    font-size: 20px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 16px;
    text-align: center;
}

.game-list-section #gameList {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.game-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 8px;
    transition: box-shadow 0.2s ease;
}

.game-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.game-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.game-info {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 8px;
}

.game-image-container {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
}

.game-image {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
}

.game-details {
    flex: 1;
    min-width: 0;
}

.game-title {
    font-weight: bold;
    color: #1f2937;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
     line-height: 1;
}

.game-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.game-bonus {
    font-size: 10px;
     line-height: 1;
    color: #000000;
}

.game-downloads {
    font-size: 10px;
    color: #15803d;
    line-height: 1;
}

.game-actions {
    flex-shrink: 0;
    margin-left: 8px;
}

.game-actions .download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    background: linear-gradient(135deg, #6d28d9 0%, #ec4899 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.game-actions .download-btn:hover {
    opacity: 0.9;
}

.game-actions .download-btn:focus {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
}

.game-actions .download-btn:active {
    opacity: 0.8;
}

@media (min-width: 640px) {
 

    .game-list-section h2 {
        font-size: 24px;
    }

    .game-card {
        padding: 12px;
    }

    .game-title {
        font-size: 20px;
    }

    .game-meta {
        flex-direction: row;
        gap: 16px;
    }

    .game-bonus,
    .game-downloads {
     font-size: 10px;
    }
}



