html {
    font-size: 10px;
}

body {
    background-color: #fff;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.container {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    z-index: 0;
}


.container .header {
    display: flex;
    position: relative;
    align-items: center;
    height: 0.85rem;
    width: 100%;
    justify-content: space-between;
    background: #2B0808;
    padding: 8px 0;
    border-bottom: 1px solid #D99A24;
    box-sizing: content-box;
    z-index: 1000;
}

.left-header {
    display: flex;
    padding: 0 8px;
    align-items: center;
    justify-content: space-between;
}

.left-header a {
    color: #FFF3C4;
    text-decoration: none;
}

.left-header img {
    width: .8rem;
    height: .8rem;
    margin-right: 9px;
    object-fit: contain;
}

.title {
    font-size: 0.37rem;
    font-weight: 800;
    color: #FFD34D;
    text-transform: capitalize;
    text-shadow:
        0 2px 2px #6B100D,
        0 0 10px rgba(255, 195, 55, 0.35);
}

.right-header {
    display: flex;
    padding: 0 8px 0 1px;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.topbtn {
    width: 2rem;
    height: .7rem;
    margin-right: 2px;
    margin-top: 5px;
    flex-shrink: 0;
    cursor: pointer;
}

.topbtn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (min-width: 720px) {
    .topbtn {
        width: 1.5rem;
        height: .6rem;
        margin-right: 12px;
    }
}

.menu-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    background: linear-gradient(145deg, #6B100D, #2B0808);
    border: 1px solid #D99A24;
    border-radius: 8px;
    box-shadow:
        0 0 5px rgba(255, 211, 77, 0.25),
        inset 0 0 5px rgba(217, 154, 36, 0.12);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.menu-icon span {
    position: absolute;
    width: 22px;
    height: 3px;
    left: 50%;
    background: #FFD34D;
    border-radius: 3px;
    transform: translateX(-50%);
    transition: transform 0.3s ease, top 0.3s ease,
                opacity 0.2s ease, background 0.2s ease;
}

.menu-icon span:nth-child(1) {
    top: 9px;
}
.menu-icon span:nth-child(2) {
    top: 15px;
}
.menu-icon span:nth-child(3) {
    top: 21px;
}

.menu-icon.active span:nth-child(1) {
    top: 15px;
    transform: translateX(-50%) rotate(45deg);
}
.menu-icon.active span:nth-child(2) {
    opacity: 0;
}
.menu-icon.active span:nth-child(3) {
    top: 15px;
    transform: translateX(-50%) rotate(-45deg);
}

.menu-icon:hover {
    background: linear-gradient(145deg, #FFD34D, #D99A24);
    border-color: #FFF0A6;
}

.menu-icon:hover span {
    background: #6B100D;
}

.menu-icon:focus-visible {
    outline: 1px solid #FFF3C4;
    outline-offset: 3px;
}


.menu {
    display: block;
    overflow: hidden;
    position: absolute;
    top: calc(100% + 1px);
    right: 6px;
    width: 260px;
    max-width: calc(100% - 12px);
    max-height: 0;
    background: linear-gradient(180deg, #3A0908, #2B0808);
    border-left: 1px solid #D99A24;
    border-right: 1px solid #D99A24;
    border-bottom: 1px solid #D99A24;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    z-index: 1001;
    transition: max-height 0.35s ease,
                opacity 0.25s ease,
                visibility 0.35s ease,
                border-color 0.25s ease;
}

.menu.expanded {
    max-height: 300px;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    border-left: 1px solid #D99A24;
    border-right: 1px solid #D99A24;
    border-bottom: 1px solid #D99A24;
}

.menu ul {
    list-style: none;
    padding: 4px 0;
    margin: 0;
}

.menu li {
    border-bottom: 1px solid rgba(217, 154, 36, 0.28);
    font-size: 15px;
}

.menu li:last-child {
    border-bottom: none;
}

.menu a {
    display: block;
    padding: 13px 16px;
    color: #FFF3C4;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.menu a:hover {
    background: rgba(217, 154, 36, 0.16);
    color: #FFD34D;
}

.container .downBtn {
    position: absolute;
    top: 11.6rem;
    left: 15%;
    width: 70%;
    height: 1rem;
    background-image: url("../img/rummy-most_dow-btn.webp");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    animation: zoomInOut 2s infinite;
}

.rummy-banner-slider {
    position: absolute;
    top: 13.77rem;
    left: 6.4%;
    width: 88%;
    max-width: 900px;
    height: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.rummy-banner-viewport {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid #FFD52A;
    border-radius: 10px;
    box-sizing: border-box;
    touch-action: pan-y;
}

.rummy-banner-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.45s ease-in-out;
    will-change: transform;
}

.rummy-banner-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.rummy-banner-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

@media (max-width: 480px) {
    .rummy-banner-viewport {
        aspect-ratio: 4 / 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rummy-banner-track {
        transition: none;
    }
}



.related-games {
    padding: 20px 10px;
    background: #2B0808;
}

.games-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.game-card {
    min-width: 175px;
    flex: 0 0 175px;
    scroll-snap-align: start;
    padding: 14px 10px;
    text-align: center;
    border: 1px solid rgba(255, 211, 77, 0.35);
    border-radius: 20px;
    background: linear-gradient(145deg, #7B120C, #3A0808);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.game-logo {
    width: 105px;
    height: 105px;
    border-radius: 10px;
    margin: 0 auto 19px;
    overflow: hidden;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.4);
}

.game-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.game-card h3 {
    min-height: 52px;
    margin: 0 0 1px;
    color: #FFF3C4;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
}

.game-bonus {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    padding: 1px 2px;
    border-radius: 10px;
    color: #FFD34D;
    font-size: 14px;
    font-weight: 700;
    background: rgba(255, 190, 40, 0.13);
}

.game-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 10px;
    border-radius: 12px;
    color: #4A0B05;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    background: linear-gradient(180deg, #FFE994, #FFD34D, #F5A900);
    box-shadow: 0 5px 0 #A64B08;
    transition: transform 0.2s ease;
}

.game-download-btn:hover {
    transform: translateY(-2px);
}

.game-download-btn:active {
    transform: translateY(2px);
    box-shadow: 0 3px 0 #A64B08;
}

@media (max-width: 700px) {
    .games-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        overflow: visible;
        padding: 0;
    }

    .game-card {
        min-width: 0;
        padding: 14px 9px;
        border-radius: 16px;
    }

    .game-logo {
        width: 100px;
        height: 100px;
        margin: 0 auto 15px;
    }

    .game-card h3 {
        min-height: 42px;
        font-size: 15px;
        line-height: 1.7;
    }

    .game-bonus {
        min-height: 42px;
        margin-bottom: 10px;
        padding: 5px 4px;
        font-size: 11px;
        line-height: 1.3;
    }

    .game-download-btn {
        padding: 10px 5px;
        border-radius: 9px;
        font-size: 12px;
    }
}


.rummy-about {
  width: 100%;
  box-sizing: border-box;
  padding: 28px 12px;
  background: #260705;
  color: #fff;
}

.rummy-about *,
.rummy-about *::before,
.rummy-about *::after {
  box-sizing: border-box;
}

.rummy-about-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.rummy-about-card {
  padding: 22px;
  background: linear-gradient(
    135deg, #87180f, #68100b 55%, #3f0907
  );
  border: 1.5px solid #a45b2b;
  border-radius: 20px;
  box-shadow: inset 0 0 12px rgba(255, 188, 55, 0.04);
}

.rummy-about-card h3 {
  color: #ffdc65;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 3px solid #ffcf48;
}

.rummy-about-card p {
  color: #fff0dc;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}

.rummy-about-card p:last-child {
  margin-bottom: 0;
}

.rummy-about-card strong {
  color: #ffdc65;
  font-weight: 700;
}

@media (max-width: 480px) {
  .rummy-about {
    padding: 24px 10px;
  }

  .rummy-about-heading {
    font-size: 24px;
  }

  .rummy-about-card {
    padding: 16px 13px;
    border-radius: 16px;
  }

  .rummy-about-card h3 {
    font-size: 17px;
  }

  .rummy-about-card p {
    font-size: 13px;
    line-height: 1.8;
  }
}



/* Rummy Most Download & Register */
.rummy-register {
  width: 100%;
  box-sizing: border-box;
  padding: 32px 14px;
  background: #260705;
  color: #fff;
  overflow: hidden;
}

.rummy-register *,
.rummy-register *::before,
.rummy-register *::after {
  box-sizing: border-box;
}

.rummy-register-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}



/* Steps List */
.rummy-register-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

/* Step Card */
.rummy-register-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  min-width: 0;
  padding: 22px 20px;
  background: linear-gradient(
    110deg,
    #87180f 0%,
    #68100b 55%,
    #3f0907 100%
  );
  border: 1.5px solid #a45b2b;
  border-radius: 20px;
  box-shadow: inset 0 0 12px rgba(255, 188, 55, 0.04);
  transition: border-color 0.25s ease,
              transform 0.25s ease;
}

.rummy-register-card:hover {
  border-color: #ffd65a;
  transform: translateY(-2px);
}

/* Icons */
.rummy-register-icon {
  display: flex;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  color: #68140b;
  font-size: 25px;
  background: linear-gradient(
    135deg,
    #fff083,
    #ffd744 55%,
    #ffb91c
  );
  border-radius: 16px;
}

/* Step Text */
.rummy-register-content {
  flex: 1;
  min-width: 0;
}

.rummy-step-label {
  display: inline-block;
  color: #ffcf48;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.rummy-register-card h3 {
  color: #ffdc65;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 9px;
  overflow-wrap: anywhere;
}

.rummy-register-card p {
  color: #fff0dc;
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
  overflow-wrap: anywhere;
}

/* Download Button */
.rummy-register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 100%;
  margin-top: 16px;
  padding: 12px 19px;
  color: #401007;
  background: linear-gradient(
    135deg,
    #fff083,
    #ffd744,
    #ffb91c
  );
  border: 1px solid #ffe58a;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: filter 0.2s ease;
}

.rummy-register-btn:hover {
  filter: brightness(1.08);
}

/* Mobile */
@media (max-width: 480px) {
  .rummy-register {
    padding: 25px 10px;
  }

  .rummy-register-heading {
    font-size: 24px;
  }

  .rummy-register-subtitle {
    font-size: 13px;
  }

  .rummy-register-line {
    margin-bottom: 20px;
  }

  .rummy-register-steps {
    gap: 11px;
  }

  .rummy-register-card {
    gap: 12px;
    padding: 16px 12px;
    border-radius: 16px;
  }

  .rummy-register-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    font-size: 20px;
    border-radius: 13px;
  }

  .rummy-register-card h3 {
    font-size: 16px;
    margin-bottom: 7px;
  }

  .rummy-register-card p {
    font-size: 13px;
    line-height: 1.7;
  }

  .rummy-register-btn {
    padding: 10px 13px;
    font-size: 13px;
  }
}

@media (max-width: 350px) {
  .rummy-register-card {
    gap: 9px;
    padding: 13px 9px;
  }

  .rummy-register-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .rummy-register-card h3 {
    font-size: 15px;
  }

  .rummy-register-card p {
    font-size: 12px;
  }
}




/* Rummy Most Features Section */
.rummy-features {
  width: 100%;
  box-sizing: border-box;
  background: #260705;
  padding: 32px 14px;
  color: #fff;
  overflow: hidden;
}

.rummy-features *,
.rummy-features *::before,
.rummy-features *::after {
  box-sizing: border-box;
}

.rummy-features-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* Main Heading */
.rummy-features-heading {
  color: #ffcf48;
  font-size: 27px;
  text-align: center;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 3px #6b100d,
               0 0 10px rgba(255, 195, 55, 0.3);
}

.rummy-heading-line {
  width: 100px;
  height: 4px;
  margin: 15px auto 24px;
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    #b72c13,
    #ffdc48,
    #ff9c16
  );
}

/* Single-column horizontal-width layout */
.rummy-features-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
}

/* Feature Card */
.rummy-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  min-width: 0;
  padding: 22px 20px;

  background: linear-gradient(
    110deg,
    #87180f 0%,
    #68100b 55%,
    #3f0907 100%
  );

  border: 1px solid #a45b2b;
  border-radius: 20px;
  box-shadow: inset 0 0 12px rgba(255, 188, 55, 0.04);

  transition: border-color 0.25s ease,
              transform 0.25s ease;
}

.rummy-feature-card:hover {
  border-color: #ffd65a;
  transform: translateY(-2px);
}

/* Icon */
.rummy-feature-icon {
  display: flex;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    135deg,
    #fff083,
    #ffd744 55%,
    #ffb91c
  );

  color: #68140b;
  border-radius: 16px;
  font-size: 25px;
}

/* Text Content */
.rummy-feature-content {
  flex: 1;
  min-width: 0;
}

.rummy-feature-card h3 {
  color: #ffdc65;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  margin: 1px 0 9px;
  overflow-wrap: anywhere;
}

.rummy-feature-card p {
  color: #fff0dc;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  margin: 0;
  overflow-wrap: anywhere;
}

/* Mobile */
@media (max-width: 480px) {
  .rummy-features {
    padding: 25px 10px;
  }

  .rummy-features-heading {
    font-size: 24px;
  }

  .rummy-features-subtitle {
    font-size: 13px;
  }

  .rummy-heading-line {
    margin-bottom: 20px;
  }

  .rummy-features-list {
    gap: 11px;
  }

  .rummy-feature-card {
    gap: 12px;
    padding: 16px 12px;
    border-radius: 16px;
  }

  .rummy-feature-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    font-size: 20px;
    border-radius: 13px;
  }

  .rummy-feature-card h3 {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 7px;
  }

  .rummy-feature-card p {
    font-size: 13px;
    line-height: 1.7;
  }
}

/* Extra-small screens */
@media (max-width: 350px) {
  .rummy-feature-card {
    gap: 9px;
    padding: 13px 9px;
  }

  .rummy-feature-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .rummy-feature-card h3 {
    font-size: 15px;
  }

  .rummy-feature-card p {
    font-size: 12px;
  }
}


.rummy-faq-section {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 5px;
    background: #280805;
    font-family: 'Poppins', sans-serif;
    color: #fff0cf;
}

.rummy-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.rummy-faq-item {
    overflow: hidden;
    border: 1px solid #a65a2c;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        #86190f 0%,
        #6b100c 55%,
        #4a0b08 100%
    );
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.rummy-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 21px 20px;
    border: none;
    background: transparent;
    color: #ffdc65;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.rummy-faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(
        135deg,
        #fff18a,
        #ffbf28
    );
    color: #651006;
    font-size: 25px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.rummy-faq-answer {
    display: none;
    padding: 0 20px 22px;
    animation: rummyFaqFade 0.25s ease;
}

.rummy-faq-item.active .rummy-faq-answer {
    display: block;
}

.rummy-faq-item.active .rummy-faq-question {
    padding-bottom: 14px;
}

.rummy-faq-answer p {
    margin: 0;
    color: #f8e5d7;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

@keyframes rummyFaqFade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container .footer {
    position: absolute;
    background-color: #260606;
    width: 100%;
    border-top: 1px solid #D99A24;
    color: #FFF3C4;
}

.webLink {
    margin-top: 10px;
    margin-bottom: 7px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    font-size: 0.23rem;
    line-height: 10px;
}

.linkInfo {
    margin: 5px 0;
    text-decoration: none;
    color: #FFF3C4;
    font-weight: 600;
}

.footer p {
    padding: 0.2rem;
    margin: 0;
}

@keyframes zoomInOut {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.25);
    }
}