/* 놀고가닷컴 전용 CSS */

/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', 'Malgun Gothic', sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

/* 헤더 */
header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 로고 */
.logo {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

/* 네비게이션 */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* 햄버거 메뉴 */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* 페이지 타이틀 */
.page-title {
    text-align: center;
    padding: 3rem 0 2rem;
}

.page-title h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.page-title p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* 히어로 섹션 */
.hero {
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* CTA 버튼 */
.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #fff;
    color: #1e3c72;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* 특징 카드 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* 경기 일정 */
.match-schedule {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.match-schedule h2 {
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
}

.match-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 15px;
    border-left: 4px solid #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.match-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

/* LIVE 배지 */
.live-badge {
    background: linear-gradient(135deg, #ff6b6b, #ff3838);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 키워드 태그 */
.keywords {
    padding: 3rem 0;
    text-align: center;
}

.keywords h2 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.keyword-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.keyword-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* 푸터 */
footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
}

/* 폼 스타일 */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
    min-height: 400px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

/* 버튼 */
.submit-btn,
.cancel-btn,
.write-btn,
.back-btn,
.delete-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn,
.write-btn {
    background: #fff;
    color: #1e3c72;
}

.submit-btn:hover,
.write-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cancel-btn,
.back-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.cancel-btn:hover,
.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.delete-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff3838);
    color: white;
}

.delete-btn:hover {
    background: linear-gradient(135deg, #ff5252, #ff1f1f);
}

/* 페이지네이션 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.page-link {
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.page-link:hover,
.page-link.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(30, 60, 114, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav ul li a {
        display: block;
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
}
