/* /srv/django_app/static/css/index.css */

/* 기본 설정 */
html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; 
    color: white; 
}

/* 텍스트 및 버튼 섹션 - [PATCH] 반투명 배경 및 폰트 강조 */
.landing-section {
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    text-align: center;
    z-index: 10;
    padding: 30px 40px; /* 패딩 증가 */
    background: rgba(0, 0, 0, 0.4); /* 텍스트 가독성을 위한 반투명 배경 */
    border-radius: 15px;
    backdrop-filter: blur(2px); /* 약간의 블러 효과 추가 (최신 브라우저 지원) */
}

/* 텍스트 스타일 */
.landing-title {
    font-size: 2.5rem; /* 크기 키움 */
    font-weight: 800; /* 강조 */
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9); 
}

.landing-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
}

/* 버튼 스타일 */
.btn-area {
    margin-top: 30px; /* 간격 벌리기 */
}

.btn-cat, .btn-cat-guest {
    display: inline-block;
    padding: 12px 30px;
    margin: 0 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700; /* 강조 */
    transition: all 0.3s ease;
    min-width: 150px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); /* 그림자 강조 */
    text-transform: uppercase;
}

/* ENTER ROOM 버튼 (메인 액션) */
.btn-cat {
    background-color: #ff9800;
    color: #000; /* [PATCH] 검정색 글씨로 대비 강조 */
    border: 2px solid #ff9800;
}
.btn-cat:hover {
    background-color: #e68900;
    border-color: #e68900;
}

/* GUEST 버튼 (보조 액션) */
.btn-cat-guest {
    background-color: rgba(255, 255, 255, 0.1); /* 투명 배경 강조 */
    color: #fff;
    border: 2px solid #fff;
}
.btn-cat-guest:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* .landing-background 스타일은 index.html 인라인 <style> 태그에 작성되어 있습니다. */
/* 모바일 최적화 */
@media (max-width: 768px) {
    .landing-title {
        font-size: 1.8rem;
    }
    .landing-subtitle {
        font-size: 1rem;
    }
    .btn-cat, .btn-cat-guest {
        display: block;
        margin: 10px auto;
        width: 100%;
    }
    .landing-section {
        width: 80%; /* 모바일에서 섹션 폭 조정 */
    }
}
/* /srv/django_app/static/css/index.css */

/* ... (Omitted standard top styles) ... */

/* 텍스트 및 버튼 섹션 - [PATCH] 배경 농도 및 패딩 강화 */
.landing-section {
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    text-align: center;
    z-index: 10;
    padding: 30px 40px; 
    /* [PATCH] 배경 농도 강화 (0.4 -> 0.6) */
    background: rgba(0, 0, 0, 0.6); 
    border-radius: 15px;
    backdrop-filter: blur(2px);
}

/* 텍스트 스타일 */
.landing-title {
    font-size: 2.5rem; 
    font-weight: 800; 
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9); 
}

.landing-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
}

/* 버튼 스타일 */
.btn-area {
    margin-top: 30px; 
}

.btn-cat, .btn-cat-guest {
    display: block; /* 모바일에서 전체 너비 사용 */
    padding: 12px 30px;
    margin: 15px auto; /* [PATCH] 버튼 간격 넓힘 */
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 100%; /* 100% 너비 */
    max-width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* ENTER ROOM 버튼 (메인 액션) */
.btn-cat {
    background-color: #ff9800; 
    color: #fff; /* [PATCH] 흰색 글씨로 대비 극대화 */
    border: 2px solid #ff9800;
}
.btn-cat:hover {
    background-color: #e68900;
    border-color: #e68900;
}

/* GUEST 버튼 (보조 액션) */
.btn-cat-guest {
    background-color: rgba(255, 255, 255, 0.15); /* 배경 불투명도 증가 */
    color: #fff;
    border: 2px solid #fff;
}
.btn-cat-guest:hover {
    background-color: rgba(255, 255, 255, 0.3);
}


/* 모바일 최적화 */
@media (max-width: 768px) {
    .landing-title {
        font-size: 1.6rem;
    }
    .landing-subtitle {
        font-size: 0.9rem;
    }
    .landing-section {
        width: 85%; 
        padding: 25px 30px;
    }
}