/* ==========================================
   goodticket - Subpage Styles
   ========================================== */

/* 페이지 히어로 */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 50px 0 40px;
    color: #fff;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.75); transition: color var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 10px; }
.page-hero h1 {
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.page-hero p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
}

/* 정보 배너 */
.info-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    padding: 24px;
}
.info-banner-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 10px;
    border-right: 1px solid var(--border);
}
.info-banner-item:last-child { border-right: none; }
.info-banner-item i {
    font-size: 26px;
    color: var(--primary);
    flex-shrink: 0;
}
.info-banner-item strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.info-banner-item span {
    font-size: 12px;
    color: var(--text-light);
}

/* 주의사항 박스 */
.caution-box {
    margin: 20px;
    background: #fff8f0;
    border: 1.5px solid #ffd9b3;
    border-radius: var(--radius-md);
    padding: 18px;
}
.caution-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--warning);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.caution-box ul {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.caution-box ul li {
    font-size: 12.5px;
    color: #774400;
    padding-left: 14px;
    position: relative;
    line-height: 1.5;
}
.caution-box ul li::before {
    content: '·';
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* 공지사항 페이지 */
.notice-page-list { padding: 0; }
.notice-page-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
    cursor: pointer;
}
.notice-page-item:hover { background: var(--bg-light); }
.notice-page-item:first-child { border-top: 2px solid var(--primary); }
.notice-num {
    font-size: 13px;
    color: var(--text-light);
    min-width: 40px;
    text-align: center;
}
.notice-page-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    background: rgba(91,63,212,0.1);
    color: var(--primary);
    flex-shrink: 0;
    white-space: nowrap;
}
.notice-page-badge.new { background: var(--secondary); color: #fff; }
.notice-page-title {
    flex: 1;
    font-size: 14.5px;
    color: var(--text-dark);
    font-weight: 500;
    transition: color var(--transition);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.notice-page-item:hover .notice-page-title { color: var(--primary); }
.notice-page-date { font-size: 12px; color: var(--text-light); flex-shrink: 0; }

/* 고객센터 카드 */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}
.contact-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.contact-card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}
.contact-card h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.contact-card .contact-val {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 6px;
}
.contact-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* FAQ 전체 페이지 */
.full-faq-list { max-width: 800px; margin: 0 auto; }
.full-faq-item {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.full-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    gap: 12px;
    transition: background var(--transition);
}
.full-faq-question:hover { background: var(--bg-light); }
.full-faq-question .q-mark {
    font-size: 18px;
    font-weight: 900;
    color: var(--primary);
    flex-shrink: 0;
}
.full-faq-question span { flex: 1; }
.full-faq-question i {
    font-size: 13px;
    color: var(--text-light);
    transition: transform var(--transition);
}
.full-faq-question.open {
    background: var(--primary);
    color: #fff;
}
.full-faq-question.open .q-mark { color: var(--accent); }
.full-faq-question.open i { transform: rotate(180deg); color: rgba(255,255,255,0.7); }
.full-faq-answer {
    display: none;
    padding: 20px 22px;
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.8;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}
.full-faq-answer.open { display: block; }

/* 이용방법 타임라인 */
.howto-timeline {
    max-width: 700px;
    margin: 0 auto;
}
.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}
.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 35px;
    top: 72px;
    width: 2px;
    height: calc(100% - 30px);
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    opacity: 0.3;
}
.timeline-icon-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.timeline-num {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    box-shadow: var(--shadow-md);
}
.timeline-body {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    flex: 1;
    box-shadow: var(--shadow-sm);
}
.timeline-step-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.timeline-body h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.timeline-body p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
}

/* 매입가 전체 테이블 */
.rates-full-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--border);
}
.rates-full-table thead tr {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}
.rates-full-table th {
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
}
.rates-full-table td {
    padding: 15px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
}
.rates-full-table tbody tr:last-child td { border-bottom: none; }
.rates-full-table tbody tr:hover { background: var(--bg-light); }
.rates-full-table .rate-col {
    font-size: 18px;
    font-weight: 900;
    color: var(--primary);
}
.rates-full-table .max-col {
    font-weight: 700;
    color: var(--text-mid);
}

/* 반응형 */
@media (max-width: 768px) {
    .info-banner { grid-template-columns: repeat(2, 1fr); }
    .info-banner-item { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
    .info-banner-item:nth-child(odd) { border-right: 1px solid var(--border); }
    .contact-cards { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 24px; }
    .timeline-item { flex-direction: column; gap: 12px; }
    .timeline-item::after { display: none; }
}

@media (max-width: 480px) {
    .info-banner { grid-template-columns: 1fr 1fr; padding: 16px; }
}
