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: .9rem;
    height: .9rem;
    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: 12.25rem;
    left: 15%;
    width: 70%;
    height: 1.37rem;
    background-image: url("../img/rummy-most_dow-btn.webp");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    animation: zoomInOut 2s infinite;
}

.rummy-banner-slider {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    box-sizing: border-box;
    background: #160807;
    border-top: 1px solid #D4A64A;
    border-bottom: 1px solid #D4A64A;
}

.rummy-banner-track {
    display: flex;
    width: max-content;
    gap: 12px;
    animation: rummyBannerScroll 36s linear infinite;
}

.rummy-banner-slide {
    flex: 0 0 420px;
    height: 240px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #D4A64A;
    border-radius: 12px;
    background: #21100E;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.rummy-banner-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
}

.rummy-banner-slider:hover .rummy-banner-track {
    animation-play-state: paused;
}

@keyframes rummyBannerScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 6px));
    }
}

@media (max-width: 700px) {
    .rummy-banner-slider {
        padding: 8px 0;
    }

    .rummy-banner-track {
        gap: 10px;
        animation-duration: 30s;
    }

    .rummy-banner-slide {
        flex: 0 0 85vw;
        height: 48vw;
        border-radius: 10px;
    }

    .rummy-banner-slide img {
        border-radius: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rummy-banner-track {
        animation: 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;
    }
}

.about-rummy-most {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 10px;
    background: #280805;
    color: #fff0cf;
    font-family: 'Poppins', sans-serif;
}

.about-rummy-card {
    padding: 20px 10px;
    border: 1px solid #a65a2c;
    border-radius: 25px;
    background: linear-gradient(
        135deg,
        #86190f 0%,
        #6b100c 55%,
        #4a0b08 100%
    );
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.about-rummy-card h3 {
    margin: 0 0 12px;
    color: #ffdc65;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
}

.about-rummy-card p {
    margin: 0 0 24px;
    color: #f8e5d7;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.about-rummy-card p:last-child {
    margin-bottom: 0;
}


.rummy-features {
  background: #260705;
  padding: 35px 18px;
  color: #fff;
}

.rummy-features-container {
  max-width: 1100px;
  margin: 0 auto;
}

.rummy-features-heading {
  color: #ffcf48;
  font-size: 27px;
  text-align: center;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  text-shadow:
        0 2px 2px #6B100D,
        0 0 10px rgba(255, 195, 55, 0.35);
}

.rummy-heading-line {
  width: 115px;
  margin: 14px auto 28px;
  height: 5px;
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    #b72c13,
    #ffdc48,
    #ff9c16
  );
}

.rummy-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rummy-feature-card {
  background: linear-gradient(
    145deg,
    #87180f 0%,
    #68100b 55%,
    #4a0907 100%
  );
  border: 1.5px solid #a45b2b;
  border-radius: 28px;
  padding: 24px 22px;
  min-width: 0;
  box-shadow: inset 0 0 12px rgba(255, 188, 55, 0.04);
  transition: transform 0.25s ease,
              border-color 0.25s ease;
}

.rummy-feature-card:hover {
  transform: translateY(-4px);
  border-color: #ffd65a;
}

.rummy-feature-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    #fff083 0%,
    #ffd744 50%,
    #ffb91c 100%
  );
  color: #68140b;
  border-radius: 20px;
  font-size: 30px;
  margin-bottom: 22px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

/* Feature Titles */
.rummy-feature-card h3 {
  color: #ffdc65;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 16px;
}

/* Feature Description */
.rummy-feature-card p {
  color: #fff0dc;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  margin: 0;
}


/* Mobile */
@media (max-width: 480px) {
  .rummy-features {
    padding: 25px 12px;
  }

  .rummy-features-heading {
    font-size: 27px;
    text-align: center;
  }

  .rummy-heading-line {
    width: 115px;
    margin: 14px auto 28px;
    height: 5px;
  }

  .rummy-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .rummy-feature-card {
    padding: 16px 12px;
    border-radius: 21px;
    border-width: 1.5px;
  }

  .rummy-feature-icon {
    width: 54px;
    height: 54px;
    font-size: 23px;
    border-radius: 16px;
    margin-bottom: 17px;
  }

  .rummy-feature-card h3 {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .rummy-feature-card p {
    font-size: 13px;
    line-height: 1.7;
  }
}

.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);
    }
}