
/* Veltrion Web Platform Phase 35: Launch/Auth Flow + Premium Start Panel Fix */
:root {
    --v35-gold: #efc26f;
    --v35-gold-bright: #ffe4a6;
    --v35-red: #982418;
    --v35-ink: #050302;
    --v35-line: rgba(231, 188, 106, .28);
    --v35-line-hot: rgba(255, 221, 139, .52);
}

/* Reset old auto-grid behavior causing right blank/vertical text */
.vweb-launch-landing,
.vweb-premium-landing {
    display: block !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
}

.vweb-launch-landing__top {
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: stretch;
    padding: 54px 34px 30px;
}

.vweb-launch-landing .vweb-premium-landing__bg {
    height: 560px !important;
    background-position: center center !important;
    filter: saturate(1.12) contrast(1.08) brightness(1.05) !important;
}

.vweb-launch-landing .vweb-premium-landing__copy {
    align-self: center;
    max-width: 640px;
}

.vweb-launch-landing .vweb-premium-landing__copy h1,
.vweb-launch-landing h1 {
    font-size: clamp(74px, 7.4vw, 124px) !important;
}

.vweb-launch-panel {
    position: relative;
    align-self: stretch;
    min-height: 440px;
    padding: 24px 22px 20px;
    border: 1px solid var(--v35-line-hot);
    background:
        radial-gradient(circle at 50% 0%, rgba(221, 160, 80, .16), transparent 29%),
        radial-gradient(circle at 50% 67%, rgba(151, 31, 20, .18), transparent 42%),
        linear-gradient(180deg, rgba(13, 10, 8, .96), rgba(5, 4, 3, .96));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        inset 0 -1px 0 rgba(126, 33, 20, .35),
        0 18px 44px rgba(0,0,0,.48),
        0 0 34px rgba(126, 33, 20, .16);
    overflow: hidden;
    isolation: isolate;
}

.vweb-launch-panel::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(231,188,106,.20);
    pointer-events: none;
    z-index: 0;
}

.vweb-launch-panel::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 10px;
    height: 36px;
    background:
        radial-gradient(ellipse at center, rgba(194, 42, 24, .42), transparent 66%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

.vweb-launch-panel__ornament {
    position: absolute;
    left: 50%;
    top: 12px;
    width: 150px;
    height: 34px;
    transform: translateX(-50%);
    background:
        linear-gradient(90deg, transparent, rgba(238,190,104,.48), transparent);
    opacity: .45;
    clip-path: polygon(0 48%, 28% 39%, 45% 0, 50% 44%, 55% 0, 72% 39%, 100% 48%, 72% 58%, 55% 100%, 50% 55%, 45% 100%, 28% 58%);
    z-index: 1;
}

.vweb-launch-panel__head,
.vweb-launch-panel__main,
.vweb-launch-panel__steps,
.vweb-launch-panel__account {
    position: relative;
    z-index: 2;
}

.vweb-launch-panel__head {
    text-align: center;
    padding: 30px 0 18px;
}

.vweb-launch-panel__emblem {
    display: block;
    width: 62px;
    height: 62px;
    margin: 0 auto 10px;
    background:
        radial-gradient(circle at 50% 48%, rgba(255, 219, 136, .28), transparent 58%),
        url("../images/branding/veltrion-game-start-sword-transparent.png") center / contain no-repeat;
    filter: drop-shadow(0 8px 16px rgba(191, 63, 27, .36));
}

.vweb-launch-panel__head strong {
    display: block;
    color: #ffe4ac;
    font-size: 38px;
    line-height: 1;
    letter-spacing: .08em;
    text-shadow:
        0 3px 0 rgba(83, 38, 13, .72),
        0 0 20px rgba(244, 178, 82, .22);
}

.vweb-launch-panel__head em {
    display: block;
    margin-top: 8px;
    color: rgba(240, 196, 110, .84);
    font-style: normal;
    font-size: 12px;
    letter-spacing: .32em;
}

.vweb-launch-panel__head p {
    margin: 14px auto 0;
    max-width: 240px;
    color: rgba(246, 232, 202, .64);
    font-size: 13px;
    line-height: 1.5;
}

.vweb-launch-panel__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 72px;
    padding: 0 18px;
    color: #260a04;
    text-decoration: none;
    border: 1px solid rgba(255, 230, 158, .58);
    background:
        linear-gradient(180deg, #ffe7a0 0%, #dda750 46%, #953413 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.54),
        inset 0 -18px 28px rgba(102, 22, 12, .26),
        0 10px 24px rgba(0,0,0,.35);
}

.vweb-launch-panel__main::after {
    content: "›";
    font-size: 34px;
    color: rgba(47, 13, 5, .72);
}

.vweb-launch-panel__main b {
    display: block;
    font-size: 22px;
    line-height: 1.05;
}

.vweb-launch-panel__main span {
    display: block;
    margin-top: 4px;
    color: rgba(45, 13, 5, .74);
    font-size: 12px;
    font-weight: 800;
}

.vweb-launch-panel__steps {
    display: grid;
    gap: 9px;
    margin-top: 14px;
}

.vweb-launch-panel__steps a {
    display: grid;
    grid-template-columns: 38px 1fr 20px;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 0 12px;
    color: #f4e7c8;
    text-decoration: none;
    border: 1px solid rgba(231,188,106,.20);
    background:
        linear-gradient(180deg, rgba(25, 20, 15, .94), rgba(8, 7, 6, .94));
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.vweb-launch-panel__steps a:hover {
    transform: translateY(-1px);
    border-color: rgba(255,221,139,.44);
    background:
        linear-gradient(180deg, rgba(44, 30, 19, .96), rgba(12, 8, 6, .96));
}

.vweb-launch-panel__steps a::after {
    content: "›";
    color: rgba(240,196,110,.70);
    font-size: 24px;
}

.vweb-launch-panel__steps i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #f7d184;
    font-style: normal;
    font-weight: 900;
    border: 1px solid rgba(231,188,106,.24);
    background: rgba(0,0,0,.30);
}

.vweb-launch-panel__steps b,
.vweb-launch-panel__steps span {
    display: block;
}

.vweb-launch-panel__steps b {
    color: #f4d38b;
    font-size: 15px;
    line-height: 1.2;
}

.vweb-launch-panel__steps span {
    margin-top: 3px;
    color: rgba(244,232,208,.58);
    font-size: 12px;
}

.vweb-launch-panel__account {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(231,188,106,.16);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: rgba(244,232,208,.68);
    font-size: 12px;
}

.vweb-launch-panel__account span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vweb-launch-panel__account a {
    color: #f5d184;
    text-decoration: none;
    white-space: nowrap;
}

html.vweb-launch-logged-in .vweb-launch-panel {
    border-color: rgba(120, 223, 143, .32);
}

html.vweb-launch-logged-in .vweb-launch-panel__account::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #69df86;
    box-shadow: 0 0 12px rgba(105,223,134,.46);
    flex: 0 0 auto;
}

html.vweb-launch-guest .vweb-launch-panel__main b::after {
    content: "";
}

/* 이질감 나던 긴 세로 텍스트 제거: 수평 카드로 강제 */
.vweb-launch-coreline,
.vweb-premium-quickline {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    border-top: 1px solid rgba(231,188,106,.18) !important;
    border-bottom: 1px solid rgba(231,188,106,.18) !important;
    background: rgba(6,5,4,.88) !important;
}

.vweb-launch-coreline a,
.vweb-premium-quickline a {
    min-height: 82px !important;
    padding: 18px 20px !important;
    color: #f4e8ce !important;
    text-decoration: none !important;
    border-right: 1px solid rgba(231,188,106,.12) !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    word-break: keep-all !important;
}

.vweb-launch-coreline a:last-child,
.vweb-premium-quickline a:last-child {
    border-right: 0 !important;
}

.vweb-launch-coreline b,
.vweb-launch-coreline span,
.vweb-premium-quickline b,
.vweb-premium-quickline span {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    word-break: keep-all !important;
    white-space: normal !important;
}

.vweb-launch-coreline b,
.vweb-premium-quickline b {
    display: block !important;
    margin-bottom: 6px !important;
    color: #f7d184 !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
}

.vweb-launch-coreline span,
.vweb-premium-quickline span {
    display: block !important;
    color: rgba(244,232,208,.60) !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

/* status/news after launch */
.vweb-premium-status {
    position: relative !important;
    z-index: 2 !important;
    grid-template-columns: minmax(0, 1fr) 330px !important;
}

@media (max-width: 1160px) {
    .vweb-launch-landing__top {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 42px 24px 24px;
    }

    .vweb-launch-panel {
        max-width: 520px;
        min-height: auto;
    }

    .vweb-premium-status {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    .vweb-launch-landing__top {
        padding: 34px 18px 22px;
    }

    .vweb-launch-coreline,
    .vweb-premium-quickline {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 520px) {
    .vweb-launch-panel {
        padding: 20px 16px 16px;
    }

    .vweb-launch-panel__head strong {
        font-size: 32px;
    }

    .vweb-launch-coreline,
    .vweb-premium-quickline {
        grid-template-columns: 1fr !important;
    }
}
