/* ===== 页脚区域选择器 ===== */

.footer-region-selector {
padding: 20px 0 ;
margin-top: 20px;
}

.footer-region-container {
margin: 0 auto;
display: flex;
justify-content: flex-start;
}

.footer-region-button {
display: flex;
align-items: center;
gap: 12px;
cursor: pointer;
background-color: #ffffff01;
}
@media (max-width: 768px) {
    .footer-region-button {
        width: 100%;
        justify-content: flex-start !important;
    }
}

.footer-region-button:hover {
border-color: #000;
}

.footer-region-info {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 4px;
}

.footer-region-label {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: 500;
}

.footer-region-value {
font-size: 14px;
font-weight: 500;
color: #000;
font-family: "Cinzel";
}

/* ===== Modal 弹窗 ===== */

.gm-modal-wrapper {
position: fixed;
inset: 0;
z-index: 999999;
display: none;
align-items: center;
justify-content: center;
-webkit-font-smoothing: antialiased;
}

.gm-modal-wrapper.gm-active {
display: flex !important;
}

.gm-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.65);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

.gm-content {
position: relative;
background: #fff;
padding: 48px 40px 40px;
width: 90%;
max-width: 440px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 768px) {
    .gm-content {
        border-radius: 0px !important;
    }
}

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

.gm-close {
position: absolute;
top: 16px;
right: 16px;
background: #ffffff01;
border: none;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
color: #666;
}

.gm-close:hover {
background: #ffffff01;
color: #000;
}

.gm-header {
text-align: center;
margin-bottom: 32px;
}

.gm-header svg {
color: #000;
margin-bottom: 16px;
}

.gm-header h2 {
font-size: 26px;
font-weight: 600;
letter-spacing: -0.02em;
margin: 0 0 8px;
color: #000;
}

.gm-header p {
font-size: 14px;
color: #666;
margin: 0;
line-height: 1.5;
}

.gm-field {
margin-bottom: 20px;
}

.gm-field label {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
font-weight: 500;
color: #000;
margin-bottom: 8px;
}

.gm-field label svg {
color: #666;
flex-shrink: 0;
}

.gm-field select {
width: 100%;
padding: 14px 16px;
font-size: 15px;
border: 1px solid #d1d1d6;
background: #fff;
color: #000;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 16px center;
padding-right: 40px;
cursor: pointer;
transition: all 0.2s ease;
}

.gm-field select:hover {
border-color: #000;
}

.gm-field select:focus {
outline: none;
border-color: #000;
box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.gm-submit {
width: 100%;
padding: 16px;
background: #000;
color: #fff;
border: none;
font-size: 15px;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin-top: 28px;
transition: all 0.2s ease;
}

.gm-submit:hover {
background: #1d1d1f;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gm-submit:active {
transform: translateY(0);
}

.gm-submit svg {
transition: transform 0.2s ease;
flex-shrink: 0;
}

.gm-submit:hover svg {
transform: translateX(2px);
}

.gm-footer-note {
text-align: center;
font-size: 12px;
color: #86868b;
margin-top: 20px;
line-height: 1.4;
}

/* 响应式 */
@media (max-width: 600px) {
.footer-region-button {
width: 100%;
justify-content: space-between;
}

.gm-content {
padding: 36px 24px 28px;
border-radius: 20px;
max-width: 92%;
}

.gm-header h2 {
font-size: 22px;
}

.gm-header p {
font-size: 13px;
}
}
