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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 16px 100px 16px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 35%, #e0c3fc 65%, #8ec5fc 100%);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #2d3748;
    position: relative;
    overflow-x: hidden;
}

/* Canvas Nền Hoa Anh Đào */
#sakura-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* HIỆU ỨNG GIỌT NƯỚC RIPPLE KHI CLICK / CHẠM */
.water-ripple {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%) scale(1);
    pointer-events: none;
    z-index: 9999;
    animation: rippleAnimation 0.75s ease-out forwards;
}

@keyframes rippleAnimation {
    0% {
        width: 10px;
        height: 10px;
        opacity: 0.9;
        border-width: 3px;
    }
    50% {
        opacity: 0.6;
        border-width: 2px;
    }
    100% {
        width: 110px;
        height: 110px;
        opacity: 0;
        border-width: 1px;
    }
}

/* Master Card Container */
.master-card-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px; 
    padding: 1px;
    border-radius: 30px;
}

.master-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 29px;
    padding: 38px 28px 28px 28px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08),
                0 10px 20px rgba(255, 255, 255, 0.4) inset;
}

/* Khung Avatar Tròn Đẩy Về Dạng Rỗng + Viền Xoay Glow */
.avatar-box {
    position: relative;
    width: 115px;
    height: 115px;
    margin: 0 auto 18px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-spin-glow {
    position: absolute;
    width: 121px;
    height: 121px;
    border-radius: 50%;
    background: conic-gradient(
        #ff9a9e, 
        #a1c4fd, 
        #c2e9fb, 
        #fecfef, 
        #ff9a9e
    );
    animation: spinGlow 4s linear infinite;
}

@keyframes spinGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.avatar-empty-frame {
    position: relative;
    z-index: 2;
    width: 107px;
    height: 107px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    border: 3px solid #ffffff;
}

/* Tên Cá Nhân */
.name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 22px;
    color: #2b2d42;
}

/* Thanh Tab Navigation */
.tab-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    justify-content: center;
    gap: 6px;
    width: 92%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 8px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.tab-btn {
    flex: 1;
    padding: 12px 10px;
    border: none;
    background: transparent;
    border-radius: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tab-btn:hover {
    color: #2b2d42;
    background: rgba(255, 255, 255, 0.4);
}

.tab-btn.active {
    background: #ffffff;
    color: #2b2d42;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Home Tab */
.small-text-box {
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    font-size: 15px;
    color: #2b2d42;
    line-height: 1.6;
    font-weight: 600;
}

/* Information Tab */
.large-text-box {
    padding: 24px 22px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    color: #2b2d42;
    text-align: left;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.info-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.info-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    font-weight: 800;
}

.info-thankyou {
    text-align: center;
    font-size: 15.5px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.6;
    padding-top: 10px;
    border-top: 1px dashed rgba(43, 45, 66, 0.2);
}

/* Platforms Tab */
.links-flex {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    color: #2b2d42;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.btn-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.icon-box {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    background: #ffffff;
    color: #4a5568;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}

.btn-text {
    font-weight: 700;
    font-size: 15px;
}

.arrow-icon, .copy-badge {
    font-size: 13px;
    color: #a0aec0;
    transition: all 0.25s ease;
}

.btn-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.btn-tt:hover .icon-box { background: #000000; color: #fff; }
.btn-dc:hover .icon-box { background: #5865f2; color: #fff; }
.btn-em:hover .icon-box { background: #ea4335; color: #fff; }
.btn-gh:hover .icon-box { background: #24292e; color: #fff; }

/* Footer */
footer {
    margin-top: 22px;
    font-size: 11px;
    color: rgba(43, 45, 66, 0.6);
    font-weight: 700;
    letter-spacing: 0.8px;
}
