/*
Theme Name: Vin88 LDP
Description: Landing page Vin88 - App Store, chuyen tu thiet ke Figma, giu pixel-perfect.
Version: 1.0.3
Author: alex
*/

@font-face {
    font-family: 'SF Pro';
    src: local('SF Pro Text'), local('SF Pro Display'), local('.AppleSystemUIFont'),
         url('assets/sf-pro.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'SF Pro Rounded';
    src: local('SF Pro Rounded'), url('assets/sf-pro-rounded.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
  }

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

  :root {
    --blue: #3478F6;
    --link-blue: #007AFF;
    --gray-text: #8A8A8D;
    --gray-secondary: #8E8E93;
    --gray-bg: #EEEEEF;
    --black: #000;
    --white: #FFF;
    --divider: rgba(0,0,0,0.1);
    --card-shadow: 0px 6px 14px 0px rgba(99,99,99,0.25);
    --font-sf: 'SF Pro', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --font-sf-rounded: 'SF Pro Rounded', 'SF Pro', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  }

  body {
    font-family: var(--font-sf);
    background: var(--white);
    color: var(--black);
    max-width: 430px;
    margin: 0 auto;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    font-optical-sizing: none;
    border: none;
    outline: none;
  }

  .banner-section {
    position: relative;
    height: 216px;
    overflow: hidden;
  }
  .banner-section > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .status-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 0 23px;
    pointer-events: none;
  }
  .sb-time {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    font-family: var(--font-sf);
    letter-spacing: 0.3px;
  }
  .sb-right {
    height: 12px;
    width: auto;
    display: block;
  }
  .back-btn {
    position: absolute;
    top: 58px;
    left: 22px;
    width: 31px;
    height: 31px;
    background: rgba(250,252,255,0.8);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: none;
    cursor: pointer;
  }
  .back-btn img {
    width: 8px;
    height: auto;
    display: block;
  }

  .app-heading {
    display: flex;
    gap: 17.7px;
    padding: 21.6px 26px 18px 21.6px;
    align-items: flex-start;
  }
  .app-icon {
    width: 130.6px;
    height: 130.6px;
    border-radius: 28px;
    flex-shrink: 0;
    object-fit: cover;
  }
  .app-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .app-name {
    font-size: 24.26px;
    font-weight: 600;
    letter-spacing: 0.26px;
  }
  .app-slogan {
    font-size: 16.54px;
    color: var(--gray-text);
    letter-spacing: 0.75px;
  }
  .app-actions {
    display: flex;
    align-items: center;
    gap: 8.3px;
    margin-top: 42.8px;
  }
  @keyframes btn-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 120, 246, 0); }
    50% { transform: scale(1.06); box-shadow: 0 0 16px 6px rgba(52, 120, 246, 0.55); }
  }
  .btn-get {
    background: var(--blue);
    color: var(--white);
    font-size: 16.54px;
    width: 88.1px;
    height: 31.7px;
    padding: 0;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    font-weight: 400;
    letter-spacing: 0.76px;
    font-family: var(--font-sf);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation: btn-pulse 2s ease-in-out infinite;
  }
  .in-app-label {
    font-size: 9px;
    color: var(--gray-text);
    letter-spacing: 0.7px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .share-btn {
    margin-left: auto;
    padding-bottom: 1px;
    cursor: pointer;
  }
  .share-btn img {
    height: 21px;
    width: auto;
    display: block;
  }

  .stats-bar {
    display: flex;
    align-items: stretch;
    padding: 11px 18px;
    min-height: 96px;
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
  }
  .stat-item {
    flex: 0 0 117px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    padding: 0 4px;
  }
  .stat-item + .stat-item {
    border-left: 1px solid var(--divider);
  }
  .stat-item:last-child {
    border-right: 1px solid var(--divider);
  }
  .stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-text);
    letter-spacing: 0.72px;
    text-transform: uppercase;
    text-align: center;
  }
  .stat-value {
    font-size: 24px;
    font-weight: 500;
    color: var(--gray-text);
    font-family: var(--font-sf-rounded);
    letter-spacing: 1px;
    margin-top: 4px;
  }
  .stat-sub {
    font-size: 14px;
    color: var(--gray-text);
    letter-spacing: 0.7px;
    margin-top: 2px;
  }
  .stars {
    display: flex;
    gap: 1px;
    margin-top: 4px;
  }
  .stars img {
    width: 79px;
    height: auto;
    display: block;
  }
  .stat-rank {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-top: 4px;
  }
  .stat-rank .no-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-text);
    font-family: var(--font-sf-rounded);
  }
  .stat-rank .no-value {
    font-size: 24px;
    font-weight: 500;
    color: var(--gray-text);
    font-family: var(--font-sf-rounded);
  }

  .section-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 17px;
    padding: 18px 20px 10px;
  }
  .section-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.48px;
  }
  .section-arrow {
    width: 10.1px;
    height: auto;
    display: block;
    flex-shrink: 0;
  }

  .preview-section { padding-bottom: 18px; }
  .screenshots-scroll {
    display: flex;
    gap: 22px;
    padding: 0 11px;
    scroll-padding-left: 11px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
    position: relative;
    z-index: 1;
  }
  .screenshots-scroll::-webkit-scrollbar { display: none; }
  .screenshot-item {
    flex-shrink: 0;
    width: 284px;
    border-radius: 30px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }
  .screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
  }

  .description-section {
    padding: 27.3px 20px 0;
  }
  .description-text {
    font-size: 15px;
    line-height: 1.42;
    letter-spacing: -0.21px;
    color: var(--black);
    position: relative;
  }
  .see-more {
    margin-left: 10.4px;
    font-size: 15px;
    color: var(--link-blue);
    cursor: pointer;
    letter-spacing: -0.18px;
  }
  .developer-link {
    display: flex;
    align-items: center;
    padding: 32.3px 0 0;
    gap: 6px;
  }
  .developer-link span {
    font-size: 18px;
    color: var(--link-blue);
    letter-spacing: -0.36px;
  }
  .developer-link img.ic-chev-right-sm {
    width: 8.5px;
    height: auto;
    display: block;
    margin-left: auto;
  }

  .ratings-section {
    padding: 0 20px 16px;
  }
  .ratings-overview {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 14px;
  }
  .rating-big {
    font-size: 62px;
    font-weight: 700;
    letter-spacing: -1.24px;
    line-height: 1;
  }
  .rating-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
  .rating-right .rating-stars-row img {
    height: 26px;
  }
  .rating-count {
    font-size: 19px;
    font-weight: 500;
    color: var(--gray-text);
  }
  .reviews-scroll {
    display: flex;
    gap: 8px;
    margin: 17px -20px 0;
    padding: 0 20px 20px;
    scroll-padding-left: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
  }
  .reviews-scroll::-webkit-scrollbar { display: none; }
  .review-card {
    background: var(--white);
    border-radius: 19px;
    box-shadow: var(--card-shadow);
    padding: 20px 22px 15px;
    flex-shrink: 0;
    width: 395px;
    scroll-snap-align: start;
  }
  .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .review-title {
    font-size: 19px;
    font-weight: 500;
  }
  .review-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
  }
  .review-meta .review-stars img {
    height: 16px;
  }
  .review-meta-text {
    font-size: 13px;
    color: var(--gray-secondary);
    letter-spacing: -0.17px;
  }
  .review-body {
    font-size: 14px;
    color: var(--gray-secondary);
    line-height: 19px;
    letter-spacing: -0.17px;
    margin-top: 10px;
  }

  .whats-new-section {
    padding: 0 20px 16px;
  }
  .version-row {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
  }
  .version-label {
    font-size: 15px;
    color: var(--gray-secondary);
    letter-spacing: -0.21px;
  }
  .version-date {
    font-size: 15px;
    color: var(--gray-secondary);
    letter-spacing: -0.21px;
  }
  .version-notes {
    font-size: 15px;
    letter-spacing: -0.21px;
    margin-top: 6px;
    line-height: 1.42;
  }

  .privacy-section {
    padding: 0 20px 20px;
  }
  .privacy-desc {
    font-size: 15px;
    color: #999;
    line-height: 1.42;
    letter-spacing: -0.21px;
    margin-top: 8px;
    max-width: 380.5px;
  }
  .privacy-desc strong {
    font-weight: 600;
  }
  .privacy-desc a {
    color: var(--link-blue);
    text-decoration: none;
  }
  .privacy-card {
    background: var(--white);
    border-radius: 19px;
    box-shadow: 0px 6px 16px 0px rgba(99,99,99,0.25);
    padding: 20px 20px 24.1px;
    margin: 24.1px -4.1px 0 -1px;
  }
  .privacy-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 11.4px;
  }
  .privacy-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .privacy-card-icon img {
    display: block;
    object-fit: contain;
  }
  .privacy-card.pc1 { padding-top: 25.7px; }
  .privacy-card.pc1 .privacy-card-icon img { width: 39.9px; height: 39.9px; }
  .privacy-card.pc1 .privacy-card-header { gap: 6.7px; }

  .privacy-card.pc2 { padding-top: 22.2px; }
  .privacy-card.pc2 .privacy-card-icon img { width: 38px; height: 38px; }
  .privacy-card.pc2 .privacy-card-header { gap: 1.3px; }

  .privacy-card.pc3 { padding-top: 13.3px; }
  .privacy-card.pc3 .privacy-card-icon img { width: 24.7px; height: 24.7px; }
  .privacy-card.pc3 .privacy-card-header { gap: 11.5px; }
  .privacy-card-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.36px;
    text-align: center;
  }
  .privacy-card-desc {
    font-size: 15px;
    color: #999;
    line-height: 1.42;
    letter-spacing: -0.22px;
    text-align: center;
    margin-bottom: 19px;
  }
  .privacy-tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12.4px 8px;
    justify-items: start;
  }
  .privacy-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }
  .privacy-tag img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .privacy-tag img.ic-cursor {
    width: auto;
    height: 17.1px;
    object-fit: contain;
    transform: scaleX(-1);
  }
  .privacy-tag span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.22px;
    color: var(--black);
  }
  .privacy-tags.single-col {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .privacy-footer {
    font-size: 15px;
    color: #999;
    line-height: 1.42;
    letter-spacing: -0.21px;
    margin-top: 14px;
    max-width: 380.5px;
  }
  .privacy-footer a {
    color: var(--link-blue);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
  }

  .info-section {
    padding: 0 20px 16px;
  }
  .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--divider);
  }
  .info-row:last-child { border-bottom: none; }
  .info-label {
    font-size: 15px;
    color: #999;
    letter-spacing: -0.21px;
  }
  .info-value {
    font-size: 15px;
    letter-spacing: -0.21px;
    text-align: right;
  }
  .info-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .ic-row-chev {
    width: 11.4px;
    height: auto;
    display: block;
    flex-shrink: 0;
  }
  .info-link {
    color: var(--link-blue);
    font-size: 15px;
    letter-spacing: -0.21px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid var(--divider);
  }
  .info-link img.ic-info-link {
    height: 20px;
    width: auto;
    display: block;
    margin-left: auto;
  }

  .compat-section {
    display: flex;
    align-items: center;
    gap: 7.8px;
    padding: 17px 26px 17px 17.6px;
    border-bottom: 1px solid var(--divider);
  }
  .ic-devices {
    height: 28.7px;
    width: auto;
    display: block;
    flex-shrink: 0;
  }
  .ic-chev-down {
    height: 8px;
    width: auto;
    display: block;
    margin-left: auto;
    flex-shrink: 0;
  }
  .compat-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-text);
    letter-spacing: 0.66px;
  }

  .other-apps-section {
    padding: 0 20px 16px;
  }
  .app-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
  }
  .app-list-item + .app-list-item {
    border-top: 1px solid var(--divider);
  }
  .app-list-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
  }
  .app-list-info {
    flex: 1;
    min-width: 0;
  }
  .app-list-name {
    font-size: 18px;
    font-weight: 500;
    font-family: var(--font-inter);
  }
  .app-list-desc {
    font-size: 14px;
    color: var(--gray-text);
    font-family: var(--font-inter);
    margin-top: 2px;
  }
  .app-list-action {
    flex-shrink: 0;
    text-align: center;
  }
  .btn-get-small {
    background: var(--gray-bg);
    color: #2283EE;
    font-size: 19px;
    font-weight: 700;
    font-family: var(--font-inter);
    padding: 7px 20px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    display: block;
    text-decoration: none;
    text-align: center;
    animation: btn-pulse 2s ease-in-out infinite;
  }
  .in-app-small {
    font-size: 9px;
    color: var(--gray-text);
    font-family: var(--font-inter);
    margin-top: 4px;
  }

  .bottom-bar {
    position: sticky;
    bottom: 0;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(48px);
    -webkit-backdrop-filter: blur(48px);
    padding: 8px 0 0;
    z-index: 100;
  }
  .tab-bar {
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
  }
  .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    padding: 2px 6px;
  }
  .tab-icon {
    width: 24px;
    height: 24px;
    opacity: 0.72;
  }
  .tab-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .tab-icon svg {
    width: 100%;
    height: 100%;
  }
  .tab-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-text);
    opacity: 0.8;
    letter-spacing: 0.31px;
  }
  .tab-item.active .tab-label {
    color: var(--blue);
    opacity: 1;
  }
  .tab-item.active .tab-icon {
    opacity: 1;
  }
  .home-indicator {
    width: 36%;
    height: 5px;
    background: var(--black);
    border-radius: 100px;
    margin: 10px auto 8px;
  }

  .chevron-right {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--gray-text);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(-90deg);
  }
