.premium-container {
    margin-top: 20px;
    padding: 20px;
    min-height: 100vh;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.85) 0%, 
        rgba(0, 0,0 , 0) 0%, 
        rgba(0, 0, 0, 0) 0%);
}

.premium-header {
    background: linear-gradient(145deg, 
        rgba(18, 18, 24, 0.95), 
        rgba(40, 30, 70, 0.95));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 25px;
    padding: 40px 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.2), 
        transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.premium-header h2 {
    font-size: 42px;
    font-weight: 900;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.4),
        2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.4); }
    to { text-shadow: 0 0 30px rgba(255, 215, 0, 1), 0 0 60px rgba(255, 215, 0, 0.6); }
}

.premium-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
}

.premium-tabs {
    background: linear-gradient(145deg, 
        rgba(20, 20, 40, 0.95), 
        rgba(10, 10, 30, 0.95));
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
}

.nav-tabs {
    background: linear-gradient(145deg, #1a1a3e, #2d2d5a);
    border-bottom: 3px solid #ffd700;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-tabs .nav-item {
    flex: 1;
    min-width: 180px;
}

.nav-tabs .nav-link {
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255, 215, 0, 0.2);
    padding: 20px 15px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.nav-tabs .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    transition: width 0.4s ease;
}

.nav-tabs .nav-link:hover::before {
    width: 100%;
}

.nav-tabs .nav-link:last-child {
    border-right: none;
}

.nav-tabs .nav-link.active {
    background: linear-gradient(145deg, 
        rgba(255, 215, 0, 0.9), 
        rgba(255, 237, 78, 0.9));
    color: #1a1a3e;
    font-weight: 900;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.nav-tabs .nav-link.active::before {
    width: 100%;
}

.nav-tabs .nav-link:hover:not(.active) {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    transform: translateY(-1px);
}

.nav-tabs .nav-link i {
    font-size: 20px;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.nav-tabs .nav-link:hover i {
    transform: scale(1.1);
}

.tab-content {
    padding: 30px;
    background: linear-gradient(145deg, 
        rgba(15, 15, 35, 0.9), 
        rgba(25, 25, 45, 0.9));
}

.premium-table {
    width: 100%;
    background: linear-gradient(145deg, 
        rgba(20, 20, 40, 0.95), 
        rgba(10, 10, 30, 0.95));
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

.premium-table colgroup col:nth-child(1) {
    width: 80px !important;
}

.premium-table colgroup col:nth-child(2) {
    width: calc(100% - 160px) !important;
}

.premium-table colgroup col:nth-child(3) {
    width: 80px !important;
}

.premium-table thead th {
    background: linear-gradient(145deg, #1a1a3e, #2d2d5a);
    color: #ffd700;
    padding: 20px 15px;
    text-align: center;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    position: relative;
    vertical-align: middle;
    word-wrap: break-word;
    box-sizing: border-box !important;
}

.premium-table thead th:nth-child(1) {
    width: 80px !important;
    max-width: 80px !important;
    min-width: 80px !important;
}

.premium-table thead th:nth-child(2) {
    width: auto !important;
}

.premium-table thead th:nth-child(3) {
    width: 80px !important;
    max-width: 80px !important;
    min-width: 80px !important;
}

.premium-table thead th::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        #ffd700, 
        transparent);
    animation: flow 2s ease-in-out infinite;
}

@keyframes flow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.premium-table tbody tr {
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.premium-table tbody tr::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.1));
    transition: width 0.4s ease;
    z-index: 0;
}

.premium-table tbody tr:hover::before {
    width: 100%;
}

.premium-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.premium-table tbody tr:last-child {
    border-bottom: none;
}
  
.premium-table td {
    padding: 18px 15px;
    text-align: center;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    z-index: 1;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box !important;
}

.premium-table td:nth-child(1) {
    width: 80px !important;
    max-width: 80px !important;
    min-width: 80px !important;
    padding: 10px 5px !important;
}

.premium-table td:nth-child(2) {
    width: auto !important;
    text-align: left !important;
    padding-left: 20px !important;
    font-weight: 700;
    font-size: 16px;
}

.premium-table td:nth-child(3) {
    width: 80px !important;
    max-width: 80px !important;
    min-width: 80px !important;
    color: #00ff88;
    font-weight: 700;
    font-size: 16px;
}

.item-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid rgba(255, 215, 0, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    vertical-align: middle;
    margin-right: 10px;
}

.item-icon:hover {
    transform: scale(1.1);
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.item-name {
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.item-count {
    color: #00ff88;
    font-weight: 600;
    font-size: 14px;
}

.scrollable-table {
    max-height: 600px;
    overflow-y: auto;
}

.scrollable-table::-webkit-scrollbar {
    width: 12px;
}

.scrollable-table::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.scrollable-table::-webkit-scrollbar-thumb {
    background: linear-gradient(145deg, #ffd700, #ffed4e);
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.2);
}

.scrollable-table::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(145deg, #ffed4e, #ffd700);
}

.premium-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
    padding: 0;
}

.premium-item-card {
    background: linear-gradient(145deg, rgba(25, 25, 50, 0.9), rgba(15, 15, 35, 0.9));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.premium-item-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    background: linear-gradient(145deg, rgba(30, 30, 55, 0.9), rgba(20, 20, 40, 0.9));
}

.premium-item-card .item-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(40, 40, 60, 0.8), rgba(20, 20, 40, 0.8));
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.premium-item-card .item-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.premium-item-card .item-details {
    flex: 1;
}

.premium-item-card .item-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.premium-item-card .item-quantity {
    color: #ffd700;
    font-size: 14px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.bonus-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.bonus-info-card {
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.9), rgba(20, 20, 50, 0.9));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.bonus-info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.1);
}

.bonus-info-card .bonus-level {
    color: #ffd700;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.bonus-info-card .bonus-value {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.feature-card {
    background: linear-gradient(135deg, rgba(25, 45, 25, 0.9), rgba(15, 35, 15, 0.9));
    border: 1px solid rgba(0, 255, 100, 0.3);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 255, 100, 0.5);
    box-shadow: 0 10px 25px rgba(0, 255, 100, 0.1);
}

.feature-card.feature-disabled {
    background: linear-gradient(135deg, rgba(45, 25, 25, 0.9), rgba(35, 15, 15, 0.9));
    border-color: rgba(255, 100, 100, 0.3);
}

.feature-card.feature-disabled:hover {
    border-color: rgba(255, 100, 100, 0.5);
    box-shadow: 0 10px 25px rgba(255, 100, 100, 0.1);
}

.feature-card .feature-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.feature-card .feature-value {
    color: #00ff64;
    font-size: 16px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.feature-card.feature-disabled .feature-value {
    color: #ff6464;
}

.premium-table td img {
    width: 40px !important;
    height: 40px !important;
    border: 2px solid #ffd700;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.premium-table td a {
    color: #d6d6d6;
    text-decoration: underline;
}

.premium-table td a:hover {
    color: #ffd700;
}

.section-title {
    color: #ffd700;
    font-size: 18px;
    margin: 25px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.bonus-value {
    color: #00ff00;
    font-weight: bold;
}

.feature-yes {
    color: #00ff00;
    font-weight: bold;
}

.feature-no {
    color: #ff6b6b;
    font-weight: bold;
}

@media (max-width: 768px) {
    .premium-container {
        padding: 10px;
        margin-top: 80px;
    }
    
    .premium-header h2 {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .nav-tabs {
        flex-direction: column;
    }
    
    .nav-tabs .nav-item {
        flex: none;
        width: 100%;
        min-width: 120px;
    }
    
    .nav-tabs .nav-link {
        padding: 15px 10px;
        font-size: 14px;
        letter-spacing: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    }
    
    .premium-table {
        font-size: 14px;
    }
    
    .premium-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .premium-table td {
        padding: 8px 5px;
    }
    
    .item-icon {
        width: 30px;
        height: 30px;
        margin-right: 5px;
    }
    
    .premium-items-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .premium-item-card {
        padding: 15px;
        gap: 12px;
    }
    
    .premium-item-card .item-icon {
        width: 50px;
        height: 50px;
    }
    
    .premium-item-card .item-icon img {
        width: 40px;
        height: 40px;
    }
    
    .bonus-info-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
}