* {
    box-sizing: border-box;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* APP */
.app {
    max-width: 420px;
    margin: 0 auto;
    padding: 16px;
    background: #f8f9fa;
    min-height: 100vh;
}

/* HEADER */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.back-icon {
    font-size: 20px;
    color: #0d1b2a;
    text-decoration: none;
}

.top-header h5 {
    margin: 0;
    font-weight: 600;
    color: #0d1b2a;
}

/* CONTENT */
.page-content {
    padding-bottom: 120px;
}

/* CARD */
.valve-card {
    position: relative;
    background:
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 45%),
        linear-gradient(135deg, #0b132b, #1c2541);
    color: white;
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 26px;
    overflow: hidden;
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.45),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

/* WATERMARK */
.card-watermark {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 140px;
    opacity: 0.06;
    pointer-events: none;
}

/* LOGO */
.valve-logo {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* BANK */
.bank-name {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 26px;
}

/* CHIP */
.chip-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.chip {
    position: relative;
    width: 54px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f7d774, #c9a441);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.7),
        inset 0 -2px 4px rgba(0, 0, 0, 0.45);
}

.chip span {
    position: absolute;
    background: rgba(0, 0, 0, 0.25);
}

.chip span:nth-child(1) {
    top: 50%;
    left: 4px;
    right: 4px;
    height: 2px;
}

.chip span:nth-child(2) {
    left: 50%;
    top: 4px;
    bottom: 4px;
    width: 2px;
}

.chip span:nth-child(3) {
    width: 18px;
    height: 14px;
    top: 8px;
    left: 8px;
    border-radius: 2px;
}

.chip span:nth-child(4) {
    width: 18px;
    height: 14px;
    bottom: 8px;
    right: 8px;
    border-radius: 2px;
}

/* CONTACTLESS */
.contactless {
    font-size: 22px;
    opacity: 0.75;
    transform: rotate(90deg);
}

/* NUMBER */
.card-number {
    font-size: 18px;
    letter-spacing: 2.4px;
    margin-bottom: 20px;
}

/* FOOTER */
.card-footer {
    display: flex;
    justify-content: space-between;
}

.card-footer small {
    font-size: 11px;
    opacity: 0.75;
}

.card-footer strong {
    font-size: 13px;
    font-weight: 600;
}

/* INFO */
.info-card {
    background: #ffffff;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.info-card h6 {
    font-weight: 600;
    margin-bottom: 8px;
    color: #0d1b2a;
}

.info-card p {
    font-size: 14px;
    color: #6c757d;
}

/* FEATURES */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 10px;
    color: #495057;
}

.feature-list i {
    color: #0d1b2a;
}

/* BUTTON */
.primary-btn {
    width: 100%;
    background: #0d1b2a;
    color: white;
    border: none;
    border-radius: 16px;
    padding: 14px;
    font-weight: 600;
    margin-top: 20px;
}

.primary-btn:active {
    transform: scale(0.97);
}

/* BOTTOM NAV */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: white;
    display: flex;
    justify-content: center;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
}

.bottom-nav>div {
    max-width: 420px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 14px 0;
}

.bottom-nav i {
    font-size: 22px;
    color: #adb5bd;
}

.bottom-nav i.active {
    color: #0d1b2a;
}

/* BACK CARD */
.back-card {
    background:
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.06), transparent 45%),
        linear-gradient(135deg, #0b132b, #1c2541);
    color: #fff;
}

/* MAGNETIC STRIP */
.magnetic-strip {
    height: 50px;
    background: #000;
    margin-top: 10px;
    border-radius: 6px;
}

/* SIGNATURE + CVV */
.back-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
}

.signature-box {
    width: 70%;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.signature-box span {
    font-size: 10px;
    opacity: 0.75;
}

.signature-box div {
    height: 18px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}

.cvv-box {
    width: 26%;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.cvv-box span {
    font-size: 10px;
    opacity: 0.75;
}

.cvv-box strong {
    font-size: 14px;
    letter-spacing: 3px;
}

/* BACK INFO */
.back-info {
    font-size: 12px;
    margin-top: 18px;
    opacity: 0.8;
    line-height: 1.4;
}

/* BACK BANK NAME */
.back-bank {
    margin-top: 22px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
}