/* 바카라사이트 페이지 전용 스타일 */

/* 통일된 패딩 및 레이아웃 스타일 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.main-content {
    padding-top: 0;
}

/* 바카라사이트 페이지별 패딩 통일 */
.guide-content {
    padding: 0 20px;
}

.section .container {
    padding: 0 30px;
}

/* 반응형 패딩 */
@media (max-width: 1200px) {
    .container {
        padding: 0 25px;
    }
    
    .section .container {
        padding: 0 25px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }
    
    .section .container {
        padding: 0 20px;
    }
    
    .section {
        padding: 50px 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .section .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .guide-content {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .section .container {
        padding: 0 10px;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .guide-content {
        padding: 0 10px;
    }
}

/* 가이드 스타일 - 어두운 테마 */
.guide-introduction {
    margin: 40px 0;
    background: #1a1a2e;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #f59e0b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #e2e8f0;
}

.guide-title {
    font-size: 1.8rem;
    color: #f59e0b;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.guide-content p {
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 1.05rem;
    color: #e2e8f0;
}

.guide-box {
    background: #2a2a4a;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
    border: 1px solid #3a3a6a;
}

.guide-box-title {
    font-size: 1.3rem;
    color: #f59e0b;
    margin-bottom: 18px;
    font-weight: 600;
}

.guide-list {
    list-style-type: none;
    padding-left: 0;
}

.guide-list li {
    margin-bottom: 15px;
    padding-left: 28px;
    position: relative;
    color: #e2e8f0;
}

.guide-list-icon {
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

.guide-footer {
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-top: 30px;
    color: #f59e0b;
    padding: 15px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
}

.brand-color {
    color: #f59e0b;
    font-weight: 600;
}

/* 가이드 챕터 스타일 */
.guide-chapter {
    margin: 40px 0;
    padding: 20px;
    border-radius: 10px;
    background: #161630;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.guide-chapter-title {
    font-size: 1.7rem;
    color: #f59e0b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3a3a6a;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* 가이드 섹션 스타일 */
.guide-section {
    margin: 30px 0;
    padding: 20px;
    background: #1f1f40;
    border-radius: 8px;
    border-left: 3px solid #f59e0b;
}

.guide-section-title {
    font-size: 1.4rem;
    color: #f59e0b;
    margin-bottom: 15px;
}

/* 용어 스타일 */
.guide-terms {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

.guide-term {
    background: #2a2a4a;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #3a3a6a;
}

.guide-term-title {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.guide-term-desc {
    color: #e2e8f0;
    line-height: 1.6;
}

/* 알림 스타일 */
.guide-alert {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid #f59e0b;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    color: #f8fafc;
}

.guide-alert p {
    margin: 0;
}

/* 게임 타입 스타일 */
.guide-game-types {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

.guide-game-type {
    background: #2a2a4a;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #3a3a6a;
}

.guide-game-title {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* 테이블 스타일 */
.guide-table {
    margin: 30px 0;
    overflow: hidden;
    border-radius: 8px;
    background: #2a2a4a;
    border: 1px solid #3a3a6a;
}

.guide-table-title {
    background: #3a3a6a;
    padding: 15px;
    color: #f59e0b;
    font-size: 1.2rem;
    margin: 0;
    text-align: center;
}

.guide-table-content {
    padding: 15px;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    color: #e2e8f0;
}

.comparison-table th, 
.comparison-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #3a3a6a;
}

.comparison-table th {
    background: #1f1f40;
    color: #f59e0b;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* FAQ 스타일 개선 */
.guide-faq {
    margin: 30px 0;
}

.guide-faq-item {
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #2a2a4a, #1f1f40);
    border: 1px solid #3a3a6a;
}

.guide-faq-question {
    background: linear-gradient(135deg, #3a3a6a, #2a2a4a);
    padding: 20px 25px;
    cursor: pointer;
    position: relative;
    border-left: 4px solid #f59e0b;
    transition: all 0.3s ease;
}

.guide-faq-question:hover {
    background: linear-gradient(135deg, #4a4a7a, #3a3a5a);
}

.guide-faq-q-title {
    color: #e2e8f0;
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
}

.guide-faq-answer {
    background: #1f1f40;
    padding: 25px;
    border-left: 4px solid #5b5bc0;
    position: relative;
}

.guide-faq-answer .guide-content {
    color: #e2e8f0;
    line-height: 1.7;
    margin-bottom: 15px;
}

.guide-faq-answer .guide-content:last-child {
    margin-bottom: 0;
}

/* 체크리스트 스타일 개선 */
.guide-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.guide-check-item {
    background: rgba(58, 58, 106, 0.5);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    border-left: 3px solid #5b5bc0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.guide-check-item:hover {
    background: rgba(58, 58, 106, 0.7);
    transform: translateX(5px);
}

.guide-check-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.guide-check-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid #5b5bc0;
    border-radius: 4px;
    margin-right: 15px;
    flex-shrink: 0;
    background: rgba(91, 91, 192, 0.1);
    color: #f59e0b;
    font-weight: bold;
    position: relative;
    top: 2px;
}

.guide-check-text {
    line-height: 1.5;
    color: #e2e8f0;
}

.guide-check-text strong {
    color: #f59e0b;
}

.guide-real-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #5b5bc0;
    border-radius: 4px;
    background-color: rgba(58, 58, 106, 0.3);
    position: relative;
    outline: none;
    flex-shrink: 0;
}

.guide-real-checkbox:checked {
    background-color: #5b5bc0;
}

.guide-real-checkbox:checked::before {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 16px;
    font-weight: bold;
    top: -2px;
    left: 3px;
}

/* 체크박스 레이블 스타일 수정 */
.guide-check-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.guide-check-label:hover {
    background-color: rgba(91, 91, 192, 0.1);
}

.guide-result {
    background: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.guide-result-title {
    color: #f59e0b;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* 가이드 이미지 컨테이너 스타일 */
.guide-image-container {
    margin: 30px 0;
    text-align: center;
    background: rgba(42, 42, 74, 0.5);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3a3a6a;
    overflow: hidden;
}

.guide-image {
    max-width: 100%;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    margin-bottom: 15px;
}

.guide-image:hover {
    transform: scale(1.02);
}

.guide-image-caption {
    color: #f59e0b;
    font-style: italic;
    margin-top: 10px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.guide-image-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 400px;
    background-color: rgba(58, 58, 106, 0.5);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 15px;
    border: 1px dashed #5b5bc0;
    position: relative;
}

.guide-image-placeholder i {
    font-size: 40px;
    color: #f59e0b;
    margin-bottom: 15px;
}

.guide-image-placeholder span {
    color: #e2e8f0;
    font-style: italic;
}

.guide-image-placeholder::after {
    content: "이미지 크기: 900×400px";
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
}

/* 추가 스타일 - 신규 바카라사이트 페이지용 */
.guide-content {
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 1.05rem;
    color: #e2e8f0;
}

.guide-content p {
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 1.05rem;
    color: #e2e8f0;
}

.guide-content strong {
    color: #f59e0b;
    font-weight: 600;
}

.guide-content a {
    color: #f59e0b;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.guide-content a:hover {
    color: #fbbf24;
    text-decoration: none;
}

/* 그리드 레이아웃 개선 */
.guide-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .guide-grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 마무리 섹션 특별 스타일 */
.guide-graduation-section {
    margin-top: 50px;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid #4b5563;
}

.guide-graduation-title {
    color: #f59e0b;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.guide-graduation-subtitle {
    color: #e5e7eb;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.guide-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.guide-skill-card {
    background: rgba(245, 158, 11, 0.1);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    transition: transform 0.3s ease;
}

.guide-skill-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.2);
}

.guide-skill-icon {
    color: #f59e0b;
    font-size: 2rem;
    margin-bottom: 10px;
}

.guide-skill-title {
    color: #f59e0b;
    font-weight: bold;
    margin-bottom: 5px;
}

.guide-skill-desc {
    color: #d1d5db;
    font-size: 0.9rem;
}

.guide-final-message {
    color: #f59e0b;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 30px;
}

/* 강조 텍스트 스타일 */
.guide-highlight {
    background: rgba(245, 158, 11, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    color: #f59e0b;
    font-weight: 600;
}

/* 번호 리스트 스타일 */
.guide-numbered-list {
    counter-reset: guide-counter;
    list-style: none;
    padding-left: 0;
}

.guide-numbered-list li {
    counter-increment: guide-counter;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
    color: #e2e8f0;
    line-height: 1.6;
}

.guide-numbered-list li::before {
    content: counter(guide-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #f59e0b;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* 인용문 스타일 */
.guide-quote {
    background: rgba(91, 91, 192, 0.1);
    border-left: 4px solid #5b5bc0;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #cbd5e1;
}

.guide-quote-author {
    text-align: right;
    margin-top: 15px;
    color: #f59e0b;
    font-weight: 600;
}

/* 단계별 가이드 스타일 */
.guide-steps {
    margin: 30px 0;
}

.guide-step {
    background: #2a2a4a;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #3a3a6a;
    position: relative;
}

.guide-step-header {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1a1a2e;
    padding: 15px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.guide-step-number {
    background: rgba(26, 26, 46, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
}

.guide-step-content {
    padding: 20px;
    color: #e2e8f0;
    line-height: 1.7;
}

/* 프로그레스 바 스타일 */
.guide-progress {
    background: #2a2a4a;
    height: 8px;
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
}

.guide-progress-bar {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    height: 100%;
    transition: width 0.5s ease;
    border-radius: 4px;
}

/* 태그 스타일 */
.guide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.guide-tag {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* 콜아웃 박스 스타일 */
.guide-callout {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.guide-callout-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.guide-callout-title i {
    margin-right: 10px;
    font-size: 1.4rem;
}

/* 미디어 쿼리 */
@media (min-width: 768px) {
    .guide-terms, 
    .guide-game-types {
        grid-template-columns: 1fr 1fr;
    }
    
    .guide-image {
        max-width: 80%;
    }
    
    .guide-faq-q-title {
        font-size: 1.2rem;
    }
}

@media (min-width: 992px) {
    .guide-terms {
        grid-template-columns: 1fr 1fr;
    }
    
    .guide-image {
        max-width: 70%;
    }
    
    .guide-skills-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .guide-image {
        max-width: 100%;
    }
    
    .guide-graduation-section {
        padding: 25px 15px;
    }
    
    .guide-graduation-title {
        font-size: 1.5rem;
    }
    
    .guide-graduation-subtitle {
        font-size: 1rem;
    }
    
    .guide-skills-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .guide-step-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .guide-step-number {
        margin-right: 0;
    }
}

/* 다크 테마 스크롤바 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: #f59e0b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #fbbf24;
}

/* 사이트 버튼 스타일 - 홈페이지 스타일과 완전히 동일 */
.site-action-buttons {
    display: flex; 
    gap: 10px; 
    margin-top: 15px;
}

.site-btn, .btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
}

.site-btn-primary, .btn-primary {
    background-color: #2563eb;
    color: white !important;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.25);
}

.site-btn-primary:hover, .btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(37, 99, 235, 0.3);
    color: white !important;
}

.site-btn-secondary, .btn-secondary {
    background-color: #f59e0b;
    color: white !important;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.25);
}

.site-btn-secondary:hover, .btn-secondary:hover {
    background-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(245, 158, 11, 0.3);
    color: white !important;
}

/* 선택 텍스트 스타일 */
::selection {
    background: rgba(245, 158, 11, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(245, 158, 11, 0.3);
    color: #fff;
}
