/* Sponsor Page Specific Styles */

.container {
    grid-template-columns: 2.5fr auto 7.5fr;
    align-items: start;
}

.intro-box {
    background-color: #447593;
    color: #CFD9E3;
    font-size: 1.8rem;
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    line-height: 1.2;
    width: fit-content;
    margin-bottom: 1rem;
}

.intro-box a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

.intro-box a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.left-section {
    display: flex;
    flex-direction: column;
    padding-right: 1rem;
    position: sticky;
    top: 7rem;
    height: calc(100vh - 9rem);
    overflow-y: auto;
    padding-bottom: 3rem;
}

.left-section .intro-box {
    color: #17223F;
    font-size: 8rem;
    font-weight: 900;
    padding: 0;
    line-height: 1;
    background-color: transparent;
}

.divider {
    width: 1px;
    background-color: #17223F;
    height: auto;
    align-self: stretch;
    opacity: 0.6;
}

.right-section {
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
    height: auto;
    overflow: visible;
    padding-bottom: 3rem;
}

.right-section .intro-box:not(:first-child) {
    margin-top: 3rem;
}

.support-note {
    line-height: 1.8;
    color: #17223F;
    font-size: 1.1rem;
    margin-top: auto;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #17223F;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.7;
}

.social-icons svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.support-list {
    list-style: none;
    margin-top: 1rem;
}

.support-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #ccc;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

.support-list li span:nth-child(2) {
    text-align: center;
}

.support-list li span:last-child {
    text-align: right;
}

.support-list li:last-child {
    border-bottom: none;
}

/* 手机端适配 */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: 1fr !important;
        padding: 0 1.5rem;
        gap: 0.8rem;
    }

    .divider {
        display: block;
        width: 100%;
        height: 1px;
        background-color: rgba(23, 34, 63, 0.15);
        margin: 0;
    }
    
    .left-section {
        position: static;
        height: auto;
        padding: 0;
        margin-top: 1rem;
    }

    .left-section .intro-box {
        font-size: 4rem;
        margin-bottom: 0.5rem;
    }

    .right-section {
        padding: 0;
    }

    .support-note {
        margin-top: 1rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 0.3rem;
    }

    .support-list li {
        grid-template-columns: 2fr 1.2fr 1fr;
        gap: 0.3rem;
        padding: 0.6rem 0;
        font-size: 0.85rem;
    }

    .support-list li span:nth-child(2) {
        display: block;
    }
}

/* Dark Mode Styles */
body.dark-mode .intro-box {
    background-color: #447593;
    color: #e0e0e0;
}

body.dark-mode .left-section .intro-box {
    background-color: transparent;
    color: #DFDFD9;
}

body.dark-mode .divider {
    background-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .support-note {
    color: #DFDFD9;
}

body.dark-mode .social-icons a {
    color: #DFDFD9;
}

body.dark-mode .support-list li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
    color: #DFDFD9;
}
