:root {
    --primary-gold: #c89b3c;
    --primary-dark: #1a1a1a;
    --accent-blue: #007aff;
    --bg-body: #000000;
    --card-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --radius-lg: 16px;
    --radius-md: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: url("../images/bg-69df8cd8.jpg") center center / cover no-repeat fixed;
    color: #333;
    line-height: 1.5;
    min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 30px 20px; }
header {
    display: flex; align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.logo img { height: 50px; margin-right: 20px; border-radius: 8px; }
.title-area h1 { font-size: 22px; color: var(--primary-dark); margin-bottom: 4px; }
.title-area p { font-size: 13px; color: #888; }
.breadcrumb { font-size: 12px; margin-top: 5px; color: #aaa; }
.breadcrumb a:hover { color: var(--primary-gold); }
.main-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; }

@media (max-width: 992px) {
    .main-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .input-group { grid-template-columns: 1fr !important; }
}
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.card h2 { font-size: 18px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.card h2::before { content: ''; width: 4px; height: 18px; background: var(--primary-gold); border-radius: 2px; }
.label-muted { font-size: 13px; color: #666; margin-bottom: 8px; display: block; font-weight: 600; }
.input-group { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
.input-style {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    outline: none;
    transition: 0.3s;
    -webkit-appearance: none;
    appearance: none;
    -webkit-border-radius: var(--radius-md);
    background-clip: padding-box;
}
.input-style:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.15), 0 4px 12px rgba(200, 155, 60, 0.1);
    background: rgba(255, 255, 255, 0.95);
    -webkit-appearance: none;
    appearance: none;
}
.input-style::-webkit-outer-spin-button,
.input-style::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
select.input-style {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(255, 255, 255, 0.95);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.pkg-card {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}
.pkg-card:hover {
    border-color: var(--primary-gold);
    background: rgba(200, 155, 60, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 155, 60, 0.15);
}
.pkg-card.active {
    border-color: var(--primary-gold);
    background: linear-gradient(135deg, rgba(200, 155, 60, 0.05) 0%, rgba(255, 253, 248, 0.9) 100%);
    box-shadow: 0 8px 25px rgba(200, 155, 60, 0.2);
    transform: translateY(-2px);
}
.pkg-card .badge { position: absolute; top: 0; right: 0; background: #ff4d4f; color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 0 8px 0 8px; }
.pkg-card .amt { font-size: 18px; font-weight: bold; color: #cf1322; }
.pkg-card .info { font-size: 16px; color: #888; margin-top: 4px; }
.pkg-icon img {
    display: block;
    margin: 6px auto 2px;
    height: 60px;
    width: auto;
}
.pay-row { display: flex; gap: 15px; margin-top: 20px; }
.pay-item {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.pay-item:hover { border-color: rgba(102, 126, 234, 0.5); background: rgba(102, 126, 234, 0.05); }
.pay-item.active {
    border-color: #07c160;
    background: linear-gradient(135deg, #f6ffed 0%, #e6f7ff 100%);
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.2);
}
.pay-item img { width: 24px; height: 24px; }
.calc-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.kpi-item { font-size: 13px; color: #666; }
.kpi-item span { display: block; font-size: 16px; color: var(--primary-dark); font-weight: bold; margin-top: 4px; }
.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #b38a34 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 155, 60, 0.3);
}
.btn-submit:hover {
    background: linear-gradient(135deg, #c89b3c 0%, #b38a34 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 155, 60, 0.3);
}
.skin-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 15px; }
@media (max-width: 768px) {
    .skin-list { grid-template-columns: repeat(2, 1fr); }
}
.skin-item {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.skin-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.skin-item img {
    width: 100%;
    height: auto;
    display: block;
}
.skin-item .skin-info { padding: 8px; font-size: 12px; text-align: center; }
.skin-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: linear-gradient(135deg, rgba(255, 77, 79, 0.9) 0%, rgba(255, 0, 0, 0.8) 100%);
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.3);
}
.ticker-container {
    height: 240px;
    overflow: hidden;
    position: relative;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
#orderTicker { position: absolute; width: 100%; animation: scrollUp 20s linear infinite; }
.order-row { padding: 8px 0; border-bottom: 1px solid #f9f9f9; display: flex; justify-content: space-between;margin:0 20px; }
.order-row .status { color: #52c41a; font-weight: bold; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
th {
    text-align: left;
    padding: 12px 15px;
    background: rgba(102, 126, 234, 0.1);
    color: #666;
    font-weight: 600;
}
td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    color: #333;
}
.modal-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.95); backdrop-filter: blur(4px);
    display: none; justify-content: center; align-items: center; z-index: 9999; 
}
.modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    padding: 30px;
    animation: pop 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.modal-title { font-size: 20px; font-weight: bold; text-align: center; margin-bottom: 20px; }
.confirm-box { background: rgba(102, 126, 234, 0.05); border-radius: 12px; padding: 20px; margin-bottom: 20px; border: 1px solid rgba(102, 126, 234, 0.1); }
.confirm-item { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.confirm-item .label { color: #888; }
.confirm-item .val { font-weight: 600; color: #333; }
.modal-footer { display: flex; gap: 10px; }
.btn-modal {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
}
.btn-close {
    background: rgba(238, 238, 238, 0.95);
    color: #666;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.btn-close:hover {
    background: rgba(238, 238, 238, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.btn-confirm {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #b38a34 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(200, 155, 60, 0.3);
}
.btn-confirm:hover {
    background: linear-gradient(135deg, #b38a34 0%, #a67c2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 155, 60, 0.4);
}
footer { text-align: center; padding: 40px 0; color: #aaa; font-size: 12px; }
@keyframes scrollUp { 0% { top: 0; } 100% { top: -400px; } }
@keyframes pop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }