/* Rules Page Styles */

/**
 * @파일명 css/_rules.css
 * @제작사 ZZAN Studio
 * @설명 서비스 운용 규칙 안내 페이지 전용 스타일
 */

/* [공통] 컨테이너 설정 */
.rules-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* [1] 히어로(상단 비주얼) 섹션 */
.rules-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=1470&auto=format&fit=crop') center/cover no-repeat;
    padding: 120px 0;
    color: #fff;
    text-align: center;
}

.rules-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #333;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 15px;
}

.rules-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.rules-title strong { color: var(--primary-red); }

.rules-desc {
    font-size: 20px;
    opacity: 0.9;
    font-weight: 300;
}

/* [2] 인트로 텍스트 및 그리드 영역 */
.rules-content { padding: 100px 0; background-color: #fcfcfc; }
.rules-intro-text { text-align: center; margin-bottom: 80px; }
.rules-intro-text .rules-section-title { font-size: 24px; color: #333; margin: 0 0 10px 0; line-height: 1.4; font-weight: 700; }
.rules-intro-text .sub-text { font-size: 18px; color: #666; margin-bottom: 25px; }
.rules-intro-text .desc { font-size: 18px; color: #888; max-width: 800px; margin: 0 auto; }

/* [3] 규칙 안내 카드 그리드 스타일 */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rules-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rules-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    border-color: var(--primary-red);
}

.card-header {
    margin-bottom: 25px;
    text-align: center;
}

.card-header .icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.card-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-black);
    position: relative;
    padding-bottom: 15px;
}

.card-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--primary-red);
}

.card-body {
    text-align: center;
}

.card-body .highlight {
    font-size: 18px;
    font-weight: 600;
    color: #444;
    margin-bottom: 10px;
}

.card-body .big-text {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
}

.card-body .desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.card-body .sub-info {
    font-size: 14px;
    color: #999;
    margin-top: 15px;
}

/* [3-1] 카드 내부 정보 목록(ul/li) 스타일 */
.info-list {
    text-align: left;
    list-style: none;
    padding: 0;
}

.info-list li {
    font-size: 15px;
    color: #555;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.info-list li:last-child { border-bottom: none; }
.info-list li strong { color: #333; margin-right: 5px; }

.info-list.small li {
    font-size: 14px;
    padding: 6px 0;
}

.text-underline {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.text-underline::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--primary-red);
    opacity: 0.2;
    z-index: -1;
}

/* [4] 반응형 스타일 조절 */
@media screen and (max-width: 1024px) {
    .rules-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 768px) {
    .rules-hero { padding: 80px 0; }
    .rules-title { font-size: 30px; }
    .rules-desc { font-size: 16px; }
    .rules-intro-text .rules-section-title { font-size: 20px; }
    .rules-grid { grid-template-columns: 1fr; }
    .rules-card { padding: 35px 25px; }
}
