/* Server Info Page Styles */

/* Container */
.server-info-container {
    max-width: 1600px;
    margin: -10rem auto 0 auto;
    padding: 0 2rem 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.server-info-container .info-section:first-child {
    grid-column: 1 / -1;
}

/* Section Styling */
.info-section {
    background: rgba(10, 15, 25, 0.7);
    border: 2px solid rgba(120, 150, 180, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(120, 150, 180, 0.3);
}

.section-header i {
    font-size: 2rem;
    color: #FFD700;
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(120, 150, 180, 0.3);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #7896b4;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(120, 150, 180, 0.3);
    background: rgba(0, 0, 0, 0.6);
}

.stat-icon {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Features Content */
.features-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.features-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Frag System */
.frag-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.frag-card {
    background: rgba(20, 10, 10, 0.6);
    border: 1px solid rgba(220, 20, 60, 0.4);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.frag-card:hover {
    border-color: rgba(220, 20, 60, 0.7);
    background: rgba(20, 10, 10, 0.8);
    transform: translateY(-2px);
}

.frag-card h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(220, 20, 60, 0.3);
    padding-bottom: 0.75rem;
}

.frag-values {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.frag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.frag-number {
    font-size: 2rem;
    font-weight: bold;
    color: #dc143c;
    font-family: 'Cinzel', serif;
}

.frag-period {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.frag-duration {
    font-size: 2.5rem;
    font-weight: bold;
    color: #dc143c;
    margin-top: 0.5rem;
    font-family: 'Cinzel', serif;
}

.frag-warning {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(20, 10, 10, 0.4);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 8px;
    padding: 1rem 1.5rem;
}

.frag-warning i {
    font-size: 1.5rem;
    color: #dc143c;
    flex-shrink: 0;
}

.frag-warning p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Vocation Table */
.vocation-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
}

.vocation-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
}

.vocation-table thead {
    background: rgba(120, 150, 180, 0.15);
    border-bottom: 2px solid rgba(120, 150, 180, 0.4);
}

.vocation-table th {
    padding: 1rem 0.75rem;
    text-align: center;
    color: #FFD700;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.vocation-table th i {
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

.vocation-table tbody tr {
    border-bottom: 1px solid rgba(120, 150, 180, 0.15);
    transition: all 0.2s ease;
}

.vocation-table tbody tr:hover {
    background: rgba(120, 150, 180, 0.1);
}

.vocation-table tbody tr.highlighted {
    background: rgba(120, 150, 180, 0.08);
}

.vocation-table tbody tr.highlighted:hover {
    background: rgba(120, 150, 180, 0.15);
}

.vocation-table td {
    padding: 0.9rem 0.75rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.vocation-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #ffffff;
    padding-left: 1.25rem;
}

.promotion-icon {
    color: #FFD700;
    margin-right: 0.5rem;
    font-size: 0.75rem;
}

.skull-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.skull-tab {
    flex: 1;
    min-width: 150px;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(120, 150, 180, 0.3);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.skull-tab i {
    font-size: 1rem;
}

.skull-tab:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.6);
}

.skull-tab[data-skull="white"]:hover,
.skull-tab[data-skull="white"].active {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.skull-tab[data-skull="white"].active i {
    color: #ffffff;
}

.skull-tab[data-skull="red"]:hover,
.skull-tab[data-skull="red"].active {
    border-color: #dc143c;
    color: #dc143c;
    background: rgba(220, 20, 60, 0.1);
}

.skull-tab[data-skull="red"].active i {
    color: #dc143c;
}

.skull-tab[data-skull="black"]:hover,
.skull-tab[data-skull="black"].active {
    border-color: #888888;
    color: #888888;
    background: rgba(136, 136, 136, 0.1);
}

.skull-tab[data-skull="black"].active i {
    color: #888888;
}

.skull-tab[data-skull="yellow"]:hover,
.skull-tab[data-skull="yellow"].active {
    border-color: #FFD700;
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.skull-tab[data-skull="yellow"].active i {
    color: #FFD700;
}

.skull-tab[data-skull="orange"]:hover,
.skull-tab[data-skull="orange"].active {
    border-color: #ff8c00;
    color: #ff8c00;
    background: rgba(255, 140, 0, 0.1);
}

.skull-tab[data-skull="orange"].active i {
    color: #ff8c00;
}

.skull-content-wrapper {
    position: relative;
    min-height: 400px;
}

.skull-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.skull-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skull-content-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.skull-content-header.white-skull {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.skull-content-header.white-skull i {
    color: #ffffff;
    font-size: 2rem;
}

.skull-content-header.red-skull {
    background: rgba(220, 20, 60, 0.1);
    border: 2px solid rgba(220, 20, 60, 0.3);
}

.skull-content-header.red-skull i {
    color: #dc143c;
    font-size: 2rem;
}

.skull-content-header.black-skull {
    background: rgba(136, 136, 136, 0.1);
    border: 2px solid rgba(136, 136, 136, 0.3);
}

.skull-content-header.black-skull i {
    color: #888888;
    font-size: 2rem;
}

.skull-content-header.yellow-skull {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.skull-content-header.yellow-skull i {
    color: #FFD700;
    font-size: 2rem;
}

.skull-content-header.orange-skull {
    background: rgba(255, 140, 0, 0.1);
    border: 2px solid rgba(255, 140, 0, 0.3);
}

.skull-content-header.orange-skull i {
    color: #ff8c00;
    font-size: 2rem;
}

.skull-content-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.skull-content-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1rem;
}

.skull-content-text p {
    margin-bottom: 1.5rem;
}

.skull-requirements {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(120, 150, 180, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.req-number {
    font-size: 2rem;
    font-weight: bold;
    color: #FFD700;
    font-family: 'Cinzel', serif;
    min-width: 60px;
    text-align: center;
}

.req-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.requirement-divider {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-weight: bold;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    letter-spacing: 2px;
}

.skull-highlight {
    background: rgba(120, 150, 180, 0.15);
    border-left: 4px solid #7896b4;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.skull-highlight i {
    color: #7896b4;
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.skull-highlight p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

.skull-warning {
    background: rgba(220, 20, 60, 0.15);
    border-left: 4px solid #dc143c;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.skull-warning i {
    color: #dc143c;
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.skull-warning p {
    margin: 0 0 0.5rem 0;
    color: rgba(255, 255, 255, 0.95);
}

.skull-warning ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.skull-warning ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.skull-explanation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skull-card {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(120, 150, 180, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.skull-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.skull-card.white-skull {
    border-color: rgba(255, 255, 255, 0.4);
}

.skull-card.white-skull:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.skull-card.white-skull .skull-header i {
    color: #ffffff;
}

.skull-card.red-skull {
    border-color: rgba(220, 20, 60, 0.4);
}

.skull-card.red-skull:hover {
    border-color: rgba(220, 20, 60, 0.7);
    background: rgba(220, 20, 60, 0.05);
}

.skull-card.red-skull .skull-header i {
    color: #dc143c;
}

.skull-card.black-skull {
    border-color: rgba(100, 100, 100, 0.4);
}

.skull-card.black-skull:hover {
    border-color: rgba(150, 150, 150, 0.7);
    background: rgba(50, 50, 50, 0.3);
}

.skull-card.black-skull .skull-header i {
    color: #666666;
}

.skull-card.yellow-skull {
    border-color: rgba(255, 215, 0, 0.4);
}

.skull-card.yellow-skull:hover {
    border-color: rgba(255, 215, 0, 0.7);
    background: rgba(255, 215, 0, 0.05);
}

.skull-card.yellow-skull .skull-header i {
    color: #FFD700;
}

.skull-card.orange-skull {
    border-color: rgba(255, 140, 0, 0.4);
}

.skull-card.orange-skull:hover {
    border-color: rgba(255, 140, 0, 0.7);
    background: rgba(255, 140, 0, 0.05);
}

.skull-card.orange-skull .skull-header i {
    color: #ff8c00;
}

.skull-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(120, 150, 180, 0.2);
}

.skull-header i {
    font-size: 1.5rem;
}

.skull-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skull-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.skull-card p:last-child {
    margin-bottom: 0;
}

.skull-card ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.skull-card ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .server-info-container {
        grid-template-columns: 1fr;
        margin-top: -2rem;
        padding: 0 1.5rem 2rem 1.5rem;
    }
    
    .server-info-container .info-section:first-child {
        grid-column: 1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px 0;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
    }
    
    .server-info-container {
        margin-top: -1rem;
        padding: 0 1rem 1rem 1rem;
        gap: 1.5rem;
    }
    
    .info-section {
        padding: 1.5rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .section-header i {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .frag-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skull-tabs {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .skull-tab {
        min-width: 100%;
        padding: 0.85rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .skull-content-header h3 {
        font-size: 1.35rem;
    }
    
    .skull-content-text {
        font-size: 0.9rem;
    }
    
    .requirement-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .req-number {
        font-size: 1.75rem;
    }
    
    .skull-explanation-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .frag-card {
        padding: 1.25rem;
    }
    
    .frag-number {
        font-size: 1.75rem;
    }
    
    .frag-duration {
        font-size: 2rem;
    }
    
    .frag-warning {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .vocation-table-wrapper {
        margin: 0 -1.5rem;
    }
    
    .vocation-table {
        font-size: 0.75rem;
    }
    
    .vocation-table th {
        padding: 0.75rem 0.4rem;
        font-size: 0.7rem;
    }
    
    .vocation-table th i {
        display: none;
    }
    
    .vocation-table td {
        padding: 0.75rem 0.4rem;
    }
    
    .vocation-table td:first-child {
        padding-left: 0.75rem;
        font-size: 0.8rem;
    }
    
    .promotion-icon {
        font-size: 0.65rem;
    }
}

.party-system-description {
    text-align: center;
    margin-bottom: 2rem;
}

.party-system-description p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 0;
}

.party-bonus-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-bottom: 2rem;
}

@media (max-width: 1200px) {
    .party-bonus-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .party-bonus-container {
        grid-template-columns: 1fr;
    }
}

.party-bonus-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(10, 15, 25, 0.5) 100%);
    border: 2px solid rgba(120, 150, 180, 0.3);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.party-bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #daa520, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.party-bonus-card:hover {
    border-color: #daa520;
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.4);
    background: linear-gradient(135deg, rgba(10, 15, 25, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.party-bonus-card:hover::before {
    opacity: 1;
}

.party-bonus-card.base-bonus {
    border-color: rgba(218, 165, 32, 0.5);
}

.party-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(218, 165, 32, 0.15);
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.party-bonus-card:hover .party-icon {
    background: rgba(218, 165, 32, 0.25);
    border-color: #daa520;
    transform: scale(1.1);
}

.party-icon i {
    font-size: 1.75rem;
    color: #daa520;
}

.party-title {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.party-percentage {
    font-size: 2.2rem;
    font-weight: bold;
    color: #daa520;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.5);
}

.party-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.party-info-note {
    background: rgba(218, 165, 32, 0.08);
    border: 2px solid rgba(218, 165, 32, 0.25);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.party-info-note i {
    font-size: 1.5rem;
    color: #daa520;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.party-info-content strong {
    color: #daa520;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.party-info-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.85rem !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .vocation-table {
        font-size: 0.7rem;
    }
    
    .vocation-table th,
    .vocation-table td {
        padding: 0.6rem 0.3rem;
    }
    
    .party-bonus-container {
        grid-template-columns: 1fr;
    }
