@charset 'UTF-8';

*button:focus {
    box-shadow: none !important;
}

img {
    max-width: 100%;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounceRotate {

    0%,
    100% {
        transform: rotate(25deg) scale(1);
    }

    50% {
        transform: rotate(35deg) scale(1.1);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.footer {
    background: #1a243f;
    background-image: url(../img/sing-name.jpg);
    background-position: center;
    background-size: cover;
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #c3ad6e;
    background-size: 200% 100%;
    animation: shimmer 4s linear infinite;
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.footer-decoration {
    position: absolute;
    pointer-events: none;
}

.footer-decoration-1 {
    bottom: 20%;
    left: 5%;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(139, 92, 246, 0.15);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.footer-decoration-2 {
    top: 30%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: rgba(255, 51, 102, 0.12);
    border-radius: 12px;
    transform: rotate(25deg);
    animation: bounceRotate 6s ease-in-out infinite;
}

.footer-decoration-3 {
    bottom: 40%;
    right: 25%;
    width: 20px;
    height: 20px;
    background: rgba(0, 102, 255, 0.2);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}


.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #676664;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
        gap: 2.5rem;
    }
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: auto;
        gap: 2rem;
        text-align: center;
    }

    .footer-links-group,
    .footer-links {
        display: none;

    }
}



.footer-desc {
    font-size: 16px;
    line-height: 1.85;
    color: rgb(255 255 255);
    margin-bottom: 1.25rem;
    margin-top: 0;
}

@media (max-width: 991px) {
    .footer-brand {
        max-width: 100%;
    }

    .footer-logo img {
        width: 90%;
        max-width: 260px;
    }

}

.footer-links-group h4,
.footer-contact-group h4 {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #c3ad6e;
    display: inline-block;
    width: 100%;
}

@media (max-width: 991px) {

    .footer-links-group h4,
    .footer-contact-group h4 {
        width: auto;
        display: none;
    }
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.footer-links a {
    font-size: 16px;
    color: rgb(255 255 255);
    transition: all 0.2s;
    display: inline-block;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.footer-contact-list a {
    text-decoration: none;
}

@media (max-width: 991px) {
    .footer-contact-list {
        align-items: center;
    }
}

.footer-contact-list li {
    font-size: 16px;
    color: rgb(255 255 255);
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.footer-contact-list li a {
    color: #fff;
}

.footer-contact-list i {
    color: #c3ad6e;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    position: relative;
    z-index: 1;
    color: #fff;
    margin-top: 12px;
}

.footer-info {
    font-size: 14px;
    text-align: center;
    line-height: 185%;
    color: #fff;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 1);
    transition: color 0.2s;
    text-decoration: none;
}


@media (max-width: 767px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

.footer-social-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.social-card {
    display: flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    min-height: 58px;
}

.social-card:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* LINE */
.social-card--line {
    background: #06C755;
    justify-content: space-between;
    padding: 6px 8px 6px 9px;
    gap: 8px;
    max-width: 270px;
}

.sc-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sc-brand {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.sc-at {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0;
}

.sc-action {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.sc-brand-icon {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.85);
    margin-left: 2px;
}

.sc-id {
    display: inline-block;
    background: #fff;
    color: #000000;
    font-size: 24px;
    font-weight: bold;
    border-radius: 4px;
    padding: 2px 8px;
    letter-spacing: 0px;
    font-family: Arial, Helvetica, sans-serif;
}

.sc-qr {
    width: 75px;
    height: 75px;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-card--fb {
    background: #1877F2;
    padding: 8px 6px;
    gap: 10px;
    max-width: 270px;
}

.sc-fb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sc-fb-icon i {
    font-size: 40px;
    color: #fff;
}

.sc-fb-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sc-fb-tags {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.sc-fb-search {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border-radius: 4px;
    padding: 3px 8px;
}

.sc-fb-search i {
    font-size: 19px;
    color: #1877F2;
}

.sc-fb-search span {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .footer-contact-list li {
        font-size: 25px;
        gap: 17px;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        align-items: center;
    }

    .footer-contact-list li i{
        font-size: 18px;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
    }

    .footer-contact-group {
        order: 1;
    }

    .footer-brand {
        order: 2;
    }

    .footer-links-group:nth-of-type(1) {
        order: 3;
    }

    .footer-links-group:nth-of-type(2) {
        order: 4;
    }

    .footer-social-cards {
        flex-direction: row;
        justify-content: center;
    }

}

@media (max-width: 767px) {
     .footer-social-cards {
        flex-direction: column;
        align-items: center;
    }
}