- 다크모드 지원 추가 (모든 페이지 CSS) - 글래스모피즘 카드 스타일 통일 - 하드코딩 컬러 → CSS 변수 전환 - 접근성 개선: skip nav, aria-label, sr-only, role="dialog" - 파일 구조 정리: 이미지/로고 images/ 폴더로 이동, 미사용 파일 삭제 - 서비스 패키지 8시간 → 6시간으로 변경 - OG 이미지를 전용 mingle-OG.png로 변경 - 컨택트 다크모드 위치 박스 투명 처리 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
502 lines
10 KiB
CSS
502 lines
10 KiB
CSS
/* ========================================
|
|
메인 페이지 팝업 스타일 - 모던 글래스모피즘
|
|
======================================== */
|
|
|
|
/* 팝업 오버레이 */
|
|
.popup-overlay {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
z-index: 9998;
|
|
animation: popupFadeIn 0.3s ease;
|
|
}
|
|
|
|
.popup-overlay.active {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
@keyframes popupFadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
/* 팝업 컨테이너 */
|
|
.popup-container {
|
|
position: relative;
|
|
background: rgba(255, 255, 255, 0.95);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(255, 136, 0, 0.15);
|
|
border-radius: 24px;
|
|
box-shadow:
|
|
0 24px 80px rgba(0, 0, 0, 0.25),
|
|
0 0 0 1px rgba(255, 255, 255, 0.1) inset;
|
|
max-width: 480px;
|
|
width: 90%;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
animation: popupSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
|
|
z-index: 9999;
|
|
}
|
|
|
|
@keyframes popupSlideIn {
|
|
from {
|
|
transform: scale(0.9) translateY(30px);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: scale(1) translateY(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* 팝업 헤더 */
|
|
.popup-header {
|
|
position: relative;
|
|
padding: 2rem 1.5rem 1.5rem;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
background: linear-gradient(135deg, #ff8800 0%, #ff6600 50%, #ff9933 100%);
|
|
border-radius: 24px 24px 0 0;
|
|
}
|
|
|
|
.popup-header::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
|
|
radial-gradient(circle at 80% 20%, rgba(255, 191, 0, 0.2) 0%, transparent 50%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.popup-title {
|
|
position: relative;
|
|
font-size: 1.4rem;
|
|
font-weight: 800;
|
|
color: white;
|
|
margin: 0;
|
|
letter-spacing: -0.02em;
|
|
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.popup-subtitle {
|
|
position: relative;
|
|
font-size: 0.95rem;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
margin: 6px 0 0 0;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.popup-badge {
|
|
position: relative;
|
|
display: inline-block;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
color: white;
|
|
padding: 8px 20px;
|
|
border-radius: 50px;
|
|
font-size: 1.05rem;
|
|
font-weight: 700;
|
|
margin-top: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
/* 팝업 바디 */
|
|
.popup-body {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.popup-section {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.popup-section-title {
|
|
font-size: 0.85rem;
|
|
font-weight: 700;
|
|
color: var(--primary-color, #ff8800);
|
|
margin-bottom: 0.75rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
/* 할인 카드 */
|
|
.discount-card {
|
|
background: linear-gradient(135deg, #fffbf5 0%, #fff8f0 100%);
|
|
border-radius: 14px;
|
|
padding: 1rem 1.25rem;
|
|
margin-bottom: 0.75rem;
|
|
border: 1px solid rgba(255, 136, 0, 0.12);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.discount-card:hover {
|
|
border-color: rgba(255, 136, 0, 0.3);
|
|
box-shadow: 0 4px 16px rgba(255, 136, 0, 0.08);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.discount-card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.discount-card-title {
|
|
font-size: 0.95rem;
|
|
font-weight: 700;
|
|
color: #1a1a2e;
|
|
}
|
|
|
|
.discount-badge {
|
|
background: linear-gradient(135deg, #ff8800, #ff6600);
|
|
color: white;
|
|
padding: 3px 10px;
|
|
border-radius: 20px;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.discount-price {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 10px;
|
|
}
|
|
|
|
.original-price {
|
|
color: #aaa;
|
|
text-decoration: line-through;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.sale-price {
|
|
color: #ff6600;
|
|
font-size: 1.15rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.price-note {
|
|
font-size: 0.78rem;
|
|
color: #888;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* 공지사항 */
|
|
.popup-notice {
|
|
background: rgba(255, 136, 0, 0.06);
|
|
border-left: 3px solid var(--primary-color, #ff8800);
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 0 10px 10px 0;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.popup-notice p {
|
|
margin: 0;
|
|
font-size: 0.82rem;
|
|
color: #777;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* 이벤트 정보 */
|
|
.popup-info {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 0.75rem;
|
|
margin-top: 1rem;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.info-item {
|
|
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
|
|
border-radius: 12px;
|
|
padding: 0.85rem;
|
|
text-align: center;
|
|
border: 1px solid rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.info-label {
|
|
font-size: 0.75rem;
|
|
color: #999;
|
|
margin-bottom: 4px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.info-value {
|
|
font-size: 0.9rem;
|
|
font-weight: 700;
|
|
color: var(--primary-color, #ff8800);
|
|
}
|
|
|
|
/* CTA 버튼 */
|
|
.popup-cta {
|
|
display: block;
|
|
width: 100%;
|
|
background: linear-gradient(135deg, #ff8800 0%, #ff6600 100%);
|
|
color: white;
|
|
text-align: center;
|
|
padding: 14px;
|
|
border-radius: 14px;
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
border: none;
|
|
box-shadow: 0 4px 20px rgba(255, 136, 0, 0.3);
|
|
letter-spacing: 0.02em;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.popup-cta:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 8px 30px rgba(255, 136, 0, 0.4);
|
|
}
|
|
|
|
.popup-cta:active {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* 팝업 푸터 */
|
|
.popup-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.85rem 1.5rem;
|
|
background: rgba(248, 250, 252, 0.8);
|
|
border-top: 1px solid rgba(0, 0, 0, 0.06);
|
|
border-radius: 0 0 24px 24px;
|
|
}
|
|
|
|
.popup-checkbox {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.popup-checkbox input[type="checkbox"] {
|
|
width: 16px;
|
|
height: 16px;
|
|
cursor: pointer;
|
|
accent-color: #ff8800;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.popup-checkbox label {
|
|
font-size: 0.82rem;
|
|
color: #888;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.popup-close-btn {
|
|
background: rgba(0, 0, 0, 0.06);
|
|
color: #666;
|
|
border: none;
|
|
padding: 7px 18px;
|
|
border-radius: 10px;
|
|
font-size: 0.82rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.popup-close-btn:hover {
|
|
background: rgba(0, 0, 0, 0.1);
|
|
color: #333;
|
|
}
|
|
|
|
/* X 닫기 버튼 */
|
|
.popup-close-x {
|
|
position: absolute;
|
|
top: 14px;
|
|
right: 14px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
color: white;
|
|
font-size: 1.2rem;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
z-index: 2;
|
|
}
|
|
|
|
.popup-close-x:hover {
|
|
background: rgba(255, 255, 255, 0.35);
|
|
transform: rotate(90deg) scale(1.1);
|
|
}
|
|
|
|
/* ========================================
|
|
다크 모드
|
|
======================================== */
|
|
[data-theme="dark"] .popup-overlay {
|
|
background: rgba(0, 0, 0, 0.75);
|
|
}
|
|
|
|
[data-theme="dark"] .popup-container {
|
|
background: rgba(20, 20, 30, 0.95);
|
|
border-color: rgba(255, 136, 0, 0.2);
|
|
box-shadow:
|
|
0 24px 80px rgba(0, 0, 0, 0.5),
|
|
0 0 0 1px rgba(255, 255, 255, 0.05) inset;
|
|
}
|
|
|
|
[data-theme="dark"] .popup-header {
|
|
background: linear-gradient(135deg, #cc6e00 0%, #b35500 50%, #e68a00 100%);
|
|
}
|
|
|
|
[data-theme="dark"] .discount-card {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border-color: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
[data-theme="dark"] .discount-card:hover {
|
|
border-color: rgba(255, 136, 0, 0.3);
|
|
box-shadow: 0 4px 16px rgba(255, 136, 0, 0.1);
|
|
}
|
|
|
|
[data-theme="dark"] .discount-card-title {
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
[data-theme="dark"] .original-price {
|
|
color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
[data-theme="dark"] .sale-price {
|
|
color: #ff9933;
|
|
}
|
|
|
|
[data-theme="dark"] .price-note {
|
|
color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
[data-theme="dark"] .popup-notice {
|
|
background: rgba(255, 136, 0, 0.08);
|
|
}
|
|
|
|
[data-theme="dark"] .popup-notice p {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
[data-theme="dark"] .popup-section-title {
|
|
color: #ff9933;
|
|
}
|
|
|
|
[data-theme="dark"] .info-item {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border-color: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
[data-theme="dark"] .info-label {
|
|
color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
[data-theme="dark"] .info-value {
|
|
color: #ff9933;
|
|
}
|
|
|
|
[data-theme="dark"] .popup-cta {
|
|
background: linear-gradient(135deg, #ff8800 0%, #e67700 100%);
|
|
box-shadow: 0 4px 20px rgba(255, 136, 0, 0.25);
|
|
}
|
|
|
|
[data-theme="dark"] .popup-cta:hover {
|
|
box-shadow: 0 8px 30px rgba(255, 136, 0, 0.35);
|
|
}
|
|
|
|
[data-theme="dark"] .popup-footer {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-top-color: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
[data-theme="dark"] .popup-checkbox label {
|
|
color: rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
[data-theme="dark"] .popup-close-btn {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
[data-theme="dark"] .popup-close-btn:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
/* ========================================
|
|
모바일 반응형
|
|
======================================== */
|
|
@media (max-width: 768px) {
|
|
.popup-container {
|
|
max-width: 95%;
|
|
margin: 1rem;
|
|
}
|
|
|
|
.popup-header {
|
|
padding: 1.5rem 1.25rem 1.25rem;
|
|
}
|
|
|
|
.popup-title {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.popup-subtitle {
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.popup-badge {
|
|
font-size: 0.95rem;
|
|
padding: 6px 16px;
|
|
}
|
|
|
|
.popup-body {
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.discount-card {
|
|
padding: 0.85rem 1rem;
|
|
}
|
|
|
|
.popup-info {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.popup-footer {
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
padding: 1rem 1.25rem;
|
|
}
|
|
|
|
.popup-checkbox {
|
|
width: 100%;
|
|
}
|
|
|
|
.popup-close-btn {
|
|
width: 100%;
|
|
padding: 10px;
|
|
text-align: center;
|
|
}
|
|
}
|