body, html {
    margin: 0;
    padding: 0;
    background-color: #fcfbf9;
    color: #2d3436;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
}
a {
    color: #f39c12;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: #e67e22;
}
.deckTopBar {
    background-color: #181818;
    color: #a4b0be;
    padding: 8px 0;
    font-size: 13px;
}
.deckTopWrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.deckHeader {
    background-color: #1e272e;
    border-bottom: 2px solid #f39c12;
    position: relative;
    z-index: 1000;
}
.deckNavWrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}
.deckLogo img {
    height: 42px;
    max-width: 160px;
    object-fit: contain;
    vertical-align: middle;
}
.deckNavMenu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.deckNavMenu li {
    margin: 0 8px;
}
.deckNavMenu li a {
    color: #f1f2f6;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.deckNavMenu li a:hover, .deckNavMenu li.deckActive a {
    color: #ffffff;
    background: #f39c12;
}
.deckContainer {
    max-width: 1200px;
    margin: 25px auto;
    padding: 0 20px;
}
.deckSectionHeader {
    text-align: center;
    margin: 40px 0 25px 0;
}
.deckSectionTitle {
    font-size: 24px;
    color: #2d3436;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.deckSectionLine {
    width: 45px;
    height: 3px;
    background: #f39c12;
    margin: 0 auto;
    border-radius: 2px;
}
.deckHeroBox {
    background: linear-gradient(135deg, #fffbf0 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 35px;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    border: 1px solid #fae8c8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.deckHeroCard {
    flex: 1;
    min-width: 280px;
    background: #ffffff;
    border: 1px solid #f1f2f6;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.deckHeroImg {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 6px;
    background: #fdfaf4;
    flex-shrink: 0;
}
.deckHeroInfo {
    flex: 1;
    overflow: hidden;
}
.deckHeroTitle {
    font-size: 16px;
    font-weight: 600;
    color: #2d3436;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
}
.deckGridTwo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}
.deckGridFour {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}
.deckGridThree {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}
.deckCard {
    background: #ffffff;
    border: 1px solid #f1f2f6;
    border-radius: 8px;
    padding: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.deckCard:hover {
    transform: translateY(-4px);
    border-color: #f39c12;
    box-shadow: 0 6px 18px rgba(243, 156, 18, 0.15);
}
.deckCardImg {
    width: 65px;
    height: 65px;
    object-fit: contain;
    margin: 0 auto 12px auto;
}
.deckCardTitle {
    color: #2d3436;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
}
.deckCardPrice {
    color: #e67e22;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}
.deckCardBtn {
    display: block;
    background: #f39c12;
    color: #ffffff !important;
    padding: 7px 0;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
}
.deckCardBtn:hover {
    background: #e67e22;
}
.deckBtnSmall {
    padding: 6px 14px;
    background: #f39c12;
    color: #ffffff !important;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}
.deckBtnSmall:hover {
    background: #e67e22;
}
.deckTableWrap {
    background: #ffffff;
    border: 1px solid #f1f2f6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.deckTable {
    width: 100%;
    border-collapse: collapse;
}
.deckTable th {
    text-align: left;
    padding: 12px 15px;
    color: #7f8c8d;
    border-bottom: 1px solid #f1f2f6;
    font-size: 13px;
    font-weight: 600;
    background: #fafafa;
}
.deckTable td {
    padding: 14px 15px;
    border-bottom: 1px solid #f8f9fa;
    color: #2d3436;
    font-size: 14px;
    vertical-align: middle;
}
.deckTable tr:hover td {
    background: #fffdf9;
}
.deckBadge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
}
.deckBadgeAuto {
    background: rgba(243, 156, 18, 0.12);
    color: #e67e22;
    border: 1px solid #f39c12;
}
.deckBadgeManual {
    background: #f1f2f6;
    color: #7f8c8d;
    border: 1px solid #dcdde1;
}
.deckPanel {
    background: #ffffff;
    border: 1px solid #f1f2f6;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.deckFormLabel {
    color: #2d3436;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
    font-weight: 500;
}
.deckInput {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #dcdde1;
    color: #2d3436;
    padding: 10px 15px;
    border-radius: 4px;
    outline: none;
    font-size: 14px;
}
.deckInput:focus {
    border-color: #f39c12;
}
.deckBtnSubmit {
    background: #f39c12;
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.deckBtnSubmit:hover {
    background: #e67e22;
}
.deckFooter {
    background: #181818;
    border-top: 3px solid #f39c12;
    padding: 40px 20px;
    text-align: center;
}
.deckFooterLinks a {
    color: #a4b0be;
    margin: 0 12px;
    font-size: 14px;
}
.deckFooterLinks a:hover {
    color: #f39c12;
}
.deckFooterLinks span {
    color: #333333;
}
.deckCopyright {
    color: #747d8c;
    font-size: 13px;
    margin-top: 15px;
}
@media (max-width: 992px) {
    .deckGridFour { grid-template-columns: repeat(2, 1fr); }
    .deckGridThree { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .deckGridFour { grid-template-columns: 1fr; }
    .deckGridThree { grid-template-columns: 1fr; }
    .deckGridTwo { grid-template-columns: 1fr; }
    .deckNavMenu { display: none; }
}
