
.back-action {
    margin: 20px 0 10px 0; 
}

.btn-back {
    display: inline-flex;      
    align-items: center;       
    gap: 8px;                  
    
    background-color: #1a1a1a; 
    border: 1px solid #333;    
    border-radius: 6px;        
    
    padding: 8px 16px;         
    color: #8b9bb4;            
    font-size: 0.9rem;         
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease; 
}

.btn-back:hover {
    background-color: #252525; 
    border-color: #ff9f1c;     
    color: #ffffff;            
    transform: translateX(-3px);
}

.btn-back i {
    font-size: 0.8rem;         
}

.logo-title {
    color: #ffffff;
    font-weight: 900; 
    font-size: 1.5rem;
    letter-spacing: 4px; 
    line-height: 1;
    font-family: 'Verdana', sans-serif; 
    text-transform: uppercase;
}
.logo-subtitle {
    color: #8b9bb4; 
    font-size: 0.85rem;
    margin-top: 4px;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .nav-links {
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: "Microsoft JhengHei", "Heiti TC", sans-serif;
    margin: 0;
    padding: 20px;
}

h1, h2, h3 { margin: 0; font-weight: bold; }
a { text-decoration: none; }
.store-intro {
    max-width: 1000px;
    margin: 40px auto 80px;
    padding: 0 20px;
    color: #cccccc;
}

.intro-header {
    text-align: center;
    margin-bottom: 40px;
}
.intro-header h2 {
    color: #ff9f1c;
    font-size: 2rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
    margin-bottom: 40px;
}

.intro-box {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.intro-box.full-width {
    grid-column: 1 / -1; 
}

.intro-box h3 {
    color: #fff;
    border-bottom: 2px solid #ff9f1c;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.check-list, .dot-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.check-list li { margin-bottom: 15px; }
.check-list ul, .dot-list ul {
    padding-left: 20px;
    margin-top: 5px;
    list-style: circle;
    color: #aaa;
}

.allow strong { color: #6a9955; } 
.deny strong { color: #d16969; }  

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    flex-wrap: wrap;
}
.steps span { font-size: 0.95rem; }
.steps .arrow { color: #ff9f1c; font-size: 1.5rem; font-weight: bold; }

.note {
    background: rgba(255, 159, 28, 0.1); 
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #ff9f1c;
}

.contact-area {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

@media (max-width: 768px) {
    .intro-grid { grid-template-columns: 1fr; }
    .steps { flex-direction: column; gap: 15px; }
    .steps .arrow { transform: rotate(90deg); } 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    
    row-gap: 100px;    
    column-gap: 50px;  
    
    padding: 60px 0;   
}

.card {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6); 
    border-color: #555;
}

.card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px; 
}

.card h3 { font-size: 1.4rem; color: #fff; margin-bottom: 10px; }
.card p.desc { font-size: 0.9rem; color: #aaa; margin-bottom: 20px; line-height: 1.5; }
.price { font-size: 1.2rem; color: #fff; margin-bottom: 25px; } 

.btn {
    background: linear-gradient(135deg, #ffbc42 0%, #ff9f1c 100%);
    color: #000;
    padding: 12px 40px; 
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    display: inline-block;
}
.btn:hover { opacity: 0.9; box-shadow: 0 0 15px #ff9f1c; }
.btn-large { width: 100%; padding: 15px; font-size: 1.2rem; }

.product-detail-container {
    background: #1e1e1e;
    border-radius: 15px;
    padding: 50px; 
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 60px; 
    border: 1px solid #333;
}

.detail-img-box { flex: 0 0 350px; text-align: center; } 
.detail-img-box img { width: 100%; border-radius: 10px; border: 1px solid #444; }

.detail-info-box { flex: 1; display: flex; flex-direction: column; }
.detail-info-box h1 { font-size: 2.5rem; color: white; margin-bottom: 15px; }
.detail-info-box .short-desc { color: #aaa; font-size: 1.2rem; margin-bottom: 25px; }
.detail-info-box .price { font-size: 2.2rem; color: #ff9f1c; margin-bottom: 30px; }

.full-content {
    color: #ddd;
    line-height: 1.8;
    text-align: left;
    margin-top: 10px;
}
.full-content h3 { color: #ff9f1c; margin-top: 30px; margin-bottom: 15px; border-left: 4px solid #ff9f1c; padding-left: 15px; font-size: 1.3rem; }
.full-content ul { padding-left: 20px; margin-bottom: 20px; }
.full-content li { margin-bottom: 8px; }

.back-link { color: #aaa; margin-bottom: 15px; display: inline-block; transition: color 0.2s; font-size: 1.1rem; }
.back-link:hover { color: #ff9f1c; }

@media (max-width: 768px) {
    .grid-container { gap: 30px; } 
    .product-detail-container { flex-direction: column; padding: 25px; gap: 30px; }
    .detail-img-box { flex: none; width: 100%; }
}

.full-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden; 
}
.full-content th, .full-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}
.full-content th {
    background-color: #252525;
    color: #ff9f1c; 
    font-weight: bold;
    text-transform: uppercase;
}
.full-content tr:last-child td {
    border-bottom: none;
}
.full-content tr:hover {
    background-color: #222; 
}

.code-block {
    background-color: #0d0d0d;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 15px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    color: #a9b7c6; 
    overflow-x: auto; 
    margin: 15px 0;
    line-height: 1.5;
}
.code-comment { color: #6a9955; } 
.code-key { color: #cc7832; font-weight: bold; } 
.code-value { color: #9876aa; } 

.badge {
    display: inline-block;
    padding: 4px 8px;
    background: #333;
    color: #fff;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 10px;
}
.badge-version { background: #2b5c8a; } 
.badge-req { background: #8a2b2b; } 

.resource-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 0 20px 0;
    border-bottom: 1px solid #333;
    margin-bottom: 0;
}

.resource-header h1 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.tagline {
    color: #8b9bb4; 
    font-size: 1.1rem;
    margin: 0;
}

.header-actions .btn-download {
    background-color: #ff9f1c; 
    color: black;
    font-size: 1.1rem;
    padding: 10px 30px;
}

.resource-tabs {
    background-color: #1a1a1a; 
    padding: 0 10px;
    border-radius: 4px;
    margin: 20px 0;
    display: flex;
    gap: 5px;
}

.resource-tabs .tab {
    color: #e0e0e0;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent; 
    transition: all 0.2s;
}

.resource-tabs .tab:hover {
    background-color: #252525;
    color: #fff;
}

.resource-tabs .tab.active {
    color: #ff9f1c; 
    border-bottom: 3px solid #ff9f1c; 
    background-color: #252525;
}

.spigot-layout {
    display: grid;
    grid-template-columns: 3fr 1fr; 
    gap: 25px;
    align-items: start; 
}

.box-style {
    background-color: #1e1e1e; 
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
}

.sidebar-box {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px; 
    text-align: center; 
}

.resource-icon img {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 2px solid #333;
}

.sidebar-price {
    font-size: 1.5rem;
    color: #ff9f1c;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-buy-sidebar {
    width: 100%; 
    background: #1d4ed8; 
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}
.btn-buy-sidebar:hover { background: #153ab6; }

.info-list { text-align: left; }
.info-list h3, .sidebar-box h3 {
    font-size: 1.1rem;
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
    margin-top: 0;
}
.info-list ul { list-style: none; padding: 0; }
.info-list li {
    margin-bottom: 12px;
    color: #aaa;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}
.info-list .highlight { color: #fff; font-weight: bold; }

.link-list { list-style: none; padding: 0; text-align: left; }
.link-list li { margin-bottom: 8px; }
.link-list a {
    color: #ff9f1c;
    font-size: 0.9rem;
    text-decoration: underline;
}
.link-list a:hover { color: #fff; }

@media (max-width: 768px) {
    .spigot-layout {
        grid-template-columns: 1fr; 
    }
    .sidebar-column {
        order: -1; 
        margin-bottom: 20px;
    }
    .resource-header-wrapper {
        flex-direction: column;
        gap: 20px;
    }
}