/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@400;500;600&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #E9EAEB;
    font-family: 'SF Pro Display', 'Inter', sans-serif;
    color: #212121;
    line-height: 1.1;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Header styles */
.header {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
}

.app-info {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    align-self: flex-start; /* Căn trái cho app-info */
}

.app-logo {
    width: 56px;
    height: 56px;
    border-radius: 12.13px;
    background-color: white;
    margin-right: 12px;
    overflow: hidden;
}

.app-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-title {
    color: #26272D;
    font-size: 19px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.37;
    letter-spacing: 0.10px;
    white-space: pre-line; /* Cho phép xuống dòng với \n */
}

.app-stats {
    max-width: 336px;
    height: 58px;
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    gap: min(36px, 5vw);
}

.app-rating,
.app-trust {
    height: 58px;
    display: flex;
    align-items: center;
}

.stats-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.stars {
    display: flex;
}

.star {
    width: 16px;
    height: 16px;
}

.rating-number,
.trust-number {
    color: #27272D;
    font-size: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.rating-text,
.trust-text,
.trusted-by {
    color: #27272D;
    font-size: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

/* Step list styles */
.step-list {
    background-color: white;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    padding: 16px 12px;
}

.step-list-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #E7E7E7;
    margin-bottom: 16px;
}

.step-list-title {
    color: #212121;
    font-size: 18px;
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 600;
    letter-spacing: 0.09px;
}

.step-item {
    padding: 12px 0;
    margin-bottom: 36px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-header {
    display: flex;
    align-items: top;
    margin-bottom: 12px;
}

.step-label {
    background-color: #E5E5DD;
    border-radius: 100px;
    width: 52px;
    height: 18.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
    line-height: 1.4;
}

.step-number {
    color: #212121;
    font-size: 12px;
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 600;
    line-height: 1;
}

.step-description {
    color: #393939;
    font-size: 14px;
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 400;
    line-height: 1.43;
    letter-spacing: 0.21px;
}

.step-image {
    width: 100%;
}

.step-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Footer styles */
.footer {
    padding: 22px 0;
}

.footer-text {
    color: #212121;
    font-size: 18px;
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 500;
    line-height: 1.33;
    letter-spacing: 0.09px;
}

.isolation-left {
    margin-right: 6px;
}

.isolation-right {
    margin-left: 6px;
}

/* Floating Mickey Mouse GIF */
.floating-gif {
    position: fixed;
    top: 0px;
    right: 20px;
    z-index: 1000;
    pointer-events: none; /* Cho phép click through gif */
}

.mickey-gif {
    width: 80px;
    height: auto;
    transition: opacity 0.3s ease;
    transform: scaleX(-1); /* Lật gif sang bên trái */
}

.mickey-gif:hover {
    opacity: 1;
    pointer-events: auto;
}