/* Artifact Tables Styles */
.artifact-table {
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 20px;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.15);
}

.artifact-type-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 2px;
}

.artifact-table.main-stats {
    background: #fff2cc;
    border: 2px solid #f1c232;
    /* border: 2px solid red; */
}

.artifact-table.substats {
    background: #e1f5fe;
    border: 2px solid #4fc3f7;
}

.artifact-table.set-effects {
    background: #f3e5f5;
    border: 2px solid #ba68c8;
}

.artifact-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.artifact-table th,
.artifact-table td {
    padding: 8px 10px;
    border: 1px solid #ccc;
    font-size: 13px;
}

.artifact-table.main-stats th,
.artifact-table.main-stats td,
.artifact-table.substats th,
.artifact-table.substats td {
    padding: 6px 10px;
}

.artifact-table th {
    background: rgba(0,0,0,0.05);
    font-weight: bold;
}

.table-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2d5f2e;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.artifact-table.main-stats table th:first-child,
.artifact-table.main-stats table td:first-child {
    width: 40%;
}

.artifact-table.main-stats table th:last-child,
.artifact-table.main-stats table td:last-child {
    width: 60%;
}

.artifact-type-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .artifact-type-cell {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .artifact-type-cell span {
        display: block;
    }
}

.set-effects-sets {
    list-style: disc;
    margin: 3px 0 0 16px;
    padding-left: 0;
}

.set-effects-sets li {
    margin-bottom: 2px;
}

/* Jump Button */
.jump-button {
    background: linear-gradient(135deg, #93c47d, #6fa942);
    color: white !important;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.jump-button:hover {
    background: linear-gradient(135deg, #6fa942, #5d8235);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
}

.jump-button:visited {
    color: white !important;
}

.jump-button:active {
    color: white !important;
}

/* Set Cards Styles */
.section-divider {
    border-top: 3px solid #93c47d;
    margin: 30px 0 30px 0;
    position: relative;
}

.set-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.set-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 3px solid #93c47d;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.set-card:hover {
    transform: translateY(-3px);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
    border-color: #6fa942;
}

.set-card h3 {
    margin: 0 0 15px 0;
    color: #2d5f2e;
    font-size: 1.2em;
    border-bottom: 2px solid #93c47d;
    padding-bottom: 8px;
}

.set-bonus {
    margin-bottom: 15px;
}

.set-bonus h4 {
    margin: 0 0 8px 0;
    color: #6fa942;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.set-bonus p {
    margin: 0;
    color: #555;
    line-height: 1.4;
    font-size: 0.9em;
}

.two-piece-bonus::before {
    content: "2";
    background: #93c47d;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: bold;
}

.four-piece-bonus::before {
    content: "4";
    background: #6fa942;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: bold;
}

/* Search/Filter Styles */
.sets-search-bar {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 3px solid #93c47d;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.15);
    display: flex;
    justify-content: center;
}

.sets-search-bar input {
    max-width: 400px;
    width: 100%;
    padding: 8px 12px;
    background: linear-gradient(to bottom, #ffffff, #f0f0f0);
    border: 2px solid #93c47d;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    color: #2d5016;
    font-weight: bold;
    transition: all 0.2s;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.sets-search-bar input:hover {
    background: linear-gradient(to bottom, #ffffcc, #ffff99);
    transform: translateY(-1px);
    box-shadow: 3px 3px 6px rgba(0,0,0,0.2);
}

.sets-search-bar input:focus {
    outline: none;
    border-color: #f1c232;
    background: linear-gradient(to bottom, #ffff99, #ffffcc);
}

.sets-search-bar input::placeholder {
    color: #7fa85c;
    font-style: italic;
}

.sets-search-bar input:focus {
    outline: none;
    border-color: #6fa942;
    box-shadow: 0 0 5px rgba(147, 196, 125, 0.3);
}

.sets-search-bar input::placeholder {
    color: #6b6b6b;
    font-weight: normal;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .set-cards-container {
        grid-template-columns: 1fr;
    }
    
    .artifact-table {
        overflow-x: auto;
    }
}

/* About section link styles */
.about-section a {
    color: inherit;
    text-decoration: none;
}

.about-section a:hover {
    text-decoration: underline;
}
