/* ============================================================
   game-ui.css
   MMORPG Åæ °øÅë UI ÄÄÆ÷³ÍÆ® (¸ðµâÈ­)
   - »õ·Î¿î »ö»óÀ» µµÀÔÇÏÁö ¾Ê°í ±âÁ¸ ÆÈ·¹Æ®¸¸ »ç¿ë
     ±âº»/ºê·£µå: #10221b, #0a0a0a, #272727, #463972(rgb(70,57,116))
   - ºÎÆ®½ºÆ®·¦ 5 À§¿¡ ¾ñ´Â Ä¿½ºÅÒ Å¬·¡½º
   - JS/Razor ¼±ÅÃÀÚ¿¡ ¿µÇâ ¾øÀ½ (½Å±Ô Å¬·¡½º¸¸ Á¤ÀÇ)
   ============================================================ */

:root {
    --game-base-dark: #0a0a0a;
    --game-base-deep: #10221b;
    --game-base-panel: #272727;
    --game-accent: rgb(70, 57, 116); /* ±âÁ¸ grade_image Å×µÎ¸® »ö°ú µ¿ÀÏÇÑ ÆÇÅ¸Áö Åæ */
    --game-text-light: #ebebeb;
    --game-border: rgba(70, 57, 116, 0.55);
    --game-highlight: rgba(255, 255, 255, 0.08);
}

/* ---------- °ÔÀÓÇ³ ¹öÆ° ---------- */
.btn-game-primary,
.btn-game-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-weight: 700;
    letter-spacing: .02em;
    border-radius: .5rem;
    border: 1px solid var(--game-border);
    padding: .55rem 1.3rem;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease, transform .05s ease;
    /* ¸ð¹ÙÀÏ ÅÍÄ¡ Å¸°Ù È®º¸ */
    min-height: 44px;
}

.btn-game-primary {
    color: var(--game-text-light);
    background: linear-gradient(180deg, #16261f 0%, var(--game-base-deep) 100%);
    box-shadow: inset 0 1px 0 var(--game-highlight), 0 1px 2px rgba(0, 0, 0, 0.45);
}

    .btn-game-primary:hover,
    .btn-game-primary:focus {
        color: #fff;
        background: linear-gradient(180deg, #1d3329 0%, #16261f 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 .5rem var(--game-border);
    }

    .btn-game-primary:active {
        transform: translateY(1px);
    }

.btn-game-outline {
    color: var(--game-base-deep);
    background: transparent;
}

    .btn-game-outline:hover,
    .btn-game-outline:focus {
        color: #fff;
        background: var(--game-base-deep);
        box-shadow: 0 0 .5rem var(--game-border);
    }

/* ---------- °ÔÀÓÇ³ ÆÐ³Î / ¾ÆÀÌÅÛ ÇÁ·¹ÀÓ ---------- */
.game-panel {
    background: transparent;
    border: none;
    border-radius: .6rem;
}

.item-frame {
    position: relative;
    border: 1px solid var(--game-border);
    border-radius: .5rem;
    background: linear-gradient(160deg, rgba(70, 57, 116, 0.10), rgba(10, 10, 10, 0.04));
    box-shadow: inset 0 0 .4rem rgba(0, 0, 0, 0.25);
    transition: box-shadow .15s ease, transform .05s ease;
    overflow: hidden;
}

    .item-frame:hover {
        box-shadow: inset 0 0 .4rem rgba(0, 0, 0, 0.25), 0 0 .6rem var(--game-border);
    }

/* ---------- °ÔÀÓÇ³ Á¦¸ñ/Çìµù °­Á¶ ---------- */
.game-heading {
    font-weight: 900;
    letter-spacing: .02em;
    color: #10221b;
    text-shadow: none;
}

/* ¾îµÎ¿î game-panel À§ÀÇ board_title(plain strong Æ÷ÇÔ) °¡µ¶¼º º¸Àå */
.game-panel .board_title strong {
    color: #10221b;
    text-shadow: none;
}

/* ---------- ¹ÝÀÀÇü ÀÌ¹ÌÁö/¹Ìµð¾î ¾ÈÀüÀåÄ¡ (Àü¿ª ±úÁü ¹æÁö) ---------- */
img,
video,
canvas {
    max-width: 100%;
    height: auto;
}

table {
    max-width: 100%;
}

/* ---------- ¸®Ä¡ ¿¡µðÅÍ º»¹® °¡µ¶¼º È®º¸ ----------
   .game-panel(¾îµÎ¿î ¹è°æ) À§¿¡ ·»´õ¸µµÇ´Â ¿¡µðÅÍ º»¹®(@Html.Raw)Àº
   Èò ¹è°æ/¾îµÎ¿î ±ÛÀÚ ±âÁØÀ¸·Î ÀÛ¼ºµÇ¾î ÀÖÀ¸¹Ç·Î, ¹àÀº Ç¥¸éÀ¸·Î °¨½Î
   À¥/¸ð¹ÙÀÏ ¸ðµÎ¿¡¼­ ±ÛÀÚ°¡ Àß º¸ÀÌµµ·Ï ÇÑ´Ù.
   ±âÁ¸ ÆäÀÌÁö ½ºÅ¸ÀÏ ÈÑ¼ÕÀ» ¸·±â À§ÇØ .editor-surface-light ·Î ÇÑÁ¤ÇÑ´Ù. */
.editor-surface-light {
    background: #ffffff;
    color: #333333;
    border: none;
    border-radius: .5rem;
    padding: 1.25rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

    .editor-surface-light article,
    .editor-surface-light p,
    .editor-surface-light span,
    .editor-surface-light li,
    .editor-surface-light td,
    .editor-surface-light th,
    .editor-surface-light h1,
    .editor-surface-light h2,
    .editor-surface-light h3,
    .editor-surface-light h4,
    .editor-surface-light h5,
    .editor-surface-light h6 {
        color: #333333;
    }

    .editor-surface-light a {
        color: var(--game-accent);
    }

/* .button Å¬·¡½º¿Í btn-game-primary Ãæµ¹ ÇØ¼Ò: height °íÁ¤°ª ¹«·ÂÈ­ */
.button.btn-game-primary {
    height: auto;
    min-height: 44px;
    line-height: 1.2;
    background: linear-gradient(180deg, #16261f 0%, var(--game-base-deep) 100%);
    border: 1px solid var(--game-border);
    color: var(--game-text-light);
    border-radius: .5rem;
}

    .button.btn-game-primary:hover,
    .button.btn-game-primary:focus {
        color: #fff;
        background: linear-gradient(180deg, #1d3329 0%, #16261f 100%);
        box-shadow: 0 0 .5rem var(--game-border);
    }

    .button.btn-game-primary:active {
        transform: translateY(1px);
    }

/* game-panel ÇÏ´Ü ¹öÆ° ¿µ¿ª Á¤·Ä */
.game-panel .board-list-button {
    display: flex;
    justify-content: flex-end;
    padding-top: .75rem;
    margin-top: .5rem;
}

/* ¸ð¹ÙÀÏ À¥ºä ¿©¹é ÃÖÀûÈ­ */
@media (max-width: 767.98px) {
    .editor-surface-light {
        padding: .9rem;
    }

    .game-panel .board-list-button {
        padding-top: .5rem;
    }
}

/* ---------- È¨ ÀÌº¥Æ® ¹è³Ê pulse (ÀÎ¶óÀÎ¿¡¼­ ÂüÁ¶ÇÏ³ª ¹ÌÁ¤ÀÇ¿´´ø Å°ÇÁ·¹ÀÓ º¸°­) ---------- */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}
