@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@700&family=Pretendard:wght@300;400;600;700&display=swap');

/* --- Reset & Base Styles --- */
body {
    font-family: 'Pretendard', sans-serif;
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
    color: #e5e7eb;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

.serif { font-family: 'Noto Serif KR', serif; }

/* --- Luxury Theme Utilities --- */
.gold-text {
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-border {
    border: 1px solid transparent;
    background-image: linear-gradient(#111, #111), linear-gradient(to right, #bf953f, #fcf6ba, #aa771c);
    background-origin: border-box;
    background-clip: content-box, border-box;
}

/* --- Components: Navbar --- */
.main-nav {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(191, 149, 63, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #a1a1aa;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover, .nav-link.active {
    color: #bf953f;
}

/* --- Components: Card UI --- */
.premium-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: background 0.5s ease, border 0.5s ease;
    border-radius: 2.5rem;
    overflow: hidden;
}

/* --- Components: Playing Cards --- */
.playing-card {
    width: 80px;
    height: 120px;
    background: white;
    border-radius: 8px;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    transform: translateY(20px);
    opacity: 0;
    position: relative;
}

@media (min-width: 640px) {
    .playing-card { width: 100px; height: 150px; padding: 12px; }
}

.playing-card.show {
    transform: translateY(0);
    opacity: 1;
}

.card-back {
    background: linear-gradient(135deg, #1e1e1e 0%, #000 100%);
    border: 2px solid #bf953f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-back i { color: #bf953f; opacity: 0.5; }

/* --- Buttons --- */
.btn-luxury {
    background: linear-gradient(135deg, #bf953f 0%, #aa771c 100%);
    box-shadow: 0 0 15px rgba(191, 149, 63, 0.2);
    color: black;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-luxury:hover:not(:disabled) {
    filter: brightness(1.1);
    box-shadow: 0 0 25px rgba(191, 149, 63, 0.4);
}

.btn-luxury:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    filter: grayscale(1);
}

.btn-outline {
    border: 1px solid rgba(191, 149, 63, 0.5);
    color: #bf953f;
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover:not(:disabled) {
    background: rgba(191, 149, 63, 0.1);
}

.suit-red { color: #dc2626; }
.suit-black { color: #000; }

/* --- Content Pages (Typography) --- */
.content-container {
    max-width: 900px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
    flex: 1;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.article-subtitle {
    color: #a1a1aa;
    font-size: 1.1rem;
}

.prose {
    color: #d4d4d8;
    line-height: 1.8;
}

.prose h2 {
    color: #bf953f;
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: 'Noto Serif KR', serif;
}

.prose h3 {
    color: #fcf6ba;
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.prose p { margin-bottom: 20px; }

.prose ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.prose li { margin-bottom: 10px; }

.prose strong { color: #fff; font-weight: 600; }

.info-box {
    background: rgba(191, 149, 63, 0.1);
    border-left: 4px solid #bf953f;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.strategy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.9rem;
}

.strategy-table th, .strategy-table td {
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px;
    text-align: center;
}

.strategy-table th {
    background: rgba(191, 149, 63, 0.2);
    color: #bf953f;
}

.strategy-table td.action-hit { background: rgba(220, 38, 38, 0.2); color: #fca5a5; } /* Red */
.strategy-table td.action-stand { background: rgba(234, 179, 8, 0.2); color: #fde047; } /* Yellow */
.strategy-table td.action-double { background: rgba(34, 197, 94, 0.2); color: #86efac; } /* Green */

/* Footer */
.site-footer {
    background: #000;
    padding: 40px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-link {
    color: #6b7280;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-link:hover { color: #bf953f; }

.footer-disclaimer {
    color: #4b5563;
    font-size: 0.8rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Lang Menu */
.lang-menu {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #bf953f;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    z-index: 50;
}

.lang-menu.show { display: block; }
.lang-option {
    padding: 8px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.lang-option:hover {
    background: #bf953f;
    color: black;
}
