/* ==========================================================================
   DINH DANG CSS CHO TRANG LIEN HE (LIENHE.CSS)
   ========================================================================== */

/* Cho phep cuon trang tu nhien tren moi man hinh */
body, html {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100vh;
}

/* Thanh cuon dep phong cach kinh mo */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(3, 0, 20, 0.9);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 0, 127, 0.35);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 0, 127, 0.65);
}

.page-container {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 110px 20px 60px;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

.contact-card-main {
    background: rgba(10, 15, 30, 0.82);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    width: 100%;
    max-width: 680px;
    padding: 38px 36px;
    margin: auto 0;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 242, 254, 0.2);
    animation: fadeInContact 1s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeInContact {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.contact-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
}

/* Cot cac kenh lien he */
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 22px;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.channel-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #00f2fe;
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.25);
}

.channel-icon {
    font-size: 2rem;
    width: 48px;
    display: flex;
    justify-content: center;
}

.channel-info {
    flex: 1;
}

.channel-info h4 {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 3px;
    font-weight: 700;
}

.channel-info p {
    font-size: 0.88rem;
    color: #94a3b8;
}

.channel-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: #00f2fe;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.channel-card:hover .channel-action {
    background: linear-gradient(135deg, #00f2fe, #38bdf8);
    color: #030014;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

/* Cot Form gui tin nhan ben phai */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 22px;
    border-radius: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 14px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #00f2fe;
    background: rgba(0, 242, 254, 0.06);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.form-group textarea {
    resize: none;
}

.btn-send {
    background: linear-gradient(135deg, #00f2fe 0%, #a855f7 100%);
    border: none;
    color: #030014;
    padding: 12px 20px;
    border-radius: 25px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.35);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-send:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.6);
}

.btn-send:active {
    transform: scale(0.97);
}

.form-status {
    font-size: 0.84rem;
    text-align: center;
    min-height: 18px;
    font-weight: 600;
}

.form-status.success {
    color: #00ff88;
}

/* Hang nut hanh dong chuyen trang */
.action-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, #00f2fe, #38bdf8);
    color: #030014;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.7);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #00f2fe;
    transform: translateY(-2px);
}

/* Tuong thich di dong chong tran tuyet doi */
@media (max-width: 640px) {
    .page-container {
        padding: 85px 12px 40px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    .contact-card-main {
        padding: 24px 16px;
        border-radius: 22px;
        max-width: 100%;
    }
    .hero-name {
        font-size: 1.6rem;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-form {
        padding: 16px 14px;
    }
}
