* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial Black', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* 배경 패턴 - 좌측 흑백, 우측 빨강 포인트 */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(90deg, #000 0%, #000 50%, #1a0000 50%, #1a0000 100%);
}

.background-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px
        );
}

.background-pattern::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 15px,
            rgba(255, 0, 0, 0.05) 15px,
            rgba(255, 0, 0, 0.05) 30px
        );
}

/* 네비게이션 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 2px solid #333;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff0000;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ff0000;
}

.search-icon {
    font-size: 20px;
    cursor: pointer;
}

/* 메인 히어로 섹션 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 50px 50px;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
}

.main-title {
    font-size: 80px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0 #ff0000;
}

.subtitle {
    font-size: 18px;
    color: #999;
    margin-bottom: 30px;
}

.secondary-title {
    font-size: 100px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px #333;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 40px;
}

/* 특징 박스 - 흑백 톤 */
.feature-box {
    background: rgba(20, 20, 20, 0.95);
    padding: 30px;
    margin-bottom: 30px;
    border: 2px solid #444;
    border-left: 4px solid #ff0000;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #ccc;
}

.arrow {
    color: #ff0000;
    font-size: 12px;
}

.cta-button {
    background: #1a1a1a;
    color: #fff;
    border: 2px solid #444;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #ff0000;
    color: #fff;
    border-color: #ff0000;
}

.button-arrow {
    font-size: 12px;
}

/* 포트폴리오 프리뷰 - 우측 빨강 포인트 */
.portfolio-preview {
    position: fixed;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid #333;
    border-top: 3px solid #ff0000;
    padding: 30px;
    max-width: 350px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.portfolio-icon {
    font-size: 40px;
    color: #ff0000;
    margin-bottom: 15px;
}

.portfolio-preview h3 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 15px;
}

.portfolio-preview p {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
    line-height: 1.6;
}

.quote {
    background: #1a1a1a;
    border-left: 3px solid #ff0000;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.quote-mark {
    font-size: 48px;
    color: #444;
    position: absolute;
    top: 10px;
    left: 10px;
}

.quote-number {
    font-size: 72px;
    font-weight: 900;
    color: #ff0000;
    display: block;
    margin-bottom: 10px;
}

.quote-text {
    font-size: 14px;
    color: #ccc;
    display: block;
    line-height: 1.6;
}

.contact-btn {
    background: #1a1a1a;
    color: #fff;
    border: 2px solid #444;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.contact-btn:hover {
    background: #ff0000;
    color: #fff;
    border-color: #ff0000;
}

/* 페이지네이션 */
.pagination {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #ff0000;
    transform: scale(1.2);
}

.dot:hover {
    background: #fff;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .portfolio-preview {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 30px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-menu {
        gap: 15px;
        font-size: 12px;
    }
    
    .main-title {
        font-size: 40px;
        letter-spacing: 2px;
    }
    
    .secondary-title {
        font-size: 50px;
        letter-spacing: 2px;
    }
    
    .hero-section {
        padding: 80px 20px 30px;
    }
    
    .feature-box {
        padding: 20px;
    }
}

/* 깜냥이 마스코트 */
.mascot-container {
    position: fixed;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    animation: float 3s ease-in-out infinite;
}

.mascot-image {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(255, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.mascot-image:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 15px 40px rgba(255, 0, 0, 0.8));
}

/* 부유 애니메이션 */
@keyframes float {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(10px);
    }
}

/* 반응형 - 마스코트 위치 조정 */
@media (max-width: 1024px) {
    .mascot-container {
        left: 20px;
    }
    
    .mascot-image {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .mascot-container {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        text-align: center;
        margin: 20px auto;
        animation: none;
    }
    
    .mascot-image {
        width: 150px;
    }
}
