/*
Theme Name: Overworld Child
Theme URI: http://overworld.qodeinteractive.com
Description: A child theme of Overworld Theme
Author: Edge Themes
Author URI: http://themeforest.net/user/edge-themes
Version: 1.0.0
Text Domain: overworld
Template: overworld
*/

/* 기본 스타일은 부모 테마에서 상속 */

/* 폐쇄몰 관련 추가 스타일 */
.etmt-hidden {
    display: none !important;
}

/* 로그인하지 않은 사용자용 바디 클래스 */
body.etmt-not-logged-in header,
body.etmt-not-logged-in nav,
body.etmt-not-logged-in .main-navigation,
body.etmt-not-logged-in .site-header {
    display: none !important;
}

/* 카지노 인증 페이지 전용 스타일 */
body.page-template-casino-auth-template {
    overflow-x: hidden;
}

/* 관리자 접근성 개선 */
.admin-quick-access {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.admin-quick-access:hover {
    background: rgba(255, 215, 0, 0.8);
    color: black;
}

/* 로그인 후 메인 페이지 스타일 개선 */
body.logged-in .site-header {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 100%);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

body.logged-in .main-navigation a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

body.logged-in .main-navigation a:hover {
    color: #ffd700;
}

/* 텍사스 홀덤 테마 컬러 적용 */
.etmt-primary-color {
    color: #ffd700;
}

.etmt-secondary-color {
    color: #ff4444;
}

.etmt-bg-primary {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 100%);
}

/* 커스텀 버튼 스타일 */
.etmt-btn {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.etmt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* 로딩 애니메이션 */
.etmt-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border-top-color: #ffd700;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 카지노 카드 효과 */
.etmt-card {
    background: rgba(15, 15, 35, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.etmt-card:hover {
    border-color: #ffd700;
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
}

/* 텍스트 그라데이션 */
.etmt-gradient-text {
    background: linear-gradient(135deg, #ffd700, #ff4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

/* 네온 효과 */
.etmt-neon {
    color: #ffd700;
    text-shadow: 
        0 0 5px #ffd700,
        0 0 10px #ffd700,
        0 0 15px #ffd700,
        0 0 20px #ffd700;
}

/* 커스텀 스크롤바 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0f23;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
}

/* 파티클 효과 배경 */
.etmt-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* 토스트 알림 */
.etmt-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(15, 15, 35, 0.95);
    color: #ffd700;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    z-index: 10000;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 폼 스타일 개선 */
.etmt-form-group {
    position: relative;
    margin-bottom: 20px;
}

.etmt-form-group input:focus + label,
.etmt-form-group input:not(:placeholder-shown) + label {
    transform: translateY(-25px) scale(0.8);
    color: #ffd700;
}

.etmt-form-group label {
    position: absolute;
    top: 15px;
    left: 20px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* 에러 메시지 스타일 */
.etmt-error-notice {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
    padding: 12px;
    margin: 20px 0;
    border-radius: 8px;
    font-size: 14px;
}

.etmt-success-notice {
    background: rgba(68, 255, 68, 0.1);
    border: 1px solid rgba(68, 255, 68, 0.3);
    color: #44ff44;
    padding: 12px;
    margin: 20px 0;
    border-radius: 8px;
    font-size: 14px;
}

.etmt-info-notice {
    background: rgba(68, 136, 255, 0.1);
    border: 1px solid rgba(68, 136, 255, 0.3);
    color: #4488ff;
    padding: 12px;
    margin: 20px 0;
    border-radius: 8px;
    font-size: 14px;
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #0a0a1a 0%, #151530 25%, #1f1838 50%, #151530 75%, #0a0a1a 100%);
    }
}

/* 접근성 개선 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 고해상도 디스플레이 지원 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .etmt-card {
        border-width: 1px;
    }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .admin-quick-access {
        bottom: 10px;
        right: 10px;
        padding: 8px;
        font-size: 11px;
    }
    
    .etmt-btn {
        padding: 10px 20px;
        font-size: 16px;
    }
    
    .etmt-card {
        padding: 15px;
        margin: 10px;
    }
}

/* 프린트 스타일 */
@media print {
    .admin-quick-access,
    .floating-cards,
    .etmt-particles {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* 추가 유틸리티 클래스 */
.etmt-text-center {
    text-align: center;
}

.etmt-text-gold {
    color: #ffd700;
}

.etmt-text-white {
    color: rgba(255, 255, 255, 0.9);
}

.etmt-bg-dark {
    background: rgba(15, 15, 35, 0.9);
}

.etmt-shadow {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.etmt-blur {
    backdrop-filter: blur(10px);
}

/* 호버 효과 */
.etmt-hover-lift:hover {
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

.etmt-hover-glow:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

/* 카지노 테마 전용 스타일 */
.etmt-poker-table {
    background: radial-gradient(ellipse at center, #0d5f3c 0%, #052d1a 70%);
    border: 8px solid #8b4513;
    border-radius: 50%;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.etmt-chip {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: inline-block;
    position: relative;
}

.etmt-chip::before {
    content: '$';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
    font-size: 16px;
}

/* 카드 스타일 */
.etmt-playing-card {
    width: 60px;
    height: 84px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    display: inline-block;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.etmt-playing-card.red {
    color: #e74c3c;
}

.etmt-playing-card.black {
    color: #2c3e50;
}

/* 로그인 상태 표시 */
.etmt-login-status {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(15, 15, 35, 0.9);
    color: #ffd700;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

/* 텍사스 홀덤 전용 아이콘 */
.etmt-suit-spade::before { content: '♠'; color: #000; }
.etmt-suit-heart::before { content: '♥'; color: #e74c3c; }
.etmt-suit-diamond::before { content: '♦'; color: #e74c3c; }
.etmt-suit-club::before { content: '♣'; color: #000; }