* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    padding: 20px 10px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scene {
    background: #0d1b3e;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 50px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.left-info {
    color: #fff;
    max-width: 320px;
    flex-shrink: 0;
}

.conf-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: #8fa8d0;
    font-weight: 500;
}

.badge {
    background: #e85d1a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
}

.left-info h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.left-info p {
    font-size: 14px;
    color: #8fa8d0;
    line-height: 1.6;
    margin-bottom: 32px;
}

.buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 9px 16px;
    border-radius: 50px;
    cursor: pointer;
    border: 1.5px solid #2a4a7a;
    background: transparent;
    color: #8fa8d0;
    transition: all 0.2s;
}

.btn:hover {
    border-color: #3a6aaa;
    color: #fff;
}

.btn.primary {
    background: #e85d1a;
    color: #fff;
    border-color: #e85d1a;
}

.btn.primary:hover {
    background: #c94d10;
}

.badge-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 900px;
    flex-shrink: 0;
}

.lanyard {
    width: 2px;
    height: 70px;
    background: linear-gradient(to bottom, #e85d1a, #b84010);
    position: relative;
}

.lanyard::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1a3060;
    border: 2px solid #e85d1a;
}

.lanyard::after {
    content: 'Kangwon National University';
    position: absolute;
    top: 10px;
    left: 8px;
    font-size: 8px;
    color: #e85d1a;
    writing-mode: vertical-rl;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.card-3d {
    width: 220px;
    height: 320px;
    transform-style: preserve-3d;
    transition: transform 0.08s ease-out;
    cursor: grab;
    will-change: transform;
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dde5f0;
    backface-visibility: hidden;
}

.knu-stripe { position: absolute; top: 0; left: 0; right: 0; height: 8px; background: #e85d1a; }
.knu-stripe-blue { position: absolute; top: 8px; left: 0; right: 0; height: 4px; background: #1a3b8c; }

.card-content {
    position: absolute;
    inset: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 18px;
}

.knu-logo-wrap { display: flex; flex-direction: column; gap: 2px; }
.knu-text { display: flex; align-items: center; gap: 4px; }

.knu-dot {
    width: 9px;
    height: 9px;
    background: #e85d1a;
    transform: rotate(45deg);
    flex-shrink: 0;
    margin-bottom: 10px;
    margin-right: 1px;
}

.knu-letters {
    font-size: 22px;
    font-weight: 800;
    color: #1a3b8c;
    letter-spacing: -0.02em;
    line-height: 1;
}

.knu-sub {
    font-size: 7px;
    color: #888;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-left: 13px;
    text-transform: uppercase;
}

.card-date {
    font-size: 9px;
    color: #aaa;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.card-divider {
    width: 100%;
    height: 1px;
    background: #eef0f6;
    margin: 8px 0;
}

.attendee-name {
    font-size: 28px;
    font-weight: 700;
    color: #0d1b3e;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.attendee-type {
    font-size: 9px;
    color: #e85d1a;
    letter-spacing: 0.15em;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-site {
    font-size: 9px;
    color: #1a3b8c;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.seal-wrap {
    position: absolute;
    bottom: 18px;
    right: 16px;
}

.shine {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.18) 0%, transparent 65%);
}

.input-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-direction: column;
}

.input-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
}

.input-label {
    font-size: 11px;
    color: #4a6080;
    width: 32px;
    flex-shrink: 0;
}

.name-input {
    background: #1a2e5a;
    border: 1px solid #2a4a7a;
    color: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    flex: 1;
    transition: border-color 0.2s;
}

.name-input:focus {
    border-color: #e85d1a;
}

.name-input::placeholder {
    color: #4a6080;
}

.apply-btn {
    background: #e85d1a;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: background 0.2s;
    white-space: nowrap;
}

.apply-btn:hover {
     background: #c94d10;
}

.hint {
    font-size: 11px;
    color: #4a6080;
    text-align: center;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .scene {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
    }

    .left-info {
        max-width: 100%;
        text-align: center;
    }

    .left-info h1 {
        font-size: 32px;
    }

    .buttons {
        justify-content: center;
    }

    .card-3d {
        width: 200px;
        height: 290px;
    }

    .attendee-name {
        font-size: 24px;
    }
    }

    @media (max-width: 480px) {
    .scene {
        padding: 30px 15px;
    }

    .card-3d {
        width: 180px;
        height: 260px;
    }

    .attendee-name {
        font-size: 22px;
    }

    .knu-letters {
        font-size: 19px;
    }
}