:root {
    --primary-color: #7b1fb1;
    --secondary-color: #5d0274;
    --text-color: #333;
    --white: #fff;
    --border-color: #f5e7f8;
    --accent-color: #d9a4f857;
    --success-color: #28a745;
    --danger-color: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(to top, var(--primary-color) 0, var(--secondary-color) 100%);
    position: sticky;
    top: 0;
}

.brand-info {
    display: flex;
    align-items: center;
}

.brand-logo {
    width: 35px;
    height: 35px;
}

.brand-name {
    margin-left: 10px;
    color: var(--white);
    font-size: clamp(1.2rem, 3vw, 1.3rem);
    font-weight: 600;
}

.hamburger {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
    display: none;
}

.hamburger:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

nav {
    background-color: #fdf6ff;
    width: 100%;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--primary-color);
    font-weight: 600;
}

nav ul li {
    padding: 10px 20px;
    transition: all .3s ease;
}

nav ul li a {
    color: inherit;
   text-decoration: none; 
}

nav ul li:hover,
nav ul li:focus-within {
    color: var(--white);
    background-color: var(--primary-color);
}

nav ul li a:hover,
nav ul li a:focus {
    text-decoration: none; /* Remove underline on hover/focus */
}


footer {
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

footer a {
    color: #e0e0e0; /* Improved contrast */
   text-decoration: none; 
}

footer a:hover,
footer a:focus {
    text-decoration: none;
    outline: 2px solid #e0e0e0; /* Focus indicator */
    outline-offset: 2px;
}

.social-links {
    display: flex;
    color: #fff;
    margin-bottom: 60px;
    list-style: none;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links a {
    color: #e0e0e0; /* Improved contrast */
   text-decoration: none; 
}

.social-links a:hover,
.social-links a:focus {
    text-decoration: none;
    outline: 2px solid #e0e0e0; /* Focus indicator */
    outline-offset: 2px;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: start;
        display: none;
        width: 100%;
    }

    nav ul.nav-active {
        display: flex;
    }

    nav ul li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #ececec;
        padding: 0;
    }

    nav ul li a {
        display: block;
        padding: 10px;
    }

    main {
        margin: 0;
        padding: 0;
    }

    .hero-section {
        border-radius: 0;
    }

    .hero-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title-div {
        margin-left: 0;
    }

    .hero-section img {
        max-width: 150px;
        max-height: 150px;
    }

    .why-rummy-list {
        flex-direction: column;
    }

    .card {
        flex: 1 1 100%;
        margin: 10px 0;
    }

    .popup-logo {
        width: 50px;
        height: 50px;
    }

    .popup-download-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .social-links li {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
        box-sizing: border-box;
    }

    .social-links a {
        font-size: clamp(1rem, 2.5vw, 1.1rem); /* Ensure readable size */
    }
}

@media (max-width: 600px) {
    .withdrawal-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .withdrawal-left img {
        max-width: 150px;
    }

    .popup-logo {
        width: 50px;
        height: 50px;
    }

    .popup-download-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
}



  body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    display: flex;
    justify-content: center
  }

  .wraper {
    width: 100%;
    max-width: 768px;
    min-height: 100vh;
    position: relative
  }

  .header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-sizing: border-box
  }

  .logo {
    font-weight: 700;
    font-size: clamp(14px, 4.5vw, 16px);
    display: flex;
    align-items: center;
    gap: 5px
  }

  .logo img {
    width: clamp(28px, 8vw, 36px);
    height: clamp(28px, 8vw, 36px);
    object-fit: contain
  }

  .nav {
    background-color: #fff;
    padding: 8px 0;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    box-sizing: border-box
  }

  .nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: clamp(13px, 3.8vw, 14px);
    touch-action: manipulation
  }

  .nav-link:hover {
    text-decoration: underline
  }

  .menu-icon {
    display: none;
    font-size: clamp(18px, 5.5vw, 22px);
    cursor: pointer;
    color: #fff;
    background: none;
    border: none;
    padding: 8px;
    touch-action: manipulation
  }

  .hero-section {
    padding: clamp(16px, 4vw, 32px) 12px;
    background-color: #f8f8f8;
    width: 100%;
    box-sizing: border-box;
    text-align: center
  }

  .hero-logo {
    width: clamp(100px, 35vw, 200px);
    height: clamp(100px, 35vw, 200px);
    object-fit: contain;
    margin: 0 auto clamp(12px, 3vw, 16px)
  }

  .hero-heading {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
    color: #333;
    margin: 0 0 clamp(8px, 2vw, 12px);
    font-weight: 700;
    text-align: left
  }

  .hero-description {
    font-size: 1.2rem;
    color: #272727;
    max-width: 100%;
    margin: 0 0 clamp(8px, 2vw, 12px);
    padding: 0 8px;
    text-align: left
  }

  .download-btn-div {
    width: calc(100% - 40px);
  
    color: #fff;
    padding: 6px;
    border-radius: 60px;
    text-decoration: none;
    margin: 20px 10px;
    text-align: center
  }

  .download-button {
    width: 100%;
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
  }

  .download-button i {
    font-size: clamp(0.9rem, 2.8vw, 1.1rem)
  }

  .info-section,
  .features-section,
  .unique-features-section,
  .rewards-section,
  .game-modes-section,
  .faq-section {
    padding: clamp(16px, 4vw, 32px) 12px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fff
  }

  .info-heading,
  .features-heading,
  .unique-features-heading,
  .rewards-heading,
  .game-modes-heading,
  .faq-heading {
    font-size: 1.5rem;
    color: #252525;
    margin: 0 0 clamp(8px, 2vw, 12px);
    font-weight: 700
  }

  .section-description {
    font-size: 1.1rem;
    color: #272727;
    max-width: 100%;
    margin: 0 0 clamp(8px, 2vw, 12px);
    padding: 0 8px
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 8px
  }

  .feature-card {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s, box-shadow .2s
  }

  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px #0000001a
  }

  .feature-card i {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
    color: var(--primary-color);
    margin: 0 0 clamp(6px, 1.5vw, 8px)
  }

  .feature-card h3 {
    font-size: clamp(0.9rem, 2.8vw, 1.1rem);
    color: #333;
    margin: 0 0 clamp(6px, 1.5vw, 8px)
  }

  .feature-card p {
    font-size: clamp(0.75rem, 2.3vw, 0.9rem);
    color: #666;
    margin: 0
  }

  .game-modes-list {
    list-style-position: outside;
    padding-left: 20px;
    margin: 0
  }

  .game-modes-list li {
    margin-bottom: 10px
  }

  .game-modes-list li strong {
    display: block;
    font-size: 1.1rem
  }

  .game-modes-list li span {
    font-size: 1rem;
    color: #272727
  }

  .faq-list {
    text-align: left;
    max-width: 100%;
    margin: 0;
    padding: 0 8px;
    list-style: none
  }

  .faq-item {
    margin: 0 0 clamp(6px, 1.5vw, 8px);
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden
  }

  .faq-question {
    background-color: #f8f8f8;
    padding: clamp(8px, 2.5vw, 12px);
    font-size: clamp(0.9rem, 2.8vw, 1.1rem);
    color: #333;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .3s;
    touch-action: manipulation
  }

  .faq-question:hover {
    background-color: #e0e0e0
  }

  .faq-question i {
    font-size: clamp(0.7rem, 2.2vw, 0.9rem);
    color: var(--primary-color)
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 clamp(8px, 2.5vw, 12px);
    font-size: clamp(0.75rem, 2.3vw, 0.9rem);
    color: #666;
    transition: max-height .3s ease-out, padding .3s ease-out
  }

  .faq-answer.active {
    max-height: 250px;
    padding: clamp(8px, 2.5vw, 12px)
  }

  footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: clamp(12px, 3vw, 16px);
    text-align: center;
    box-sizing: border-box;
    font-size: clamp(0.75rem, 2.3vw, 0.9rem)
  }

  footer a {
    color: #fff;
    text-decoration: none
  }

  footer a:hover {
    text-decoration: underline
  }

  .sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    color: var(--primary-color);
    padding: 10px 12px;
    display: none;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -2px 5px #0003;
    z-index: 1000;
    box-sizing: border-box;
    transition: opacity .3s ease-in-out
  }

  .sticky-bottom-bar.show {
    display: flex;
    opacity: 1
  }

  .sticky-bottom-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1
  }

  .sticky-bottom-logo {
    width: 80px;
    height: 80px;
    object-fit: contain
  }

  .sticky-bottom-text {
    display: flex;
    flex-direction: column
  }

  .sticky-bottom-text h3 {
    font-size: clamp(0.9rem, 2.8vw, 1.1rem);
    margin: 0;
    font-weight: 700
  }

  .sticky-bottom-text p {
    font-size: clamp(0.75rem, 2.3vw, 0.9rem);
    margin: 0;
    color: #000
  }

  .sticky-bottom-button {
    
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    font-weight: 600;
    transition: background-color .2s;
    display: flex;
    align-items: center;
    gap: 6px
  }

  .sticky-bottom-button i {
    font-size: clamp(0.7rem, 2.2vw, 0.9rem)
  }

  .sticky-bottom-button:hover {
    background-color: #f0f0f0
  }

  @media (max-width: 768px) {
    .menu-icon {
      display: block
    }

    .nav {
      display: none;
      flex-direction: column;
      border-top: 2px solid var(--primary-color);
      padding: 0;
      position: absolute;
      top: clamp(48px, 14vw, 56px);
      left: 0;
      width: 100%;
      background-color: #fff;
      z-index: 999
    }

    .nav.show {
      display: flex
    }

    .nav .nav-link {
      padding: clamp(8px, 2.5vw, 10px) 16px;
      border-bottom: 1px solid #ccc;
      gap: 6px;
      font-size: clamp(12px, 3.5vw, 13px)
    }

    .nav .nav-link:hover {
      background-color: #f0f0f0;
      text-decoration: none
    }

    .download-button i {
      font-size: clamp(0.8rem, 2.5vw, 1rem)
    }

    .sticky-bottom-bar {
      padding: 8px 10px
    }

    .sticky-bottom-logo {
      width: 60px;
      height: 60px
    }

    .sticky-bottom-text h3 {
      font-size: clamp(0.8rem, 2.5vw, 1rem)
    }

    .sticky-bottom-text p {
      font-size: clamp(0.65rem, 2vw, 0.8rem)
    }

    .sticky-bottom-button {
      padding: 6px 12px;
      font-size: clamp(0.7rem, 2.2vw, 0.9rem)
    }

    .sticky-bottom-button i {
      font-size: clamp(0.6rem, 2vw, 0.8rem)
    }
  }

  .social-sidebar {
    border-top: 1px solid #fff;
    padding: 10px;
    color: #fff;
    text-align: center;
  }

 

  p a {
    text-decoration: none;
    color: #ffffff !important;
  }
