/* ============================= */
/* AI 테마 전용 영역 */
/* ============================= */

/* 기본 바디 (기존 G5 스타일 유지하면서 덮어쓰기) */
body {
    font-family: 'Noto Sans KR', sans-serif;
    background: radial-gradient(ellipse at bottom, #0b1d3a 0%, #000814 70%);
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* 별 배경 레이어 */
body.ai-theme::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 100px 150px, white, transparent),
        radial-gradient(1.5px 1.5px at 200px 80px, white, transparent),
        radial-gradient(2px 2px at 300px 200px, white, transparent),
        radial-gradient(1.5px 1.5px at 400px 120px, white, transparent);
    background-repeat: repeat;
    animation: moveStars 120s linear infinite;
    opacity: 0.4;
    z-index: -1;
}

@keyframes moveStars {
    from { transform: translateY(0); }
    to { transform: translateY(-500px); }
}

/* 컨테이너 (G5 wrp 구조 대응) */
.ai-container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================= */
/* 헤더 (기존 #hd 대응) */
/* ============================= */
#hd {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ============================= */
/* 버튼 */
/* ============================= */
.btn-primary {
    background: linear-gradient(45deg, #007bff, #8a2be2);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(0,123,255,0.6);
}

.btn-main {
    background: #111;
    border: 1px solid #00bfff;
    color: #fff !important;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: 0.3s;
}

.btn-main:hover {
    background: #00bfff;
    color: #000 !important;
}

/* ============================= */
/* Hero */
/* ============================= */
.hero {
    padding: 120px 0;
    background: radial-gradient(circle at 30% 30%, rgba(0,123,255,0.3), transparent 40%),
                radial-gradient(circle at 70% 70%, rgba(138,43,226,0.3), transparent 40%);
}

/* ============================= */
/* 카드 */
/* ============================= */
.feature-card,
.ind-item {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.4s ease;
}

.feature-card:hover,
.ind-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 0 30px rgba(0,123,255,0.4);
}

/* ============================= */
/* Footer (기존 #ft 대응) */
/* ============================= */
#ft {
    background: #000814;
    color: #aaa;
    border-top: 1px solid rgba(255,255,255,0.1);
}